1、 毕业论文(设计)毕业论文(设计) 智能定时闹钟智能定时闹钟 -温度、定时硬件设计温度、定时硬件设计 院系:工程学院 年级专业:电气工程及其自动化 0801 提交日期: 答辩日期: 答辩委员会主席(签名) : 评阅人(签名) : 年 月 日 I 摘 要 随着科技的快速发展和生活水平的不断提高,人们对时钟的精确度和实用性要求越来越高。本文 采用宏晶单片机 STC10F08XE,通过 DS1302 时钟芯片进行定时,并通过 LCD 1602 字符液晶显示器显 示。 采用 C 语言程序编写, 将设计出更准确定时、 更省电的数字时钟。 单片机数字时钟具有设置时间、 日期、星期的基本功能,并且能够显示年
2、、月、日、时、分、秒、星期,温度。单片机数字钟不管在 性能还是在样式上都发生了质的变化,实践证明单片机数字时钟具有更加准确性、精密性等功能。本 设计是定时闹钟的设计,由单片机 AT89C51 芯片和宏晶单片机 STC10F08XE 为核心,辅 以必要的电 路,构成的一个单片机智能定时闹钟。用单片机来设计制 作完成,由于其功能的实现主要通过软件编 程来完成,那么就降低了硬件电路的 复杂性,而且其成本也有所降低,所以在该设计中采用单片机利 用 AT89C51,它是 低功耗、高性能的 CMOS 型 8 位单片机。 关键字:数字时钟;DS1302;LCD1602;STC10F08XE II Abstr
3、act In daily life, time is science, technology and everyday life is one of the most basic physics, we often deal with temporal clocks, such as hand watch, wall clock, even on a computer program, the clock on the phone can be generalized a clock display on the clock, along with the rapid development
4、of technology and the continuous improvement of living standards, people on the clocks accuracy and practical demand is higher and higher. Based on the single chip microcomputer principle, USES the monolithic integrated circuit STC10F08XE series, through the hardware circuit and software production
5、procedure formulation, will design a more accurate timing, electricity -saving digital clock, SCM in performance or digital clock no matter in style have undergone a qualitative change, digital clock has proved microcontroller more accuracy, precision sex etc. Function. This design is the design of
6、timing alarm clock, the single chip microcomputer AT89C51 single chip microcomputer chip and macro crystal STC10F08XE as the core, with the necessary auxiliary circuit, constitute a single chip microcomputer intelligent timing of alarm clock . By single chip design system to be completed, because its main through the realization of the function of software programming to complete, then reduce the complexity of the hardware circuit, and