This circuit is designed to detect the presence of a flame using a flame sensor and control a relay and an LED based on the sensor's output. The Arduino UNO microcontroller is used to process the sensor data and control the relay and LED accordingly.
Arduino UNO
Flame Sensor
Relay 12V
LED: Two Pin (red)
5V is connected to:
GND is connected to:
D4 is connected to:
D3 is connected to:
D2 is connected to:
VCC is connected to:
GND is connected to:
OUTPUT is connected to:
VCC is connected to:
ground is connected to:
in is connected to:
cathode is connected to:
anode is connected to:
void setup() {
// put your setup code here, to run once:
}
void loop() {
// put your main code here, to run repeatedly:
}
This code is a basic template for the Arduino UNO. The setup
function is used to initialize any settings or configurations, and the loop
function contains the main logic that runs repeatedly. In this template, no specific functionality has been implemented yet.