FLIX: BUILD A DRONE FROM SCRATCH ON A CHEAP ESP32

A complete quadcopter whose entire flight controller runs on a low-cost ESP32 — CAD, firmware and a Gazebo simulator, all open.

by Oleg Kalachev

FULL CAD BOM FIRMWARE DOCS

DronesElectronics

Built withESP32Arduino3D printing

difficulty
●●●●○
time
several weekends
license
not specified
repo
repo ACTIVE2,036 stars
1
Jump to section

COMPAREE VERDICT

Flix is the drone build for people who want to understand every layer, not just bolt together a kit. Oleg Kalachev wrote a complete flight controller that runs on a cheap ESP32 — no Betaflight, no Pixhawk — and open-sourced the whole thing: STL and STEP frame files, a BOM, roughly two thousand lines of Arduino firmware, and a proper build and flight guide. The part we really like is the included Gazebo simulator and Python library, so you can learn to fly (and debug your code) without crashing real hardware first. It's a genuine several-weekend project and, being a flying machine, demands respect for props and local drone rules — but few projects teach you drones this thoroughly, this cheaply.

GOOD TO KNOW

  • —Complete from-scratch package: STL + STEP frame, a BOM, ~2k lines of Arduino firmware, a full build/flight guide
  • —Runs its own flight controller on an ESP32 — not Betaflight or Pixhawk
  • —Includes a Gazebo simulator and a Python library to practice safely
  • —No licence file in the repository, so reuse terms are not stated; the README provides the project 'as is' without warranties.

Parts to buy

6 items

From our check of the build. Exact quantities and part numbers are in the creator’s BOM.

  • ESP32 MiniFind
  • IMU board (GY-91 or similar)Find
  • Four 8520 brushed motors with MOSFETs (no ESCs)Find
  • 1S Li-PoFind
  • PropsFind
  • RC transmitter or gamepadFind

BUILDS OF THE WEEK

Five open-source builds worth your weekend, every week.

Checked like this one: what’s really in the repo, what it costs, how hard it is. One email, unsubscribe anytime.

Can I build this?

Printthe frame and mounts (STL + STEP provided)
Buyan ESP32 Mini, an IMU board (GY-91 or similar), four 8520 brushed motors with MOSFETs (no ESCs), a 1S Li-Po, props, and an RC transmitter or gamepad — see the BOM
Tools3D printer, soldering iron, solder wire with flux, screwdrivers, multimeter
Skillselectronics + patience; the firmware and simulator are provided
Timeseveral weekends
CostLow-cost band: general-purpose parts keep it cheap; the README lists the components but not their prices.
Safetymedium — spinning props and LiPo; fly responsibly and follow local drone regulations

Build at your own risk. Projects involve tools, electronics and sometimes mains voltage — follow the creator’s safety notes.

Videos

Flix v1 — minimalistic ESP32-based quadcopter

The creator's demo of the from-scratch drone.

More builds like this

All projects

Gallery

The Flix quadcopterOleg Kalachev
The printed frameOleg Kalachev
The ESP32 flight controllerOleg Kalachev
The Gazebo simulatorOleg Kalachev

Start here

Navigation into the creator’s own docs — we don’t rewrite the guide, we route you to the source.

  1. 1.Read the repo docs (assembly, setup, flight (branch: master))
  2. 2.Watch the demo (see it fly)
  3. 3.Try the simulator first (Gazebo sim + Python lib, no crashes)
  4. 4.Get the BOM and print the frame (STL + STEP included)
  5. 5.Read the textbook (in progress) (the theory behind it)

Resources

Documentation, files and community threads for this build — we link straight to the original sources and never rehost the creator’s files.

KNOWN ISSUES

  • Buy the exact parts the README specifies: 8520 motors rated exactly 3.7 V (not 3.7-6 V), UMW 100N03A MOSFETs (the README warns KIA and other makers might not work), and a Li-Po of at least 1000 mAh with 25C discharge.
  • No root license file — check before reusing the firmware
  • It's a real flying machine — props and LiPo demand care, and you must follow local drone regulations
  • Practice in the Gazebo simulator before flying to avoid crashing real hardware

Does the flight controller really run on an ESP32?

Yes — the entire flight controller is custom firmware on a low-cost ESP32, not Betaflight or Pixhawk. That's the whole point, and it's great for learning.

Can I practice without crashing?

Yes — there's a Gazebo simulator and a Python library, so you can fly and debug in software before building or after a repair.

How do I control it?

With an RC transmitter (a CC2500 radio is recommended), a gamepad over Wi-Fi, or a smartphone. The docs cover setup, flight, tuning and log analysis.

What does it cost?

Low-cost band: the design deliberately uses cheap general-purpose parts (ESP32 Mini, an IMU board, four 8520 brushed motors with MOSFETs, a 1S Li-Po). The component list in the README has no prices, so check current prices yourself.

Community builds

No community builds yet — be the first, we feature the best ones.

Discussion1

FROM THE COMPAREE TEAM

Flix flies on roughly two thousand lines of custom Arduino firmware running on a bare ESP32 — no Betaflight, no Pixhawk. Would you trust your first from-scratch flight controller in the air?

CompareeTEAM2mo agoedited

Practical notes from our verification: the README has a complete component list with STL and STEP files for the 3D-printed frame (version 1.1), wiring tables, assembly and usage guides, a Gazebo simulator that runs the original Arduino code and a Python library. Be strict about parts: the motors must be rated exactly 3.7 V, and the author warns that MOSFETs other than UMW 100N03A might not work. An official PCB (Flix2) and position control are still in development. The repository has no licence file. Correction (4 October 2026): we re-checked this page line by line against the project's own repository, documentation and videos, and fixed errors in earlier versions.

Oleg Kalachev

Wrote a complete quadcopter flight controller for a cheap ESP32 and open-sourced everything — CAD, firmware, a Gazebo simulator and a forthcoming textbook — to teach drones from the ground up.

GitHub YouTube Web

Star the project on GitHub

DISCLAIMER

  • Comparee is not the author of the projects featured here. All rights to each project belong to its creator — every page links to the original source, and we never host creators’ files.
  • Information is provided without warranty and may become outdated as projects evolve. Prices are indicative bands only — always check the creator’s parts list for current costs.
  • Building and operating any project is at your own responsibility. Protective equipment, safe workshop practice and compliance with local regulations are the builder’s responsibility.