75毕业论文

整理文档很辛苦,赏杯茶钱您下走!

免费阅读已结束,点击下载阅读编辑剩下 ...

阅读已结束,您可以下载文档离线阅读编辑

资源描述

皖西学院本科毕业论文(设计)第页1目录摘要.................................................................................................................................................................1Abstact第1章绪论1.1电子钟的发展史..............................................................................................................41.2设计的目的与意义..........................................................................................................41.3设计的基本思路与主要内容..........................................................................................5第2章时钟系统的整体设计......................................................................................................................62.1系统功能要求...................................................................................................................62.2整体方案..........................................................................................................................6第3章硬件设计与分析................................................................................................................................83.1硬件设计原理..................................................................................................................83.2各单元电路介绍...............................................................................................................83.2.1AT89S52单片机介绍.................................................................................................83.2.2单片机最小应用系统.................................................................................................83.2.3显示电路.....................................................................................................................93.2.4键盘及其接口............................................................................................................93.3系统原理图....................................................................................................................10第4章软件设计............................................................................................................................................124.1程序流程图....................................................................................................................124.2程序清单........................................................................................................................13第5章调试与运行...........................................................................................................错误!未定义书签。5.1电路仿真...........................................................................................错误!未定义书签。5.2调试和运行.......................................................................................错误!未定义书签。第6章结论...............................................................................................................................................26致谢..................................................................................................................................................................27参考文献.............................................................................................................................................................28皖西学院本科毕业论文(设计)第页2基于AT89S52单片机的数字钟设计作者林张兵指导老师胡永刚摘要:近些年,人们对数字钟的要求越来越高,传统的时钟已不能满足人们的需求。多功能数字钟不管在性能还是在样式上都发生了质的变化,如电子闹钟、数字闹钟等。单片机在多功能数字钟中的应用已是非常普遍,人们对数字钟的功能及工作顺序都非常熟悉,但是却很少知道他的内部结构以及工作原理。由单片机作为数字钟的核心控制器,可以通过它的时钟信号进行计时,实现数字钟表的各种功能,将其时间数据经单片机输出,利用显示器显示出来。通过键盘可以定时、校时。输出设备显示器可以为液晶显示器或数码管。本次做的数字钟是以单片机(AT89S52)为核心,结合相关的元器件(共阴极LED数码显示器、8路同相三态双向总线收发器74LS245/6非门反相器74LS04等),再配以相应的软件,达到制作简易数字钟的目的,其硬件部分难点在于元器件的选择、布局及焊接。P0口要直接驱动8位LED是不够的,我们通过两片74LS245对功率进行放大,如果没有,LED管将不能正常显示。关键词:单片机AT89S52共阴极LED数码显示器BasedonthedigitalclockAT89S52SCMdesignAuthorlinzhangbingGuidanceteacherhuyonggangAbstract:inrecentyears,peopleonadigitalclockandtallertotherequirementoftheclock,thetraditionalalreadycannotsatisfypeople'sneeds.Multi-functiondigitalclocknomatterinstyleinperformanceorhaveundergoneaqualitativechange,suchaselectronicalarmclock,digitalalarmclock,etc.Microcomputerintheapplicationofmulti-functiondigitalclockalreadyareverycommon,peopleonadigitalclockfunctionandworkingorderareveryfamiliarwith,butfewknowhisinternalstructureandworkingprinciple.Bysinglechipmicrocomputerasadigitalclockcorecontrollercanthroughitsclocksignaltiming,realizingthefunctionsofdigitalclock,itstimedataSCMoutputs,usingmonitorsdisplayed.Throughthekeyboardcantiming,school.OutputdeviceforLCDmonitorscanordigitaltube.ThisdoadigitalclockisAT89S52SCM()asthecore,combiningrelevantcomponents(totalLEDdigitaldisplay,cathodeinthreestateswitheightroadbidirectionalbustransceiver74LS245/674LS04srinverter,etc),matchagainwiththecorrespondingsoftware,achievethepurposeofsimpledigitalclockmadeitshardwareparts,the皖西学院本科毕业论文(设计)第页3difficultyofthecomponentsselection,layoutandwelding.P0mouthshalldirectdriveeightLEDisnotenough,we74LS245bytwoofpoweramplifier,ifnot,LEDtubecan'tnormaldisplay.Keywords:microcontrollerAT89S52LEDdigitaldisplayofthecathode皖西学院本科毕业论文(设计)第页4第1章绪论1.1数字时钟的发展史电子钟有着很长的历史,从民国19年的电钟,研制始於60年代中期的国内电晶体、半导体管钟,到研制始

1 / 28
下载文档,编辑使用

©2015-2020 m.777doc.com 三七文档.

备案号:鲁ICP备2024069028号-1 客服联系 QQ:2149211541

×
保存成功