1、 I 基于单片机的时钟显示器设计 摘 要 本文论述了如何利用单片机来设计一个时钟的方法。 本设计基于单片机技术原理,以单片机芯片 AT89C52作为核心控制器,通过硬件电路的制作以及软件程序的编制,设计制作出一个多功能数字时钟系统。 单片机扩展的 LCD显示器用来显示秒、分、时计数单元中的值。整个设计包括两大部分 : 硬件部分和软件部分 ,以单片机为核心 , 配以一定的外围电路和软件。硬件是整个系统的基础 , 软件部分则要合理、充分地支持和使用系统的硬件 , 从而完成系统所要完成的任务。 本设计采用 L ED 数码管的数字显示 以其亮度高、显示直观等优点被广泛应用于智能仪器及家用电器等领域。
2、该时钟系统主要由时钟模块、闹钟模块、环境温度检测模块、液晶显示模块、键盘控制模块以及信号提示模块组成。能够准确显示时间(显示格式为时时:分分:秒秒, 24 小时制),可随时进行时间调整,具有闹钟时间设置、闹钟开 /关、止闹功能,能够对时钟所在的环境温度进行测量并显示。设计以硬件软件化为指导思想,充分发挥单片机功能,大部分功能通过软件编程来实现,电路简单明了,系统稳定性高。 单片机在这种情况下诞生了 基于单片机电子时钟 。 关键词: 单片机、 LCD 显示器 、 液 晶显示模块 、 基于单片机电子时钟 。 II Design According To Single Slice The Clock
3、 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
4、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 si
5、ngle 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 o
6、f 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 clocks system is mainly shown that mold piece, the keyboard control mold piece
7、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:Second second, 24 hours system), can carry on the adjustment in ti
8、me at any time, have an alarm clock to establish for time, the alarm clock open/pass, make function, can carry on measure to the environment temperature of clock place and show.Design to change into instruction thought by hardware software, well exertive single slice machine function, greatly parts of functions pass a software plait a distance to carry out, electric circuit in brief clear, system stability Gao.The single slice machine was born in this kind of case the machine electronics is according