ARDUINO Flame Detector Fire Alarm

This tutorial will show you how to make a flame or fire detector circuit with your ARDUINO Board.

Click on video below for full tutorial….

Parts List:

affiliate links:

IR Transistor

Resistors

ARDUINO Board

Bread Board

Jumper Wires

Speaker

Schematic:

ARDUINO Code:

int val;
void setup() {
Serial.begin(9600);

}

void loop() {
val = (analogRead(A1));
Serial.println(val);
delay(250);
while (val>300)
{
val = (analogRead(A1));
tone(2,300,500);
delay(500);
tone(2,500,500);
delay(500);

}
}