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

Arduino UNO-Based Fire Detection and Extinguishing Robot with Flame Sensors and L298N Motor Driver

View and Edit Project In Cirkit DesignerImage of Arduino UNO-Based Fire Detection and Extinguishing Robot with Flame Sensors and L298N Motor Driver

Circuit Documentation

Summary

This circuit is designed to interface an Arduino UNO with various sensors, a motor driver, a relay module, and other components to create a functional system. The Arduino UNO serves as the central microcontroller, receiving inputs from flame sensors and controlling motors, a water pump, and other peripherals through the motor driver and relay module.

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. 9V Battery

    • Description: A standard 9V battery.
    • Pins: -, +
  3. L298N DC Motor Driver

    • Description: A dual H-Bridge motor driver.
    • Pins: OUT1, OUT2, 12V, GND, 5V, OUT3, OUT4, 5V-ENA-JMP-I, 5V-ENA-JMP-O, +5V-J1, +5V-J2, ENA, IN1, IN2, IN3, IN4, ENB
  4. Motor and Wheels

    • Description: A motor with attached wheels.
    • Pins: vcc, GND
  5. Flame Sensor

    • Description: A sensor to detect flame.
    • Pins: VCC, GND, OUTPUT
  6. 18650 Li-ion Battery x 2

    • Description: Two 18650 Li-ion batteries.
    • Pins: +, -
  7. Rocker Switch

    • Description: A simple on/off switch.
    • Pins: 1, 2
  8. Relay 4 Channel 5V

    • Description: A 4-channel relay module.
    • Pins: GND, IN1, IN2, IN3, IN4, VCC, COM1, COM2, COM3, COM4, NO1, NO2, NO3, NO4, NC1, NC2, NC3, NC4
  9. Water Pump

    • Description: A small water pump.
    • Pins: positive, negative

Wiring Details

Arduino UNO

9V Battery

L298N DC Motor Driver

Motor and Wheels

Flame Sensor

18650 Li-ion Battery x 2

Rocker Switch

Relay 4 Channel 5V

Water Pump

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)

This documentation provides a comprehensive overview of the circuit, including a summary, detailed component list, wiring details, and the code used in the Arduino UNO.