Skip to content

Latest commit

History

43 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

Orbit

An ESP32-powered mini drone with autonomous following capability

Features:

  • ESP32 S3 Wroom 1u SoM
  • 4x 0716 coreless motors
  • MPU6050 for gyro
  • QMC5883 compass
  • MS5611 pressure sensor for altitude hold
  • 3x SK6812 for signal LEDs
  • Battery charging via USB-C
  • 2x frame mounted DWM1000 for position tracking
  • 1x small form factor DWM1000 board "beacon"
  • Firmware based on flix by okalachev, modified to work with this project

Why I designed this project:

I wanted to design a drone for HackClub's Blueprint program, but not just any regular drone. I wanted to add a feature that would make it stand out, something that would make it unique. So, I decided to give it the ability to autonomously follow you to an accurate degree. After doing some research, I found the DWM1000 modules and decided to design this project. I designed and redesigned the PCBs and CAD for this project many times, with each iteration improving upon the last. This project also gave me the ability to test and improve my PCB and CAD design skills. I understood a lot more about schematic connections while working on this project and learned to route much cleaner traces, even on a compact board.

Image gallery:

Schematics And PCBS

Drone Control Board
image
imageimage
Beacon Board
image
imageimage
UWB Module Board
image
imageimage

How It Works

The drone is powered by a custom designed PCB based on the ESP-32 S3 Wroom 1u SoM. It includes three SK6812 mini-e LEDs to serve as a status signal, located at the rear of the drone. There are three sensors located on board to help with flight. The MPU-6050 is a triple-axis accelerometer and gyroscope that is essential to help the drone fly. The MS5611 is a pressure sensor that is used to record and maintain height during flight. The final sensor, an HMC5883, is a triple-axis magnetometer that is used to report the drone's heading. The latter two sensors are reported in QGroundControl or any other flight operating station to provide information to the controller. The 0716 coreless motors are powered by a simple MOSFET circuit, designed by MaxImagination. This circuit has a small footprint and fits great for small projects, such as this drone. Autonomous flight is achieved using two DWM1000 modules mounted on the sides of the drone. These were implemented on the main PCB using 10-pin JSTs to allow modular connectivity, allowing the controller to select whether to fly with or without the ranging sensors. The DWM1000s mounted on the drone communicate with an external DWM1000 "beacon" that is with the controller or person of interest. This beacon is encased in a watch case to make it easy to wear. By sending messages between the modules, the distance between them can be calculated, allowing the beacon's location to be triangulated. This location is then set in the PID controllers, allowing the drone to autonomously navigate.

Bill Of Materials

ItemDescriptionQuantityURLUnit Price ($)Total Price ($)
DWM1000Ranging Modules3https://www.aliexpress.us/item/3256808347510093.html$15.13$50.90
XIAO ESP-32For Beacon1Already Have
LCSCPCB Components1 Order of All PartsSee LCSC BOM$36.92
JST ConnectorFor DWM Connection1 Pack of 10https://www.aliexpress.us/item/3256805775471278.html$3.09$3.09
BatteryFor Beacon1https://www.amazon.com/AKZYTUE-Battery-Rechargeable-Lithium-Connector/dp/B07TXJ4C46$7.79$7.79
BatteryFor Drone1https://www.amazon.com/EEMB-Battery-Rechargeable-Lithium-Connector/dp/B0B7R8CS2C$6.99$7.99
MotorsFor Drone1 Pack of 4https://www.amazon.com/Coliao-Coreless-19000KV-Propeller-Quadcopter/dp/B0CHYDJMF2/$10$11
AntennaFor Drone1https://www.aliexpress.us/item/3256806233080373.html$1.64$1.64
ScrewsTo Hold Case1 Packhttps://www.aliexpress.us/item/3256806233080373.html$5.90$5.90
JLCPCB OrderPCBs1JLCPCB Quote$17.16$17.16
$139.08

LCSC Bill Of Materials

