摘 要
随着全球气候变暖,车内高温问题日益严重,尤其是在夏季,车内环境可能在短时间内迅速升高至危险水平,对驾乘人员的安全构成严重威胁。本设计旨在开发一种基于STM32F103C8T6微控制器的载人车内高温报警系统,通过集成多种传感器和智能控制技术,实现对车内环境和人员状态的实时监测与预警。系统采用HC-SR501红外人体感应模块检测车内是否有人,利用DS18B20温度传感器实时采集车内环境数据。当温度超过设定阈值且车内有人时,系统自动触发声光报警并通过SIM900A短信报警模块向用户发送远程报警信息。通过TJC4832串口屏实时显示车内环境、人员状态及系统运行状态,提供友好的用户交互体验。
本设计在硬件上以STM32F103C8T6为核心,集成温度检测、人体检测、短信报警、本地报警和人机交互模块;在软件上通过模块化编程实现数据采集、逻辑判断、报警控制和低功耗优化。系统经过功能测试和性能优化,能够在模拟车内高温环境中准确、可靠地运行,满足实际应用需求。
关键词:STM32F103C8T6,车内高温报警,DS18B20,HC-SR501,SIM900A,TJC4832串口屏
Abstract
With global climate change, the problem of high temperatures inside cars is becoming increasingly serious, especially in summer. The temperature inside the car may quickly rise to dangerous levels in a short period of time, posing a serious threat to the safety of drivers and passengers. This design aims to develop a high-temperature alarm system for manned vehicles based on the STM32F103C8T6 microcontroller. By integrating multiple sensors and intelligent control technologies, it achieves real-time monitoring and early warning of the vehicle's environment and personnel status. The system uses HC-SR501 infrared human body sensing module to detect whether there is a person inside the car, and uses DS18B20 temperature sensor to collect real-time temperature data inside the car. When the temperature exceeds the set threshold and there is someone inside the car, the system automatically triggers an audible and visual alarm and sends remote alarm information to the user through the SIM900A SMS alarm module. Real time display of in car temperature, personnel status, and system operation status through TJC4832 serial port screen, providing a friendly user interaction experience.
This design is based on STM32F103C8T6 as the core hardware, integrating temperature detection, human detection, SMS alarm, local alarm, and human-computer interaction modules; Implement data acquisition, logic judgment, alarm control, and low-power optimization through modular programming in software. The system has undergone functional testing and performance optimization, and can operate accurately and reliably in simulated high-temperature environments inside vehicles, meeting practical application requirements.
Key words: STM32F103C8T6,High temperature alarm inside the car, DS18B20, HC-SR501, SIM900A, TJC4832 serial port screen