
Drone
cookiemonsternz/drone
F \ish PV is a open source, custom stack, 75mm tinywhoop drone design. It utilises AM32 for the ESC firmware and Betaflight for the flight controller.

F \ish PV is a open source, custom stack, 75mm tinywhoop drone design. It utilises AM32 for the ESC firmware and Betaflight for the flight controller.
Esc is an open-source printed circuit board by cookiemonsternz, from the cookiemonsternz/drone repository on GitHub. It is a 6-layer board of 28.3 × 28.3 mm with 141 parts on 203 nets, routed with 1,563 tracks and 275 vias.
It is built around the AT32F421G8U7, NSG2065Q and TLV76733DRVR, with the XRIM160808SR47MBCD among its other parts. Its parts include 56 resistors, 38 capacitors, 24 transistors, 12 ICs and 1 diode. It belongs with the robots and motor control boards of this library.
Tinywhoop drone with custom ESC, FC, and frame.
F~ishPV is a open source, custom stack, 75mm tinywhoop drone design. It utilises AM32 for the ESC firmware and Betaflight for the flight controller.
Custom components include a from-scratch frame, designed for 3d printing (in HP-12-CF filament), a fully custom 15A ESC, and a custom FC.
The ESC:
The FC:
To be honest a lot of this project was just for my own learning, but I also wanted to make a drone that could be generally cheaper than buying prebuilt components. I've somewhat achieved this, with a net cost of ~$300 USD, but obviously this cost is higher due to lack of bulk pricing. Unfortunately, some parts I wanted to design from scratch proved to be infeasible within the scope of this project (namely vtx and vrx) so that has driven the total cost up slightly.
Aside from that, drones are cool, and tinywhoops especially so. The main benefit in my opinion is the crashability. The size makes it much more feasible to use alternative manufacturing options. As I mentioned earlier, I designed this with HP-12-CF filament in mind, but HP-12 MJF Nylon is also a very feasible option that could potentially be quite durable (I have simulated both, but it is worth noting that the CF simulations will not be entirely accurate due to the weakness along layer lines not being modelled).
The drone assembly should be reasonably straightforward, I have provided a wonderful exploded diagram that should help significantly:
Feel free to assemble it how you see fit, I'll likely change some things in the future but I'd like to try this configuration for now.
For wiring, theres this handy diagram. A lot of it just uses jst-sh connectors (as conformant to the Betaflight Connector Standard).

The ELRS receiver and vtx module can be attached however you see fit. I have included a mounting plate, and myself intend to use hot glue but velcro, etc. are also options.
Aside from the physical assembly, the FC and ESC must be flashed as outlined below or in the respective folders in firmware/. As I didn't want to do a bunch of pull requests for a likely one off design, I have provided compiled versions of the firmware. If you want to compile yourself, check out my forks of Betaflight and AM32. AM32 was built using github actions, and Betaflight was built locally using WSL as outlined in the documentation.
The esc runs on AM32, an open source ESC firmware which manages motor control, communication via dshot, and telemetry.
First of all, we need to install the bootloader onto each of the chips. For each chip, connect via the exposed swd/io interface, as outlined in the following table, and flash the bootloader hex file from firmware/esc/bootloader/
| MCU | SWDIO | SWDCLK |
|---|---|---|
| 1 | TP1 | TP2 |
| 2 | TP3 | TP4 |
| 3 | TP6 | TP5 |
| 4 | TP8 | TP7 |
Next connect the flight controller (which should be flashed before this step), visit am32 configurator and upload the firmware from firmware/esc/
Installation follows the same procedure as pretty much any flight controller. Visit Betaflight Configurator and select firmware flasher.
At the bottom of the screen, press load local:
Upload the hex file and then hit flash!
That's it, should be all configured (maybe) but I'd reccomend going through and doing the regular adjustments and calibration.


