Wiring & Orientation
Verify logical pin assignments, module orientation, and physical motor placement before flight.
ESPFlight Docs · v1 • Validated v1 documentation path
# Firmware-facing pin assignments
| Function | ESP8266 GPIO / board pin |
|---|---|
| Motor 1 — front-right | GPIO 5 |
| Motor 2 — rear-right | GPIO 4 |
| Motor 3 — rear-left | GPIO 13 |
| Motor 4 — front-left | GPIO 15 |
| Status LED | GPIO 2 |
| Buzzer | GPIO 3 |
| I2C SDA | D6 |
| I2C SCL | D5 |
# Orientation checks
Orientation reference Verify before propellers
M4 · front-left
M3 · rear-left
Controller front Mount the controller and IMU in the firmware-expected orientation, then confirm Roll/Pitch by moving the frame by hand.
M1 · front-right
M2 · rear-right
Mount the controller and IMU in the orientation expected by the firmware configuration.
Move the frame by hand and confirm displayed Roll/Pitch motion follows the real motion.
Confirm each logical motor output drives the expected physical corner.
Do not use PID tuning to compensate for a wrong axis or wrong motor mapping.