摘要
为实现卫星天线的温湿度实时报警,采用AM2301传感器直接获取环境温湿度数据,再通过S3C2440开发板与之通信并编写报警程序实现报警。嵌入式系统开发,首先要构建嵌入式Linux开发环境,重点要安装好arm—linux—gcc这个原生的交叉编译工具;其次结合传感器的通信原理,利用开发板上的GPIO接口,按传感器的通信时序实时读取传感器上的温湿度数据;最后结合Python,编程,当温湿度达到预警值时,向用户邮箱发送邮件报警,通过LinuxC编程,交叉编译后,烧录到开发板上来具体实现。
To achieve the real - time alarm for temperature and humidity of the satellite antenna, using the AM2301 sensor to directly obtain the ambient temperature and humidity data,and then communicate with the S3 C2440 development board and write an alarm program to realize the alarm. Embedded System Development, we must build an Linux embedded development environment first, Focus on installing of arm - linux - gee native cross - compilation tools ; Followed by the communication principle of the sensor, using the GPIO interface on the development board, read temperature and humidity data on the sensor in real time according to sensor communication timing;Finally, combined Python programming, when the temperature and humidity reaches the warning value, send email alert to userg mailbox. After Linux C programming, cross -compilation, burning to the development board to achieve.
作者
何俊
HE Jun(731 station of national press and publication burear of radio,film and television,Longyan,Fujian,364000)
出处
《中国传媒大学学报(自然科学版)》
2018年第B09期70-74,共5页
Journal of Communication University of China:Science and Technology