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

Arduino UNO-Based Gas Detection and Monitoring System with Battery Power

View and Edit Project In Cirkit DesignerImage of Arduino UNO-Based Gas Detection and Monitoring System with Battery Power

Circuit Documentation

Summary

This circuit involves an Arduino UNO microcontroller interfacing with various sensors, LEDs, a buzzer module, and an SD card module. The sensors include two MQ-4 gas sensors, an MQ-2 gas sensor, and an MLX90614 infrared temperature sensor. The circuit also includes a battery pack for power supply. The Arduino UNO is programmed to read sensor data, control LEDs, and interact with the SD card module.

Component List

  1. Arduino UNO

    • Description: 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. MQ-2

    • Description: Gas sensor for detecting LPG, i-butane, propane, methane, alcohol, hydrogen, and smoke.
    • Pins: GND, VCC, ANALOG, Digital
  3. MLX90614

    • Description: Infrared temperature sensor.
    • Pins: SDA, SCL, GND, VIN
  4. MQ-4

    • Description: Methane gas sensor.
    • Pins: A0, D0, GND, VCC
  5. LED: Two Pin (red)

    • Description: Red LED with two pins.
    • Pins: cathode, anode
  6. Buzzer Module

    • Description: Module for generating sound.
    • Pins: GND, Vcc, I/O
  7. SD Module

    • Description: SD card module for data storage.
    • Pins: CS, SCK, MOSI, MISO, VCC, GND
  8. Battery Pack

    • Description: Power supply for the circuit.
    • Pins: +, -

Wiring Details

Arduino UNO

MQ-2

MLX90614

MQ-4 (First Instance)

MQ-4 (Second Instance)

LED: Two Pin (red) (First Instance)

LED: Two Pin (red) (Second Instance)

LED: Two Pin (red) (Third Instance)

LED: Two Pin (red) (Fourth Instance)

Buzzer Module

SD Module

Battery Pack

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:

}

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 repeatedly.