1、 毕毕 业业 设设 计计 论论 文文 基于单片机的时间温度显示系统基于单片机的时间温度显示系统 XXXXXX 指导老师姓名: XXX 专 业 名 称:物联网工程学院 班 级 学 号: 11131131 论文提交日期: 20XX 年 X 月 X 日 论文答辩日期: 20XX 年 月 日 20XX 年 月 日 I 摘摘 要要 【摘要】 :【摘要】 :该系统是设计一个能在液晶屏幕上显示当前日期和温度的该系统是设计一个能在液晶屏幕上显示当前日期和温度的 5151 单片机控单片机控 制系统。本设计多功能数字时钟系统是由中央控制器制系统。本设计多功能数字时钟系统是由中央控制器、时钟系统、温度检测器、显、时
2、钟系统、温度检测器、显 示器和键盘部分主成。控制器采用单片机示器和键盘部分主成。控制器采用单片机 AT89C51AT89C51,温度检测部分采用,温度检测部分采用 DS18B20DS18B20 温度温度 传感器,时钟系统采用时钟芯片传感器,时钟系统采用时钟芯片 DS1302DS1302,用,用 LCDLCD 液晶液晶 1602A1602A 作为显示器。单片机通作为显示器。单片机通 过时钟芯片过时钟芯片 DS1302DS1302 获取时间数据对数据处理后显示时间,温度传感器获取时间数据对数据处理后显示时间,温度传感器 DS18B20DS18B20 采集采集 温度信号送给单片机处理, 单片机再把时
3、间数据和温度数据送液晶显示器温度信号送给单片机处理, 单片机再把时间数据和温度数据送液晶显示器 16021602 显示,显示, 结果能在结果能在 LCDLCD 正常显示时间和温度值。正常显示时间和温度值。 【关键词】:【关键词】:AT89C51AT89C51 单片机单片机 数字温度传感器数字温度传感器 DS18B20 DS18B20 时钟芯片时钟芯片 DS1302DS1302 LCD1602LCD1602 液晶显液晶显示器示器 II AbstractAbstract 【Abstract】: The system is to design a can on the LCD screen disp
4、lays The system is to design a can on the LCD screen displays the current date and temperature of 51 singlethe current date and temperature of 51 single- -chip microcomputer control chip microcomputer control system. This design multisystem. This design multi- -function digital clock system is detfu
5、nction digital clock system is determined by the ermined by the central controller, clock system, temperature detector, a display and a central controller, clock system, temperature detector, a display and a keyboard part as a Lord. Controller by single chip microcomputer AT89C51, keyboard part as a
6、 Lord. Controller by single chip microcomputer AT89C51, part adopts DS18B20 temperature sensor temperature detection, USES the clock part adopts DS18B20 temperature sensor temperature detection, USES the clock chip DS1302 clock chip DS1302 clock system, using LCD 1602 a as a display. Singlesystem, using LCD 1602 a as a display. Single- -chip chip microcomputer data obtained by the clock chip DS1302 time to show time after microcomputer data obtained by the clock chip DS1302 ti