With the social development, gas has been widely applied to various aspects of social life. However, the combustible gas has brought us great convenience, but also there is a considerable risk. Based on this, we designed a kind of "prevention" as the characteristics of the combustible gas automatic detection and alarm systems. The system is the choice of technology is mature and low-cost entry-level 52 series microcontroller as the control center, the whole system is divided into classification sensor detection, alarm distinguishes between sound and light alarm, force control bodies of three parts. The system will detect concentrations of flammable gases, scientific classification, for different grades of police intelligence, the appropriate device driver to send a loud sound and light alarm signal. When you reach the highest level but no one to lift the danger, the system will automatically cut off the gas supply to open the ventilation exhaust and other devices to prevent the occurrence of major accidents, to achieve "prevention first, combining prevention and control" of the human and automatic alarm control system. The automatic alarm control system available in the field of gas alarm has been widely used, it has certain extensibility, compatibility, and stability.