摘要
本文介绍了运用VB6.0的MSComm控件完成计算机与单片机的串行通信,采用数字温湿度传感器和火焰传感器完成对数据的采集。单片机将处理后的数据上传到PC机,利用VB控件显示,并根据监测到的数据进行判断发送控制信号给单片机,进而驱动执行机构实现相应的控制。
This paper describes the use of VB6.0 MSComm control complete computer and microcontroller serial communication, the use of digital temperature and humidity sensors and flame sensors to complete the data collection. MCU will be processed data uploaded to the PC, the use of VB control display, and in accordance with the monitoring data to determine the sent control signal to the microcontroller, and then drive the implementing agencies to achieve the appropriate control.
出处
《电子测试》
2017年第1X期7-8,共2页
Electronic Test