数字电子时钟设计报告

上传人:lizhe****0001 文档编号:29754402 上传时间:2018-01-25 格式:DOCX 页数:49 大小:2.10MB
返回 下载 相关 举报
数字电子时钟设计报告_第1页
第1页 / 共49页
数字电子时钟设计报告_第2页
第2页 / 共49页
数字电子时钟设计报告_第3页
第3页 / 共49页
数字电子时钟设计报告_第4页
第4页 / 共49页
数字电子时钟设计报告_第5页
第5页 / 共49页
点击查看更多>>
资源描述

《数字电子时钟设计报告》由会员分享,可在线阅读,更多相关《数字电子时钟设计报告(49页珍藏版)》请在金锄头文库上搜索。

1、7课程设计报告课题名称:基于单片机的电子钟设计院 (系): 自动化系 专 业: 自动化 班级: 自动化 2 班 学生姓名: 包良进 学 号: 2013090110207 指导教师: 黄书童 桂林航天工业学院课 程 设 计 报 告系(部): 自动化系 专业班级: 自动化 2班 学生姓名:包良进学 号: 2013090110207 设计题目: 数 字电子钟 完成日期 2015 年 7 月 3 日 指导教师评语:_ _ _ 成绩(五级记分制): 指导教师(签字):_ 桂林航天工业学院课程设计任务书设 计 题 目 : 学生姓名 包良进课程名称 数字电子钟 专业班级 自动化 2 班地 点 实训楼 408

2、 起止时间设计内容设计参数设计进度设计成果参考资料说明1本表应在每次实施前由指导教师填写一式 2 份,审批后所在系(部)和指导教师各留 1份。2多名学生共用一题的,在设计内容、参数、要求等方面应有所区别。3若填写内容较多可另纸附后。系(部)分管领导: 教研室主任: 指导教师: 年 月 日2015 年 7 月 3 日摘 要电子万年历是一种应用非常广泛日常计时工具,对现代社会越来越重要。此电子万年历在硬件方面主要采用 STC89C52 单片机作为主控核心,由 DS1302时钟芯片提供时钟、1602LCD 液晶显示屏显示。STC89C52 单片机是由 Atmel 公司推出的,功耗小,电压可选用 46

3、V 电压供电;DS1302 时钟芯片是美国DALLAS 公司推出的低功耗实时时钟芯片,它可以对年、月、日、星期、时、分、秒进行计时,还具有闰年补偿等多种功能,而且 DS1302 的使用寿命长,误差小;对于数字电子万年历采用直观的数字显示,数字显示是采用的 1602LED 液晶显示屏来显示,可以同时显示年、月、日、星期、时、分、秒等信息。此外,该电子万年历还具有时间校准等功能。在软件方面,主要包括日历程序、时间调整程序,显示程序等。所有程序编写完成后,在 Keil 软件中进行调试,确定没有问题后,烧写到单片机上进行测试。 此设计主要由时钟芯片 DS1302 和温度传感器 DS18B20 采集数据

4、到单片机进行处理再通过 LCD1602 显示出来,本论文主要研究了液晶显示器 LCD 及时钟芯片 DS1302,温度传感器 DS18B20 与单片机之间的硬件互联及通信,对数种硬件连接方案进行了详尽的比较,在软件方面对日历算法也进行了论述。关键词:单片机;DS1302;LCD1602AbstractElectronic calendar is a widely used tool for the daily time, more and more important in modern society. The electronic calendar in terms of hardware

5、as the main control mainly STC89C52 microcontroller core, provided by the DS1302 clock chip clock, 1602LCD LCD display. STC89C52 microcontroller by Atmel introduced, the power consumption, voltage can be selected 4 6V voltage power supply; DS1302 clock chip introduced in the United States DALLAS low

6、-power real time clock chip, which can be year, month, day, week, hours, minutes and seconds time, but also has leap-year compensation, and other functions, and the DS1302s long life, small error; for digital electronic calendar using an intuitive digital display, digital display is used 1602LED LCD

7、 screen to display, you can also shows year, month, day, week, hours, minutes, seconds and other information. In addition, the electronic calendar is also a time calibration and other functions. In terms of software, including calendar, time to adjust procedures, display procedures. All programming

8、is completed, the Keil software debugging, make sure that no problem, programmed into the microcontroller for testing. This design mainly by the clock chip DS1302 temperature sensor to the microcontroller DS18B20 collect data for processing and then through the LCD1602 display, this thesis, the liqu

9、id crystal display LCD and clock chip DS1302, temperature sensor and microcontroller DS18B20 interconnection and communication between the hardware on Several hardware connection scheme for a detailed comparison of algorithms in software on the calendar have also been discussed.Key words: SCM; DS1302; DS18B20; LCD1602 目 录摘 要 .IAbstract .II第 1 章 绪 论 .11.1 课题背景 .11.2 课题意义 .11.3 国内外现状及水平 .1第 2 章基于单片机万年历的方案研究 .22.1 系统基本方案选择和论证 .22.1.1 单片机芯片的选择 .22.1.2 显示模块选择方案和论证 .32.1.3 时钟芯片的选择方案和论证 .32.2 电路设计最终方案决定 .42.3 DS1302 和 LCD1602 的原理及说明 .

展开阅读全文
相关资源
相关搜索

当前位置:首页 > 研究报告 > 综合/其它

电脑版 |金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号