文档详情

基于AD转换的单片机实验和C语言开发胡青.doc

发布:2016-10-16约7.28千字共25页下载文档
文本预览下载声明
课程设计任务书 学生姓名: 胡青 专业班级: 电信1206 指导教师: 孟哲 工作单位: 信息工程学院 题 目:基于A/D转换模块的单片机实验和C语言开发 具备单片机和ADC芯片的理论知识; 具备C语言编程能力; 具备对Protues和Keil软件的操作能力; 提供编程所需要的计算机一台 要求完成的主要任务:(包括课程设计工作量及其技术要求,以及说明书撰写等具体要求) 1、独立编写程序实现基于D转换模块的单片机实验和C语言开发 3、完成符合学校要求的设计说明书 时间安排: 一周,其中3天程序设计,2天程序调试 指导教师签名: 年 月 日 系主任(或责任教师)签名: 年 月 日 目 录 摘要 1 Abstract 2 1 软件介绍 3 1.1 Keil使用 3 1.2 Proteus软件使用 4 2 设计原理 5 2.1单片机简介 5 2.4 ADC0809简介 5 2.4.1 ADC0809内部结构 5 2.3.2 ADC0809的工作过程 6 3 多路模拟信号采集模块设计 8 3.1 功能简介 8 3.2 总原理图 8 3.2.1 单片机电路 8 3.2.2 ADC采样电路 9 3.2.3显示模块 10 3.3 系统流程图 11 4 程序代码 12 5 仿真结果与分析 16 6 调试 17 7 心得体会 19 参考文献 20 摘要 本次课程设计的要求是:基于A/D转换模块的单片机实验和C语言开发,设计一种多路模拟信号采集模块,从多个通道轮流采集数据一次,并将采集的结果存放在数组中。 A\D转换器是一种用来将连续的模拟信号转换成二进制的器件。一个完整的AD转换器通常包括这样一些信号:模拟输入信号,参考电压,数字输出信号,启动转换信号,单片机ADC0808型号的A/D转换器对多路模拟信号进行数据采集,同时与单片机进行通89C51单片机,由单片机进行运算,输出对应的数字量,单片机Abstract The curriculum design requirements are: microcontroller-based experiments and C language development A / D converter module, to design a multi-channel analog signal acquisition module, data acquisition from multiple channels in turn one, and the results are stored in an array collection . A \ D converter is used to convert a continuous analog signal into a binary device. A complete AD converter typically includes such a signal: analog input signal, the reference voltage, the digital output signal, a start conversion signal, converted presentation signal, a data output enable signal and the like. ADC0808 model using an A / D converter for multi-channel analog signal data acquisition, and communicate with the microcontroller, analog measurement signal is passed to the 89C51 microcontroller, operation, the output from the corresponding digital microcontroller, and then in the digital on the display. Design uses switches to select a different channel analog input signal. Keywords: A / D converter; C language; microcontroller; Array 1 软件介绍 1.1 Keil使用 Keil51开发
显示全部
相似文档