摘要:随着数据采集系统的应用范围越来越宽、所涉及到的测量信号和信号源的类型越来越多、对测量的要求也越来越高,使得人们需要一种应用范围广、性价比高的数据采集系统。因为单片机具多功能、高效率、高性能、低电压、低功耗、低价格等优点,能够开发出能满足实际应用要求的、电路结构简单的、可靠性高的数据采集系统,这就使得以单片机为核心的数据采集系统在许多领域得到了广泛的应用。本次设计的同步采样系统采用了单片机AT89C51来实现,硬件部分是以单片机为核心,包括A/D模数转换模块,显示模块,和串行接口部分。8路被测电压通过模数转换器ADC0809进行模数转换,实现对采集到的数据进行模拟量到数字量的转换,并将转换后的数据一面通过串行口MAX232传输到上位机,由上位机负责数据的接受、处理和显示,另一方面通过单片机直接显示在数码管上直接显示。19502
关键字:数据采集;51单片机;ADC0809;MAX232
MCU Simultaneous Sampling Data Acquisition System Design
Abstract: With the application of the data acquisition system more wide, are involved in the type of measurement signal and the signal source more and more of the measurement requirements are getting higher, people need to make a wide range of applications, cost-effective the data acquisition system. Because the advantages of multi-purpose microcontroller with high efficiency, high performance, low-voltage, low-power, low price, can develop to meet the requirements of practical applications, a simple circuit structure, high reliability data acquisition system, which makes microcontroller as the core of the data acquisition system in many areas has been widely used. The design of synchronous sampling system uses a single chip AT89C51 to achieve, based on the hardware part of the microcontroller core, including the A / D conversion module, display module, and serial interface section. 8-channel analog to digital converter ADC0809 measured voltage through analog-digital conversion, the collected data analog to digital conversion, and the converted data through the serial port side MAX232 transmitted to the host computer, the host receivers in charge of data processing and display, on the other hand by the microcontroller directly displayed directly on the digital display.
Keywords: Data collection;51 MCU;ADC0809;MAX232
目录
摘要 i
Abstract i
目录 ii
1 绪论 1
1.1 目的和意义 1
1.2 设计要求 2
1.2.1 基本任务 2
1.2.2 扩展任务 2
2 硬件电路设计分析 4
2.1 单片机AT89C51 4
2.1.1 功能简介 4
2.1.2 选择依据 5
2.1.3 设计思路 5
2.2 转换芯片ADC0809 7
2.2.1 功能简介 7
2.2.2 选择依据 8
2.2.3 设计思路 8
2.3 串行通信RS-232C 9
2.3.1 功能简介 9
2.3.2 设计思路 9
2.4 并行I/O扩展扩展8255A(扩展) 10
2.5 时钟定时DS1302(扩展) 11
2.6 显示LCD1602(扩展) 11
3 程序设计 13
3.1 ADC控制 13
3.2 上传程序 14
3.3 PWM 15
3.4 显示 15
4 调试软件简介 17
4.1 KEIL UVISION4 17
4.2 ISIS PROFESSIONAL 7 17
5 测试结果 19 51单片机实现同步采样数据采集系统设计:http://www.751com.cn/zidonghua/lunwen_10883.html