DescriptionQuantity NeededMrf#Minimum Order Qty.Unit Price(USD)Ext.Price(USD)LCSC#Product Link
N-Channel 20V 4A 1.2W Surface Mount SOT-234SI2300200.01640.33C5224175https://www.lcsc.com/product-detail/C5224175.html
QFN-24-EP(4x4) Accelerometers RoHS1MPU-605016.84896.85C24112https://www.lcsc.com/product-detail/C24112.html
1Kpa~1.2bar QFN-8(3x5) Pressure Sensors, Transducers RoHS1MS561101BA03-5015.54855.55C15639https://www.lcsc.com/product-detail/C15639.html
I2C LGA-16(3x3) Linear, Compass (ICs) RoHS1QMC5883P11.44851.45C2847467https://www.lcsc.com/product-detail/C2847467.html
Red LED Indication - Discrete 2.7V~3.2V 06025YLED0603R2000.00550.55C19171390https://www.lcsc.com/product-detail/C19171390.html
Emerald Green LED Indication - Discrete 2.7V~3.2V 060313YLED0603G2000.00541.08C19273151https://www.lcsc.com/product-detail/C19273151.html
2.4GHz ESP32-S3R8 -98.2dBm SMD,19.2x18mm RF Transceiver Modules and Modems RoHS1ESP32-S3-WROOM-1U-N16R815.32605.33C3013946https://www.lcsc.com/product-detail/C3013946.html
100nF ±10% 50V Ceramic Capacitor X7R 060317CC0603KRX7R9BB1041000.00250.25C14663https://www.lcsc.com/product-detail/C14663.html
220nF ±10% 50V Ceramic Capacitor X7R 06031CL10B224KB8NNNC1000.00810.81C64705https://www.lcsc.com/product-detail/C64705.html
4.7uF ±10% 10V Ceramic Capacitor X5R 06033CL10A475KP8NNNC500.00510.26C1705https://www.lcsc.com/product-detail/C1705.html
10uF ±10% 10V Ceramic Capacitor X5R 060317CL10A106KP8NNNC500.00580.29C19702https://www.lcsc.com/product-detail/C19702.html
1uF ±10% 50V Ceramic Capacitor X5R 06031CL10A105KB8NNNC500.00490.25C15849https://www.lcsc.com/product-detail/C15849.html
10nF ±10% 50V Ceramic Capacitor X7R 06032CC0603KRX7R9BB1031000.00220.22C100042https://www.lcsc.com/product-detail/C100042.html
Diode Independent 100V 300mA Surface Mount SOD-12341N4148W1000.00560.56C917030https://www.lcsc.com/product-detail/C917030.html
Diode Array 1 Pair Common Cathode 30V 200mA Surface Mount SOT-231BAT54C500.00630.32C916424https://www.lcsc.com/product-detail/C916424.html
Diode 40V 1A Surface Mount SOD-12311N5819HW200.02370.47C5439970https://www.lcsc.com/product-detail/C5439970.html
USB-C (USB TYPE-C) Receptacle Connector 16 Position Surface Mount1TYPE-C-31-M-1250.17620.88C165948https://www.lcsc.com/product-detail/C165948.html
100mW 10kΩ 75V ±100ppm/℃ Thick Film Resistor ±1% 0603 Chip Resistor - Surface Mount RoHS14RC0603FR-0710KL1000.00110.11C98220https://www.lcsc.com/product-detail/C98220.html
5.1kΩ ±1% 100mW 0603 Thick Film Resistor2FRC0603F5101TS1000.00090.09C2907044https://www.lcsc.com/product-detail/C2907044.html
400mΩ ±1% 100mW 0603 Thick Film Resistor1FRL0603FR400TS1000.00330.33C5126047https://www.lcsc.com/product-detail/C5126047.html
1kΩ ±1% 100mW 0603 Thick Film Resistor10FRC0603F1001TS1000.00090.09C2907002https://www.lcsc.com/product-detail/C2907002.html
5kΩ 100mW 75V ±50ppm/℃ Thin Film Resistor ±0.1% 0603 Chip Resistor - Surface Mount RoHS1RT0603BRE075KL500.01720.86C862232https://www.lcsc.com/product-detail/C862232.html
100mW 1MΩ 75V ±100ppm/℃ Thick Film Resistor ±1% 0603 Chip Resistor - Surface Mount RoHS5RC0603FR-071ML1000.00120.12C105578https://www.lcsc.com/product-detail/C105578.html
Tactile Switch SPST 160gf 2mm SMD (SMT) Tab 4mm x 3mm Surface Mount2TS-1088-AR02016100.04230.42C720477https://www.lcsc.com/product-detail/C720477.html
Lithium Battery 1A ESOP-8 Battery Management RoHS1TP4056-42-ESOP850.17840.89C16581https://www.lcsc.com/product-detail/C16581.html
Positive Fixed 3.3V SOT-223 Voltage Regulators - Linear, Low Drop Out (LDO) Regulators RoHS5AP7361C-33E-1350.24621.23C500795https://www.lcsc.com/product-detail/C500795.html
220kΩ ±1% 100mW 0603 Thick Film Resistor2FRC0603F2203TS1000.00100.10C2907013https://www.lcsc.com/product-detail/C2907013.html
470Ω ±1% 100mW 0603 Thick Film Resistor120603WAF4700T5E1000.00120.12C23179https://www.lcsc.com/product-detail/C23179.html
Slide Switch SPDT 300mA @ 5V Surface Mount, Right Angle Rectangular Columnar1SSSS81110150.14080.70C109335https://www.lcsc.com/product-detail/C109335.html
Connector Header 2 position 2mm Pitch 2A Right Angle -25℃~+85℃1S2B-PH-K-S(LF)(SN)200.03510.70C17375https://lcsc.com/product-detail/C17375

About

An ESP-32 powered drone that follows you

Resources

Stars

4 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages