基于51单片机的数据采集器

2020-04-14 16:15

重庆大学本科专业综合课程设计论文

电类课程设计

题 目: 数据采集的控制系统设计 学 生: xxx xxx xxx 指导教师: x x 院 系: xx工程学院 专业班级: xxxxx3班

x x 大 学 2014 年 6 月

摘要

数据的采集和处理是数字信号处理中十分重要的一个环节,为了设计一个对8路0~5V的模拟电压进行循环采集,超出界线时指示灯闪烁,且能输出控制信号进行调节的数据采集控制系统,本课程设计在参考众多文献后对其进行了设计,系统分为硬件和软件两大部分。在硬件方面我们采用了单片机89c52芯片为控制核心搭配上数据采集电路、LED数码管显示电路、DAC0800八位数模转换器等实现了模拟电压数据的循环采集和显示功能以及对输出信号的调节功能。另外的软件部分则用c语言对数据采集、模数转换、数据显示等功能进行了编写。文中详细介绍了硬件和软件两部分以及总体的情况.

关键词: 单片机82c52 DAC0800 数据循环采集

ABSTRACT

The data acquisition and processing are very important parts of digital signal processing. To design a system to circular acquisitions eight roads 0~ 5V analog voltage and the indicating lights flash when it beyond the limitation, it can also output the control signal to adjust the data acquisition system. Based on the mass literature materials, the curriculum designs this system which divides into two parts, hardware and software. In the Hardware, we use 89c52 microcontroller as the core of control, with a data acquisition circuit, a DAC0800 eight bit digital to analog converter to achieve the goals. Then, in the Software, we use C language to compile the procedure of data acquisition, analog digital conversion and etc. This passage introduces the hardware, software and total situation.

Key words: 89c52 microcontroller, DAC0800,Circular acquisitions of data

目录

第1章

引言........................................................................................... 1

1.1课题背景 ............................................................................................. 1 1.2数据采集系统的历史与发展现状 ............................................................... 1

第2章 数据采集的控制系统的总体设计 .............................................. 3

2.1系统总体设计框图 ................................................................................. 3 2.2系统工作原理 ....................................................................................... 4 2.3各个部分功能模块介绍 ........................................................................... 4

2.3.1 ADC0809 ................................................................................... 4 2.3.2 DAC0800 ................................................................................... 5 2.3.3 74HC138译码器 ......................................................................... 5 2.3.4 三位八段数码管 ......................................................................... 6 2.3.5锁存器...................................................................................... 7 2.3.6 74LS74 ..................................................................................... 8 2.3.7 74LS00 ..................................................................................... 8

第3章 数据采集的控制系统的硬件设计 .............................................. 9

3.1芯片的选择 .......................................................................................... 9

3.1.1芯片总体功能及介绍 ................................................................... 9 3.1.4 89c52结构特点 ......................................................................... 9 3.1.3芯片各个引脚功能介绍 .............................................................. 10 3.1.4 89c52参数 ............................................................................. 12 3.2系统硬件原理图 .................................................................................. 13

3.2.1 ADC0809 ................................................................................. 13 3.2.2 DAC0800 ................................................................................. 14 3.2.3 74HC138 ................................................................................. 15 3.2.4 8282锁存器 ............................................................................ 16 3.2.5八段数码管 ............................................................................. 17 3.2.6 74LS74二分频电路 ................................................................... 17 3.2.7 74LS00 ................................................................................... 18

第4章 数据采集的控制系统的软件设计 ............................................ 20

4.1主程序流程图 ..................................................................................... 20 4.2各子程序流程图 .................................................................................. 21

4.2.1中断程序 ................................................................................ 21 4.2.2显示程序 ................................................................................ 22 4.2.3延时程序 ................................................................................ 23

第5章 总结............................................................................................. 24 参考文献 .... .…………………………………………………………….26 附录一 设计程序 .................................................................................... 27 附录二 PCB版图 .................................................................................... 39


基于51单片机的数据采集器.doc 将本文的Word文档下载到电脑 下载失败或者文档不完整,请联系客服人员解决!

下一篇:侵权责任法复习题

相关阅读
本类排行
× 注册会员免费下载(下载后可以自由复制和排版)

马上注册会员

注:下载文档有可能“只有目录或者内容不全”等情况,请下载之前注意辨别,如果您已付费且无法下载或内容有问题,请联系我们协助你处理。
微信: QQ: