摘要
文章首先简单介绍电子时钟及其生成背景,电子时钟应用的意义。其次,设计具体方案,主要内容包括选择合适的单片机、单片机整体结构。再次,阐述电子时钟硬件设计,包括复位RST9、电源引脚、外界晶体引脚灯。最后,分析电子时钟软件设计,即不同功能程序编译,涵盖主程序、显示程序、按键程序、时钟芯片读写等。
This paper first makes a brief description of electric clock,introduces the background of Electric clock and the significance of electric clock after its application.Secondly,design a specific plan,which mainly includes selecting a suitable microcontroller and the overall structure of the microcontroller.Thirdly,the hardware design of electric clock is introduced,including RST9 reset,power supply pin and external crystal pin lamp.Finally,the software design of electric clock is analyzed,that is,compilation of different functional programs,including main program,display program,key program,clock chip reading and writing,and so on.
作者
冯冬雷
FENG Donglei(Suzhou Higher Vocational School of Technology,Suzhou 215000,China;Suzhou Branch of Jiangsu Union Technical Institu Suzhou 215000,China)
关键词
单片机技术
电子时钟
设计与制作
microcontroller technology
electric clock
design and production