This paper designs a temperature acquisition system based on MSC-51 micro-controller token ring networks. The system uses simplified IEEE 802.5 token ring protocol and DS18B20 temperature sensor module for temperature acquisition. With RS485 bus, the system allows single-chip node to send message to central node MCU without collision. The central-node MCU displays temperature data from single-chip node on LCD, and also continuously control the token ring net. The simulation experiment test proves that the system can acquire the temperature data of all 16 nodes in 0.43 seconds with real-time efficiency.%本设计为一套基于MSC-51单片机令牌环网的温度采集系统,该系统采用简化的IEEE802.5令牌环网协议,使用DS18B20温度传感模块获取温度数据,通过RS485总线让分布的单片机站点能够将温度数据无冲突地传给主站单片机,主站单片机收到数据后将温度数据显示在LCD上,并不断监控令牌环的运行情况。经过模拟实验测试,该系统能够在约0.43秒内采集环网上所有16个站点的温度数据,具有较高的实时性。
展开▼