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

ESP32-Based Wi-Fi Controlled Robotic Car with OLED Display and Laser Shooting

View and Edit Project In Cirkit DesignerImage of ESP32-Based Wi-Fi Controlled Robotic Car with OLED Display and Laser Shooting

Circuit Documentation

Summary

This circuit is designed to control a motorized system using an ESP32 microcontroller, a TB6612FNG motor driver, and various other components. The system includes a 0.96" OLED display for visual feedback, a piezo buzzer for audio alerts, and a laser controlled by a MOSFET. The circuit also features a photocell (LDR) for light detection and a rocker switch for power control. The ESP32 is programmed to interface with a PS3 controller for remote control of the motors and laser.

Component List

  1. DC Mini Metal Gear Motor

    • Description: A small DC motor with metal gears for increased torque.
    • Pins: IN1, IN2
  2. TB6612FNG Motor Driver

    • Description: A dual motor driver capable of controlling two DC motors.
    • Pins: GND, B01, B02, A02, A01, VCC, VM, PWMB, BI2, BI1, STBY, AI1, AI2, PWMA
  3. 0.96" OLED

    • Description: A small OLED display for visual feedback.
    • Pins: GND, VDD, SCK, SDA
  4. ESP32 Devkit V1

    • Description: A powerful microcontroller with Wi-Fi and Bluetooth capabilities.
    • Pins: 3V3, GND, D15, D2, D4, RX2, TX2, D5, D18, D19, D21, RX0, TX0, D22, D23, EN, VP, VN, D34, D35, D32, D33, D25, D26, D27, D14, D12, D13, VIN
  5. Mosfet

    • Description: A transistor used for switching and amplifying electronic signals.
    • Pins: Gate, Drain, Source
  6. 12v Battery

    • Description: A power source providing 12V DC.
    • Pins: +, -
  7. Mini-360 DC-DC Step Down Buck Converter

    • Description: A voltage regulator that steps down 12V to a lower voltage.
    • Pins: Input -, Input +, Output +, Output -
  8. LED bulb AC / Bombillo AC

    • Description: An AC-powered LED bulb.
    • Pins: +, -
  9. Rocker Switch (SPST)

    • Description: A single-pole single-throw switch for power control.
    • Pins: 1, 2
  10. Photocell (LDR)

    • Description: A light-dependent resistor used for light detection.
    • Pins: pin 0, pin 1
  11. Piezo Buzzer

    • Description: A small speaker used for audio alerts.
    • Pins: pin 1, pin 2
  12. Resistor (51k Ohms)

    • Description: A resistor with a resistance of 51k Ohms.
    • Pins: pin1, pin2
  13. Resistor (220 Ohms)

    • Description: A resistor with a resistance of 220 Ohms.
    • Pins: pin1, pin2

Wiring Details

DC Mini Metal Gear Motor

TB6612FNG Motor Driver

0.96" OLED

ESP32 Devkit V1

Mosfet

12v Battery

Mini-360 DC-DC Step Down Buck Converter

LED bulb AC / Bombillo AC

Rocker Switch (SPST)

Photocell (LDR)

Piezo Buzzer