設(shè)計(jì)了農(nóng)業(yè)溫濕度智能控制系統(tǒng),該系統(tǒng)采用DHT11溫濕度傳感器作為溫濕度采集模塊,單片機(jī)選用AT89C52代替并調(diào)用Virtual terminal模擬串口通信,LCD1604液晶顯示器實(shí)時(shí)顯示溫濕度,實(shí)現(xiàn)了溫濕度的測(cè)量、顯示,可自動(dòng)控制加熱、降溫、加濕、通風(fēng),實(shí)現(xiàn)溫濕度控制以及超限報(bào)警處理,并利用Proteus與Keil進(jìn)行實(shí)際電路的仿真。試驗(yàn)表明,該系統(tǒng)實(shí)現(xiàn)了可靠的溫濕度監(jiān)控。We described the design of an intelligent control system of agriculture temperature and humidity.The system uses DHT11 temperature and humidity sensor as the temperature and humidity acquisition module.The SCM adopts AT89C52 to replace and call the virtual terminal for simulating serial communication.LCD1604 displays temperature and humidity in real time,which implements the measurement and display of temperature and humidity.The system is able to automatically control heating,cooling,humidification and ventilation,to achieve temperature and humidity control and over-limit alarm processing.The system also uses Proteus and Keil for actual circuit simulation.The experiment shows that the system is capable of reliable temperature and humidity monitoring.
以倉(cāng)庫(kù)智能改造為背景,主要介紹單片機(jī)和上位機(jī)之間通信網(wǎng)絡(luò)和通信協(xié)議的選擇,MODBUS協(xié)議通信指令和功能碼使用,重點(diǎn)闡述了基于RS-485總線的MODBUS通信協(xié)議在上位機(jī)和單片機(jī)之間的串行通信,實(shí)現(xiàn)上位機(jī)對(duì)單片機(jī)設(shè)備的遠(yuǎn)程控制和信息采集的功能。Based on the intelligent warehouse transformation as the background,mainly introduces between MCU and PC communication network and the choice of communication protocol,instruction and the function code using the MODBUS protocol communication,expounds the MODBUS communication protocol based on RS-485 bus serial communication between PC and single chip microcomputer,PC remote control of single chip computer equipment and the function of information collection.