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

ESP32-Based Wi-Fi Controlled Robotic Vehicle with Ultrasonic Sensor and Servo

View and Edit Project In Cirkit DesignerImage of ESP32-Based Wi-Fi Controlled Robotic Vehicle with Ultrasonic Sensor and Servo

Circuit Documentation

Summary

This circuit involves an ESP32 microcontroller interfacing with various components including a DC motor, a servo motor, an ultrasonic sensor, and an L298N motor driver. The ESP32 controls the motors and reads data from the ultrasonic sensor. Power is supplied by a 12V battery.

Component List

  1. ESP32 38 PINS

    • Description: A versatile microcontroller with Wi-Fi and Bluetooth capabilities.
    • Pins: GND, 23, 22/SCL, 1, 2, 21/SDA, 19, 18, 5, 17/TX2, 16/RX2, 4, 0, 15, D1, D0, CLK, 3V3, EN, VP, VN, 34, 35, 32, 33, 25, 26, 27, 14, 12, 13, D2, D3, 11, 5V/VIN
  2. DC Motor

    • Description: A simple DC motor.
    • Pins: pin 1, pin 2
  3. DC Motor

    • Description: A simple DC motor.
    • Pins: pin 1, pin 2
  4. Servo

    • Description: A servo motor for precise control of angular position.
    • Pins: GND, VCC, PWM
  5. Ultrasonic Sensor

    • Description: A sensor for measuring distance using ultrasonic waves.
    • Pins: +VCC, Trigger, Echo, GND
  6. L298N DC Motor Driver

    • Description: A dual H-bridge motor driver for controlling 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
  7. Battery 12V

    • Description: A 12V battery for powering the circuit.
    • Pins: +, -

Wiring Details

ESP32 38 PINS

DC Motor 1

DC Motor 2

Servo

Ultrasonic Sensor

L298N DC Motor Driver

Battery 12V

Code

No code provided.