Skip to content

Birth of a Little Flyer

Welcome to your first drone project! In this tutorial, you’ll build a fully functional ESP32 drone from scratch and complete your first flight.

  • Drone frame assembly
  • Motor and ESC connection
  • ESP32 firmware flashing
  • Basic flight controls
  • Safety procedures
ItemQuantityNotes
ESP32-S3-DevKitC Board1Main flight controller
715 Brushed Motors42 CW, 2 CCW
MPU6050 Attitude Sensor1Measures drone attitude
LiPo Battery 1S 3.7V1300-500mAh
PCB Frame1Use PCB directly as frame
ESCs4Or use ESP32 PWM directly
USB Cable1For programming
  1. Mount motors to the four corners of the PCB frame, tighten with screws
  2. Important: Note the motor rotation direction (CW vs CCW)
Motor Layout (Top View):
Front
1 2 (1,3 = CW | 2,4 = CCW)
\ /
\ /
/ \
/ \
4 3

Mount the ESP32 board in the center of the frame using double-sided tape or standoffs.

Connect each motor to the corresponding GPIO pins:

MotorGPIO PinRotation
M1GPIO 4CW
M2GPIO 5CCW
M3GPIO 6CCW
M4GPIO 7CW

Connect the MPU6050 attitude sensor to ESP32 I2C interface:

  • MPU6050 SCL → ESP32 GPIO 22
  • MPU6050 SDA → ESP32 GPIO 21

Connect the battery to the ESP32 power interface through a power switch.

  1. Download flash_tool.exe (Windows) or flash_tool_mac.app (macOS)
  2. Download takeoff.bin file to your computer desktop
  1. Hold the “BOOT” button on the ESP32 board while connecting the USB cable to your computer
  2. Open flash_tool.exe and select the takeoff.bin file
  3. Click the “Flash” button and wait for completion (about 10 seconds)
  4. After the tool shows “Flash successful”, remove the USB cable
  • Battery fully charged
  • Propellers securely attached
  • No loose wires
  • Firmware flashed successfully
  • Choose an open flight area
  1. Download Drone Control APP (Android) or search “ESP Drone” in App Store (iOS)
  2. Power on the drone (battery switch), the drone LED will blink
  3. Connect your phone to the drone’s Wi-Fi (Name: ESP-Drone, Password: 12345678)
  4. Open the APP and wait for connection
  1. Click the “Takeoff” button in the APP
  2. Slowly push the throttle slider, and the drone will fly!
  3. Try controlling the drone to move forward, backward, left and right
  4. Slowly lower the throttle to let it land

Safety First: Always fly in open areas away from people and obstacles.

  • Check battery voltage (>3.5V)
  • Verify wireless connection
  • Ensure level surface for calibration
  • Check propeller direction
  • Verify motor order matches configuration
  • Check gyro calibration

Congratulations! Your hand-assembled drone is flying! This is an exciting milestone, and you’ve taken the first step to becoming a drone expert.

In the next project, you’ll learn how to change different sound effects and LED effects for your drone, creating your own personalized aircraft.