

The ESP32-Robo Expansion Board (Manufacturer Part ID: ROBO-ESP32) by Cytron is a versatile expansion board designed to enhance the functionality of the ESP32 microcontroller. It provides additional interfaces and connectivity options, including motor drivers, sensor ports, and communication interfaces, making it an ideal choice for robotics and IoT projects. This board simplifies the integration of motors, sensors, and other peripherals, enabling rapid prototyping and development.








The ESP32-Robo Expansion Board is designed to work seamlessly with the ESP32 microcontroller, offering robust features for robotics and IoT applications.
| Parameter | Specification |
|---|---|
| Microcontroller Support | ESP32 |
| Motor Driver | Dual-channel DC motor driver (L298P) |
| Input Voltage Range | 7V - 12V |
| Motor Output Current | Up to 2A per channel |
| Communication Interfaces | UART, I2C, SPI |
| Sensor Ports | 4x Analog/Digital Input Ports |
| Power Output | 5V and 3.3V regulated outputs |
| Dimensions | 90mm x 70mm x 20mm |
The ESP32-Robo Expansion Board features a variety of pins and connectors for interfacing with peripherals. Below is the pin configuration:
| Pin Name | Description |
|---|---|
| M1A | Motor 1 Output A |
| M1B | Motor 1 Output B |
| M2A | Motor 2 Output A |
| M2B | Motor 2 Output B |
| ENA | Motor 1 Enable (PWM control) |
| ENB | Motor 2 Enable (PWM control) |
| Pin Name | Description |
|---|---|
| S1 | Sensor Port 1 (Analog/Digital Input) |
| S2 | Sensor Port 2 (Analog/Digital Input) |
| S3 | Sensor Port 3 (Analog/Digital Input) |
| S4 | Sensor Port 4 (Analog/Digital Input) |
| Pin Name | Description |
|---|---|
| VIN | Input Voltage (7V - 12V) |
| GND | Ground |
| 5V | 5V Regulated Output |
| 3.3V | 3.3V Regulated Output |
| TXD | UART Transmit |
| RXD | UART Receive |
| SCL | I2C Clock Line |
| SDA | I2C Data Line |
The ESP32-Robo Expansion Board is designed for easy integration with the ESP32 microcontroller. Follow the steps below to use the board effectively:
// Example code to control motors using ESP32-Robo Expansion Board
#define ENA 25 // Motor 1 Enable pin
#define ENB 26 // Motor 2 Enable pin
#define M1A 27 // Motor 1 Output A
#define M1B 14 // Motor 1 Output B
#define M2A 12 // Motor 2 Output A
#define M2B 13 // Motor 2 Output B
void setup() {
// Set motor control pins as outputs
pinMode(ENA, OUTPUT);
pinMode(ENB, OUTPUT);
pinMode(M1A, OUTPUT);
pinMode(M1B, OUTPUT);
pinMode(M2A, OUTPUT);
pinMode(M2B, OUTPUT);
}
void loop() {
// Example: Rotate Motor 1 forward
digitalWrite(M1A, HIGH);
digitalWrite(M1B, LOW);
analogWrite(ENA, 128); // Set speed (0-255)
// Example: Rotate Motor 2 backward
digitalWrite(M2A, LOW);
digitalWrite(M2B, HIGH);
analogWrite(ENB, 200); // Set speed (0-255)
delay(2000); // Run motors for 2 seconds
// Stop both motors
analogWrite(ENA, 0);
analogWrite(ENB, 0);
delay(2000); // Wait for 2 seconds
}
Motors not running:
Sensors not responding:
ESP32 not powering on:
Overheating motor driver:
Can I use stepper motors with this board?
What is the maximum current the board can handle?
Is the board compatible with other microcontrollers?
Can I power the board using a USB connection?
By following this documentation, you can effectively utilize the ESP32-Robo Expansion Board for your robotics and IoT projects.