摘 要
温度是日常生活和农业生产中的一个重要参数,传统的温度计有反应缓慢,测量精度不高的和读数不方便等缺点,此外,通常需要人工去观测温度,比较繁琐,因而采用电子技术的温度测量就显得很有意义了。
随着电子技术的发展,出现各种基于芯片的温度测量系统。本文设计了一个基于STM32的温度测量与无线传送的系统,温度采集使用数字化温度传感器DS18B20,无线传输使用ATK-HC05蓝牙模块。
STM32的内核基于cortex-m3,该内核拥有意法半导体独有的130nm专用低泄漏电流制造工艺和优化的节能架构,处于行业领先的节能性能,其高性能、低功耗、低成本的优势正符合本次设计的要求。温度芯片DS18B20采用单总线协议,仅占一个I/O口就能将环境温度转化成数字信号,具有微型化、低功耗、高性能、抗干扰能力强、易配微处理器等优点。无线的传输采用蓝牙技术,成本低,兼容的设备较多,可以降低传统工程的工程量,同时可以节省大量由排线、线路维修、检测上的一些不必要的障碍和消耗,同时,在实时运行阶段也可以明显体现它的便携性,高效性和节能性。
关键词:STM32;蓝牙;DS18B20;温度;TFTLCD
Abstract
Temperature is an important parameter in the daily life and agricultural production, the traditional thermometer has slow response and reading inconvenient shortcomings, the measurement accuracy is not high , in addition, usually requiring labor to observe the temperature, more cumbersome, and thus the temperature of the use of electronic technology it makes sense to measure it.
With the development of electronic technology, the emergence of various chip-based temperature measurement system. This paper presents an STM32-based temperature measurement and wireless transmission systems, the temperature acquisition using digital temperature sensor DS18B20, wireless transmission using ATK-HC05 Bluetooth module.
The STM32 kernel is based on cortex-m3, the kernel has a unique 130nm STMicroelectronics special low leakage current manufacturing processes and energy optimized architecture, industry-leading energy-saving performance, its high-performance, low-power, low-cost advantage is comply with the requirements of this design. DS18B20 temperature chip single bus protocol, only one I / O port will be able to ambient temperature into digital signals, with miniaturization, low power consumption, high performance, anti-interference ability, easy with microprocessors and other advantages. Wireless transmission using Bluetooth technology, low cost, more compatible devices, you can reduce the amount of traditional engineering projects, and can save a lot by a cable, line maintenance, testing on some of the unnecessary barriers and consumption, while, in real-time operational phase can also be evident in its portability, efficiency, and energy efficiency.
Keywords: STM32;Bluetooth; DS18B20; temperature;TFTLCD














