1、 I 基于单片机的时钟显示器设计 摘 要 本文论述了如何利用单片机来设计一个时钟的方法。 本设计基于单片机技术原理,以单片机芯片AT89C52作为核心控制器,通过 硬件电路的制作以及软件程序的编制,设计制作出一个多功能数字时钟系统。单 片机扩展的LCD显示器用来显示秒、分、时计数单元中的值。整个设计包括两大 部分: 硬件部分和软件部分,以单片机为核心, 配以一定的外围电路和软件。 硬件是 整个系统的基础, 软件部分则要合理、充分地支持和使用系统的硬件, 从而完成系 统所要完成的任务。 本设计采用 L ED 数码管的数字显示以其亮度高、显示直观等优点被广泛应用 于智能仪器及家用电器等领域。该时钟
2、系统主要由时钟模块、闹钟模块、环境温 度检测模块、液晶显示模块、键盘控制模块以及信号提示模块组成。能够准确显 示时间(显示格式为时时:分分:秒秒,24 小时制),可随时进行时间调整,具 有闹钟时间设置、闹钟开/关、止闹功能,能够对时钟所在的环境温度进行测量并 显示。设计以硬件软件化为指导思想,充分发挥单片机功能,大部分功能通过软 件编程来实现,电路简单明了,系统稳定性高。单片机在这种情况下诞生了基于 单片机电子时钟。 关键词:单片机、LCD 显示器、液晶显示模块、基于单片机电子时钟。 II Design According To Single Slice The Clock Display O
3、f 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
4、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