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

ESP32 and L298N Motor Driver Controlled Battery-Powered Robotic Car

View and Edit Project In Cirkit DesignerImage of ESP32 and L298N Motor Driver Controlled Battery-Powered Robotic Car

Circuit Documentation

Summary

This document provides a detailed overview of a circuit designed to control multiple DC gearmotors using an ESP32 microcontroller and an L298N motor driver. The circuit is powered by a 12V battery and includes connections to various components to enable motor control.

Component List

  1. 12V Battery

    • Description: Provides power to the circuit.
    • Pins: +, -
  2. Gearmotor DC Wheels Right

    • Description: DC motor for the right wheel.
    • Pins: PIN1, PIN2
  3. Gearmotor DC Wheels Left

    • Description: DC motor for the left wheel.
    • Pins: PIN1, PIN2
  4. ESP32 (30 pin)

    • Description: Microcontroller used for controlling the motor driver.
    • Pins: EN, VP, VN, D34, D35, D32, D33, D25, D26, D27, D14, D12, D13, GND, Vin, D23, D22, TX0, RX0, D21, D19, D18, D5, TX2, RX2, D4, D2, D15, 3V3
  5. L298N DC Motor Driver

    • Description: Motor driver used to control the 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

Wiring Details

12V Battery

Gearmotor DC Wheels Right

Gearmotor DC Wheels Left

ESP32 (30 pin)

L298N DC Motor Driver

Code

No code is provided for this circuit.