I ran a handful of simulations in FreeCAD, and these are just a small sample of the results I got.
First up, a collision where the battery is impacted. Think the drone just dropping onto the ground. This is for a collision at approximately 50km/h assuming a collision time of 25ms and a net mass of around 250g (so probably a bit extreme), to be specific, I modelled a force of 150N.
As you can see, there is even deflection across all four mounting posts for the FC/ESC stack, which will result in minimal tensile strain on the PCBs (which is the typical cause of damage).
Another type of collision I modelled is just a collision directly to the prop guards. Again, a 150N force which would be ~50km/h as mentioned above.
There is a lot of displacement on the prop guard but it is effectively dissipated and won't have much impact on the electronics, which is the main thing to be worried about.
For this specific impact, I would be reasonably worried about damage to the frame, but for most crashes (which are probably not at 50km/h) it should be perfectly fine.
Many more simulations at different loads and also modelling the HP-12 MJF material can be found here.
| Desc | Value | Package | Link | Num | Needed | MOQ | MOQ Price | Net Price | Running Total |
|---|---|---|---|---|---|---|---|---|---|
| Capacitors | |||||||||
| 10nF Ceramic Cap, 0402 | 10nF | 0402 | https://www.lcsc.com/product-detail/C15195.html | 1 | 1 | 100 | $0.16 | $0.16 | $0.16 |
| 22nF Ceramic Cap, 0402 | 22nF | 0402 | https://www.lcsc.com/product-detail/C1532.html | 2 | 2 | 100 | $0.21 | $0.21 | $0.37 |
| 100nF Ceramic Cap, 0402 | 100nF | 0402 | https://www.lcsc.com/product-detail/C1525.html | 44 | 44 | 100 | $0.15 | $0.15 | $0.52 |
| 1uF Ceramic Cap, 0402 | 1uF | 0402 | https://www.lcsc.com/product-detail/C52923.html | 4 | 4 | 100 | $0.4 | $0.40 | $0.92 |
| 2.2uF Ceramic Cap, 0402 | 2.2uF | 0402 | https://www.lcsc.com/product-detail/C12530.html | 3 | 3 | 100 | $0.32 | $0.32 | $1.24 |
| 4.7uF Capacitors, 0603 | 4.7uF | 0603 | https://www.lcsc.com/product-detail/C19666.html | 4 | 4 | 10 | $0.11 | $0.11 | $1.35 |
| 22uF Capacitors, 0603 | 22uF | 0603 | https://www.lcsc.com/product-detail/C86295.html | 4 | 4 | 10 | $0.16 | $0.16 | $1.51 |
| 22uF Capacitors, 0805 | 22uF | 0805 | https://www.lcsc.com/product-detail/C29277.html | 2 | 2 | 10 | $0.21 | $0.21 | $1.72 |
| 22uF Electrolytic Cap, SMD | 22uF | SMD,D4xL5.4mm | https://www.lcsc.com/product-detail/C335975.html | 2 | 2 | 20 | $0.48 | $0.48 | $2.20 |
| 47uF Electrolytic Cap, SMD | 47uF | SMD,D4xL5.4mm | https://www.lcsc.com/product-detail/C87853.html | 2 | 2 | 20 | $0.53 | $0.53 | $2.73 |
| Resistors | |||||||||
| 22R Resistors, 0402 | 22r | 0402 | https://www.lcsc.com/product-detail/C2906914.html | 26 | 26 | 100 | $0.07 | $0.07 | $2.80 |
| 75R Resistor, 0402 | 75? | 0402 | https://www.lcsc.com/product-detail/C25133.html | 4 | 4 | 100 | $0.09 | $0.09 | $2.89 |
| 1k Resistor, 0402 | 1k? | 0402 | https://www.lcsc.com/product-detail/C11702.html | 17 | 17 | 100 | $0.11 | $0.11 | $3.00 |
| 2.2k Resistor, 0402 | 2.2k? | 0402 | https://www.lcsc.com/product-detail/C25879.html | 3 | 3 | 100 | $0.10 | $0.10 | $3.10 |
| 10k Resistor, 0402 | 10k? | 0402 | https://www.lcsc.com/product-detail/C25744.html | 6 | 6 | 100 | $0.13 | $0.13 | $3.23 |
| 100k Resistor, 0402 | 100k? | 0402 | https://www.lcsc.com/product-detail/C25741.html | 4 | 4 | 100 | $0.09 | $0.09 | $3.32 |
| 10k Resistor Arrays, 0603x4 | 10k | 0603x4 | https://www.lcsc.com/product-detail/C110924.html | 6 | 6 | 50 | $0.55 | $0.55 | $3.87 |
| 124k Voltage Div Resistor, 0603 | 124k | 0603 | https://www.lcsc.com/product-detail/C2933136.html | 1 | 1 | 100 | $0.11 | $0.11 | $3.98 |
| 0.5m Shunt Resistor, 1216 | 0.5mr | 1216 | https://www.lcsc.com/product-detail/C2688874.html | 1 | 1 | 1 | $1.01 | $1.01 | $4.99 |
| Diodes | |||||||||
| Red LED | 0603 | https://www.lcsc.com/product-detail/C51933292.html | 1 | 1 | 50 | $0.13 | $0.13 | $5.12 | |
| Blue LED | 0603 | https://www.lcsc.com/product-detail/C2288.html | 1 | 1 | 50 | $0.51 | $0.51 | $5.63 | |
| Green LED | 0603 | https://www.lcsc.com/product-detail/C22371297.html | 1 | 1 | 50 | $0.71 | $0.71 | $6.34 | |
| Schottky Diode | SOD-323 | https://www.lcsc.com/product-detail/C191023.html | 2 | 2 | 50 | $0.54 | $0.54 | $6.88 | |
| Connectors | |||||||||
| Camera Conn | 3P SH | SMD,P=1mm | https://www.lcsc.com/product-detail/C7430452.html | 1 | 1 | 5 | $0.34 | $0.34 | $7.22 |
| UART Conns | 4P SH | SMD,P=1mm | https://www.lcsc.com/product-detail/C7433440.html | 3 | 3 | 10 | $0.35 | $0.35 | $7.57 |
| VTX Conn | 5P SH | SMD,P=1mm | https://www.lcsc.com/product-detail/C2845373.html | 1 | 1 | 5 | $0.58 | $0.58 | $8.15 |
| ESC Conns | 8P SH | SMD,P=1mm | https://www.lcsc.com/product-detail/C2764202.html | 2 | 2 | 5 | $0.61 | $0.61 | $8.76 |
| USB Micro B Conn | SMD | https://www.lcsc.com/product-detail/C404969.html | 1 | 1 | 10 | $0.41 | $0.41 | $9.17 | |
| FC | |||||||||
| STM32F405 (U1) | LQFP-64(10x10) | https://www.lcsc.com/product-detail/C15742.html | 1 | 1 | 1 | $3.93 | $3.93 | $13.10 | |
| ICM-42668-P : IMU (U2) | LGA-14(2.5x3) | https://www.lcsc.com/product-detail/C1850418.html | 1 | 1 | 1 | $12.88 | $12.88 | $25.98 | |
| MAX-7456eui+ (U3) | Source: Aliexpress | https://www.aliexpress.com/item/33005990891.html | 1 | 1 | 1 | $4.28 | $4.28 | $30.26 | |
| BL8072CLTR-3.3 (3.3V LDO) (U6) | 3.3V | SOT-223-3 | https://www.lcsc.com/product-detail/C843780.html | 1 | 1 | 5 | $0.99 | $0.99 | $31.25 |
| SGM2212-3.3XKC3G/TR (IMU LDO) (U7) | 3.3V | SOT-223-3 | https://www.lcsc.com/product-detail/C3294699.html | 1 | 1 | 1 | $0.61 | $0.61 | $31.86 |
| W25Q128JVSIQ TR (Flash) (U8) | SOIC-8-208mil | https://www.lcsc.com/product-detail/C97521.html | 1 | 1 | 1 | $2.32 | $2.32 | $34.18 | |
| TPS62173DSG (5V BEC) (U4, U5) | 5V | WSON-8-EP(2x2) | https://www.lcsc.com/product-detail/C181384.html | 2 | 2 | 1 | $0.93 | $1.86 | $36.04 |
| BMP280 Baro (U10) | LGA-8(2x2.5) | https://www.lcsc.com/product-detail/C83291.html | 1 | 1 | 1 | $6.90 | $6.90 | $42.94 | |
| 27MHz Crystal (Y1) | 27MHz | SMD3225-4P | https://www.lcsc.com/product-detail/C9008.html | 1 | 1 | 10 | $0.77 | $0.77 | $43.71 |
| 8MHz Crystal w/ Caps (Y2) | 8MHz | SMD3213-3P | https://www.lcsc.com/product-detail/C907975.html | 1 | 1 | 5 | $1.05 | $1.05 | $44.76 |
| BEC Inductors (L1, L2) | 2.2uH | 0806 | https://www.lcsc.com/product-detail/C695610.html | 1 | 1 | 5 | $0.82 | $0.82 | $45.58 |
| BOOT Button (SW2) | SMD,4x3mm | https://www.lcsc.com/product-detail/C720477.html | 1 | 1 | 10 | $0.54 | $0.54 | $46.12 | |
| Reverse Pol. Mosfet (Q1) | SOT-23 | https://www.lcsc.com/product-detail/C15127.html | 1 | 1 | 10 | $0.59 | $0.59 | $46.71 | |
| ESC | |||||||||
| 470nH Inductor, 0603 | 470nH | 0603 | https://www.lcsc.com/product-detail/C113132.html | 1 | 1 | 10 | $0.47 | $0.47 | $47.18 |
| Mosfets (SP40N03GNJ) | PDFN-8L(3x3) | https://www.lcsc.com/product-detail/C22466709.html | 24 | 24 | 5 | $1.05 | $5.25 | $52.43 | |
| ESC MCUs (AT32F421G8U7) | QFN-28-EP(4x4) | https://www.lcsc.com/product-detail/C2765098.html | 4 | 4 | 1 | $0.85 | $3.40 | $55.83 | |
| ESC Mosfet Gate Drivers (NSG2065Q) | QFN-24-EP(4x4) | https://www.lcsc.com/product-detail/C41414478.html | 4 | 4 | 1 | $0.48 | $1.92 | $57.75 | |
| Current Sense Amplifier (INA180B2) | SOT-23-5 | https://www.lcsc.com/product-detail/C2057844.html | 1 | 1 | 1 | $0.26 | $0.26 | $58.01 | |
| 8V Regulator (LMR51420YDDCR) | SOT-23-6 | https://www.lcsc.com/product-detail/C5383002.html | 1 | 1 | 1 | $0.83 | $0.83 | $58.84 | |
| 3.3V Regulator (TLV76733DRVR) | WSON-6(2x2) | https://www.lcsc.com/product-detail/C2848334.html | 1 | 1 | 5 | $1.01 | $1.01 | $59.85 | |
| BOARDS | $59.85 | ||||||||
| ESC Board + Stencil (JLCPCB) | $5.29 | $65.14 | |||||||
| FC Board + Stencil (JLCPCB) | $5.21 | $70.35 | |||||||
| Frame (JLC3DP, HP-12-CF) | $5.56 | $75.91 | |||||||
| MODULES | $75.91 | ||||||||
| ELRS Receiver (RP1 Nano Clone) | https://www.aliexpress.com/item/1005005236594556.html | 1 | 1 | 1 | $12.62 | $12.62 | $88.53 | ||
| CaddX Ant Camera | https://www.aliexpress.com/item/1005008798090166.html | 1 | 0 | 1 | $12.99 | $0.00 | $88.53 | ||
| PandaRC Nano25 VTX | https://www.aliexpress.com/item/1005011701933149.html | 1 | 0 | 1 | $18.94 | $0.00 | $88.53 | ||
| Happymodel RS1102 13500KV Motors | https://kiwiquads.co.nz/product/happymodel-rs1102-kv13500-brushless-motor-for-m8-freestyle/ | 4 | 4 | 4 | $11.11 | $44.44 | $132.97 | ||
| 40mm 1.5mm Shaft Triblade Props | https://www.aliexpress.com/item/1005010520091463.html | 4 | 4 | 16 | $6.37 | $6.37 | $139.34 | ||
| 2s 680mah lipo | https://kiwiquads.co.nz/product/betafpv-lava-series-ii-2s-680mah-95c/ | 1 | 1 | 1 | $14.62 | $14.62 | $153.96 | ||
| Radiomaster T8L | https://radiomasterrc.com/products/t8l-radio-controller?variant=47089026465984 | 1 | 1 | 1 | $34.99 | $34.99 | $188.95 | ||
| TS832 Receiver | https://www.aliexpress.com/item/1005012037139433.html | 1 | 0 | 1 | $43.86 | $0.00 | $188.95 |
| Totals (EXCL. VIDEO SYSTEM) | ||
|---|---|---|
| Vendor | Net | W/ Shipping |
| JLCPCB / 3DP | $16.06 | $41.99 |
| LCSC | $55.16 | $55.55 |
| Aliexpress | $23.27 | $22.95 |
| Kiwiquads | $59.05 | $61.96 |
| Radiomaster | $34.99 | $44.99 |
| JLCPCB | $10.50 | $32.06 |
| --- | $199.03 | $259.50 |
All of the CAD source files can be found on Onshape. The physics simulations can be found in the FreeCAD project under hardware/cad/sim/
AM32 Documentation - Especially re Hardware Design
Hack Club Blueprint - FC Guided Project
AM32 & Betaflight Discords
And various others which I have forgotten.
| Qty | Value | Footprint | References |
|---|---|---|---|
| 28 | 100nF | Capacitor_SMD:C_0402_1005Metric | C1, C2, C3, C4, C15, C17, C25, C26, C27, C28, C29, C31, C39, C40, C41, C42 +12 |
| 24 | 22R | Resistor_SMD:R_0402_1005Metric | R1, R2, R3, R4, R5, R27, R28, R32, R33, R37, R38, R47, R48, R52, R53, R57 +8 |
| 24 | Q_NMOS | lcsc:POWERPAK-1212-8_L3.0-W3.0-P0.65-LS3.3-BL | Q1, Q2, Q10, Q11, Q12, Q13, Q14, Q15, Q16, Q17, Q18, Q19, Q20, Q21, Q22, Q23 +8 |
| 16 | 1k | Resistor_SMD:R_0402_1005Metric | R8, R11, R13, R16, R26, R29, R30, R31, R34, R35, R36, R39, R40, R46, R49, R66 |
| 6 | 10k | Resistor_SMD:R_0402_1005Metric | R7, R25, R43, R45, R65, R83 |
| 6 | ~ | R_Pack4:RES_4D03_0603_3P2X1P6_ROH | R9, R10, R15, R18, R19, R22 |
| 4 | 22uF | Capacitor_SMD:C_0603_1608Metric | C7, C9, C10, C11 |
| 4 | 4.7uF | Capacitor_SMD:C_0603_1608Metric | C8, C18, C33, C46 |
| 4 | AT32F421G8U7 | lcsc:QFN-28_L4.0-W4.0-P0.40-TL-EP2.4 | U2, U4, U6, U8 |
| 4 | NSG2065Q | lcsc:QFN-24_L4.0-W4.0-P0.50-TL-EP2.8 | U1, U5, U7, U9 |
| 4 | SWDCLK | TestPoint:TestPoint_Pad_D1.0mm | T2, T4, T5, T7 |
| 4 | SWDIO | TestPoint:TestPoint_Pad_D1.0mm | T1, T3, T6, T8 |
| 2 | 22uF | Capacitor_SMD:C_0805_2012Metric | C59, C63 |
| 1 | 0.5m | bvn-z-r0005-1.0:BVNZR000510 | R21 |
| 1 | 100k | Resistor_SMD:R_0402_1005Metric | R42 |
| 1 | 124k | Resistor_SMD:R_0603_1608Metric | R82 |
| 1 | 2.2k | Resistor_SMD:R_0402_1005Metric | R64 |
| 1 | INA180B2 | Package_TO_SOT_SMD:SOT-23-5 | U3 |
| 1 | JST SH 1.0mm | Connector_JST:JST_SH_BM08B-SRSS-TB_1x08-1MP_P1.00mm_Vertical | J1 |
| 1 | LED | LED_SMD:LED_0603_1608Metric | D4 |
| 1 | LMR51420YDDCR | lcsc:SOT-23-6_L2.9-W1.6-P0.95-LS2.9-BL | U11 |
| 1 | TLV76733DRVR | lcsc:WSON-6_L2.0-W2.0-P0.65-TL-EP | U10 |
| 1 | XRIM160808SR47MBCD | Inductor_SMD:L_0603_1608Metric | L1 |
| 1 | ~ | solderpads:BoardPlate | U12 |

