毕业论文

打赏
当前位置: 毕业论文 > 电子通信 >

AT89C52单片机的电子万年历设计+硬件电路

时间:2017-03-12 16:36来源:毕业论文
单片机通过时钟芯片DS1302获取时间数据,DS18B20采集温度信号送该给单片机处理,单片机再把时间数据和温度数据送给LCD显示器显示年、月、日、时、秒、星期、温度等信息

电子万年历是单片机系统的一个应用,由硬件和软件相配合使用。硬件由主控器、时钟电路、温度检测电路、显示电路、键盘接口5个模块组成。主控模块用AT89C52、时钟电路用时钟芯片DS1302、显示模块用点阵字符型液晶显示、温度检测采用DS18B20温度传感器、键盘接口电路用普通按键接上拉电阻完成;软件利用C语言编程实现单片机程序控制。单片机通过时钟芯片DS1302获取时间数据,DS18B20采集温度信号送该给单片机处理,单片机再把时间数据和温度数据送给LCD显示器显示年、月、日、时、秒、星期、温度等信息。6493
关键词  电子万年历 单片机 时钟芯片 温度传感器 液晶显示
毕业设计说明书(论文)外文摘要
Title  The Design of Electronic Calendar Based On 51MCU
Abstract The electronic calendar is the application of the SCM system, which is compatibly used with hardware and software. The hardware is composed of the master clock circuit, the temperature detection circuit, display circuit, and a keyboard interface of 5 modules. The master module is made by AT89C52, the clock circuitry by DS1302 clock chip, display module Dot-matrix character LCD, the temperature is detected by the DS18B20 temperature sensor, and the keyboard interface circuit is connected with an ordinary key pull-up resistor to complete. Software use the C programming language to achieve single-chip process control. Micro-controller obtain the time data through the clock chip DS1302. Temperature signal collected by DS18B20 is send to the micro-controller and then temperature data of the MCU is sent to the LCD display to show the information of year, month, day, hour, seconds, week, temperature and other information.
Keywords  electronic calendar  micro-controller  clock chip  temperature sensor    LCD
目录
1 绪论    1
1.1 课题开发的背景    1
1.2 设计的意义    2
1.3 设计的要求    2
2 系统概述    3
2.1 硬件电路设计    3
2.2 系统核心部分——单片机 AT89C52    4
2.2.1 AT89C52具有下列主要性能    4
2.2.2 AT89C52的引脚及功能    5
2.3 DS1302时钟电路    7
2.3.1 DS1302芯片介绍    7
2.3.2 DS1302 的应用    10
2.4 DS18b20温度电路    11
2.4.1 DS18b20芯片介绍    11
2.4.2 DS18b20芯片应用    15
2.5点阵字符型液晶显示模块    15
2.5.1 点阵字符型液晶显示模块说明    15
2.5.2 引脚、指令功能    15
2.5.3 显示模块的应用    16
2.5.4按键控制模块    16
3 系统软件程序设计    16
3.1 时间程序的设计    17
3.2时间调整程序的设计    17
3.3温度程序的设计    19
3.3.1 温度主程序    19
3.3.2 读出温度子程序    19
3.3.3 温度转换命令子程序    20
3.4 显示程序的设计    21
4 调试及性能分析    24
4.1硬件测试    24
4.2 软件测试    24
4.2.1 Keil工程的创建    25
4.2.2 Keil调试/仿真代码    26
4.2.3 Proteus虚拟仿真    26
4.3 测试结论    28
结论    29
致谢    30
参考文献    31
 
1 绪论
1.1 课题开发的背景
20世纪末,电子技术获得了飞速的发展,在其推动下,现代电子产品几乎渗透了社会的各个领域,有力地推动了社会生产力的发展和社会信息化程度的提高,同时也使现代电子产品性能进一步提高,产品更新换代的节奏也越来越快。时间对人们来说总是那么宝贵,工作的忙碌性和繁杂性容易使人忘记当前的时间。忘记了要做的事情,当事情不是很重要的时候,这种遗忘无伤大雅。但是,一旦重要事情,一时的耽误可能酿成大祸。 AT89C52单片机的电子万年历设计+硬件电路:http://www.751com.cn/tongxin/lunwen_4074.html
------分隔线----------------------------
推荐内容