基于单片机AT89C52的多功能电子钟设计  被引量:5

Design of a Multi-function Clock Based on SCM AT89C52

在线阅读下载全文

作  者:刘昕[1] 杨峰[1] 谢晋[1] 

机构地区:[1]吉首大学物理科学与信息工程学院,湖南省吉首市416000

出  处:《信息化研究》2010年第4期61-64,共4页INFORMATIZATION RESEARCH

基  金:湖南省教育厅科研项目(09C792)

摘  要:文中设计了一个显时、调时、定时以及具有整点报时功能的电子钟。电子钟使用12MHZ晶振与AT89C52单片机相连接,通过软件编程的方法实现了以24小时为一个周期,同时显示小时、分钟和秒的要求,而且有三组定时计数功能。在定时时间到时有蜂鸣报警。该电子钟设有五个按键按钮S1,S2,S3,S4和S5键,使之具备了校时、定时和复位功能。同时,电子钟还设计了掉电保护电路,当电源断电时能保存时钟当前定时设计的全部数据。为了美化时钟界面,在单片机外围设置了跑马电路。通过AT89C52电子时钟的设计,对51单片机系列有了更加深刻的认识,对其各个引脚功能掌握的更为透彻。也再次认识到单片机的应用具有使用范围广的特点,对各个行业的技术改造和产品智能化的更新换代起着重要的推动作用。In this paper, sounding the hour is designed an electronic clock has the functions of showing time, time setting, timing and The clock uses a 12MHz crystal with AT89C52 microcontroller connected and through software programming method it realized the cycle of 24 hours could also show hours, minutes and seconds, and has three timing counting functions. When timed hour comes, the buzzer gives alarm. The clock has five buttons S1, S2, S3, S4 and S5, so as to have the time setting, the timing and reset functions. Besides, the clock has also a power-down protection circuit. When the power is off, the clock will save all the current data. In addition, to beautify the clock interface in the microcontroller peripheral a Happy Valley cir- cuit is set. Through the design of AT89C52 electronic clock, we obtained a more profound understanding of microcontroller 51 the series, including each pin's function. Once again we recognized that SCM has a wide range of applications. So it can play an important role in the technological transformation of various industries and making intelligent products, thus promoting the appearance of new generations.

关 键 词:电子钟 AT89C52 晶振 掉电保护电路 跑马电路 

分 类 号:TP311[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象