Overview

DronX represents the next evolution in autonomous flight technology. Combining cutting-edge AI, precision engineering, and innovative design, DronX pushes the boundaries of what's possible in aerial robotics.

This project aims to create a fully autonomous drone capable of intelligent navigation, obstacle avoidance, and advanced flight control. DronX is designed to be modular, accessible, and powerful—bringing professional-grade drone capabilities to makers and enthusiasts.

Whether you're interested in autonomous flight, sensor fusion, or embedded systems, DronX offers a comprehensive platform for learning and experimentation. This build log documents the entire development process, from initial concept to working prototype.

Things

To build your own DronX, you'll need a combination of hardware components, software tools, and custom parts. Here's a comprehensive list of what's required:

Hardware Components

  • ESP32 Mini or similar microcontroller board
  • IMU sensor (GY-91, MPU-9265, or compatible)
  • 8520 3.7V brushed motors (x4)
  • 55mm or 65mm propellers (x4)
  • MOSFET drivers (100N03A or analog, x4)
  • Pull-down resistors (10 kΩ, x4)
  • Li-Po battery (LW 952540 or compatible)
  • Battery connector (MX2.0 2P female)
  • Li-Po charger
  • Boost converter (5V output, optional)
  • RC receiver (DF500 or compatible, optional)
  • Controller (CC2500 transmitter or gamepad)
  • 28 AWG wires
  • Double-sided tape
  • M3x5 screws (x2 for IMU)
  • M1.4x5 screws (x4 for frame)

3D Printed Parts

  • Frame main part (STL/STEP)
  • Frame top part / ESP32 holder (STL/STEP)
  • Washer M3 (x2)

Software & Tools

  • Arduino IDE for ESP32 programming
  • 3D printing software (Cura, PrusaSlicer)
  • CAD software for design modifications
  • Version control (Git) for code management

Story

The inspiration for DronX came from a desire to create an accessible, open-source drone platform that combines the best of autonomous flight technology with maker-friendly design principles.

What started as an exploration into small-scale drone development evolved into a comprehensive project focused on creating a drone that's both powerful and approachable. The challenge wasn't just about building a drone that could fly, but one that could think, adapt, and navigate intelligently.

Throughout this journey, we've encountered numerous obstacles—from sensor calibration challenges to flight stability issues. Each problem solved has been a learning opportunity, pushing us to develop better algorithms and more robust designs.

DronX represents more than just a drone project. It's a platform for learning, experimentation, and innovation. By making the design open-source and well-documented, we hope to inspire others to build, modify, and improve upon this foundation.

Introduction

Welcome to the DronX build log. This comprehensive guide will walk you through every aspect of building your own autonomous drone, from component selection to final assembly and programming.

DronX is designed to be modular and accessible. Whether you're an experienced robotics engineer or a curious beginner, this project is structured to accommodate different skill levels. Each section builds upon the previous one, creating a logical progression from concept to completion.

The project is divided into several key phases:

  • Design & Planning: Understanding the requirements and selecting appropriate components
  • Mechanical Assembly: 3D printing the frame and assembling the physical structure
  • Electronics Integration: Wiring sensors, motors, and control systems
  • Software Development: Programming flight control, sensor fusion, and autonomous behaviors
  • Testing & Calibration: Fine-tuning PID controllers and flight characteristics

This build log serves as both documentation and a learning resource. Feel free to adapt, modify, and improve upon these designs. Innovation happens when we build on each other's work.

Mechanical Observations

One of the most critical aspects of DronX is its mechanical design. The frame must be lightweight yet rigid, providing stability while minimizing weight to maximize flight time.

Key Mechanical Features

  • Compact Frame Design: Optimized for small-scale flight with minimal footprint
  • Motor Placement: Four motors arranged in quadcopter configuration for stable flight
  • Component Integration: Careful placement of electronics to maintain center of gravity
  • Weight Distribution: Balanced design ensures stable hover and smooth flight characteristics

Flight Capabilities

DronX can achieve several key flight modes:

  • Stable hover with altitude hold
  • Manual control via RC transmitter or gamepad
  • Autonomous navigation with obstacle avoidance
  • Precision landing and takeoff

Early prototypes revealed that the mechanical design needed to balance between structural integrity and weight. Too much weight reduced flight time, while too little rigidity caused instability. The final design represents an optimal compromise between these factors.

Custom Parts

Many components of DronX require custom fabrication. This section details the custom parts needed and how to create them.

3D Printed Components

  • Frame Main Part: Primary structural element, printed in PETG or ABS for durability and impact resistance
  • Frame Top Part / ESP32 Holder: Custom enclosure for the microcontroller and IMU sensor
  • Washer M3: Small washers for securing the IMU sensor

Design Considerations

The frame design prioritizes:

  • Lightweight construction to maximize flight time
  • Rigid structure to minimize vibrations affecting sensors
  • Easy access to electronics for maintenance and upgrades
  • Secure mounting points for all components

All CAD files and 3D printing instructions are available in the project repository, allowing you to manufacture these parts yourself or through a service. The design is optimized for common 3D printers and standard materials.

Code

The software architecture of DronX is built on a modular foundation, allowing for easy expansion and customization.

Core Systems

  • Flight Control: PID controllers for stable flight and attitude control
  • Sensor Fusion: Processing data from IMU and other sensors for accurate orientation
  • Motor Control: PWM-based speed control for precise motor management
  • Communication: Interface for RC receiver and optional telemetry
  • Autonomous Navigation: Decision-making system for autonomous flight behaviors

Programming Languages

  • C++: Main flight control system and real-time processing
  • Arduino: ESP32-specific libraries and hardware abstraction

Key Features

  • Modular code structure for easy maintenance and updates
  • Comprehensive sensor calibration routines
  • Extensive logging for debugging and analysis
  • Configurable PID parameters for fine-tuning
  • Safety features including failsafe modes

The codebase is open-source and available on GitHub. Contributions, bug reports, and feature requests are always welcome. Documentation is continuously updated to help new developers get started quickly.