基于STC10F04EX的多串口数据收发系统.docVIP

  1. 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
  2. 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  3. 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
  4. 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
  5. 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们
  6. 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
  7. 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
基于STC10F04EX的多串口数据收发系统   摘 要:为了转发水质监测数据,采用新型的1T周期单片机STC10F04EX为控制核心,将双4选1模拟开关4052的??2个??公用端与单片机的RxD、TxD端连接,通过分时连通的方式,对单片机的UART进行扩展,构成一个多串口的数据转发系统。扩展的串口分别连接到3个不同的水质监测设备,以及一个与无线发射模块。单片机分时得到3个水质监测设备传来的数据,并将得到的数据通过无线模块进行转发,转发距离可达3 000 m。远离现场的计算机完成数据接收及分析。该方法用于对单片机串口扩展和远距离数据传送简洁可靠。所建的数据收发系统,可以同时连接多台串口监测设备,弥补了计算机串口较少的不足,并且功能有别于多串口卡。该系统已成功应用于多传感器水环境监测的数据转发。关键词:STC10F04EX; 串口; 收发控制; 水质监测; 无线模块   中图分类号:TN919-34; TP334 文献标识码:A   文章编号:1004-373X(2010)22-0199-04      Data Transceiver with Multi-serial-port Based on STC10F04EX   HU Li-qun, CHEN Dun-jun   (Key Laboratory of Advanced Photonic and Electronic Materials, School of Electronic Science and Engineering, Nanjing University, Nanjing 210093, China)   Abstract: In order to transmit the data of water quality, a multi-serial-port transceiver system is established, which ??adopts?? a new 1T cyclical MCU STC10F04EX as a core component, employs the two common pins of multiplexers 4052 to connect to UART (RxD and TxD), and extends the UART of the MCU through time-sharing mode so as to form 4 serial ports. One serial port is connected to a wireless transceiving module, the others communicates with three external equipments monitoring water quality. The MCU gets the monitoring data from those serial devices and transmits through the wireless module. The transmission distance is up to 3 000 m. A computer far away from the scene receives data and analyzes it. This method is simple and reliable for UART expansion and long-distance data transfer.The transceiver can simultaneously connect multiple serial equipments, and makes up for a shortage of computer serial port. The characteristics of this transceiver is different from that of multi-serial-port card. The transceiver has been demonstrated successfully in water monitoring system with multi-??sensors.??Keywords: STC10F04EX; serial port; transceiving control; water monitoring; wireless module      0 引 言   RS 232串口通信是一种常用的通信方式,许多数字化设备、测量仪器都具有串行接口[1]。这些设备可以方便地与PC、PLC等控制器连接进行数据交

文档评论(0)

heroliuguan + 关注
实名认证
文档贡献者

该用户很懒,什么也没介绍

版权声明书
用户编号:8073070133000003

1亿VIP精品文档

相关文档