Cirkit Designer LogoCirkit DesignerYour all-in-one circuit design IDE Launch Cirkit Designer App

Arduino UNO-Based Gas and Flame Detection System with LCD Display and Piezo Alarm

View and Edit Project In Cirkit DesignerImage of Arduino UNO-Based Gas and Flame Detection System with LCD Display and Piezo Alarm

Circuit Documentation

Summary

This circuit involves an Arduino UNO microcontroller interfacing with various sensors and output devices. The components include an MQ-2 gas sensor, a KY-026 flame sensor, a 16x2 I2C LCD display, and a piezo speaker. The circuit is powered by a 9V battery. The Arduino UNO reads data from the sensors and displays information on the LCD while also controlling the piezo speaker based on sensor inputs.

Component List

Arduino UNO

MQ-2

16x2 I2C LCD

Piezo Speaker

KY-026 Flame Sensor

9V Battery

Wiring Details

Arduino UNO

MQ-2

16x2 I2C LCD

Piezo Speaker

KY-026 Flame Sensor

9V Battery

Code Documentation

Arduino UNO Code

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 where you initialize your components and settings, and the loop() function is where the main logic of your program runs continuously.

Additional Documentation

This section is reserved for any additional documentation or notes related to the code or circuit.