cookiemonsternz/drone
F \ish PV is a open source, custom stack, 75mm tinywhoop drone design. It utilises AM32 for the ESC firmware and Betaflight for the flight controller.

OpenDrone-hw/OpenESC-20x20
Open-source 4-in-1 AM32 ESC for FPV drones. 20x20 mm, 2-6S, one MCU per motor, CERN-OHL-S-2.0.

OpenDrone-hw/OpenESC-30x30
Open-source 4-in-1 AM32 ESC for FPV drones. 30.5x30.5 mm, 2-8S, one MCU per motor, CERN-OHL-S-2.0.

Caped-Crussader/VENDETTAFC
A fully open-source, custom-designed 4-in-1 ESC and F7 Flight Controller stack for FPV multirotors, designed from scratch in KiCad.

OpenDrone-hw/OpenAIO
Open-source AIO for 2-6S toothpick quads: flight controller, 4-in-1 AM32 ESC and ExpressLRS receiver, 25.5x25.5 mm.

OliviezGit/OpenESC-30x30
Open-source 4-in-1 BLDC ESC with a 30.5 × 30.5 mm mounting pattern, built around four independent AT32F421 motor controllers running AM32. Six-layer, DShot over the standard 8-pin connector.

tetraethylmethane/NIDAR-RescueSwarm
Three autonomous drones that search a flood zone, find survivors, geotag them, and drop medical kits — with no network, no pilot, and one operator who only presses start.


It measures 28.3 × 28.3 mm and has 6 copper layers, 1.6 mm thick.
141 parts, built around the AT32F421G8U7, NSG2065Q, TLV76733DRVR and XRIM160808SR47MBCD. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.
From the cookiemonsternz/drone repository on GitHub, at the commit this page was made from: the board is hardware/esc/esc.kicad_pcb and its schematic hardware/esc/esc.kicad_sch. PCBKit opens the board in the browser, with nothing to install.
Its repository states no licence, so its author keeps all rights: ask cookiemonsternz before reusing the design.