毕业论文

打赏
当前位置: 毕业论文 > 自动化 >

STC89C52单片机的电子万年历设计+电路图

时间:2024-04-01 22:33来源:毕业论文
STC89C52单片机的电子万年历设计。由温度采集模块、数据显示模块、调整设置模块和时间处理模块四个模块组成。本系统以STC89C52单片机作为控制器,以串行时钟日历芯片DS1302记载日历和

摘 要:本设计由温度采集模块、数据显示模块、调整设置模块和时间处理模块四个模块组成。本系统以STC89C52单片机作为控制器,以串行时钟日历芯片DS1302记载日历和时间,它可以对年、月、日、时、分、秒进行准确计时,还具有平年补偿等多种功用。温度采集选用的芯片是DS18B20,万年历采用的是直观数字显示屏,数据显示采用的是1602A液晶显示,能够在LCD液晶显示屏上同步显示年、月、日、星期、时、分、秒、温度、闹钟,还具有时间校准等功用。95006

毕业论文关键词:万年历,温度计,液晶显示

Abstract: This design by data display module, temperature acquisition module, time processing module and set module four modules。 With STC89C52 single-chip microcomputer system for the controller to serial clock calendar chip DS1302 record calendar and time, it can be to date and time, minutes and seconds for the time, also has a leap year compensation and other functions。 Temperature gathering choose DS18B20 chip, calendar by using object digital display, data showed that the 1602 A liquid crystal display module, can be in the LCD shows at the same time year, month, day, Sunday, when, minutes ,seconds and temperature, still have time calibration etc。 Function。 源C于H优J尔W论R文M网WwW.youeRw.com 原文+QQ752-018766

Keywords: Perpetual Calendar,Thermometer,LCD display

目  录

1 绪论 4

1。1 课题研究的背景 4

1。2课题的研究目的与意义 4

1。3课题解决的主要内容 4

2 系统的方案设计与论证 5

2。1单片机芯片设计与论证 5

2。2按键控制模块设计与论证 5

2。3时钟模块设计与论证 6

2。4温度采集模块设计与论证 6

2。5显示模块模块设计与论证 6

3 系统硬件的设计 7

3。1 STC89C52单片机 7

3。2时钟芯片DS1302接口设计与性能分析 12

3。3温度芯片DS18B20接口设计与性能分析 15

3。4 LCD显示模块 17

3。5按键模块设计 19

4 系统软件的设计 19

4。1 阳历程序设计 19

4。2 阴历算法设计 20

4。3 时间调整程序设计 23

4。4 温度程序设计 25

5 系统的机体设计及调试 28

5。1系统的模块组成 28

5。2系统软件调试与仿真 28

5。3系统硬件调试 31

总  结 33

参考文献 34

致谢 35

1 绪论

1。1 课题研究的背景论文网

随着科技的迅速发展,从观太阳、摆钟到如今电子钟,人类不断钻研,不断创新纪录。电子万年历可以对年、月、日、时、分、秒进行准确计时,还具有平年补偿等功能,并且DS1302的使用寿命较长,误差很小。对数字电子万年历采用直观的数字屏显示,能够同步显示出年、月、日、星期、时、分、秒和温度等其他信息,还具有时间校准等功用。本电路采用STC89C52单片机为设计核心,功耗很小,能工作在5V的低压下,电压可以选择4。5~5。5V电压来供电[1]。 STC89C52单片机的电子万年历设计+电路图:http://www.youerw.com/zidonghua/lunwen_203155.html

------分隔线----------------------------
推荐内容