# ESP32 Mini Drone Flight Controller

## Description

Compact low\-power ESP32\-based mini\-drone flight controller with IMU stabilization, battery monitoring, wireless telemetry/OTA support, motor outputs, configurable flight modes, emergency landing, and optional return\-to\-home expansion\.

## Project Details

- **Owner:** admin\-srm
- **Created:** 6/1/2026
- **Last Updated:** 6/1/2026
- **Visibility:** Public

## Key Components

### D1 — [SML\-D13FWT86C](https://flux.ai/cherepanyadima/sml-d13fwt86c.md)

- Manufacturer Name: Rohm Semiconductor
- Manufacturer Part Number: SML\-D13FWT86C
- Role Details: Firmware\-controlled green status/failsafe LED
- Datasheet URL: https://www\.snapeda\.com/parts/SML\-D13FWT86C/Rohm%20Semiconductor/datasheet/
- Role: Status Indicator
- Part Type: Optoelectronic Devices

**Pins:**
- 1 [pin 1]
- 2 [pin 2]

### J1 — [S2B\-PH\-SM4\-TB\(LF\)\(SN\)](https://flux.ai/adrian95/s2b-ph-sm4-tblfsn~b96.md)

- Role: Power Conversion
- Manufacturer Name: JST Sales America Inc\.
- Datasheet URL: https://www\.jst\-mfg\.com/product/pdf/eng/ePH\.pdf
- Manufacturer Part Number: S2B\-PH\-SM4\-TB\(LF\)\(SN\)
- Role Details: 1S LiPo battery input connector feeding VBAT rail
- License: https://creativecommons\.org/licenses/by/4\.0/
- Part Type: Connector

**Pins:**
- P1 [pin 1]
- P2 [pin 2]

### J2 — [BM04B\-SRSS\-TB](https://flux.ai/adrian95/bm04b-srss-tb~zlb.md)

- Part Type: Connector
- Datasheet URL: https://www\.jst\-mfg\.com/product/pdf/eng/eSH\.pdf
- Role Details: Four logic motor\-control outputs M1\-M4 to external ESCs or driver board
- Manufacturer Part Number: BM04B\-SRSS\-TB
- Role: Motor Output Connector
- Manufacturer Name: JST Sales America Inc\.
- License: https://creativecommons\.org/licenses/by/4\.0/

**Pins:**
- 1 [pin 1]
- 2 [pin 2]
- 3 [pin 3]
- 4 [pin 4]

### J3 — [BM04B\-SRSS\-TB](https://flux.ai/adrian95/bm04b-srss-tb~zlb.md)

- Part Type: Connector
- Role Details: 3\.3 V UART expansion connector for optional GPS/position module
- Datasheet URL: https://www\.jst\-mfg\.com/product/pdf/eng/eSH\.pdf
- Manufacturer Part Number: BM04B\-SRSS\-TB
- Role: GPS / UART Expansion
- Manufacturer Name: JST Sales America Inc\.
- License: https://creativecommons\.org/licenses/by/4\.0/

**Pins:**
- 1 [pin 1]
- 2 [pin 2]
- 3 [pin 3]
- 4 [pin 4]

### J4 — [BM04B\-SRSS\-TB](https://flux.ai/adrian95/bm04b-srss-tb~zlb.md)

- Part Type: Connector
- Role: Programming Header
- Datasheet URL: https://www\.jst\-mfg\.com/product/pdf/eng/eSH\.pdf
- Role Details: 3\.3 V UART0 programming/log header: 3V3, GND, RXD0, TXD0
- Manufacturer Part Number: BM04B\-SRSS\-TB
- Manufacturer Name: JST Sales America Inc\.
- License: https://creativecommons\.org/licenses/by/4\.0/

**Pins:**
- 1 [pin 1]
- 2 [pin 2]
- 3 [pin 3]
- 4 [pin 4]

### SW1 — [TS\-1088\-AR02016](https://flux.ai/lcsc/ts-1088-ar02016~e3n1.md)

- Manufacturer Name: XUNPU\(讯普\)
- Datasheet URL: https://storage\.googleapis\.com/graviton\-electric\-symbols/document\_assets/lcsc/2409302330\_XUNPU\-TS\-1088\-AR02016\_C720477\.pdf
- JLCPCB Part Class: Extended Part
- Role Details: Momentary reset button pulling ESP32 EN/CHIP\_PU low
- Manufacturer Part Number: TS\-1088\-AR02016
- Product Info Url: https://lcsc\.com/product\-detail/Tactile\-Switches\_XUNPU\-TS\-1088\-AR02016\_C720477\.html
- Role: Reset Button
- LCSC Part Number: C720477
- Part Type: Tactile Switches
- Package or Case Code: SW\-SMD\_L3\.9\-W3\.0\-P4\.45

**Pins:**
- 1 [pin 1]
- 2 [pin 2]

### SW2 — [TS\-1088\-AR02016](https://flux.ai/lcsc/ts-1088-ar02016~e3n1.md)

- Manufacturer Name: XUNPU\(讯普\)
- Datasheet URL: https://storage\.googleapis\.com/graviton\-electric\-symbols/document\_assets/lcsc/2409302330\_XUNPU\-TS\-1088\-AR02016\_C720477\.pdf
- JLCPCB Part Class: Extended Part
- Role: Boot Button
- Manufacturer Part Number: TS\-1088\-AR02016
- Product Info Url: https://lcsc\.com/product\-detail/Tactile\-Switches\_XUNPU\-TS\-1088\-AR02016\_C720477\.html
- Role Details: Momentary boot button pulling GPIO9/BOOT low for flashing mode
- LCSC Part Number: C720477
- Part Type: Tactile Switches
- Package or Case Code: SW\-SMD\_L3\.9\-W3\.0\-P4\.45

