Arduino UNO Flame Detection System with LED and Piezo Speaker Alert
View and Edit Project In Cirkit Designer
Circuit Documentation
Summary
This circuit consists of an Arduino UNO microcontroller, a KY-026 Flame Sensor, a Piezo Speaker, and a red LED. The circuit is designed to detect the presence of a flame using the flame sensor and respond by activating the LED and the Piezo Speaker.
Component List
Arduino UNO
- Description: A microcontroller board based on the ATmega328P.
- Pins: UNUSED, IOREF, Reset, 3.3V, 5V, GND, Vin, A0, A1, A2, A3, A4, A5, SCL, SDA, AREF, D13, D12, D11, D10, D9, D8, D7, D6, D5, D4, D3, D2, D1, D0
Piezo Speaker
- Description: A small speaker that can be used to generate sound.
- Pins: pin1, pin2
LED: Two Pin (red)
- Description: A red light-emitting diode.
- Pins: cathode, anode
KY-026 Flame Sensor
- Description: A sensor module that detects flame.
- Pins: AO, GND, VCC, DO
Wiring Details
Arduino UNO
- 5V: Connected to VCC of the KY-026 Flame Sensor
- GND: Connected to GND of the KY-026 Flame Sensor, anode of the LED, and pin1 of the Piezo Speaker
- D4: Connected to DO of the KY-026 Flame Sensor
- D3: Connected to pin2 of the Piezo Speaker
- D2: Connected to cathode of the LED
Piezo Speaker
- pin1: Connected to GND of the Arduino UNO
- pin2: Connected to D3 of the Arduino UNO
LED: Two Pin (red)
- cathode: Connected to D2 of the Arduino UNO
- anode: Connected to GND of the Arduino UNO
KY-026 Flame Sensor
- VCC: Connected to 5V of the Arduino UNO
- GND: Connected to GND of the Arduino UNO
- DO: Connected to D4 of the Arduino UNO
Code Documentation
Arduino UNO Code
sketch.ino
void setup() {
// put your setup code here, to run once:
}
void loop() {
// put your main code here, to run repeatedly:
}
documentation.txt