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

Arduino UNO and L298N Motor Driver-Based Wi-Fi Controlled Robotic System

View and Edit Project In Cirkit DesignerImage of Arduino UNO and L298N Motor Driver-Based Wi-Fi Controlled Robotic System

Circuit Documentation

Summary

This document provides a detailed overview of a circuit designed to control multiple DC motors, a water pump, and various sensors using an Arduino UNO and an Arduino Nano. The circuit also includes wireless communication modules (NRF24L01 and HC-05 Bluetooth Module) and an ESP32 CAM for additional functionalities. The L298N DC motor driver is used to control the DC motors, and a PCF8574 IO Expansion Board is used to expand the I/O capabilities of the Arduino UNO.

Component List

  1. L298N DC Motor Driver

    • Description: Motor driver module used to control DC motors.
    • 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
  2. DC Motor

    • Description: Standard DC motor.
    • Pins: pin 1, pin 2
  3. 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
  4. Battery 12V

    • Description: 12V battery used to power the circuit.
    • Pins: +, -
  5. HC-05 Bluetooth Module

    • Description: Bluetooth module for wireless communication.
    • Pins: Key, VCC, GND, TXD, RXD, State
  6. Water Pump

    • Description: Water pump for fluid control.
    • Pins: VCC, GND
  7. NRF24L01

    • Description: Wireless transceiver module.
    • Pins: IRQ (not used), MOSI, CSN, VCC (3V), GND, CE, SCK, MISO
  8. Arduino Nano

    • Description: Microcontroller board based on the ATmega328P.
    • Pins: D1/TX, D0/RX, RESET, GND, D2, D3, D4, D5, D6, D7, D8, D9, D10, D11/MOSI, D12/MISO, VIN, 5V, A7, A6, A5, A4, A3, A2, A1, A0, AREF, 3V3, D13/SCK
  9. SparkFun Soil Moisture Sensor

    • Description: Sensor to measure soil moisture levels.
    • Pins: VCC, GND, SIG
  10. ESP32 CAM

    • Description: Camera module with ESP32 for image processing and transmission.
    • Pins: 5V, GND, GPIO12, GPIO13, GPIO15, GPIO14, GPIO2, GPIO4, 3.3V, GPIO16, GPIO0, 3.3V / 5V / P_OUT, GPIO3 / RX, GPIO1 / TX
  11. Ultrasonic Sensor

    • Description: Sensor to measure distance using ultrasonic waves.
    • Pins: +VCC, Trigger, Echo, GND
  12. PCF8574 IO Expansion Board

    • Description: I/O expansion board to increase the number of I/O pins.
    • Pins: VCC, GND, SDA, SCL, A2+, A2c, A2-, A1+, A1c, A1-, A0+, A0c, A0-, O0, O1, O2, O3, O4, O5, O6, O7, INT

Wiring Details

L298N DC Motor Driver

DC Motor 1

DC Motor 2

DC Motor 3

DC Motor 4

Arduino UNO

Battery 12V

HC-05 Bluetooth Module

Water Pump

NRF24L01

Arduino Nano