Fire Alarm System using Arduino
Are you looking to make a simple and interesting project with Arduino which at the same time could be really useful and potentially lifesaving?
If yes, the you have come at the right place to learn something new and innovative. In this post we are going to learn how to make a fire alarm system using Arduino which gives a buzzer sound as well as LED get lights up to warn people of a potential fire in the vicinity. The project works on the principle of detecting infra-red light by a photodiode on the sensor module, an Op-Amp is then used to check for a change in voltage across the IR receiver.
220K ohm resistor
How the Fire Alarm System works?
The system works on a simple principle, by detecting the infra-red light by a photodiode on the sensor module it gives logic 1 as output if flame is detected else it gives 0 as output. The Arduino which is continuously monitoring the output of the module performs further takes such as activating the buzzer and LED, sending an alert message.Now let’s learn how to put everything together.
Steps to follow:
1. First let’s interface the flame detecting module as shown in the diagram. Make sure to follow the exact circuit diagram and be careful while soldering!
2.Now let’s interface the buzzer as well as the LED light as show in the circuit diagram.
3.Upload the Arduino code which is designed for this project. You can find the code at the end of the post (below)
4.Bingo! you are all set to test your fire alarm system !
Here is a short video which can help you to get it right:
int buzzer = 8;
int LED = 7;
int flame_sensor = 4;
flame_detected = digitalRead(flame_sensor);
if (flame_detected == 1)
Serial.println("Flame detected...! take action immediately.");
Serial.println("No flame detected. stay cool");