摘要电子万年历是当代人们日常生活中广泛使用的一种多功能计时工具。它可以实时计算并显示秒、分、时、日期、月、年、温度等信息,还具有时间校准等功能。本次设计是基于PIC系列单片机进行的电子万年历设计。硬件电路采用PIC16F877A单片机作为系统核心;由 DS1302时钟芯片进行计时;  DS18B20数字式温度传感器进行周围环境温度测量;最后通过 KS0108液晶显示屏进行显示;按键模块由普通按键接上拉电阻组成,用来进行时间校准。软件程序采用C语言进行编写,主要由日历程序、时间调整程序,公阴历转换程序,温度检测程序,显示程序等程序等子程序组成。所有程序编写完成后,在MPLAB中进行调试,调试成功后在Proteus软件中嵌入单片机内进行系统仿真。63009

关键词  电子万年历  PIC16F877A  温度传感器  时钟  KS0108液晶显示

毕业设计说明书(论文)外文摘要

Title   Microcontroller-Based Electronic Calendar                     

Abstract Electronic calendar is a contemporary widely used in people's daily life as a multi-function time tool. It Can be calculated in real time and displays the seconds, minutes, hours, date, month, year, temperature and other information, but also with time calibration and other functions. This design is based on the PIC family of microcontrollers electronic calendar design. Hardware circuit using PIC16F877A microcontroller as the core of the system; by the DS1302 clock chip timing; DS18B20 digital temperature sensor for ambient temperature measurement; Finally KS0108 LCD display; button module consists of a pull-up resistor composed of ordinary keys, used for time calibration. Software program written in C language, mainly by the calendar application, the time adjustment process, public lunar calendar conversion process, temperature testing procedures, and other procedures such as display program subroutines. All programming is completed, the MPLAB for debugging, debugging success in Proteus software embedded microcontroller system simulation.

Keywords  Electronic perpetual calendar  PIC16F877A  temperature sensor; clock  KS0108 LCD

1 绪论 2

1.1课题研究背景 2

1.2 课题研究的目的与意义 2

1.3课题解决的主要内容 3

2 设计要求与方案论证 4

2.1功能要求 4

2.2 系统方案论证与设计 4

3 电子万年历的硬件设计与实现 6

3.1电子万年历系统设计 6

3.2系统硬件各模块作用 6

3.3电子万年历电路设计 15

4 电子万年历软件设计 16

4.1 日历程序设计 16

4.2按钮调时程序设计 17

4.3温度程序设计 18

5 系统调试 22

5.1调试中问题及解决方法 22

5.2调试结论 22

6 仿真结果 22

结论 24

致谢 26

参考文献 27

附录:系统程序清单  29

上一篇:AT89S51单片机电子密码锁设计+电路图+程序
下一篇:基于LabVIEW电能质量监测仪设计

基于Kinect手势识别的遥操...

冷库GPRS的无线数据采集系统设计

基于51单片机自动门智能控制系统设计

STC89C52单片机智能温度监测系统设计

STC89C52单片机盲人用时钟的设计+电路图+程序

PLC物料自动分拣系统的设计+源程序

单相电压型逆变电路的谐...

大规模MIMO系统的发展研究现状

从企业eHR建设谈管理信息...

遥感土地用变化监测国内外研究现状

MNL模型历史城区居民活动...

提高小學语文課堂朗读教...

浅析施工企业保理融资成...

高效课堂教师问卷调查表

PCI+PID算法直流力矩电机速...

小型通用机器人控制系统设计任务书

《水浒传》中血腥暴力研...