"基于单片机的实时数据采集系统设计与实现"

0 下载量 195 浏览量 更新于2024-01-29 收藏 493KB DOC 举报
Based on the document "Design of MCU-based Data Acquisition System Graduation Thesis.doc", this thesis aims to design and implement a practical real-time data acquisition system. The hardware and software designs of the data acquisition system based on MCU are introduced in this paper. The data acquisition system is an essential link between the analog domain and the digital domain, and its existence plays a very important role. The focus of this paper is the data acquisition system, with the hardware part centered on the MCU. Modular design is adopted for data acquisition, communication control, and the MCU AT89C51 is used for data acquisition and communication control. The hardware part includes the MCU as the core, as well as the A/D conversion module, display module, and serial interface circuit. This system can collect data from 8 analog channels, 8 switch channels, and 1 pulse channel. The measured data is converted into digital form through the TLC0838 for analog-to-digital conversion. The converted data is then transmitted to the upper computer via the serial port MAX232, and the upper computer is responsible for data receiving, processing, and displaying. The collected results are displayed on an LCD monitor. When collecting pulse signals, they are shaped by a Schmitt trigger before being sent to the MCU. This paper designs programs for the data acquisition system, analog-to-digital conversion system, data display, and data communication. Keywords: Data Acquisition, AT89C51 MCU, TLC0838, MAX232