期刊文献+

无线温湿度采集系统的Linux驱动程序设计 被引量:7

Design of Linux driver program for wireless temperature and humidity acquisition system
下载PDF
导出
摘要 为了解决传统的有线温湿度采集系统布线难、灵活性差等问题,设计了基于嵌入式Linux的无线温湿度采集系统。首先,进行了硬件方案的设计;其次,在此基础上设计了采集系统在嵌入式Linux下面的驱动程序。在该驱动程序中,编写了利用S3C2440的SPI1接口与nRF24L01之间进行标准SPI通信的驱动程序,解决了在模拟SPI时序时,嵌入式Linux的多任务处理特性而导致的延时不准确的问题。最后设计了采用双线程和信号量的Linux应用程序,并验证了该采集系统的准确性和可行性。 To solve the difficulties and poor flexibility in wiring of the traditional acquisition system for temperature and humidity,the wireless temperature and humidity acquisition system based on embedded Linux is designed. Firstly, hardware solution is presented. Secondly,device driver of acquisition system based on the embedded Linux is designed. Among of this, the driver for SPI communication between S3C2440 SPI1 interface and the nRF24L01 is redacted,which has solved the inaccurate delay problem, caused by multi-tasking features of embedded Linux in the simulating SPI timing. Finally, Linux application program, which employs both-threaded and semaphore, was devised. The accuracy and feasibility of the acquisition system was verified.
出处 《电子测量技术》 2012年第12期71-74,共4页 Electronic Measurement Technology
关键词 LINUX NRF24L01 SHT71 SPI 线程 Linux nRF24 L01 SHT71 SPI thread
  • 相关文献

参考文献11

二级参考文献73

共引文献85

同被引文献52

引证文献7

二级引证文献31

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部