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.
In This project, we will use ESPro board to drive an OSOYOO 5-point tracking sensor module to make a line tracking project.
| 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 |
It is important that the Line Tracking module is installed in the backside of robot Car if you start from the lesson 1 basic movement project.

Then Select correct port which matches ESP32 board.
Step 2) Download Correct Sample Code and Upload to Arduino.
Sample Code:
https://github.com/osoyoo/espro_tracking/blob/master/espro-tracking.ino
DownLoad Url osoyoo.com