设计了一套基于STM32微控制器的室内环境智能检测与控制的系统。该系统利用空气质量、温湿度、光强等传感器对室内温湿度、光线、含氧量、一氧化碳含量及氨气、芳族化合物、硫化物、苯系蒸汽、烟雾等有害气体进行实时检测、分析,并根据检测结果对窗户、窗帘及排风扇等电器进行实时自动控制。针对危险情况,控制系统可以采用拨打电话或者SMS(短信)向用户远程提示或者报警,为用户营造一个安全、节能、舒适的生活环境。
To avoid the problems of indoor gas poisoning, excessive levels of carbon monoxide, indoor fire, and so on, a smart control system of indoor environment has been presented based on STM32. In the control system, the indoor environmental parameters such as humiture, light, oxygen content, carbon monoxide and ammonia content, aromatics, sulfide, benzene would be detected and analyzed. The control system uses the analyzed results to drive the electric device to control the windows, window curtain, exhaust fan so as to create a safe, energy-efficient and comfortable living environment. In some emergency cases, the control system can make a telephone call or send a SMS message to inform the user by the wireless communication module.