The fire alarm is an embedded system that interacts with some sensors and other components and support humans.


Fire alarms work when a temperature sensor feels that the room temperature is not normal and increases from given criteria or a smoke sensor detects that there is too much smoke around the sensor. In both conditions, this device makes a loud sound and warns all the people present there.


Fire alarm is very helpful in large companies, hospitals, underground parking, etc.


Used elements for this project:

1 Arduino Board


2 Register

1 Temperature Sensor

1 Gas Sensor

1 Piezo


Here, we have connected one LED to the Arduino board’s digital pin, which gives a signal of warning. One Piezo is also connected in the digital pin, with two cables connected, one for the digital signal and the other for ground.


A gas sensor have three power supplies whose value is 5V, and two cables go into the ground and one cable goes to the analogue pin.


One temperature sensor’s cable is connected to the 5V power supply, one is to ground, and another one is to the analogue pin.


This is all about connections in a fire alarm. Connect all the connections correctly so that the device works successfully.


Now, go to the source code section and paste it.

Source Code


Recent Articles

PS/2 Port
DVD Drive
Floppy Disk

Popular Articles



HK Sangani 34 Articles
I'm Harikrushna Sangani, a software engineer and the face behind IT Tutorials Cloud. I'm passionate about all things tech and love sharing my knowledge with you through easy-to-follow tutorials and tips. Join me on IT Tutorials Cloud to level up your coding skills and stay updated on the latest in the tech world. Let's learn together! Harikrushna Sangani