欢迎来到天天文库
浏览记录
ID:313386
大小:3.37 MB
页数:52页
时间:2017-07-22
《基于单片机的时间温度显示系统毕业论文》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库。
1、毕业设计论文基于单片机的时间温度显示系统19摘要【摘要】:该系统是设计一个能在液晶屏幕上显示当前日期和温度的51单片机控制系统。本设计多功能数字时钟系统是由中央控制器、时钟系统、温度检测器、显示器和键盘部分主成。控制器采用单片机AT89C51,温度检测部分采用DS18B20温度传感器,时钟系统采用时钟芯片DS1302,用LCD液晶1602A作为显示器。单片机通过时钟芯片DS1302获取时间数据对数据处理后显示时间,温度传感器DS18B20采集温度信号送给单片机处理,单片机再把时间数据和温度数据送液晶显示器1602显示,结果能在LCD正常显示时间和温度值。【关键词】:AT89C51单片机
2、数字温度传感器DS18B20时钟芯片DS1302LCD1602液晶显示器IIIAbstract【Abstract】:ThesystemistodesignacanontheLCDscreendisplaysthecurrentdateandtemperatureof51single-chipmicrocomputercontrolsystem.Thisdesignmulti-functiondigitalclocksystemisdeterminedbythecentralcontroller,clocksystem,temperaturedetector,adisplayandake
3、yboardpartasaLord.ControllerbysinglechipmicrocomputerAT89C51,partadoptsDS18B20temperaturesensortemperaturedetection,USEStheclockchipDS1302clocksystem,usingLCD1602aasadisplay.Single-chipmicrocomputerdataobtainedbytheclockchipDS1302timetoshowtimeafterdataprocessing,temperaturesensorDS18B20collecti
4、ngtemperaturesignaltomicrocontrollerprocessing,singlechipmicrocomputertosendtimedataandtemperaturedatato1602LCDdisplay,canresultinLCDdisplaynormaltimeandtemperature.【Keywords】:AT89C51SCMDigitaltemperaturesensorclockchipcharactertypeliquidcrystaldisplayIII目录第一章设计原理及要求21.1设计原理.....................
5、....................................21.2设计思路及实现功能.............................................2第二章系统硬件组成32.1AT89C51芯片介绍32.1.1AT89C51简介......................................................32.1.2.主要性能.........................................................32.1.3.管脚说明.............................
6、...........................32.2单片机系统的晶振3 2.3单片机系统的复位...............................................42.4LCD1602液晶显示屏42.4.1引脚功能及接口方式42.4.2LED1602的内部控制器52.5数字温度传感器DS18B2062.5.1DS18B20封装图及接口方式图62.5.2DS18B20功能命令集62.5.3DS18B20复位应答关系及读写方式72.6时钟芯片DS130282.6.1DS1302的引脚功能及接口方式92.6.2DS1302内部寄存器102.6.3DS13
7、02数据传送及读写时序方式112.7按键部分122.8MAX232芯片12第三章系统软件实现方式143.1主程序流程图143.2液晶显示方式153.3时间转换方式163.4温度转换方式16第四章调试现象174.1运行环境174.2程序下载184.3实验过程现象....................................................19总结20致谢21参考文献22附录23附录A:原理图23附录B:元器件清单23附录
此文档下载收益归作者所有