1、 i 摘要 本文用华为生产的 GTM900C 模块,借用无线发送和接收、基带处理等功能,来实现 无线数据传输和短信收发任务。为了对温室大棚室温实施监测,避免局部温度过高,利 用 DS18B20 单总线型数字温度传感器,采用外部供电方式,结合 AT89C51 单片机,外加 串口电路,报警电路以及显示模块,设计了温度检测并报警的硬件系统。依据 DS18B20 型温度传感器操作指令,首先读取各传感器的序列号,并确定传感器对应的各点位置关 系,定时循环读出各个传感器的温度值并循环显示,单片机依据设定的报警温度上下限 做出报警处理;同时,也可利用串口把各点的温度值传给上位机作进一步的处理。实例 表明,该
2、系统工作稳定,操作方便,成本低廉,实现了温室大棚中的多点温度检测以及 越限报警功能。该设计主要是温度传感器相关技术的工作原理,分析实现功能要求电路 的工作过程及设计,软件编程来实现温度报警系统的发送及接收。 关键字:GTM900C 模块;单片机;温度传感器 ii Abstract In this paper, the production of GTM900C Huawei module, to borrow the wireless sending and receiving, baseband processing and other functions, to achieve wirel
3、ess data transmission and text messaging tasks. In order to monitor the implementation of greenhouses at room temperature, to avoid local temperature is too high, the use of DS18B20 single-bus digital temperature sensor, external power supply, combined with AT89S52 microcontroller, plus a serial cir
4、cuit, alarm circuit and display module, designed to detect and alarm temperature Hardware system. DS18B20 temperature sensor according to operating instructions, first read the serial number of each sensor and determine the location of the sensor between the corresponding points, timing cycle to rea
5、d out the temperature of each sensor values and cycle through the microcontroller based temperature alarm set to do upper and lower limits The alarm processing; the same time, the serial port can also be used to pass each point temperature value PC for further processing. Examples show that the syst
6、em is stable, easy operation, low cost, to achieve a greenhouse in the multi-point temperature measurement and the more limited the alarm.The design is mainly related to the temperature sensor technology works, to achieve the functional requirements of the work process and circuit design, software programming to achieve the temperature alarm system to send and receive. Keywords: GTM900C module ;Microcontroller ;Temperature sensor iii 目录目录 第一章第一章 前言前言 . 1 1.1 课题背景 . 2 1.2 温度采集技术现状 . 2 1.3 预期目标