Bluetooth Robot Car Controller using ESP32

  • Rajkumar Sharma
  • 229 Views
  • medium
  • Tested
  • SKU: EL144152
  • Quote Now

This wireless robot car controller board is built using an ESP32 BT/Wi-Fi module, 2 x H-Bridges, 3.3V regulator. It also includes an ESP32 programming connector, power LED, screw terminal connector for the power supply, header connector for motors, and high-value capacitors on the DC supply for smooth motor operations. The operating power supply is 8V to 24V DC. The project has two H-brides and each can drive 2.5A continues. The board is suitable for small and medium-sized robot cars. It is an open-source hardware project that can be programmed as per requirement. ESP32 I/O details are available in descriptions. ESP32 supports Bluetooth connectivity and the robot car can be controlled using a small phone, Laptop, or Tablet.  The project was built using an ESP32-Wroom processor and this chip supports Bluetooth and Wi-Fi connectivity.

The project can be tested with example Arduino code which is provided below. The user will be able to drive a robot car with a PS3 Bluetooth remote. Refer to the link below to learn more about PS3 and ESP32 pairing, and ESP32 programming under Arduino IDE.

https://dronebotworkshop.com/ps3-esp32/

Features

  • Power Supply 8V to 24V DC
  • Motor Load d up to 2.5A, Peak 6Amps Each Motor
  • Over Current Shutdown Threshold 8Amps
  • No Heatsink for H-Bridge
  • PWM Frequency Up to 20Khz (Tested), ESP32 Default Output 500Hz
  • Board Power LED
  • Overtemperature Shut down with Latch Behaviour, H-Bridge
  • Short Circuit Shut Down with Latch Behaviour, H-Bridge
  • Chopper Current Limitation, H-Bridge
  • VDD Undervoltage Shutdown
  • 4 x 3 mm Mounting Holes
  • PCB Dimensions 48.90 x 41.28 mm

Connections

  • CN1: Pin 1 VDD 8V to 24V, Pin 2 = GND
  • CN2: Pin 1 & 2 = Motor 1, Pin 3 & 4 = Motor 1
  • CN3: Pin 1 = 3.3V, Pin 2 = GND, Pin 3 = TX, Pin 4 = RX, Pin 5 = GPIO0, Pin 6 = Enable (Programming Connector)
  • CN4: Pin 1 & 2 = Motor 2, Pin 3 & 4 = Motor 2
  • J1: Jumper Closed (Pull Low) = Enable, can be controlled using ESP32 Pin GPIO16 Pin High = Disables Motor 1
  • J1: Jumper Closed (Pull Low) = Enable, can be controlled using ESP32 Pin GPIO18 Pin High = Disables Motor 2
  • D1: Power LED
  • U4: 3.3V Regulator, Provides 3.3V to ESP32 processor input from Motor Supply 8V to 24V
  • U2: H-Bridge Motor Driver, Motor 1
  • U3: H-Bridge Motor Driver, Motor 2

ESP32 Pins Vs H-Bridge U2 and U3 Pins

  • GPIO23/D23-PWM = U2 PWM, Motor 1
  • GPIO22/D22-PWM = U3 PWM, Motor 2
  • GPIO19/D19-DR = U2 Direction Control High or Low, Motor 1
  • GPIO17/D17-DR = U3 Direction Control High or Low, Motor 2
  • GPIO16/D16 = Motor2 Enable/Disable (Solder Jumper J1 = Enable), DE-solder Jumper J1 for ESP32 Enable/Disable Control
  • GPIO18/D18 = Motor1 Enable/Disable (Solder Jumper J2 = Enable), DE-solder Jumper J1 for ESP32 Enable/Disable Control

Schematic

Parts List

NO.QNTY.REF.DESC.MANUFACTURERSUPPLIERSUPPLIER PART NO
11CN12 PIN SCREW TERMINAL PITCH 5.08MMPHOENIXDIGIKEY277-1247-ND
22CN2,CN44 PIN MALE HEADER PITCH 2,54MMWURTHDIGIKEY732-5317-ND
31CN36 PIN MALE HEADER PITCH 2.65MMWURTHDIGIKEY732-5319-ND
42C1,C910uF/10V CERAMIC SMD SIZE 0805YAGEO/MURATADIGIKEY
54C2,C4,C7,C8100nF/50V CERAMIC SMD SIZE 0805YAGEO/MURATADIGIKEY
61C3220uF/50V ELECTROLYTICNICHICONDIGIKEY493-2228-1-ND
74C5,C6,C10,C1110nF/50V CERAMIC SMD SIZE 0805YAGEO/MURATADIGIKEY
81D1LED RED SMD SIZE 0805OSRAMDIGIKEY475-1278-1-ND
92J1,J2JUMPER- PCB SOLDER
102R1,R44.7K 5% SMD SIZE 0805YAGEO/MURATADIGIKEY
111R21K 5% SMD SIZE 0805YAGEO/MURATADIGIKEY
121R310K 5% SMD SIZE 0805YAGEO/MURATADIGIKEY
131U1ESP32-WROOMESPDIGIKEY1965-ESP32-WROOM-32E-N4TR-ND
142U2,U3IFX9201INFINEONDIGIKEYIFX9201SGAUMA1CT-ND
151U4MP-K78L03-500R3MORNSUMDIGIKEY2725-K78L03-500R3-ND

Connections

Gerber View

Photos

Video

IFX9201 Datasheet

Please follow and like us:
Pin Share

PCB

Subscribe
Notify of
guest

0 Comments
Inline Feedbacks
View all comments

RELATED PROJECTS

TOP PCB Companies