**Pins:**
- 1 [pin 1]
- 2 [pin 2]

### U1 — [ESP32\-C3\-MINI\-1U\-N4](https://flux.ai/adrian95/esp32-c3-mini-1u-n4~8f1.md)

- Role Details: ESP32\-C3 module for stabilization control loop, telemetry, OTA updates, and failsafe logic; requires 0\.5 A capable 3\.3 V supply per datasheet
- Part Type: Module
- Role: Logic
- License: https://creativecommons\.org/licenses/by/4\.0/
- Manufacturer Part Number: ESP32\-C3\-MINI\-1U\-N4
- Manufacturer Name: Espressif Systems
- Datasheet URL: https://www\.espressif\.com/sites/default/files/documentation/esp32\-c3\-mini\-1\_datasheet\_en\.pdf

**Pins:**
- 3V3 [pin 3]
- EN [pin 8]
- GND [pin 49\_6]
- GND [pin 38]
- GND [pin 49\_1]
- GND [pin 48]
- GND [pin 14]
- GND [pin 42]
- GND [pin 49\_4]
- GND [pin 49\_5]
- GND [pin 37]
- GND [pin 52]
- GND [pin 46]
- GND [pin 47]
- GND [pin 2]
- GND [pin 1]
- GND [pin 41]
- GND [pin 43]
- GND [pin 36]
- GND [pin 49\_9]
- GND [pin 51]
- GND [pin 40]
- GND [pin 39]
- GND [pin 49\_7]
- GND [pin 45]
- GND [pin 49\_8]
- GND [pin 44]
- GND [pin 11]
- GND [pin 49\_3]
- GND [pin 49\_2]
- GND [pin 50]
- GND [pin 53]
- IO0 [pin 12]
- IO1 [pin 13]
- IO10 [pin 16]
- IO18 [pin 26]
- IO19 [pin 27]
- IO2 [pin 5]
- IO3 [pin 6]
- IO4 [pin 18]
- IO5 [pin 19]
- IO6 [pin 20]
- IO7 [pin 21]
- IO8 [pin 22]
- IO9 [pin 23]
- NC [pin 35]
- NC [pin 7]
- NC [pin 24]
- NC [pin 9]
- NC [pin 25]
- NC [pin 33]
- NC [pin 4]
- NC [pin 17]
- NC [pin 29]
- NC [pin 10]
- NC [pin 28]
- NC [pin 15]
- NC [pin 32]
- NC [pin 34]
- RXD0 [pin 30]
- TXD0 [pin 31]

### U2 — [BMI270](https://flux.ai/vasyl/bmi270~h5.md)

- Role Details: BMI270 6\-axis accelerometer/gyroscope on I2C at 0x68 for attitude estimation and flight stabilization
- Manufacturer Part Number: BMI270
- Manufacturer Name: Bosch Sensortec
- License: https://creativecommons\.org/licenses/by/4\.0/
- Role: Sensing
- Part Type: IMU
- Datasheet URL: https://www\.bosch\-sensortec\.com/media/boschsensortec/downloads/datasheets/bst\-bmi270\-ds000\.pdf

**Pins:**
- ASCX [pin 3]
- ASDX [pin 2]
- CSB [pin 12]
- GND [pin 7]
- GNDIO [pin 6]
- INT1 [pin 4]
- INT2 [pin 9]
- OCSB [pin 10]
- OSDO [pin 11]
- SCX [pin 13]
- SDO [pin 1]
- SDX [pin 14]
- VDD [pin 8]
- VDDIO [pin 5]

### U3 — [TPS63001DRCR](https://flux.ai/adrian95/tps63001drcr~325.md)

- Manufacturer Name: Texas Instruments
- Package or Case Code: TPS74901DRCR
- License: https://creativecommons\.org/licenses/by/4\.0/
- Manufacturer Part Number: TPS63001DRCR
- Part Type: Integrated Circuit
- Role: Power Conversion
- Datasheet URL: https://www\.ti\.com/lit/ds/symlink/tps63001\.pdf?ts=1616520267195&ref\_url=https%253A%252F%252Fwww\.ti\.com%252Fstore%252Fti%252Fen%252Fp%252Fproduct%252F%253Fp%253DTPS63001DRCT
- Role Details: TPS63001 fixed 3\.3 V buck\-boost regulator from 1S LiPo; typical application supports 3\.3 V up to 1200 mA with 2\.2 uH inductor, 10 uF input, and \>=15 uF output capacitance

**Pins:**
- EN [pin 6]
- EP [pin EP1]
- FB [pin 10]
- GND [pin 9]
- L1 [pin 4]
- L2 [pin 2]
- PGND [pin 3]
- PS/SYNC [pin 7]
- VIN [pin 5]
- VINA [pin 8]
- VOUT [pin 1]

*The full schematic, PCB layout, bill of materials, and interactive design are available at [https://flux\.ai/admin\-srm/esp32\-mini\-drone\-flight\-controller\~pg](https://flux.ai/admin-srm/esp32-mini-drone-flight-controller~pg).*

---

*Generated from [https://flux\.ai/admin\-srm/esp32\-mini\-drone\-flight\-controller\~pg](https://flux.ai/admin-srm/esp32-mini-drone-flight-controller~pg)*