šŸŽƒ New: 5 spooky Halloween STEM activities →

ESP32 Drone Wiring Diagram: MOSFET Motor Pins

Here is the full schematic circuit. Each motor channel is the same: battery + → motor → MOSFET → GND, with the ESP32 pin controlling the gate. The MPU6050 talks to the ESP32 over I²C (SDA on GPIO 21, SCL on GPIO 22).

Parts and connections

GPIO 25
→ Q1 → front-left motor
GPIO 26
→ Q2 → front-right motor
GPIO 27
→ Q3 → rear-left motor
GPIO 14
→ Q4 → rear-right motor
GPIO 21
→ MPU6050 SDA
GPIO 22
→ MPU6050 SCL

Check before the next step

See this step in 3D