毕业论文

打赏
当前位置: 毕业论文 > 自动化 >

AT89S52单片机地铁车站电子时钟系统设计+程序+电路图

时间:2019-08-02 12:48来源:毕业论文
使用AT89S52单片机为控制器,以串行时钟日历芯片DS1302用来记录日历和时间,它可以对包括了年月日时分秒进行计时,还具有闰年等多种功能。温度采集系统时选用DS18B20芯片,数据显示使

摘要:随着时代的发展和科技的进步,人们需要随时随地掌握精确的时间信息,本文设计了一个基于单片机的地铁车站电子时钟。该系统包括的模块有4个,包括调整设置模块,温度处理模块,数据显示模块还有最主要的时间处理模块。系统使用AT89S52单片机为控制器,以串行时钟日历芯片DS1302用来记录日历和时间,它可以对包括了年月日时分秒进行计时,还具有闰年等多种功能。温度采集系统时选用DS18B20芯片,数据显示使用了1602A液晶显示模块,使得可以在LCD上同时显示年月日周时分秒,还包括能够时间校准等功能。该时钟具有操作简单、电路简单易懂、成本低廉等诸多优点,应用前景很广泛。37706
毕业论文关键字:电子时钟  温度计 液晶显示
Language Learning
ABSTRACT:This article describes the hardware configuration and the preparation method of software and hardware on AT89S52 additional subway station clock electronic clock use. Meanwhile module appear in this design has four, including adjusting the settings module, temperature processing module, data display module and above all time processing module. System using the microcontroller AT89S52 as controller and serial clock calendar chip DS1302 for recording calendar and time, it can include the date when the minutes and seconds for timing, also has a leap year and other features. Selection DS18B20 chip, clock use more intuitive when making temperature acquisition system digital display, data display using the 1602A LCD module makes it possible to display the date, hour week on the LCD also includes the ability to time alignment functions. This clock has a simple, straightforward circuit, low cost and many other advantages, widely regarded as models of work.
Keywords: electronic clock thermometer LCD
目录
1 绪论    5
1.1 课题背景与研究意义    5
1.2  国内外研究现状    5
1.3本文的主要工作与内容安排    6
2 系统硬件电路设计    7
2.1 系统的总体方案选定    7
2.2单片机选型    8
    2.1.3时钟模块选择    8
2.1.4温度采集模块选定    9
    2.1.5显示模块模块编写与论证    9
    2.2硬件电路设计    9
    2.2.1 AT89S51最小系统    9
2.3时钟芯片DS1302电路设计    12
2.3.1 DS1302接口电路    12
2.3.2 DS1302接口电路编写    13
2.4温度芯片DS18B20电路设计    17
2.4.1DS18B20性能简介    17
2.4.2 DS18B20接口电路编写    18
2.4.3 DS18B20的工作时序    18
2.5 LCD显示模块    21
2.5.1LCM1602的特性及使用说明    22
2.5.2LCM1602与MCU的接口电路    23
2.6按键模块编写    23
3 系统的软件设计    24
3.1主程序流程图    25
3.2 程序编写    25
3.2.1 DS1302读写程序编写    25
3.2.2 温度程序编写    29
4 设计结果与分析    31
4.1系统的模块组成    31
4.2 功能实现    31
5.    仿真与结果分析    32
5.1仿真与编程    32
6.结论    34
参考文献    35
致谢    36
附录    37
1 绪论
1.1 课题背景与研究意义    
随着科技的快速发展,从观察太阳、到摆钟再到现在电子钟,人类不断研究,不断制造发明。目前,单片机的使用以及应用产品已经使用广泛。电子时钟的出现给现在的人们的生活带来了诸多方便。随着电子技术的高速发展。单片机因为他的体积小、使用广,功能全、性价比高等诸多优点,单片机开发以及使用技术已成为了电子信息工程、电气、通信工程、自动化、机电一体化等的专业技术人员必须掌握而且熟练使用的技术。 AT89S52单片机地铁车站电子时钟系统设计+程序+电路图:http://www.751com.cn/zidonghua/lunwen_36540.html
------分隔线----------------------------
推荐内容