Skip to the content
PCBKitNew board
2 layers46.8 × 45.5 mmModule, the printed circuit board in 3D

ESP32 Drone by CodeMatrix is a compact, WiFi-controlled drone based on the ESP32-S3 microcontroller. Designed for hobbyists, makers, and engineers, ESP32 Drone by CodeMatrix offers a simple yet powerful platform for drone experimentation and development. It is an open-hardware project, making it easy to modify and expand.

Size
46.8 × 45.5 mm
Copper layers
2
Thickness
1.6 mm
Parts
45
Nets
59
Pads
173
Tracks, vias
271, 84
Pours
1
Routed
Yes
KiCad
KiCad 10.0 (file 20260206)
Created
7 Jul 2026
Updated
27 Jul 2026

Overview

Module is an open-source printed circuit board by RamRamAndroid, from the RamRamAndroid/ESP32Drone-CodeMatrix repository on GitHub. It is a 2-layer board of 46.8 × 45.5 mm with 45 parts on 59 nets, routed with 271 tracks and 84 vias.

It is built around the HMC5883L-TR, MS5611-01BA03 and PMW3901MB-TXQT, with the SPX3819M5-L-1-8 and WS2812B-2020 among its other parts. Its parts include 21 capacitors, 8 resistors, 5 ICs, 4 diodes and 4 connectors. It belongs with the radio and wireless and robots and motor control boards of this library.

Main components

5

README

README.md

Introduction Of CodeMatrix ESP32 Drone

drone drone

CodeMatrix ESP32 Drone is a compact, WiFi-controlled drone based on the ESP32-S3 microcontroller. Designed for hobbyists, makers, and engineers, CodeMatrix ESP32 Drone offers a simple yet powerful platform for drone experimentation and development. It is an open-hardware project, making it easy to modify and expand.

Whether you’re new to drones or an experienced developer looking to create custom flight applications, CodeMatrix ESP32 Drone provides an accessible and affordable way to explore drone technology. Unlike traditional drones that require proprietary controllers, CodeMatrix ESP32 Drone connects to your smartphone, allowing for an intuitive flying experience without additional hardware.

The firmware on CodeMatrix ESP32 Drone supports Crazyflie cfclient and cflib, meaning you can program and control your drone using Python and add more features like height hold, position hold, gesture control, and more.

The latest version includes more GPIO pins, sensor mounts, LED indicators to make it easier to tinker with and program. The PCB frame design keeps it lightweight while reducing costs, making it one of the most affordable DIY drones available.

Note:- The Files Related To The Drone Are In The Folder Named "Drone"

Introduction Of CodeMatrix ESP32 Drone Positioning Module

WhatsApp Image 2026-07-04 at 12 35 27 AM B-ezgif com-optimize (1)

The ESP32 Drone Positioning Module is a plug-and-play optical flow and ToF-based stabilization add-on designed for indoor and GPS-denied flight. Featuring the PMW3901 optical flow sensor for precise X/Y position tracking and the VL53L1X Time-of-Flight sensor for accurate height measurement, this module enables stable height hold and position hold performance. Ideal for DIY drones, autonomous flight experiments, and educational robotics projects.

This module transforms your CodeMatrix ESP32 Drone into a fully-equipped autonomous flight platform by adding critical sensor capabilities: precision ToF height measurement, optical motion tracking, and visual status feedback. All connected through a 24-pin connector, eliminating complex wiring while maintaining robust electrical connections suitable for flight operations.

This add-on module is completely compatible with the CodeMatrix ESP32 Drone and consists of the VL53L1x ToF sensor and PMW3901MB optical flow sensor for height hold and position hold, respectively. Apart from this, the module also has 4 Neopixel LEDs that can be programmed to indicate flight status or for visual appeal.

Important: By default, only the ToF sensor, Optical Flow sensor, and Neopixel LEDs will be soldered on the module. The brometric sensor and magnetometer footprint is added only for users who wish to build more using the same board. By default these two sensors will not be populated. The colour of the PCB might also be in black or green color depending on the time of purchase, but features and working will reamin the same.

Note:- Files Related To The Positioning Module Are In The Folder Named "Module"

Introduction Of ESP32 Drone Bluetooth Speaker Module (Coming Soon)

untitled untitled-ezgif com-optimize

The ESP32 Drone Bluetooth Speaker Module is a plug-and-play lightweight Bluetooth speaker system to extend the drone's capabilities beyond flight. By adding a simple Bluetooth audio setup, the drone can now deliver real-time announcements, voice messages, or music directly from the air without requiring any additional coding. The entire system works through a standard Bluetooth connection, making it easy to set up, practical for demonstrations, events, and experimental applications while also being fun.

Note:- Files Related To The Positioning Module Are In The Folder Named "BluetoothModule"

Introduction Of ESP32 Drone + Positioning Module PCB

panel panel

This PCB Has Both The Drone And Module Combined Into One PCB For Easier Manufacturing And Assembly And This Method Is Faster Than Getting Them Both Seperatly

Note:- The Files Related To The Drone + Module PCB Are In The Folder Named "drone+module"

Add-On Module Template

untitled untitled

I Have Made A Template Of The Positioning Module For You To Customize, It Is In The Module Folder


