In order to change the traditional gas concentration inspection and exhaust device, the system through the gas concentration to control the rotation of the fan, to achieve real-time gas concentration monitoring, alarm control and GPS global positioning. In this study, STM32F4ZGT6 with ARM Coretex-M4 as the core controller is combined with embedded system design, and MDK is used to develop software programming. Through the ADC MQ-9 carbon monoxide sensor detection module and infrared NDIR carbon dioxide sensor detection module of the output of the analog conversion to digital quantity acquisition and processing, when the gas concentration exceeds the pre-set threshold, triggering a buzzer alarm, timer and the energy conservation and exhaust fan work, implementation is beyond the rapid circulation of the gas and gas concentration inside and outside the display of the time.Through bluetooth and mobile phone connection, real-time check of gas concentration, using the upper computer to control the operation mode of exhaust fan and change the gas concentration threshold. Modular programming is adopted in this study to improve the maintainability and facilitate debugging and modification in the later stage of the study. Through practical verification, the system can realize the detection of carbon monoxide and carbon dioxide concentration, real-time alarm monitoring, GPS positioning and change exhaust fan working mode and other functions, with real time, practicality and reliability.
Read full abstract