The OSOYOO Espro board is a credit-card-sized, mini ALL-IN-ONE Motor Control Board. It integrates an ESP32 MCU and an L293DD H-Bridge dual-channel motor control module, allowing users to program two sets of motors directly via the Arduino IDE to control a robot car’s movement.
Equipped with both Bluetooth and Wi-Fi capabilities, the Espro board enables users to send remote control commands. This allows for seamless operation of the robot car through mobile apps or other devices, significantly simplifying the vehicle’s overall architecture. Additionally, the board features a dedicated MPU6050 slot, which supports an external MPU6050 module for advanced robot car navigation.
To make the Espro Board as accessible as possible, OSOYOO provides a comprehensive suite of tutorials designed to help users master programming with the Arduino IDE.
These tutorials cover everything from fundamental mechanics to advanced navigation, including:
Basic Movement: Step-by-step guides on programming the ESP32 to control motor direction and speed.
Advanced Navigation: Implementing MPU6050 + PID algorithms to ensure precise movement and stability.
Wireless Connectivity: Instructions on configuring both Wi-Fi and Bluetooth protocols on the Espro board.
Remote Control: * How to interface with the OSOYOO Wi-Fi APP for local network control.
Using the OSOYOO Bluetooth Imitation Driving APP to simulate a real-world driving experience for your robot car.
| L293 Pin | ESP32 GPIO | Function |
| IN1 | 23 | Motor A Direction 1 |
| IN2 | 25 | Motor A Direction 2 |
| IN3 | 26 | Motor B Direction 1 |
| IN4 | 27 | Motor B Direction 2 |
| ENA | 16 | Motor A Speed (PWM) |
| ENB | 17 | Motor B Speed (PWM) |
The tracking sensor pins are mapped to the following ESP32 digital/analog inputs:
| Tracking Module | S1 | S2 | S3 | S4 | S5 | VCC | GND |
| ESP32 GPIO | 33 | 35 | 34 | 39 | 36 | 3V3 | GND |
| MPU6050 pins | SDA | SCL | VCC | GND |
| ESP32 GPIO | 21 | 22 | 3V3 | GND |
| Ultrasonic Sensor | VCC | Trig | Echo | GND |
| ESP32 GPIO | 3V3 | 18 | 19 | GND |
IR receiverBuzzerPassive Buzzer is directly connected ESP32 GPIO 12Open ESP32 GPIO pins in the board: GPIO 2,GPIO 4,GPIO 5,GPIO 14,GPIO 15
Motor Power为电机直流电源供应引脚,只有在加载跳线帽后电机才会转动
在使用电池供电时,右上角 GND 5V VIN引脚,可作为额外的电源输出口,也可作为三线电压表接口。Basic Movement Sample Code:
https://osoyoo.com/download/basicmovement.zip
Left Motor to K3 or K4 , Right Motor to K1 or K2
Use OSOYOO Wifi UDP APP to Control Robot Car Sample Code:
https://osoyoo.com/download/esp32-udp.zipUse Web Browser to Control Robot Car Sample Code:
https://osoyoo.com/download/esp32-http.zip
Gyro Guided PID Straight Movement Sample Code:
https://osoyoo.com/download/osoyoo-gyro-car2.zip
Left Motor to K3 or K4 , Right Motor to K1 or K2 , MPU6050 connect to the Gyro Slot in the OSOYOO ESP32 I/O board
| Servo Pin | Signal | VCC | GND |
| ESP32 GPIO | 32 | 5V | GND |
| IR sensor Pin | GND | VCC | Signal |
| ESP32 GPIO | GND | 5V | 13 |
DownLoad Url osoyoo.com