多功能智能时钟系统设计
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
多功能智能时钟系统设计作者姓名:XXX
专业名称:XXXX
指导教师:XX讲师
基于LCD的多功能智能时钟系统设计
摘要
随着对时间的要求越来越精确,人们创造了时钟。现在,电子时钟更是人类最基本,最必不可少的一个工具。在上个世纪,电子时钟大多数采用的是分离元件。而这样制造出来的电子时钟体积庞大,使用起来也很麻烦。随着科技和电子行业的飞速发展,现在的电路都是高度集成的。不仅节约空间资源,成本也很低。然电子产品给我们的生活带来了更多的便利。
本设计的主控系统采用的是单片机,利用它自带的定时器来进行设计。单片机具有成本低廉、体积小、操作简便等优点。它能够形成各式各样的自动控制系统。设计中将采用单片机中最为典型也是我们在课堂上学习过的51系列的单片机,本次设计以STC89C51单片机为核心,以时钟芯片DS1302为依托,借助外围少量的按键电路实时校准,通过LCD1602液晶显示器来显示日期和时间。在程序的部分,我采用的是C语言来进行编写。使用C语言更有利于我的理解,编写以及修改。
本论文主要从系统设计方案的选择,硬件、软件部分的介绍说明以及实物的演示上来详细的描述了整个设计的大致内容。设计主要研究的是智能时钟以及日历显示功能。我们利用了单片机的控制能力和时钟芯片的及时通信的特点,按键来控制时间和日历在液晶显示屏上的显示。最后,在整点的时候通过蜂鸣器进行报时。
关键词:单片机电子时钟C语言
Abstract
With the demand for more precise, people create a clock. Now, the electronic clock is human the most basic, most essential as a tool. In the last century, most electronic clock use is separation of components. And this produced electronic clock bulky, use is also very troublesome. Along with the rapid development of science and technology and electronic industry, now circuit are height integrated. Not only save space resource, cost is also very low. Although electronic products to our life brought more convenience.
Procedures will be used in the design of the main control system is a single chip, using its own timer design. SCM has low cost, the volume is small, easy to operate, etc.. It can form a variety of automatic control system. The design uses a microcontroller is the most typical and I were in the classroom study of 51 series microcontroller, the design STC89C51 microcontroller as the core to the clock chip DS1302 as the basis, by means of a peripheral small amounts of key circuit real-time calibration through LCD1602 LCD display to display the date and time. In part, I use C language to write. The use of C language is more conducive to my understanding, writing and revision.
This paper mainly from the selection of the design scheme of the system, hardware, software part of the description and physical demonstration up detailed describes the general content of the whole design. Design is the main research is intelligent clock and calendar display function. We use the MCU control can timely communication of power and clock chip keys to control the time and calendar on the LCD screen display. Finally, when the whole point of the buzzer timekeeping.
Keywords: single chip microcomputer, electronic clock, C language
目录
摘要............................................................................................................ I Abstract.................................................................................................. II 目录......................................................................................................... III 前言.. (1)
1 论文设计概述 (2)
1.1 设计任务 (2)
1.2 设计要求 (2)
1.3 系统整体框图 (2)
2 系统方案选择 (4)
2.1 总体方案设计 (4)
2.2 主要模块的方案设计 (4)
2.2.1 主控芯片方案 (4)
2.2.2 显示模块方案 (5)
3 系统模块电路介绍及设计 (6)
3.1 单片机模块 (6)
3.1.1 单片机基础知识介绍 (6)
3.1.2 STC89C51介绍 (7)
3.1.3 单片机最小系统电路 (9)
3.2 时钟模块 (11)
3.2.1 DS1302介绍 (11)
3.2.2 DS1302电路原理 (13)
3.3 液晶显示模块 (13)
3.3.1 LCD1602引脚及说明 (13)
3.3.2 LCD1602电路原理 (15)
3.4 蜂鸣器报警模块 (15)
3.5 矩形按键电路模块 (16)