基于单片机的模拟量数据采集系统设计教 学 部工学一部专 业自动化班 级B641301学 号B64130103姓 名刘 宇指导老师乔 志 华负责老师乔 志 华沈阳航空航天大学北方科技学院2025 年 6 月摘 要随 着 计 算 机 技 术 的 飞 速 进 展 和 普 及 , 数 据 采集系统也得到了广泛的应用。微机在通用自动化、信息处理、信息系统等方面得到广泛的应用。在冶金、化工、医疗等应用场合,需要对很多信号进行采集,预处理,暂存和对上位机的 传 输 。 再 由 上 位 机 对 数 据 进 行 分 析 处 理 。本 文 设 计 的 模 拟 量 采 集 系 统 采 纳 上 位 机 、 下位机通信方式运行。由上位机实现对下位机的控制和数据采集的显示,下位机实现模拟量的采集过程。下位机硬件设计采纳AT89C52单片机为控制核心,采纳ADC0808将模拟量进行转化为数字量 进 行 采 集 , 完 成 了 模 拟 量 采 集 系 统 的 硬 件 设 计 。采纳RS-232 进行串口通信。结果证明,该设计方法可行,实现了离散量采集系统的自动化,克服了传统数据采集的弊端,应用具有良好的前景 和 使 用 价 值 。关 键 词 : 模 拟 量 采 集 系 统 ; 单 片 机 ; 通 信AbstractAlong with the rapid development of computer technology and popularization, data acquisition system is also widely application. Microcomputer is widely applied in general automation, information processing and information system etc . Signal acquisition, pretreatment, temporary and PC transmission is needed by metallurgy, chemical, medical care and other applications 。 The design is a discrete variables acquisition system with upper and lower operating mode. The PC machine controls the lower machine and display the date, and the lower machine realizes data collection. Hardware design of digital machines AT89C52 single-chip design Used for RS-232 serial communication, you can relay through the computer to control the realization of the bright lights out billiards control and manual control switch can monitor. The resu...