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

ESP32-Based Battery-Powered Robotic Car with Ultrasonic Sensors and Motor Control

View and Edit Project In Cirkit DesignerImage of ESP32-Based Battery-Powered Robotic Car with Ultrasonic Sensors and Motor Control

Circuit Documentation

Summary

This document provides a detailed overview of a circuit designed using an ESP32 microcontroller, multiple DC gearmotors, ultrasonic sensors, a micro servo, a 12V battery, and an L298N motor driver. The circuit is intended for a robotic application, where the ESP32 controls the motors and sensors to navigate and interact with its environment.

Component List

  1. ESP32 (30 pin)

    • Description: A powerful microcontroller with Wi-Fi and Bluetooth capabilities.
    • 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
  2. Gearmotor DC Wheels Right

    • Description: A DC motor with wheels for robotic movement.
    • Pins: PIN1, PIN2
  3. Gearmotor DC Wheels Left

    • Description: A DC motor with wheels for robotic movement.
    • Pins: PIN1, PIN2
  4. HC-SR04 Ultrasonic Sensor

    • Description: A sensor used for distance measurement.
    • Pins: VCC, TRIG, ECHO, GND
  5. Micro Servo 9G

    • Description: A small servo motor for precise control.
    • Pins: GND, +5V, PWM
  6. Battery 12V

    • Description: A 12V power source for the circuit.
    • Pins: +, -
  7. L298N DC Motor Driver

    • Description: A 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

ESP32 (30 pin)

Gearmotor DC Wheels Right

Gearmotor DC Wheels Left

HC-SR04 Ultrasonic Sensor

Micro Servo 9G

Battery 12V

L298N DC Motor Driver

Code

No code provided.