1、 基于单片机的多路数据采集系统设计 摘要 :数据采集系统是模拟 域不数字域之间必丌可少的纽带,它的存在具有着非常重要的作用。本设计 采用了单片机 AT89C52 来实现,硬件部分是以单片机为核心,还包括 A/D 模数转换模块,显示模块,和串行接口部分。该系统 下位 机负责数据采集并应答 上位机 机的命令。 4 路被测电压通过模数转换器ADC0809 进行模数转换,实现对采集到的数据进行模 拟量到数字量的转换,并将转换后的数据通过串行口 MAX232 传输到上位机,由上位机负责数据的接受、处理和显示,并用 LED 数码显示器来显示所采集的结果。软件部分应用 VB 编写控制软件,对数据采集系统、模
2、数转换系统、数据显示、数据通信等程序进行了设计。 本设计经调试完成了数据采集、模数转换、显示及上位机绘图各项功能。 关键词 : 数据采集 ; 89C52 单片机 ; ADC0809; MAX232; The Design Of Multi-channel Data Acquisition System Based On SCM Abstract: Data acquisition systems are analog and digital domains essential link between its presence has a very important role. This d
3、esign uses a single-chip AT89C52 to achieve, the hardware part is a microcontroller as the core, but also including A / D conversion module, display module, and serial interface section. The system is responsible for lower machine data acquisition and PC answering machine commands. 4 measured voltag
4、e through the ADC ADC0809 analog to digital conversion, to achieve the collected data to digital analog conversion, the converted data through the serial port MAX232 transmitted to the host computer, the host computer responsible for data receiving, processing and display, and LED digital display to
5、 display the collected results. Part of the application software written in VB control software, data acquisition systems, analog to digital conversion system, data display, data communications and other procedures were designed. After commissioning the design of the data acquisition, analog to digital conversion, display and PC graphics functions. Key words: data acquisition; AT89C52; ADC0809; MAX232;