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

Arduino UNO-Based Multi-Sensor Security System with Flame and Motion Detection

View and Edit Project In Cirkit DesignerImage of Arduino UNO-Based Multi-Sensor Security System with Flame and Motion Detection

Circuit Documentation

Summary

This circuit involves an Arduino UNO microcontroller interfacing with various sensors and output devices. The sensors include a PIR sensor, a flame sensor, and an MQ-2 gas sensor. The output devices include two buzzers and two red LEDs. The Arduino UNO reads data from the sensors and controls the buzzers and LEDs based on the sensor inputs.

Component List

  1. 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
  2. PIR Sensor

    • Description: A sensor that detects motion.
    • Pins: VDD, SIG, GND
  3. PIR Sensor

    • Description: A sensor that detects motion.
    • Pins: VDD, SIG, GND
  4. LED: Two Pin (red)

    • Description: A red LED with two pins.
    • Pins: cathode, anode
  5. KY-026 Flame Sensor

    • Description: A sensor that detects flame.
    • Pins: A0, GND, VCC, D0
  6. MKE-S08 MQ-2 Sensor

    • Description: A gas sensor that detects various gases.
    • Pins: GND, 5V, SIG
  7. Buzzer

    • Description: A simple buzzer.
    • Pins: PIN, GND
  8. Buzzer

    • Description: A simple buzzer.
    • Pins: PIN, GND
  9. LED: Two Pin (red)

    • Description: A red LED with two pins.
    • Pins: cathode, anode

Wiring Details

Arduino UNO

KY-026 Flame Sensor

PIR Sensor

PIR Sensor

LED: Two Pin (red)

LED: Two Pin (red)

MKE-S08 MQ-2 Sensor

Buzzer

Buzzer

Documented Code

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 the loop() function is where you place the main logic that runs repeatedly.