1、 1 基于单片机数字时钟设计 摘 要 本设计以数字集成电路技术为基础、单片机技术为核心。软件设计模块化结构、 C 语言编程。 系统通过带字库的 LCD12864 显示数据, 通过 4*4 矩阵键盘控制显示文字、 公历日期(年、月、日、星期) 、时间(时、分、秒) 文字反白、自定义字符、图片 显示,可以通过键盘调整时间、日期,温度,同时按下键盘时,七段数码管显示相应 键位的键位标识。在内容安排上首先描述系统硬件工作原理,着重介绍了各硬件接口 技术和各个接口模块的功能;其次,详细阐述了程序的各个模块和实现过程。 关键词 单片机;数字温度日历表设计、数字时钟 Abstract The design
2、is based on digital integrated circuit.microcontroller technology is the core of the system,The software design uses module structure,C programming language. System by taking the fonts LCD12864 display data, through 4 * 4 matrix keyboard control displays text, calendar dates (year, month, day, week)
3、, time (hour, minutes and seconds), word against white, customize characters, photos. Can via keyboard adjust time, date, and press the keyboard, 7 segment digital pipe display corresponding cryogenically keys logo. First the arrangement of the content of the system hardware principle are introduced, and the hardware interface technology and the function of each interface module, Secondly, this paper expounds the program modules and realization process. Key word MCU; Keyboard display the simulation system;LCD12864;The clock 2 目 录 1 1 引言引言 4 2 2 设设计要求计要求