毕业论文

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

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

时间:2024-03-13 22:50来源:毕业论文
STC89C52单片机的电子万年历设计。人们对时间的要求越来越高。电子万年历是现在十分流行的日常计时工具,它可以对年、月、日、时、分、秒进行精确计时,并且拥有显示屏,可以直观

摘要:随着人类社会的不断进步,人们对时间的要求越来越高。电子万年历是现在十分流行的日常计时工具,它可以对年、月、日、时、分、秒进行精确计时,并且拥有显示屏,可以直观的显示数字,给予使用者极大的方便。本设计共由温度采集模块、数据显示模块、调整设置模块和时间处理模块四个模块组成。系统以STC89C52单片机为控制器,以串行时钟日历芯片DS1302来对年、月、日、时、分、秒进行计时。温度采集选用DS18B20芯片,此万年历具有直观的数据显示,数据显示采用的是1602液晶显示模块,可以在LCD1602上同时显示年、月、日、星期、时、分、秒,还具有调准时间等功能。此万年历具有功能较多、易于读取、电路简单、成本较低等优点,具有广阔的市场前景。94682

毕业论文关键词:单片机,时钟芯片DS1302,LCD1602液晶显示屏,温度传感器

Abstract:With the continuous development of science and technology, people have more and more accurate time。 Electronic calendar is now very popular daily timing tool, it can be accurately timed to the date and time, minutes and seconds, and has a digital display screen, can be intuitive, brings great convenience to users。 This design is composed of four modules: data display module, temperature acquisition module, time processing module and adjustment setting module。 The system uses STC89C52 microcontroller as the controller, with the serial clock calendar chip DS1302 to record the calendar and time, it can be the year, month, day, hour, minute, second time。 The temperature acquisition using DS18B20 chip, calendar using intuitive digital display data display with 1602 LCD module, can simultaneously on the LCD1602 display year, month, day, week, hours, minutes and seconds, also has the alignment time and other functions。 The perpetual calendar has many advantages, such as convenient reading, various functions, simple circuit, low cost and so on。

Key words:MCU, clock chip DS1302, LCD1602 LCD, temperature sensor

目 录

1  绪论 4

1。1  课题研究的背景、目的与意义 4

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

2  总体方案设计 4

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

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

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

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

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

3  系统硬件的设计 6

3。1  单片机:STC89C52 6

3。2  显示模块:LCD1602 9

3。2。1  基本操作时序 10

3。2。2  初始化设置 11

3。2。3  LCD1602与MCU的接口电路 11

3。3  时钟芯片:DS1302 11

3。3。1  DS1302接口电路设计 12

3。4  温度芯片:DS18B20 14

3。4。1  DS18B20工作原理 15

3。4。2  DS18B20接口电路设计 16

3。5  按键模块设计 16 STC89C52单片机的电子万年历设计:http://www.youerw.com/zidonghua/lunwen_202761.html

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