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

ESP32 and L298N Motor Driver-Based Wi-Fi Controlled Robotic Car with Ultrasonic Sensor

View and Edit Project In Cirkit DesignerImage of ESP32 and L298N Motor Driver-Based Wi-Fi Controlled Robotic Car with Ultrasonic Sensor

Circuit Documentation

Summary

This document provides a detailed overview of a circuit that includes an L298N DC motor driver, multiple DC motors, a micro servo, an HC-SR04 ultrasonic sensor, an ESP32 microcontroller, and a 12V battery. The circuit is designed to control the motors and servo using the ESP32, with additional functionality provided by the ultrasonic sensor for distance measurement.

Component List

  1. 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
  2. Micro Servo 9G

    • Description: Small servo motor
    • Pins: GND, +5V, PWM
  3. HC-SR04 Ultrasonic Sensor

    • Description: Ultrasonic distance sensor
    • Pins: VCC, TRIG, ECHO, GND
  4. DC Motor

    • Description: Standard DC motor
    • Pins: pin 1, pin 2
  5. Battery 12V

    • Description: 12V power source
    • Pins: +, -
  6. ESP32 38 PINS

    • Description: Microcontroller with Wi-Fi and Bluetooth capabilities
    • Pins: GND, G23, G22, TXD, RXD, G21, G19, G18, G5, G17, G16, G4, G0, G2, G15, SDI, SD0, CLK, 3V3, EN, SP, SN, G34, G35, G32, 33, G25, G26, G27, G14, G12, G13, SD2, SD3, 5V

Wiring Details

L298N DC Motor Driver

Micro Servo 9G

HC-SR04 Ultrasonic Sensor

DC Motors

Battery 12V

ESP32 38 PINS

Code

No code provided for this circuit.