基于 MODBUS 协议的通讯系统【摘 要】 本设计讨论如何通过 MODBUS 通讯协议,设计利用单片机,结合NRF24L01 无线收发芯片,实现了温度实时采集与主机(PC 机)显示
用 STC89C52单片机与 DS18B20 对温度采集显示于数码管,在通过无线模块发送到另一块单片机系统里通过 1602 液晶显示,成后,基于 MODBUS 通讯协议通过 RS-485 的物理层实现串口通信,发送实时数据给主机
经过一系列的处理后,温度得以实时在两个单片机系统中显示并准确显示在主机串口调试软件中
经检测,作品实现了基于 MODBUS协议的通讯
【关键词】 MODBUS NRF24L01 STC89C52 PC 机[Abstract] This design to study how through the MODBUS communication protocol designed to use microcontroller, to combine NRF24L01 wireless transceiver chip temperature real-time acquisition with the host (PC) display
The STC89C52 SCM and DS18B20 temperature acquisition and display digital control, the 1602 LCD, after the completion of a microcontroller system via RS-485 physical layer communication protocol based on MODBUS serial communication through a wireless module to send to send