基于单片机的测温控制及GSM报警系统设计

基于单片机的测温控制及GSM报警系统设计(任务书,开题报告,外文翻译,论文14500字)
摘 要
随着技术的不断进步,温度测控对日常生活和工业生产都有很大影响,很多场合对温度控制要求越来越高。本课题基于单片机实现温度测控报警系统。在设计方案中,由温度传感器获得温度数据,经单片机处理显示在液晶屏上。通过按键设定安全温度的上下限,当温度超出设定范围时,单片机驱动蜂鸣器报警,并闭合相应继电器开关,同时通过GSM模块发送短信给用户,提示温度异常。整体硬件系统由单片机控制电路、温度采集电路、显示电路、按键电路、报警电路、GSM控制电路等部分组成。在此硬件基础上实现了系统的软件设计方案,最终,在软硬件结合下完成本课题的研究工作。论文最后部分给出了系统硬件电路图和程序流程图,并介绍了硬件电路的制作与程序调试过程。
关键词:单片机 GSM模块 温度测控
System of temperature measurement control andalarm with GSM based on MCU
Abstract
With the advancement of social life, temperature control has a great impact on life, production, many occasions for temperature control increasingly demanding. This paper describes the design is based on MCU temperature measurement alarm control system.This paper describes the System of temperature measurement control and remotealarm with GSM based on MCUand the principle: Obtain temperature data from the temperature sensor, processed by MCU ,then displayed on the LCD.Setting the upper and lower limits security temperature by the key, when the temperature exceeds the set range, the MCU control LED and buzzer alarm, then send alerts via SMS to the specified device (mobile phone) by GSM module, and Drive specified relay.The entire hardware system consists of a power supply circuit, temperature acquisition circuit, display circuit, key circuit, alarm circuit, integrated GSM and other components.Temperature sensor signal comprehensive analyzed and processed by the MCU, to realize the alarm control various functions. On this basis,design scheme of the system, and finally achieved the function of each module through the hardware and software. Accompanied by the relevant part of the hardware schematics and program flow, shows the system structure, the circuit schematic and program design. Finally, Describedthe production and commissioning of hardware circuits. [资料来源:Doc163.com]
This system is easy to control, reliable, high accuracy, responsive, clear and readable and process advantages. It can be used for a variety of applications that require temperature control and alarm.
Key words: MCU GSMmodule temperaturemeasurement control
[版权所有:http://DOC163.com]




目录
摘 要 II
Abstract III
[资料来源:https://www.doc163.com]
第一章 绪论 1
1.1 课题研究背景 1
1.2 课题研究的意义 1
1.3 论文结构 2
第二章系统硬件设计 3
2.1 系统整体结构设计 3
2.2主控制芯片选择 3
2.2.1 方案一:ARM-STM32微控制器 3
2.2.2 方案二:STC89C52单片机 4
2.2.3单片机控制电路设计 4
2.3温度采集模块设计 7
2.3.1 方案一:热敏电阻 7
2.3.2 方案二:数字温度传感器 7
2.3.3温度采集电路设计 8
2.4 显示模块设计 9
2.5短信模块设计 11
2.5.1 方案一:WiFi模块 11
2.5.2 方案二:GSM模块 11
2.5.3GSM模块电路设计 11
2.6 蜂鸣器报警电路设计 12 [资料来源:https://www.doc163.com]
2.7 继电器开关电路设计 13
2.8 按键设置电路设计 14
2.9系统整体硬件电路设计 15
2.10 本章小结 15
第三章 系统软件设计 16
3.1 软件程序编译环境 16
3.2 系统主程序流程 17
3.3 温度采集程序流程 19
3.4 GSM短信发送程序流程 20
3.5 按键扫描程序流程 22
3.6 本章小结 22
第四章 系统调试 23
4.1 仿真电路调试 23
4.2实体硬件调试 24
4.3调试中的问题 27
结 论 28
致谢 29
附录 程序代码 32 [版权所有:http://DOC163.com]