As This Project Is Based On LiteWing, The Instructions Are The Same As Litewing Drone Instructions (https://circuitdigest.com/wiki/litewing/)

Parts

45
QtyValueFootprintReferences
90.1uFCapacitor_SMD:C_0603_1608Metric_Pad1.08x0.95mm_HandSolderC4, C6, C8, C10, C11, C12, C13, C14, C15
610KResistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolderR2, R3, R4, R5, R6, R7
410uFCapacitor_SMD:C_0603_1608Metric_Pad1.08x0.95mm_HandSolderC1, C2, C3, C5
41uFCapacitor_SMD:C_0603_1608Metric_Pad1.08x0.95mm_HandSolderC18, C19, C20, C21
4Conn_01x06Library:PinHeader_1x06_P2.54mm_VerticalJ3, J4, J5, J6
4WS2812B-2020LED_SMD:LED_WS2812B-2020_PLCC4_2.0x2.0mmD1, D2, D3, D4
34.7uFCapacitor_SMD:C_0603_1608Metric_Pad1.08x0.95mm_HandSolderC7, C9, C16
24.7KResistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolderR1, R8
2SolderJumper_2_OpenJumper:SolderJumper-2_P1.3mm_Open_TrianglePad1.0x1.5mmJP1, JP2
10.22uFCapacitor_SMD:C_0603_1608Metric_Pad1.08x0.95mm_HandSolderC17
1HMC5883L-TRBenim:XDCR_HMC5883L-TRU5
1LOGOBenim:okişaretiküçükG***
1MS5611-01BAPackage_LGA:LGA-8_3x5mm_P1.25mmU4
1PMW3901MB-TXQTBenim:QFN_01MB-TXQT_PIXU2
1SPX3819M5-L-1-8Package_TO_SOT_SMD:SOT-23-5U1
1VL53L1CXV0FY1Sensor_Distance:ST_VL53L1xU3

Questions

How big is the Module PCB?

It measures 46.8 × 45.5 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Module use?

45 parts, built around the HMC5883L-TR, MS5611-01BA03, PMW3901MB-TXQT and SPX3819M5-L-1-8. 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.

Where can I download the Module KiCad files?

From the RamRamAndroid/ESP32Drone-CodeMatrix repository on GitHub, at the commit this page was made from: the board is Module/KiCAD Files/B.kicad_pcb and its schematic Drone + Module/KiCad Files/panel.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Module design in my own project?

Its repository states no licence, so its author keeps all rights: ask RamRamAndroid before reusing the design.

More from RamRamAndroid/ESP32Drone-CodeMatrix

2
  • 2 layers131 × 100 mmPanel, the printed circuit board in 3D

    Panel

    RamRamAndroid/ESP32Drone-CodeMatrix

    ESP32 Drone by CodeMatrix is a compact, WiFi-controlled drone based on the ESP32-S3 microcontroller. Designed for hobbyists, makers, and engineers, ESP32 Drone by CodeMatrix offers a simple yet powerful platform for…

    182 parts1
  • 2 layers100 × 100 mmDrone, the printed circuit board in 3D

    Drone

    RamRamAndroid/ESP32Drone-CodeMatrix

    ESP32 Drone by CodeMatrix is a compact, WiFi-controlled drone based on the ESP32-S3 microcontroller. Designed for hobbyists, makers, and engineers, ESP32 Drone by CodeMatrix offers a simple yet powerful platform for…

    89 parts1

Similar boards

  • 2 layers40 × 61 mmUWB Fly Drone, the printed circuit board in 3D

    UWB Fly Drone

    DynamicWhiteHat/Orbit

    An ESP-32 powered drone that follows you

    81 parts4
  • 6 layers39.5 × 39.5 mmP4eregrine, the printed circuit board in 3D

    P4eregrine

    anticitizn/p4eregrine

    All-in-one ESP32 P4-based drone ESC, flight controller, and video processor

    359 parts21
  • 2 layers50 × 27.3 mmEngemil pmw3901mb, the printed circuit board in 3D

    Engemil pmw3901mb

    engemil/engemil_pmw3901mb_hardware

    PMW3901MB Optiocal Flow Sensor Module designed with KiCAD

    20 parts2CERN-OHL-W-2.0
  • 2 layers21 × 25 mmACwing Flow A, the printed circuit board in 3D

    ACwing Flow A

    ACwing-UAV/ACwing_HW

    ACwing is a modular set of PCBs for small multirotors.

    38 parts
  • 2 layers30 × 24 mmFlow, the printed circuit board in 3D

    Flow

    TakaI2/Drone_simulate

    ドローンの挙動と設計をシミュレートする

    14 parts
  • 4 layers44 × 43 mmPico mini, the printed circuit board in 3D

    Pico mini

    Ncerzzk/luckyfox_pico_mini_FC

    A flight controller hardware based on LucyFox Pico Mini Board

    50 partsGPL-3.0
  • 4 layers55 × 50 mmFC QUAD V1, the printed circuit board in 3D

    FC QUAD V1

    VISHNUPRIYANR1812/PCB-Projects

    Collection of my custom PCB designs, including schematics, Gerber files, and project details.

    66 parts