摘要
文章介绍使用STC12C5402单片机设计电子时钟,应用于宾馆酒店大堂上做世界时钟使用,以取代传统的机械指针式墙壁挂钟。该世界电子时钟采用DS1302精确走时,通过按键可以修改、调整时钟,切换要显示某一个国家的时间和自动时差调整;此外还具有校时报时功能,断电后有记忆功能,恢复供电时可实现计时同步等特点。
This article describes the use of single-chip design STC12C5402 electronic clock, used to do on the hotel lobby to use the world clock to replace the traditional mechanical pointer wall clock. The DS1302 uses the world's electronic clock accurate travel time through the buttons can be modified to adjust the clock, switch the country to show a certain time and automatically adjust the time difference; when the Times also has a school function, memory function after power failure, when power is restored achieve timing synchronization and so on.
出处
《湖南农机(学术版)》
2011年第6期50-52,共3页
Hunnan Agricultural Machinery
关键词
单片机
电子世界时钟
时区时差
microeontroller
electronic world clock
time zone offset