Configure LiteWing ESP32 Drone with Betaflight Step-by-Step
A complete beginner-friendly guide to flash firmware, set up Betaflight, integrate ExpressLRS, tune PID, and unlock full control of your LiteWing ESP3

How to Configure the LiteWing ESP32 Drone for Betaflight
Wondering how to unlock the full potential of your open-source LiteWing ESP32 drone using Betaflight? This comprehensive guide walks you through every step — from flashing the firmware to fine-tuning flight performance — in a clear, practical way that’s perfect for beginners and experienced makers alike.
🚀 What You’ll Achieve
By the end of this tutorial you will be able to:
Install Betaflight firmware on your LiteWing’s ESP32-S3 controller
Connect and configure Betaflight Configurator
Correct hardware pin mappings
Integrate and set up an ExpressLRS receiver
Configure flight modes, PID, battery monitoring, and Blackbox logging
Troubleshoot common issues for smoother flying
🧰 Before You Begin: Requirements
Hardware
You’ll need:
LiteWing ESP32-S3 based drone fully assembled
ExpressLRS (ELRS) receiver + compatible transmitter (pre-bound)
USB data cable to connect drone to your computer
1S LiPo battery for power
Software
Betaflight Configurator (v10.10.0 recommended) installed on your PC
Web browser (Chrome or Edge) for flashing the firmware
ESP32 Betaflight firmware binary file for the ESP32-S3 controller
🛠️ Step-by-Step Setup Guide
Step 1: Flash Betaflight Firmware to LiteWing
LiteWing runs on an ESP32-S3 chip, which means you must flash a compatible Betaflight firmware before configuration.
Visit the ESP-FC GitHub repository and download the Betaflight firmware for ESP32-S3.
Open the Espressif ESP Tool in your web browser.
Plug your LiteWing into your PC using a USB cable.
Select the correct COM port and upload the firmware file.
Set the flash address to
0x0000and click Program.Wait until the upload completes — do not disconnect mid-flash.
Step 2: Install and Configure Betaflight Configurator
Now that your ESP32 controller has Betaflight firmware:
Install Betaflight Configurator from the official GitHub releases page.
Open it and enable “Show All Serial Devices” in the options tab.
Select the correct COM port and click Connect.
You should now see your drone’s status and telemetry in the Configurator.
Step 3: Match Hardware Pins Using Betaflight CLI
Since the default pin setup won’t match the LiteWing hardware:
Open the CLI (Command Line Interface) tab.
Enter the predefined commands to correctly map motor outputs, UART, I2C, ADC (battery), etc.
Type
saveand press Enter to apply.Reboot your drone in Betaflight.
🧠 This step ensures real-time updates and controls behave correctly in the Configurator.
Step 4: Align the IMU Orientation
The IMU (Inertial Measurement Unit) on the LiteWing might not align with Betaflight’s default orientation. Go to Configuration → Board & Sensor Alignment and set the gyro orientation (e.g., CW 270°) to match physical motion with the 3D model.
Step 5: Enable Battery Voltage Monitoring
To track battery levels in-software:
Choose Onboard ADC as the voltage meter source.
Set scale and divider values based on your hardware (e.g., scale = 10, divider = 1).
Save settings and reboot.
Step 6: Configure Motors for Brushed DC
LiteWing uses brushed DC motors — so in Configuration → Motors:
Set motor protocol to Brushed
Set PWM frequency to 8000 Hz
Save and reboot.
Step 7: Integrate ExpressLRS Receiver
ExpressLRS delivers fast, reliable control:
Connect the ELRS receiver wires (power, TX, RX) to your LiteWing flight controller.
In Betaflight’s Ports tab enable Serial RX for the UART you used.
Go to Receiver and pick Serial + CRSF protocol.
You should now see stick movements live in Betaflight.
Step 8: Set Flight Modes
Head to the Modes tab and assign switches for:
ARM — safely enables motors
ANGLE — self-leveling mode
ACRO — full manual control
BLACKBOX — flight data recording
These modes help you tailor your drone’s behavior during different flight styles.
Step 9: PID Tuning for Stable Flight
Tweaking PID values ensures your drone flies smoothly:
Use recommended LiteWing PID settings tailored for its lightweight frame and brushed motors.
Start with those values, test, then fine-tune if needed.
Step 10: Use Blackbox for Data Analysis
Blackbox logs flight data like motor output and gyro behavior:
Join a short flight session.
Download logs via Betaflight.
Analyze in Blackbox Explorer to refine flight performance.
🏁 Final Thoughts
Integrating Betaflight with your LiteWing ESP32 Betaflight drone transforms it into an advanced, tunable machine with full FPV-ready capabilities. This step-by-step process not only helps you configure the drone but also gives you deeper insight into flight controllers, firmware, receivers, and flight tuning.To explore more real-world examples and inspiration for your next microcontroller build, check out the extensive collection of ESP32 projects.




