Drone Motor Driver: Using a MOSFET with ESP32

An ESP32 pin gives only a tiny current, but a motor needs about 1 A. A MOSFET is a fast electronic switch: the ESP32 tells it how much to open, and the battery powers the motor through it.

Parts and connections

4
SI2302 N-channel MOSFETs (Q1–Q4), one on each arm
4
1N5819 diodes across each motor
4
10kΩ pull-down resistors (keep motors off at boot)

Check before the next step

See this step in 3D