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

Arduino UNO-Based Battery-Powered Gas Detection and Motor Control System with LCD Display

View and Edit Project In Cirkit DesignerImage of Arduino UNO-Based Battery-Powered Gas Detection and Motor Control System with LCD Display

Circuit Documentation

Summary

This document provides a detailed overview of a circuit that includes an Arduino UNO microcontroller, a DC motor controlled by an L293D motor driver, a Li-ion battery, a 9V battery, an MQ-5 gas sensor, a green LED, a rocker switch, and a 16x2 I2C LCD display. The circuit is designed to control the DC motor and display sensor readings on the LCD.

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. Li-ion battery 18650-2000mAh 3.7V 7.4WH

    • Description: A rechargeable lithium-ion battery.
    • Pins: +, -
  3. DC Motor

    • Description: A simple DC motor.
    • Pins: pin 1, pin 2
  4. L293D

    • Description: A quadruple high-current half-H driver.
    • Pins: Enable 1,2, Input 1, Output 1, GND, Output 2, Input 2, Vcc2, Vcc1, Input 4, Output 4, Output 3, Input 3, Enable 3,4
  5. LED: Two Pin (green)

    • Description: A green LED with two pins.
    • Pins: cathode, anode
  6. MQ-5

    • Description: A gas sensor for detecting LPG, natural gas, and coal gas.
    • Pins: VCC, GND, Digi Out, Analog out
  7. 9V battery

    • Description: A standard 9V battery.
    • Pins: +, -
  8. Rocker Switch

    • Description: A simple on/off rocker switch.
    • Pins: 1, 2
  9. 16x2 I2C LCD

    • Description: A 16x2 character LCD display with I2C interface.
    • Pins: GND, VCC, SDA, SCL

Wiring Details

Arduino UNO

Li-ion battery 18650-2000mAh 3.7V 7.4WH

DC Motor

L293D

LED: Two Pin (green)

MQ-5

9V battery

Rocker Switch

16x2 I2C LCD

Documented 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