摘要
提出了采用Visual basic的MSCOMM控件,实现计算机与Atmega16单片机的串行通信,详细论述了MSCOMM控件的部分属性,介绍了计算机界面程序的编写。利用VB提供的MSCOMM控件,实现计算机对存储在AT24C512中的时间、温度和湿度进行读取,查询管理,以及超标时进行报警。
Serial communication of computer and Atmega16 microcontroller was presented based on MSCOMM control.Some properties of MSCOMM control were expounded,the computer window program was introduced.The temperature and humidity and the time stored in AT24C512 were read and searched by computer,and when out of the limits,the beep alarmed.
出处
《煤炭技术》
CAS
北大核心
2010年第6期115-117,共3页
Coal Technology
基金
江西省教育厅教改项目(JXJG-08-14-27)
江西省科技厅科技支撑计划项目(200826)