研究了一种基于ARM微控制器和μC/OS-Ⅱ的SD卡数据采集系统。SD卡与ARM间通过SD总线进行数据通讯。同时,介绍了SD卡以及LPC2368芯片中SD接口的结构和工作原理,本温室的数据采集系统是由LPC2368控制SD卡座实现。通过实例验证可知,该数据采集系统能够初步解决温室温湿度数据采集过程中数据存储量大、存储设备不易与PC机接口的问题,并通过实例说明其在温室温湿度采集器上的应用。
A method of data acquisition system based on microcontroller of ARM and μC /OS -Ⅱ of the SD card is proposed in this paper. The data between SD card and ARM communicates through SD bus. The structure and principle of the SD memory card and SD Interface with the LPC2368 are introduced. The data collection system can be achieved by controlling SD card by LPC2368. After testifying the example,the result indicates that this system can be used to solve the problems of large data storage and interface with PC computer. Meanwhile,this paper well explains how to use it in collecting the greenhouse temperature and humidity.