毕业设计(论文)-基于AT89C52单片机的数字时钟设计汇
基于AT89C52单片机的数字时钟设计
摘 要
本文论述了如何利用单片机来设计一个时钟的方法。
本设计基于单片机技术原理,以单片机芯片AT89C52作为核心控制器,通过硬件电路的制作以及软件程序的编制,设计制作出一个多功能数字时钟系统。单片机扩展的LCD显示器用来显示秒、分、时计数单元中的值。整个设计包括两大部分: 硬件部分和软件部分,以单片机为核心, 配以一定的外围电路和软件。硬件是整个系统的基础, 软件部分则要合理、充分地支持和使用系统的硬件, 从而完成系统所要完成的任务。
本设计采用L ED 数码管的数字显示以其亮度高、显示直观等优点被广泛应用于智能仪器及家用电器等领域。该时钟系统主要由时钟模块、闹钟模块、环境温度检测模块、液晶显示模块、键盘控制模块以及信号提示模块组成。能够准确显示时间(显示格式为时时:分分:秒秒,24小时制),可随时进行时间调整,具有闹钟时间设置、闹钟开/关、止闹功能,能够对时钟所在的环境温度进行测量并显示。设计以硬件软件化为指导思想,充分发挥单片机功能,大部分功能通过软件编程来实现,电路简单明了,系统稳定性高。单片机在这种情况下诞生了基于单片机电子时钟。LCD显示器、液晶显示模块、基于单片机电子时钟Design According To Single Slice The Clock Display Of The Machine
ABSTRACT
This text discusses how to make use of a single slice machine to design the method of a clock.
This design according to single slice machine technique principle, use single slice the machine chip AT89 C52 as core controller, pass the draw up of creation and software procedure of hardware electric circuit, design to create a multi-function and numerical clock system. the single slice machine expand of LCD display use to show second, cent, the chronometer value within few units.The whole design include two greatly part of: Hardware part and software part, with single slice machine for core, go together with with the certain outer circle electric circuit and the software.The hardware is the foundation of the whole system, the software is part of to then want reasonable, adequately support with usage system of hardware, complete system thus want to complete of mission.
This design adoption L ED figures tube of the numeral show high with its bright degree, show to keep a view etc. the advantage be extensively been apply in realms, such as intelligence instrument and home .The clock's system is mainly shown that mold piece, the keyboard control mold piece and signal hint that the mold piece constitute by clock mold piece, alarm clock mold piece, the examination mold piece, LCD of the environment temperature.Can accurate manifestation time(manifestation format is always:The cent divide: