1、 基于基于 TFT-LCD 的指针式时钟设计的指针式时钟设计 摘摘 要要 自时钟发明的那天起,它就注定了与人们有着密不可分的关系,但科学技术 在不断发展,人们随着时间的推移对时间计量的精度要求越来越高,机械式时钟 也越来越满足不了人们日益增高的要求了。 取而代之的事具有高度准确性和直观 性且无机械装置,使用寿命更长更长等优点的电子时钟。电子时钟更具人性化, 更能提高人们的生活质量,更受人们欢迎,机械时代已经远去,电子时代已经到 来。因此本设计是基于 ATMEL 公司的 ATmega128 单片机开发平台实现一种高 精度, 智能化的指针式时钟系统,采用单片机与时钟芯片DS1302设计电子时钟时,
2、 通常是数字显示,这是由于选用数码管和 1602 等器件的显示能力有限。而 12864 是基于点阵式的液晶屏,其像素点为 12864,但 12864 自身像素较低,使其显示指 针式时钟效果远低于 1.8 寸 TFT-LCD 液晶,但两者所基于的原理相同。因此本设 计采用 ATmega128 单片机为控制核心,辅以 DS1302 时钟采集系统,1.8 寸 TFT-LCD 液晶作为显示芯片,构成了一个指针式电子时钟。 关键词:关键词:ATmega128 单片机;DS1302;TFT-LCD I The design based on TFT-LCD ClockTop Abstract Since
3、the invention of the clock, it is destined to have a close relationship with people, but science and technology in development, higher and higher over time the accuracy of time measurement requirements, the mechanical clock increasingly meet not the increasing requirements. Instead, things have a hi
4、gh degree of accuracy and intuitive and no mechanical device, service life longer longer, and the advantages of the electronic clock. The electronic clock is more humane, more to improve peoples quality of life, but also welcomed by the people, has passed the Mechanical Age, the electronic age has a
5、rrived. This design is based on the ATMEL ATmega128 MCU development platform to achieve a high precision, intelligent analog clock systems. Using a single-chip clock chip DS1302 design electronic clock, digital display, which is due to the limited capacity of the display of the selected digital tube
6、 and 1602 devices. 12864 is based on a dot matrix LCD screen, the pixels of 128 64, but 12 864 pixel itself low to display analog clock effect is much lower than the 1.8 inch TFT-LCD LCD, but both are based on the principle of the same. This design uses the ATmega128 MCU for the control of the core, supplemented by the DS1302 clock acquisition system, 1.8-inch TFT-LCD liquid crystal display chips to form a pointer electronic clock. Key words: ATmega128microcontroller;DS1302;TFT-LCD 苏州科技学