摘 要:电子时钟作为新时代计时工具的宠儿,人们已经越来越离不开它。它能显示完备的时间信息,且携带方便、性能可靠。随着电子技术的高速发展,单一的计时功能的电子时钟已不能获得人们的喜爱,多用途电子时钟必定成为时代面临的选择。本设计拟用DS1302时钟芯片来表达时间信息。电子时钟使用LCD1602液晶显示屏进行数字显示,能在一个页面内显示精确的时间和温度等其他信息,还可以调时间,定闹钟,并且在没电的时候还能继续走等功能。系统核心选用STC89C52单片机作为控制器。82058

本设计硬件部分由AT89C52单片机、1062液晶显示器、DS1302时钟芯片,DS18B20温度传感器、蜂鸣器、按键系统等部分构成。软件部分在keil环境下用C语言编写,包括时间设置、时间显示、定时设置、定时闹钟、温度显示。然后设计模块电路,仿真完成后,最后软硬结合得到实物。

毕业论文关键词:时钟芯片DS1302;温度采集DS18B20;单片机AT89C52;液晶显示1602

Multi-purpose electronic clock design based on MCU

Abstract:The electronic clock is a very broad daily timing tool, to the modern society more and more popular。It can on the year, month, day, Sunday, when, minutes and seconds for time, but also has a leap year compensation and other functions。This system chooses produced by DALLAS company calendar clock chip DS1302 for real time clock chip, for this system to provide the details of the year, month, day, week and the hours, minutes, etc。Digital calendar using direct digital display, can display year, month, day, Sunday, at the same time, minutes and seconds, and when the information such as temperature, also has the alarm clock and time calibration, and other functions。The circuit USES AT89C52 single chip microcomputer as the core, small power consumption, able to work under 3 v low voltage, voltage can choose 3 ~ 5 v voltage supply。

The system hardware parts by single chip microcomputer AT89C52, DS1302 clock chip, 1062, keyboard, LCD, DS18B20 temperature measurement intercom system, etc。Software part in keil environment written with C51 language, including time setting, time display, time setting, alarm clocks, temperature display。

There's not a good basic knowledge and practical experience is limited to, each function need the hardware implementation, program how to write, how the algorithm implementation, etc。, without certain foundation can not be very good implementation。Found in the process of writing programs to existing relevant knowledge to finish writing task difficult, alone with the help of the teachers and students to complete the program part of the writing。

Post attached circuit principle diagram, the program listing, in order to offer reader reference。Because of the level is limited, hard to avoid has a dramatic deficiency, please the teacher and classmates can give correct me criticism。

Key word: The clock chip DS1302;Temperature acquisition DS18B20;Single chip microcomputer AT89C52;1602 liquid crystal display (LCD)

目录

摘 要 1

引言 。。2

1。 概述 。。3

1。1多用途电子时钟研究的背景及意义 3

1。2 系统的总体设计 3

2。 硬件电路设计 。4

2。1单片机最小系统 4

2。2时钟芯片电路 5

2。3温度采集电路设计 5

2。4 1602LCD液晶显示屏 6

2。5 蜂鸣器闹铃电路

上一篇:SMPT-1000锅炉燃烧控制系统设计
下一篇:AT89C52单片机智能开关的设计+PCB电路图

STC89C52单片机的温度控制系统设计+电路图

FAST风速观测器的设计与实验验证

CCHP考虑热网特性的综合能源系统的研究

基于状态估计的控制系统...

LQG四分之一汽车悬架系统的主动抗扰控制

MATLAB的GUI倒立摆控制系统设计与实现

基于RS-485的电梯呼梯装置设计+电路图

我国风险投资的发展现状问题及对策分析

麦秸秆还田和沼液灌溉对...

安康汉江网讯

新課改下小學语文洧效阅...

网络语言“XX体”研究

张洁小说《无字》中的女性意识

ASP.net+sqlserver企业设备管理系统设计与开发

互联网教育”变革路径研究进展【7972字】

LiMn1-xFexPO4正极材料合成及充放电性能研究

老年2型糖尿病患者运动疗...