气象传感器采集器的设计(论文20000字)
摘 要:气象传感器采集器是指能对不同的气象要素进行采集的装置,如我们生活中经常要用到的湿度、温度、大气压力等影响因素,通常情况下,几乎所有的自动气象站都有类似的装置,它们的主要工作就是采集和后续的处理能够将气象数据准确地读取显示出来。现今,随着微电子技术、计算机技术以及嵌入式技术地不断发展,气象传感器采集器制作技术也在不断地更新。本次毕业设计我采用STM32来完成,系统以STM32F103C8T6作为控制器的核心部件,相较于STM51,它在稳定性和准确性方面有较大地提升,实用性和安全性也有所保障。在诸多的气象要素中,我主要测量的要素是温度与湿度,因为在例如农业生产过程中,及时准确地知晓温湿度能帮助我们更好地调节温度湿度,从而培育出更高质量和产量地农作物。我采用的传感器是数字温湿度传感器SHT20,可以对大气的温度、湿度进行实时的检测,并将数据通过STM32显示出来,增加实时时钟功能,实现定时存储,参数设置。此外可以增大采样频率,提高数据的准确性,在存储和上传前就对原始数据进行有效处理,使得气象数据更加真实有效。
关键词:气象传感器,STM32,温湿度,SHT20
Design of Meteorological Sensor Collector
Abstract:Meteorological sensor collector is a device that can collect different meteorological elements, such as common temperature, humidity, atmospheric pressure, etc., and it is equipped with corresponding meteorological sensor collector in each automatic weather station. Through collection and subsequent processing, meteorological data can be read and displayed accurately.Nowadays, with the development of microelectronic technology, computer technology and embedded technology, the production technology of weather sensor collector is constantly updated.I use STM32 MCU to complete this graduation design. The system USES STM32F103C8T6 MCU as the core part of the controller. Compared with stm51 MCU, it has greatly improved the stability and accuracy, and the practicality and safety are also guaranteed.Among many meteorological factors, the main ones I measure are temperature and humidity, because in the agricultural production process, for example, timely and accurate knowledge of temperature and humidity can help us better regulate temperature and humidity, so as to cultivate crops with higher quality and yield.The sensor I used is the digital temperature and humidity sensor SHT20, which can detect the temperature and humidity of the atmosphere in real time, and display the data through the single chip microcomputer, increase the real-time clock function, realize timing storage and parameter setting.In addition, the sampling frequency can be increased to improve the accuracy of data, and the original data can be effectively processed before storage and upload, so as to make the meteorological data more real and effective.
Keywords:weather sensor, STM32, temperature and humidity, SHT20
目 录
一. 绪论 1
1.1 研究背景 1
1.2 常用的检测方法 3
1.3 国内外研究现状 4
1.4 各个温湿度传感器的比较与分析 5
1.5 本文研究内容及章节安排 6
二.系统硬件设计
2.1 设计目标 6
2.2 系统结构 7
2.3 主控制器电路设计 7
2.4 温湿度传感器 9
2.5 按键输入电路 13
2.6 显示模块 14
2.7 电源模块 17
2.8 总原理图 20
2.9 PCB制作 17
三.系统软件设计 20
3.1 软件设计所用工具 20
3.2 主程序设计 21
3.3 温湿度传感器驱动子程序 22
3.4 键盘扫描处理程序 24
3.5 显示子程序 25
四.系统测试
4.1 测试过程 27
4.2 软硬件测试 28
4.3 室内测试 30
4.4 室外测试 30
4.5 注意事项 31
五.总结展望
5.1 设计总结 33
5.2 设计展望 33
参考文献 35
致谢 36
|