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

Arduino UNO-Based Multi-Sensor Security System with PIR, Gas, and Vibration Detection

View and Edit Project In Cirkit DesignerImage of Arduino UNO-Based Multi-Sensor Security System with PIR, Gas, and Vibration Detection

Circuit Documentation

Summary

This circuit involves an Arduino UNO microcontroller interfacing with various sensors and output devices. The sensors include a PIR sensor, an MQ-2 gas sensor, and an SW-420 vibration sensor. The output devices include a buzzer and two red LEDs. The circuit is designed to detect motion, gas presence, and vibrations, and respond accordingly by activating the buzzer and LEDs.

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 passive infrared sensor used to detect motion.
    • Pins: VDD, SIG, GND
  3. MQ-2

    • Description: A gas sensor used to detect the presence of gases like LPG, i-butane, propane, methane, alcohol, Hydrogen, and smoke.
    • Pins: GND, VCC, ANALOG, Digital
  4. SW-420 Vibration Sensor

    • Description: A vibration sensor module used to detect vibrations.
    • Pins: vcc, Ground, Digital output
  5. Buzzer

    • Description: An audio signaling device.
    • Pins: PIN, GND
  6. LED: Two Pin (red)

    • Description: A red light-emitting diode.
    • Pins: cathode, anode
  7. Resistor (200 Ohms)

    • Description: A resistor with a resistance of 200 Ohms.
    • Pins: pin1, pin2

Wiring Details

Arduino UNO

PIR sensor

MQ-2

SW-420 Vibration Sensor

Buzzer

LED: Two Pin (red)

Another LED: Two Pin (red)

Resistor (200 Ohms)

Another Resistor (200 Ohms)

Documented Code

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:

}

Additional Documentation (documentation.txt)