Fire alarm system based on STM32

The invention discloses a fire alarm system based on an STM32. The fire alarm system based on the STM32 comprises a temperature sensor, a smoke sensor, an acousto-optic alarm module, a liquid crystal display module, a clock module and a communication module. An STM32 controller is adopted as a control center of the whole system, and uniform power modules are provided. A system signal acquisition device is composed of the temperature sensor and the smoke sensor, the output device of the whole system is composed of the acousto-optic alarm module and the liquid crystal display module, and the same clock is adopted by the STM32 controller and the communication module. The problems that a traditional system controller of the same kind is limited in processing capacity, narrow in covering range and poor in performance are solved, and the fire alarm system based on the STM32 has the advantages of being simple in structure, easy to control, safe and reliable.