电子信息工程毕业论文
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
x x x x大学
毕业论文
论文题目:车载可测温式电子万年历
学生姓名:xx
指导教师:xxx
所学专业:电子信息工程
2009年6月
Chengdong College of Northeast
Agricultural University
Thesis
Thesis topic:The Vehicle Carries Temperature Measurement Type Electron Ten Thousand Calendars Student name:
Tutor name:
Specialty:Electronic And Information Engineering
June 2009
车载可测温式电子万年历
摘要
随着电子技术的迅速发展,特别是随着大规模集成电路的出现,给人类生活带来了根本性的改变。尤其是单片机技术的应用产品已经走进了千家万户,如电子万年历的出现给人们的生活带来了诸多方便。
本文描述了系统硬件工作原理,并附以系统结构框图加以说明,着重介绍了本系统所应用的各硬件及其接口技术和各硬件模块的功能及工作过程;其次,详细阐述了程序的各个模块和实现过程。本设计以数字集成电路技术为基础,单片机技术为核心。编写的主导思想软硬件相结合,以硬件为基础,来进行各功能模块的编写。
本系统为了便于扩展和更改,软件的设计采用模块化结构,使程序设计的逻辑关系更加简洁明了。系统通过传感器采集温度。用四个数码管显示数据,可以显示时间和温度,也可以通过按键调整时间。
关键词:电子万年历;单片机;时钟芯片;温度传感器;数码管显示
The Vehicle Carries Temperature Measurement Type Electron Ten Thousand Calendars
Abstract
Along with electronic technology's rapidly expand, specially along with large scale integrated circuit's appearance, lived for the humanity has brought the fundamental change. Especially the monolithic integrated circuit technology's application product already entered everyone, if the electronic ten thousand calendar's appearances have brought conveniently many for people's life.
This article described the system hardware principle of work, and attaches by the system structure diagram explained that introduced emphatically this system applies various hardware and connection technology and various hardware module function and work process; Next, elaborated in detail procedure each module and realizes the process. This design take the digital integrated circuit technology as the foundation, the monolithic integrated circuit technology is a core. The compilation guiding ideology software and hardware unifies, take the hardware as the foundation, carries on various functional module the compilation.
This system for ease of the expansion and the change, software's design uses the modular structure, causes the programming the logical relation even more simple and brief. System through two group of nixietube demonstration data. May the tell time and the week, after pressing down cuts the key, may the show date.
Key word:Electronic ten thousand calendars; Monolithic integrated circuit; Clock chip;
Temperature sensor ;Nixietube demonstration
目录
摘要......................................................................................................................................... I Abstract..................................................................................................................................... I I 前言...................................................................................................................................... 11 方案选择.............................................................................................................................. 2
1.1 整机设计方案选择................................................................................................... 2
1.2 单片机芯片的选择................................................................................................... 2
1.3 时钟芯片的选择....................................................................................................... 2
1.4 温度传感器的选择................................................................................................... 3
2 硬件设计.............................................................................................................................. 4
2.1 电路组成框图........................................................................................................... 4
2.2 系统硬件概述及整机工作原理............................................................................... 4
2.3 各芯片介绍............................................................................................................... 6
2.3.1 AT89S51单片机............................................................................................. 6
2.3.2 DS12887时钟芯片......................................................................................... 8
2.3.2.1 DS12887主要功能简介...................................................................... 9
2.3.2.2 DS12887引脚说明.............................................................................. 9
2.3.2.3 时间,日历和定闹单元................................................................. 10
2.3.2.4 DS12887的控制寄存器.................................................................. 11
2.3.3 DS18B20温度传感器 ................................................................................ 12
2.4 数码管显示电路设计........................................................................................... 13
2.4.1 显示模块的选择与方案论证.................................................................... 13
2.4.2 LED显示器工作原理 ................................................................................ 13
3 系统软件设计.................................................................................................................. 15
3.1 系统功能模块及主程序流程图........................................................................... 15
3.2 DS12887初始化程序设计................................................................................. 16
3.3 显示子程序设计................................................................................................... 16
3.4 时间调整程序设计............................................................................................... 17
3.5 温度采集程序设计............................................................................................... 22
3.5.1 DS18B20的初始化.................................................................................... 22
3.5.2 DS18B20的写操作.................................................................................... 22
3.5.3 DS18B20的读操作.................................................................................... 22