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

ESP32-Based Wi-Fi Controlled Robotic Car with Ultrasonic and IR Sensors

View and Edit Project In Cirkit DesignerImage of ESP32-Based Wi-Fi Controlled Robotic Car with Ultrasonic and IR Sensors

Circuit Documentation

Summary

This document provides a detailed overview of a circuit that includes various components such as DC motors, an L298N DC motor driver, an MPU-6050 sensor, an HC-SR04 ultrasonic sensor, an ESP32 microcontroller, IR sensors, an LM2596 voltage regulator, and a 2x 18650 battery pack. The circuit is designed to control multiple DC motors, read sensor data, and communicate with other devices using the ESP32 microcontroller.

Component List

  1. DC Motor

    • Pins: pin 1, pin 2
    • Description: A standard DC motor used for various mechanical movements.
  2. L298N DC 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
    • Description: A dual H-bridge motor driver that allows control of the speed and direction of two DC motors.
  3. MPU-6050

    • Pins: VCC, GND, SCL, SDA, XDA, XCL, AD0, INT
    • Description: A 6-axis motion tracking device that combines a 3-axis gyroscope and a 3-axis accelerometer.
  4. HC-SR04 Ultrasonic Sensor

    • Pins: VCC, TRIG, ECHO, GND
    • Description: An ultrasonic sensor used for distance measurement.
  5. ESP32 (30 pin)

    • 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
    • Description: A powerful microcontroller with built-in Wi-Fi and Bluetooth capabilities.
  6. 2x 18650 Battery Pack

    • Pins: vcc, gnd
    • Description: A battery pack consisting of two 18650 lithium-ion cells.
  7. IR Sensor

    • Pins: out, gnd, vcc
    • Description: An infrared sensor used for object detection.
  8. LM2596

    • Pins: IN, OUT
    • Description: A step-down voltage regulator used to convert higher voltage to a lower, stable voltage.

Wiring Details

DC Motor

L298N DC Motor Driver

MPU-6050

HC-SR04 Ultrasonic Sensor

ESP32 (30 pin)

2x 18650 Battery Pack

IR Sensor

LM2596

Code

No code provided for this circuit.


This document provides a comprehensive overview of the circuit, including a summary, component list, wiring details, and code documentation. Each component is described, and the wiring details are provided to ensure proper connections between components.