- 3
- 0
- 约5万字
- 约 61页
- 2018-08-27 发布于湖北
- 举报
基于单片机的万年历lnucbfug
中州大学
信息工程学院
课程设计
【基于单片机的万年历】
专业:[计算机应用技术]
班级:[ 11计应班 ]
学生姓名:[XXXXXXXXXXXXXX]
指导教师:[ 刘爱荣老师 ]
完成时间:2013年6月5日
摘 要
本文借助电路仿真软件Protues对基于STC89C52单片机的电子万年历的设计方法及仿真进行了全面的阐述。该电子万年历在硬件方面主要采用STC89C52单片机作为主控核心,由DS1302时钟芯片提供时钟、LCD12864点阵液晶显示屏显示。STC89C52单片机是由深圳宏晶公司推出的,功耗小,电压可选用4~6V电压供电;DS1302时钟芯片是美国DALLAS公司推出的具有涓细电流充电功能的低功耗实时时钟芯片,它可以对年、月、日、星期、时、分、秒进行计时,还具有闰年补偿等多种功能,而且DS1302的使用寿命长,误差小;数字显示是采用的LED液晶显示屏来显示,可以同时显示年、月、日、星期、时、分、秒等信息。此外,该电子万年历还具有时间校准等功能。在软件方面,主要包括日历程序、时间调整程序,显示程序等。所有程序编写完成后,在Keil软件中进行调试,确定没有问题后,在Proteus软件中嵌入单片机内进行仿真。
论文主要研究了液晶显示器LED及时钟芯片DS1302,温度传感器DS18B20与单片机之间的硬件互联及通信,对数种硬件连接方案进行了详尽的比较,在软件方面对日历算法也进行了论述。
研究结果表明,由于万年历的应用相当普遍,所以其设计的核心在于硬件成本的节约软件算法的优化,力求做到物美价廉,才能拥有更广阔的市场前景。
关键词:单片机;DS1302;LCD12864
Abstract
This paper mainly discuss the design and simulation of electronic calender based on STC89C52 with the help of Protues.On the hardware side, the electronic calendar using STC89C52 microcontroller as the main control center, clock provided by the DS1302 clock chip , 1602LED dot matrix LCD display.Atmel Corporation STC89C52 microcontroller is producted by Atmel Corporation, low power consumption, voltage can be selected 4V~ 6V voltage power supply; DS1302 clock chip, launched in the United States with DALLAS small current charging function real time clock chip, low power consumption, it can be years , month, date, day, hour, minute, seconds time, also has a leap year compensation and other functions, and DS1302 long life, small error; LED digital display is used in LCD displays that can display in , month, day, week, hours, minutes, seconds and other information.In addition, the electronic calendar is also a time calibration functions. In terms of software, including calendar program, time to adjust procedures, display procedures. All programming is complete, the Keil software debugging, make sure there is no problem, in the Proteus software embedded within the simulated MCU.
This article focus on liquid crystal screen LCD12864 and clock chip DS1302,temperature s
您可能关注的文档
- 基于光伏发电系统的三电平逆变器设计本科毕业论文d3yfoicq.doc
- 基于单片机stc89c52温度控制系统的设计 毕业设计说明书o3m58wil.doc
- 基于北斗卫星导航系统的时频技术的研究毕业设计论文4s7eoc2j.doc
- 基于单片机与pc机的温度控制系统硬件设计毕业设计hqmn7osw.doc
- 基于单片机与vb汽车尾灯控制毕业论文hnodvawj.doc
- 基于单片机及无线通信技术的盲人交通提示系统设计毕业论文vnkbkch_.doc
- 基于单片机与vb汽车尾灯控制课程设计报告_dba8w2g.doc
- 基于单片机仿真的数控直流电流源设计毕业设计upt9n_lx.doc
- 基于单片机实现智能照明控制系统的设计cw8yahjt.doc
- 基于单片机制冷机的温控设计_gtkokte.doc
最近下载
- 2026年春季教科版三年级科学下册教学计划及进度表(新版本).docx VIP
- 14.赵海林-北斗云高精度打桩导航定位的副本-20201012-2[1].pptx VIP
- (2026 春新版)二年级科学下册教学计划及进度表.docx VIP
- 重症患者的早期康复课件.pptx VIP
- 2022年新高考全国Ⅱ卷英语真题(原卷版).pdf VIP
- 2026春新版大象版科学三年级下册教学计划.pdf VIP
- 2024年江苏省中考地理试题卷(含答案解析).docx
- 小学数学六年级上册思维拓展精选练习题.docx VIP
- 北斗云 DZ502 打桩放线导航仪 快速操作安装手册说明书.pdf VIP
- 美国机械学会标准ASME B16.51-2013 Copper and Copper Alloy Press-Connect Pressure Fittings.pdf VIP
原创力文档

文档评论(0)