- 5
- 0
- 约 56页
- 2017-03-26 发布于江苏
- 举报
基于单片机年历研究设计书优秀课题
XXX学院
毕 业 论 文
课题名称: 基于单片机的万年历设计
作 者: XXX
学 号: XXX
系 别:___ 电子工程系
专 业:__ 电子信息工程技术_
指导教师:_______ XXX
XX年 XX 月 XX 日
摘 要
本设计以单片机芯片STC89C52为中心,通过外挂接DS12C887作为时钟芯片,为系统实时的更新时间、日历等。DS18B20作为温度传感器芯片,用于实时采集当前所处的环境温度。1602液晶作为实时显示器件,显示单片机采集的所有数据。当在公共场所时,为了方便调节时间,外加红外遥控和键盘两种方式调时功能。于此,构成了一个实时时钟万年历系统。最后,通过软件对其原理图进行绘制和程序的编写,并且调试运行。
关键词:单片机芯片STC89C52;DS12C887芯片;DS18B20温度传感器;LCD1602液晶;红外遥控
Abstract
The design on the single chip computer chip STC89C52 as the center, through the plugin meet DS12C887 as the clock chip, real-time updates for the system time, calendar, etc. As the temperature sensor DS18B20 chip to the real-time data acquisition at this temperature environment. 1602 LCD as real-time display device, shows all of the data collection single chip microcomputer. When in a public place, in order to facilitate the regulating time, plus infrared remote control and keyboard two ways when the function. In this, and form a real time clock calendar system. Finally, through the software to its principle chart draw and the writing of the program, and debug operation.
Keywords: single chip microcomputer chip STC89C52; DS12C887 chip ;DS18B20 temperature sensor; LCD1602 liquid crystal ;infrared remote control
目 录
1 引言 1
1.1课题的来源和意义 1
1.2系统总体方案介绍 2
2 方案论证 2
2.1 时钟芯片的选择 2
2.2显示器件的选择 4
3 单元电路设计 4
3.1 DS12C887时钟电路设计 4
3.1.1 DS12C887时钟芯片概述 4
3.1.2 时钟精度 5
3.1.3 时钟、日历和闹钟单元 5
3.1.4 控制寄存器 6
3.1.5 基本原理 8
3.1.6典型工作电路 11
3.1.7工作时序 11
3.1.8主要程序分析 13
3.2 1602液晶显示电路设计 14
3.2.1 1602液晶概述 14
3.2.2 1602液晶基本原理 15
3.2.3 1602液晶工作时序 16
3.2.4 指令说明 17
3.2.5 1602液晶主要程序分析 18
3.3红外遥控电路设计 19
3.3.1红外发射系统 19
3.3.2红外接收系统 20
3.3.3主要程序分析 21
3.4 DS18B20温度传感器电路设计 23
3.4.1 DS18B20温度传感器概述 23
3.4.2 DS18B20温度传感器的主要特性 23
3.4.3 DS18B20温度传感器基本原理 23
3.4.4 DS18B20温度传感器配置寄存器 23
3.4.5
原创力文档

文档评论(0)