1、摘要 温度是一个十分重要的物理量, 对它的测量与控制有着十分重要的意义。 随 着现代工农业技术的发展及人们对生活环境要求的提高,人们也迫切需要检测 与控制温度本系统以 AT89S52 单片机为核心,设计了一个温度测量报警系统, 温度的采集报警功能。系统的硬件部分可以分为主控电路(单片机最小系统) 、 数据采集、 人机交互界面和系统电源四大部分。 最小系统部分主要包括 AT89S52 单片机和扩展的外部存储芯片 24C02; 数据采集部分温度传感器 18B20 组成; 人 机交互界面为键盘输入和 LCD 液晶显示, 主要使用 44 矩阵键盘和 LCD1602 液 晶显示器,可以方便的输入数据和直
2、观的显示。系统电源为+5V 电源供电。软件 部分应用单片机 C 语言进行编程,实现了该设计的全部控制功能。该温度测量 报警系统的测量范围是55+125。当检测的温度高于最高温度设定值 时,蜂鸣器报警,当检测的温度低于最低温度设定值时,蜂鸣器报警。起到温 度测量报警的作用。 关键词:单片机 温度传感器(DS18B20) 液晶显示器 ABSTRACTABSTRACT Temperature is a very important physics, its measurement and control has the very vital significance. With modern ind
3、ustrial and agricultural technology and the development of environment for peoples life rise, people also urgently need to test and control temperature in this system AT89S52 SCM as the core, designed a temperature measurement alarm system, the collection of temperature alarm function. System hardwa
4、re components can be divided into the main control circuit (SCM smallest system), data acquisition, man-machine interface and power system and the four most. Smallest system parts mainly includes AT89S52 SCM and the expansion of external memory chip 24C02; Data collection 18B20 part temperature sens
5、or composed; The man-machine interface for keyboard input and LCD display, mainly use 4 x 4 matrix keyboard and LCD1602 LCD monitor, easy to input data and intuitive display. Power system is + 5V power supply. Software application of single-chip microcomputer C programming language, realize the desi
6、gn of all control function. The temperature measuring alarm system measurement range is - 55 + 125 . When testing temperature higher than the maximum temperature setting, the buzzer alarm, when testing temperature below the minimum temperature setting, buzzer alarm. Play the role of temperature measurement alarm. Key words: Monolithic integrated circuit AT89S51 temperature sensor (DS18B20) LCD Manifestation 目 录 1 绪论 1 1.1 引言 1 1.2 选题的背景和意义 1 1.3 研究现状 2 1.4 本文的工作 2 2 数字摄温度测量报警系统方案的设