欢迎来到天天文库
浏览记录
ID:25518924
大小:391.00 KB
页数:66页
时间:2018-11-20
《数字电压表毕业设计》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库。
1、摘要摘要一些传统测量仪器使用复杂,容易造成读数误差。人们想用更加直接的方式读取想要的数据,减小读数误差。为了解决这个问题,各种数字显示仪器应运而生。尤其是近年来,随着大规模集成技术的发展,测量仪器精度越来越高,并且使用更加方便。本文提出基于AT89C51的数字电压表,将模拟电压量直接转换成数字量并用数码管显示。首先介绍所用单片机的基本功能,以及所用集成电路的各管脚功能。其次对设计方案做整体介绍,模拟电压量经过模数转换芯片ADC0809转换成数字量,送入单片机进行处理。最后输出的数据在经过CD4511译码直接驱动数码管显示电压大小。最后介绍程序设计方案,用汇编语言编写最终代码,并用KE
2、IL和PROTUES联机调试进行仿真。调试完成之后进行硬件焊接,实地测试并行改进。关键词:集成电路单片机模数转换汇编语言KEILPROTUES摘要ABSTRACTThemethodofusingsometraditionalsurveytoolsisverycomplexandsomeerrorsresultfromoureyes.Sosomepeoplewanttogettheresultinamoredirectway.Theerrormadebyoureyescanbeavoided.Tosolvethisproblem,somesurveytoolsdisplayingits
3、resultinnumberhavebeenproduced.Inresentyears,withthedevelopmentofthelargeintegratedcircuit,thesurveytoolismoreconvenienttousewithhighaccuracy.ThisthesiscomesupwiththedigitalvoltmeterbasedonthechipmicrocomputerAT89C51.ThedigitalquantitydisplayedbyNixietubeareconvertedfromanalogquantitydirectly.F
4、irstly,thisthesisintroducethebasedfunctionofthemicrocomputerandtheintegratedcircuit.Themeaningoftheirpinswillbeexplainedindetail.Secondly,aoverallsummarywillbemadetointroducemydesignscheme.TheanalogquantitycanbeconvertedintothedigitalquantitybytheanalogtodigitalconverterADC0809.Thendataprocesse
5、dbythechipmicrocomputerwillbetransmittedintotheencoderCD4511.Theresultwillbedisplayedonthedigitaltubedrivedbytheencoder.Finally,thisthesisintroducestheprogramcodewroteintheassemblylanguage.ThecircuitwillbesimulatedbytheKEILandPROTUES.Hardwarecircuitaremadeafterthesimulation.Theworkershouldbetes
6、tedinpractiseandimproved.Keyword:integratedcircuitchipmicrocomputeranalogtodigitalassemblylanguageKEILPROTUES目录i目录第一章绪论11.1数字电压表简介11.2数字电压表的优点11.3数字电压表发展趋势21.4设计电压表基本工作原理2第二章总体方案设计32.1设计要求32.2设计思路32.3设计方案3第三章硬件电路设计53.1单片机统53.1.1单片机的定义53.1.2AT89C51性能53.1.3AT89C51各管脚功能63.2复位电路和时钟电路83.2.1复位电路83.2.
7、2时钟电路设计93.3A/D转换模块103.3.1逐次逼近式A/D转换器工作原理103.3.2ADC0809主要特征113.3.3ADC0809外部引脚特征113.4LED显示系统设计143.4.1LED基本结构143.4.3LED译码方式173.4.4LED显示器与单片机接口设计173.5总体电路设计18第四章程序设计214.1程序设计总方案214.2系统子程序设计214.2.1初始化程序214.2.2A/D转换子程序214.2.3显示子程序224.3编
此文档下载收益归作者所有