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

Arduino UNO-Based Fire Detection and Response System with Flame Sensors and Motor Control

View and Edit Project In Cirkit DesignerImage of Arduino UNO-Based Fire Detection and Response System with Flame Sensors and Motor Control

Circuit Documentation

Summary

This circuit involves an Arduino UNO microcontroller interfacing with multiple sensors, motors, and other components. The primary components include flame sensors, a DC motor driver, DC motors, a servo motor, a water pump, a MOSFET, a TP4056 battery charger, a Zener diode, a ceramic capacitor, and a resistor. The circuit is designed to detect flames and control motors and a water pump accordingly.

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. KY-026 Flame Sensor

    • Description: Flame sensor module.
    • Pins: AO, GND, VCC, DO
  3. DC Motor

    • Description: Standard DC motor.
    • Pins: pin 1, pin 2
  4. TP4056

    • Description: Lithium battery charger module.
    • Pins: OUT-, B-, B+, OUT+, IN-, IN+
  5. MG90S

    • Description: Micro servo motor.
    • Pins: SIG, VCC, GND
  6. 5V Mini Water Pump

    • Description: Small water pump.
    • Pins: positive pin, negative pin
  7. 7.4V Battery

    • Description: 7.4V battery.
    • Pins: +, -
  8. Mosfet

    • Description: Metal-Oxide-Semiconductor Field-Effect Transistor.
    • Pins: Gate, Drain, Source
  9. L298N DC Motor Driver

    • Description: 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
  10. Resistor

    • Description: 200 Ohms resistor.
    • Pins: pin1, pin2
  11. 12V Zener Diode

    • Description: Zener diode with 12V breakdown voltage.
    • Pins: Anode, Cathode
  12. Ceramic Capacitor

    • Description: 0.1µF ceramic capacitor.
    • Pins: pin0, pin1

Wiring Details

Arduino UNO

KY-026 Flame Sensor

DC Motor

TP4056

MG90S

5V Mini Water Pump

7.4V Battery

Mosfet

L298N DC Motor Driver

Resistor

12V Zener Diode

Ceramic Capacitor

Code Documentation

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 used to initialize any settings or configurations, and the loop() function contains the main code that runs repeatedly. Currently, both functions are empty and need to be filled with the appropriate logic for the circuit's operation.