摘要
基于单片机的最小系统,应用于加速度计ADXL 203型传感器输出信号的采集.针对AT89S52单片机缺少A/D转换功能,采用PCF8591A/D转换器通过IIC总线数据传输技术,对ADXL 203型传感器输出的模拟信号原始值进行采样.试验结果表明,数据通过串口通信存储在PC机,实现了利用Matlab对ADXL 203型传感器的运动状态分析.
A minimum system based on micro control unit (MCU) was applied in the ADXL 203 accelerometer to acquire output signal. The PCF8591 program was used to resolve the lack of A/D conversion function for the AT89S52 MCU. The original value of the analog signal output by ADXL 203 was sampled through the IIC bus data transmission technology. The result shows that by storing data in PC through the serial port communication,the analysis of the motion state for ADXL 203 accelerometer by Matlab can be realized.
出处
《上海工程技术大学学报》
CAS
2014年第3期262-265,共4页
Journal of Shanghai University of Engineering Science
基金
上海工程技术大学研究生科研创新活动计划资助项目(14KY0123)
关键词
单片机
信号采集系统
串口通信
micro control unit (MCU)
signal accquisition system
serial communication