文档介绍:江西财经大学
题目:单片机温度检测记录系统
小组成员: 李尔博严小燕邓颀
班级:通信工程081
时间:2011年7月16日
软件与通信工程学院
综合电子设计报告
单片机温度检测记录系统
摘要:该温度监控报警与记录系统以AT89C52 单片机为核心,采用新型可编程温度传感器DS18B20进行温度检测,具有抗干扰能力强、温度采集精度高、不需要复杂的调理电路和AD 转换电路等特点。该系统由主机和从机两部分组成,从机的AT89C52 单片机完成数据采集、处理和LCD显示,并通过串口与主机进行通信。主机(电脑)实时监控从机采集的数据状况、通过液晶显示器显示温度/时间图形,同时将数据存到电脑中的D盘目录下的“”文件中,因而在掉电的情况下,系统同样能够记录每一时刻的数据,从而轻松地实现了温度的实时监控和报警。
关键词:AT89C52单片机,新型可编程温度传感器DS18B20,实时监控、报警
SCM-based temperature detection
and recording system
Abstract: The temperature alarm monitoring and recording system based on AT89C52 single chip as the core, using a new programmable temperature sensor DS18B20 temperature detection, has strong anti-interference capability, temperature of high precision and does not plex processing circuit and AD converter circuit and so on. The system posed of master machine and slave AT89C52 MCU of slave plete data acquisition, processing and display on LCD, and through the serial port municate with the host. Host ( computer ) real-time monitor the data collected from the slave engine,and through the LCD display temperature / time graph, at the same time it can store data to puter D disk directory : temperature . TXT, and in the case of power-down, system can also record every moment of the data, thereby easily realization of temperature real time monitoring and alarm.
Keywords: AT89C52 microcontroller, new programmable temperature sensor DS18B20, real-time monitoring and alarm
目录
1 设计任务与要求 1
设计任务 1
技术指标 1
题目评析 1
2 方案比较与论证 2
各种方案比较与选择 2
3 系统硬件设计 3
系统的总体设计 3
功能模块设计及工作原理的分析 4
时钟显示模块 4
温度传感器模块 5
LCD显示数据模块 6
串口数据传输显示模块 7
发挥部分的设计与实现 9
年月日时分秒,温度报警上限设置功能 9
硬件按钮部分 9
红外遥控设置模块 9
按键传输串口数据 10
4 系统软件设计 11
7 参考文献 16
7 附录: 17
1 设计任务与要求
设计任务
设计制作一台可检测和记录温度的系统。
技术指标
(1) LCD显示实时时钟:年、月、日、时、分、秒;
(2) 每30秒采样温度,LCD更新显示温度值;
(3) 按键触发存储当前温度和时钟信息(年、月、日、时、分);
(4) 按键触发串口传输存储的温度和时钟信息;
(5) 温度测量精度:±1度。
题目评析
本设计题我们小组摒弃了常规做法