
Dronemagnav2
ajisrawi/DroneMagNav2.0
DroneMagNav 2.0 - survey-fluxgate magnetic-anomaly navigation board for drones (IGRF-14 + EMAG2v3 continued to flight altitude)

Magnetic-anomaly navigation (MagNav) board + firmware for drones: ESP32-S3, BMI088, LIS3MDL, BMP280, u-blox GNSS, WDMAM map matching, particle filter, MAVLink, phone route planner. Proprietary - all rights reserved.
Dronemagnav is an open-source printed circuit board by ajisrawi, from the ajisrawi/dronemagnav repository on GitHub. It is a 4-layer board of 64 × 60 mm with 60 parts on 67 nets, routed with 787 tracks and 145 vias.
It is built around the ESP32-S3-WROOM-1-N16R8, BMP280 and LIS3MDL, with the AMS1117-3.3, AP2112K-3.3 and BMI088 among its other parts. Its parts include 18 capacitors, 17 resistors, 8 ICs, 6 diodes and 5 connectors. It belongs with the radio and wireless boards and the ESP32 boards of this library.
GNSS-denied positioning from the Earth's crustal magnetic field, plus a phone-operated great-circle route planner.
LIS3MDL magnetometer ─┐ ┌─ WDMAM anomaly map (SD)
BMI088 IMU ───────────┼─ ESP32-S3 ─ particle ────┤ WMM core field model
BMP280 baro ──────────┘ filter matching └─ Tolles-Lawson compensation
│ │
u-blox GNSS (init/truth) ├─ MAVLink GPS_INPUT → flight controller
└─ WiFi AP → phone: offline map, route, upload| Item | Where | Status |
|---|---|---|
| Schematics (5 sheets) | hardware/dronemagnav/*.kicad_sch, dronemagnav-schematic.pdf | ERC 0 errors (1 intended warning) |
| PCB 64 × 60 mm, 4-layer, 30.5 mm Pixhawk hole pattern | hardware/dronemagnav/dronemagnav.kicad_pcb | routed, 0 unconnected, 0 electrical DRC |
| Fab package | hardware/dronemagnav/fab/ (Gerber ZIP, drill, pick-and-place) | ready to upload |
| BOM | docs/BOM.csv | 28 line items, 56 parts, MPNs |
| Firmware (ESP32-S3, PlatformIO) | firmware/, images in firmware/release/ | compiles with 0 warnings (Arduino-ESP32 3.3.11); WMM core-field model validated 100/100 against NOAA test vectors (0.001 nT) |
| Phone UI | firmware/sdcard/www/index.html | offline map, tap-to-route, upload |
| SD-card preparation | tools/prepare_sd.py | WDMAM v2 (1.5 GB text) → 51.9 MB binary grid, verified by tools/wdmam_check.py; WMM, coastline |
| Design document | DroneMagNav-Design-Document.pdf | study, diagrams, PCB, BOM, verification |
| Block | Part | Why |
|---|---|---|
| MCU / radio | ESP32-S3-WROOM-1-N16R8 | WiFi AP for the phone page, BLE, native USB, 8 MB PSRAM for map tiles + particle filter |
| Magnetometer | LIS3MDL (SPI) | 16-bit, ~40 nT after averaging; RM3100 upgrade via mast connector J5 |
| IMU | BMI088 (SPI) | drone-grade accel + gyro, vibration-robust |
| Barometer | BMP280 (SPI) | altitude for the field model |
| GNSS | u-blox MAX-M10S + U.FL | initialisation and truth reference |
| Storage | microSD (SDMMC 4-bit) | world anomaly map, WMM, coastline, web page |
| Interfaces | USB-C, JST-GH TELEM (MAVLink, 5 V in), JST-GH sensor mast (I2C) | Pixhawk-standard |
| Power | USB/FC 5 V → AMS1117-3.3 (digital) + AP2112K-3.3 (sensors) | separate clean sensor rail |
GPS_INPUT when GNSS is lost.Expectations, honestly: the WDMAM world grid is 3 arc-min (~5 km) and
upward-continued to 5 km, so with it alone you get drift-free
kilometre-class positioning — right for oceanic/jammed cruise, not landing.
Load a local aeromagnetic survey (/maps/local.bin, same format) for tens of
metres at drone altitude.
The phone page shows an offline world coastline, you tap START and DEST, the board computes the great-circle (shortest) path as evenly spaced waypoints and uploads them to the flight controller as a MAVLink mission.
See firmware/README.md. Short version: pio run -t upload over USB-C, then
python tools/prepare_sd.py --wdmam <file> --wmm WMM.COF --coast <geojson>
and copy firmware/sdcard/* to the card.
firmware/release/. It has not yet run on
real hardware, since the board has not been built.hardware/dronemagnav/fab/FABRICATION-NOTES.md (included in the Gerber ZIP).VIO_SEL left open selects 3.3 V I/O, which is what the
board supplies, so no change was needed. TIMEPULSE is tied inside the module
to SAFEBOOT_N, so the firmware keeps GPIO16 input-only.prepare_sd.py.| Qty | Value | Footprint | References |
|---|---|---|---|
| 9 | 100nF | C_0603_1608Metric | C3, C6, C9, C10, C11, C12, C13, C14, C17 |
| 9 | 10K | R_0603_1608Metric | R2, R3, R9, R10, R11, R12, R13, R14, R15 |
| 7 | 10uF | C_0805_2012Metric | C1, C2, C5, C8, C15, C16, C18 |
| 4 | M3 | MountingHole_3.2mm_M3 | H1, H2, H3, H4 |
| 3 | 330R | R_0603_1608Metric | R4, R5, R6 |
| 2 | 1uF | C_0603_1608Metric | C4, C7 |
| 2 | 4.7K | R_0603_1608Metric | R7, R8 |
| 2 | 5.1K | R_0603_1608Metric | R16, R17 |
| 2 | SS14 | D_SMA | D1, D2 |
| 1 | 1K | R_0603_1608Metric | R1 |
| 1 | AMS1117-3.3 | SOT-223-3_TabPin2 | U6 |
| 1 | AP2112K-3.3 | SOT-23-5 | U7 |
| 1 | BMI088 | Bosch_LGA-16_4.5x3mm_P0.5mm_LayoutBorder7x1y_ClockwisePinNumbering | U2 |
| 1 | BMP280 | Bosch_LGA-8_2x2.5mm_P0.65mm_ClockwisePinNumbering | U4 |
| 1 | BOOT | SW_SPST_PTS645Sx43SMTR92 | SW2 |
| 1 | ESP32-S3-WROOM-1-N16R8 | ESP32-S3-WROOM-1 | U1 |
| 1 | FC_TELEM | JST_GH_SM06B-GHS-TB_1x06-1MP_P1.25mm_Horizontal | J2 |
| 1 | FIX | LED_0603_1608Metric | D5 |
| 1 | GNSS_ANT | U.FL_Hirose_U.FL-R-SMT-1_Vertical | J4 |
| 1 | LINK | LED_0603_1608Metric | D6 |
| 1 | LIS3MDL | LGA-12_2x2mm_P0.5mm | U3 |
| 1 | MAX-M10S | ublox_MAX | U5 |
| 1 | NAV | LED_0603_1608Metric | D4 |
| 1 | PWR | LED_0603_1608Metric | D3 |
| 1 | RESET | SW_SPST_PTS645Sx43SMTR92 | SW1 |
| 1 | SENSOR_MAST | JST_GH_SM06B-GHS-TB_1x06-1MP_P1.25mm_Horizontal | J5 |
| 1 | USB-C | USB_C_Receptacle_HRO_TYPE-C-31-M-12 | J1 |
| 1 | USBLC6-2SC6 | SOT-23-6 | U8 |
| 1 | microSD | microSD_HC_Hirose_DM3AT-SF-PEJM5 | J3 |

ajisrawi/DroneMagNav2.0
DroneMagNav 2.0 - survey-fluxgate magnetic-anomaly navigation board for drones (IGRF-14 + EMAG2v3 continued to flight altitude)

PeriwalPratham/FlightController
A basic PCB design which contains all components for a solo yet affordable basic drone controller

Terrapin-Rocket-Team/SRAD-Avionics
Code and PCBs for the avionics subteam for the SRAD flight computer and side projects

kaushalch1/air-monitor
this is a portable air quality monitoring device designed to measure particulate matter and environmental conditions in real time.


LCQIANN/esp32s3-camera
ESP32-S3 camera board v1.2: OV2640 DVP camera, microSD, USB-C, LiPo, KiCad 10 project for JLCPCB PCBA

philipparndt/opentherm-wolf-cwl
Decoder tool for analyzing OpenTherm protocol communication between a BM remote control and a Wolf CWL ventilation/heat-recovery unit. Built to reverse-engineer the protocol for building a custom ESP32-based controller.

felixznr/ALBERT
Albert I was a rhesus macaque monkey and the first mammal launched on a rocket (V-2 Rocket "Blossom No. 3") on June 18, 1948.
It measures 64 × 60 mm and has 4 copper layers, 1.6 mm thick.
60 parts, built around the ESP32-S3-WROOM-1-N16R8, BMP280, LIS3MDL and AMS1117-3.3. 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 ajisrawi/dronemagnav repository on GitHub, at the commit this page was made from: the board is hardware/dronemagnav/dronemagnav.kicad_pcb and its schematic hardware/dronemagnav/dronemagnav.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 ajisrawi before reusing the design.