文档介绍:目录
引言 3
第一章单片机概述 4
单片机的简介 4
单片机的应用领域 4
单片机的发展趋势 5
第二章 AT89C51单片机组成原理 7
单片机AT89C51 7
AT89C51的特点 7
ADC0808内部逻辑结构 11
第三章 PROTUES和KEIL软件介绍 12
PROTUES软件的介绍 12
KEIL软件介绍 14
第四章数字电压表的设计方案 16
总体设计思路 16
设计意义 16
数字电压表的功能要求 17
第五章数字电压表的仿真设计 18
数字电压表的硬件电路 18
数字电压表的软件设计 19
数字电压表的仿真调试 20
总结 21
致谢 21
参考文献 22
数字电压表的仿真设计
田乐乐
[摘要]:设计采用AT89C51单片机、A/D转换器ADC0808和共阳极数码管为主要硬件,分析了数字电压表Proteus软件仿真电路设计及编程方法。将单片机应用于测量技术中,采用ADC0808将模拟信号转化为数字信号,用AT89C51实现数据的处理,通过数码管以扫描的方式完成显示。设计的数字电压表可以测量0~5 V的电压值,AT89C51为8位单片机,当ADC0808的输入电压为5 V时,输出数字量值为+ V。本设计电路简单、成本低、性能稳定。数字电压表主要分为四部分:测量部分、显示部分、脉冲部分、供电部分。测量部分是通过4位半双积分式A/D转换器ICL7135芯片实现。ICL7135对模拟电压进行A/D转换,输出BCD码,并自动输出极性判断信号,同时ICL7135用动态扫描传送数据使数码管亮灭的时间间隔短,保证了测量结果的稳定显示。74LS47和共阳数码管是显示部分,74LS74译码器接收ICL135的BCD码译码成控制信号去点亮数码管,从而显示出所测的模拟电压值。用ICM7556配上合适的电阻电容组成多谐振荡器作为脉冲部分产生标准的137KHz频率提供ICL7135工作时针信号。外接+5V和74HC04产生的-5V是供电部分给整个电路供电。
[关键词]:数字电压表单片机 AT89C51 ADC0808
[Abstract]:Design USES AT89C51 single-chip puter, A/D converter ADC0808 and anode digital pipe for were the main hardware, Analyzes the digital voltmeter Proteus software simulation circuit design and programming method. Will puter application for measuring technology, using ADC0808 analog signal into a digital signal, with AT89C51 realize the data processing, through the digital tube with a scanning pletes display. The design of the digital voltmeter can measure 0 ~ 5 V voltage value, AT89C51 single chip for eight, when the ADC0808 input voltage for 5 V, digital output value of + V. This design circuit is simple, low cost and stable performance. digital voltmeter measurement are mainly divided into four parts: part, that part, pulse, power supply. Measurement part is through four half A/D converter ICL7135 chip. ICL7135 to simulate A/D conversion voltage output, and automatic BCD output signal, and ICL7135 polarity judgment with dynamic scanning GuanLiang digital data transmission to destroy the time interval is