REX Pin Diagram
REX Main
ESP32 WROOM 32E Pinout
Warning
Please do not connect an external battery, if you use 18650 batteries while using the card.
Pin Connection Tables
DC Motor Pins
Motor-A |
GPIO |
Explanation |
Motor-B |
GPIO |
Explanation |
|
|---|---|---|---|---|---|---|
M_A1 |
15 |
Forward |
M_B1 |
32 |
Forward |
|
M_A2 |
23 |
Backward |
M_B2 |
33 |
Backward |
Motor-C |
GPIO |
Explanation |
Motor-D |
GPIO |
Explanation |
|
|---|---|---|---|---|---|---|
M_C1 |
5 |
Forward |
M_D1 |
27 |
Forward |
|
M_C2 |
4 |
Backward |
M_D2 |
14 |
Backward |
Servo Motor Pins
Servo Pins |
GPIO |
Explanation |
Servo Pins |
GPIO |
Explanation |
|
|---|---|---|---|---|---|---|
Servo-1 |
2 |
Powered by 6V |
Servo-3 |
18 |
Powered by 6V |
|
Servo-2 |
26 |
Powered by 6V |
Servo-4 |
19 |
Powered by 6V |
Ultrasonic Distance Sensor
Ultrasonic Dİstance Sensor |
GPIO |
Explanation |
|---|---|---|
TRIG |
17 |
Pin is used to trigger ultrasonic sound pulses |
ECHO |
16 |
By measuring the time the Echo pin stays high, the distance can be calculated |
I2C Pins
I2C |
GPIO |
Explanation |
|---|---|---|
SCL |
22 |
Connected Yellow Connection Cable |
SDA |
21 |
Connected White Connection Cable |
Buzzer Pin
Buzzer |
GPIO |
Explanation |
|---|---|---|
Buzzer |
25 |
Connected pin 25 |
MPU6050 Pins
MPU6050 |
GPIO |
Explanation |
|---|---|---|
SCL |
22 |
I2C Communication |
SDA |
21 |
I2C Communication |
INT |
13 |
interrupt pin |