How to add RGB LED on Mini Quad & Setup through Betaflight

In this tutorial we will show you how to add RGB LED to a mini quad and setup through Betaflight, so that the colour of the LED can be controlled by the flight controller.

Take a look at our Betaflight setup guide for more tutorials.

Table of Content

Why Adding LED to a Quadcopter?

Having LED on your quadcopter is perfect for night time flying or in low light conditions. When flying LOS (line of sight) it is a major help in maintaining your orientation of the craft, especially for beginners. It’s great for personalizing your quad or just separating you from the competition. You can also use LED as status indicators!

And let’s be honest, they just look plain COOL!

Wiring and setting up our mini quad are much easier today (2018) than it was just a year or two ago, and the same goes for adding LEDs. Here I will show you how.

Recommended LED Strip for Betaflight

The LED feature in Betaflight is primarily designed for addressable LED strips. The recommended types of LED are WS2812 and WS2811.

You can get them from Banggood  or Amazon.

WS2812 5050 LEDs come in a variety of forms. The most common form is long flexible strip that is rolled on spools and sold by the meter. These can be cut into individual LED’s or to any desired length strips for the perfect fit with a pair of scissors.

They come in two voltage ratings, 5V and 12V. The 5V version uses less power while the 12V LED’s are brighter. We are going to use the 5V version because 5V is more widely available on flight controllers and PDB.

I’ve used these LED’s in some other projects and they gave me great results: TV ambilight project and DIY bike light project.

Other Tools and Hardware

Here is a list of stuff you need to setup LED’s on a mini quad:

LED Connection and Installation

Make sure you understand where to connect the LED’s per your flight controllers wiring diagram and what voltage your LEDs will require.

It is a simple three wire connection to most flight controllers: Power (5V), Ground and Data (to LED pad).

WS2812 LED strips are directional, each LED has data-in and data-out connections (DI/DO or Din/Dout). DI takes LED signal from the FC, while the DO connects to the DI of the next LED if you want to add more. Currently Betaflight and Cleanflight can control up to 32 LEDs in total.

When installing the LEDs be sure to insulate any solder joints from the carbon fiber frame.

Ensure they are securely attached to the quadcopter and will not come loose due to vibrations or a crash. After all the LED’s are wired correctly in series, write down their wiring order and their locations. Now it is time to configure them in Betaflight.

Pro Tips

Overheating can damage these LEDs. Use lower temperature for soldering, and try not to leave your solder iron on the pads for too long.

You can just connect those LED straight to your flight controller. But if you can also test the LEDs beforehand with an Arduino board. (You probably want an external 5V BEC for the LEDs, in case they draw too much current than the Arduino can handle. Use the Arduino library NeoPixel for testing.

WS2812/WS2811 LED Current Draw

Make sure your flight controller or BEC can supply enough current to power the amount of LED’s you plan to use.

As tested, a single 5V WS2812 LED draw around 18mA in average. Note that the current draw changes with colour, blue uses more energy than red. But that’s pretty insignificant compared to what our motors can do. Here is the current draw for 3 LEDs.

Enabling LED Feature in Betaflight

ALWAYS REMOVE PROPELLERS whenever doing any configuration or bench testing BEFORE plugging in the battery!

Connect flight controller to Betaflight Configurator.

On the Configuration Tab in Betaflight, first enable the LED Strip feature by clicking the toggle switch under “Other Features” then click the “save and reboot” button.

If you already have the LED connected and the battery plugged in, this will illuminate the LEDs white by default. It will also enable the LED Strip tab on the left hand window. If you don’t see it, please turn on “Enable Expert Mode” in the top right.

Betaflight LED Setup: Wiring Order and Color Selection

Now on the LED Strip Tab in Betaflight, first we must setup the LED wiring order by clicking the “Wiring Order Mode” button.

This is where we tell Betaflight how the LED’s are ordered and arranged on the mini-quad.

Start with the very first LED coming from the flight controller and assign it to a location on the grid followed by the next LED in sequence and where it is located.

Pro Tips: It doesn’t matter where in the grid you drop the LED, all that matter is the ordering. The grid is only there to help you visualize the LED arrangement.

Betaflight starts numbering with 0 so when we get to the 4th LED the number is 3. Finish for every LED in the strip then deselect the Wiring Order Mode button.

Next we are assigning color to each LED.

Highlight the first LED (numbered 0) by clicking on it, select “Colors” from the “Functions” drop down menu then click the color you want to assign that LED in the color chart.

Notice that LED on the grid now has indicators telling us the color function is enabled and color Magenta has been selected.

Finish picking colors for each LEDs in the strip, any colors you like, and click save. Now all the LEDs will show the selected colors.

Now as soon as you power up your quad, all 4 LED’s will display magenta color. Let’s move on to a more complex example.

Worked Example

Here I have entered the first 4 LEDs.

Again, it doesn’t matter where on the grid, as long as you have room to enter all the LEDs and can make sense of where they relate to their position on the quadcopter.

Here I will place the rest of the LED’s in the grid, then deselect the Wiring Order Mode button. Notice that I have 6 separate strips, and the order represents how they are wired together in series.

Now we can start assigning functions to each individual LED. In this case we are just going to assign different colors for them.

Highlight the first LED (numbered 0) by clicking on it, select “Colors” from the “Functions” drop down menu.

Then click any color you want to assign that LED in the color chart.

Do the same thing for the next LED and so on until all the LEDs have been assigned a color.

Click the Save button and the LEDs on the quadcopter will switch from white, to the colors you’ve selected.

Betaflight LED Setup: Advanced Functions

The LED feature in Betaflight is pretty powerful, there are many functions that can be activated and overlaid for a completely customized LED display.

Color modifiers, Blinking, Larson scanner/Knightrider effects, warnings for battery, RSSI and more, even color coded VTX channels controlled through SmartAudio. The possibility is exciting :)

The throttle modifier will change the LED color depending on throttle position. The color selected will be shown at mid throttle, the previous selectable color will show at low throttle and the next selectable color at full stick.

To activate this, highlight the LED you want to use and click the Color Modifier for Throttle. This can also be changed from throttle to a different channel such as AUX switches for flight modes, rate modes etc.

Note the orange dot indicating Throttle Color Modifier.

Both rear arms set to change color according to throttle position. Once saved this can be tested through the transmitter without arming, simply slide the throttle up and down and see if you like the transition.

Turn indicators will flash corresponding LEDs when roll or pitch is applied. To do this, first we must select the orientation for the specific LED we want to use by selecting N, S, E, W or UP and DOWN.

Notice the orientation arrow attached to that LED box now

Next click the “Indicator” switch. Do this for any LED you would like to blink when TX input is applied in that direction.

Now this LED will blink when left roll is applied, slow with small inputs and fast like a strobe when at full stick. This can also be tested now with the transmitter.

Arm State is another useful function. Highlight the LED you wish to use and select Arm State from the Functions drop down menu.

The Arm State function allows you to select two colors, one for when armed and one for when disarmed.

There are so many combinations that can be made here to get that custom look you’ve always wanted, start playing around with different settings and see what happens. Wether you would like to add some lights to help orientation, light up the entire night sky, or just add a touch of color for your race, LEDs are always cool. ;)

Here is a instructional video by Droneofprey.

16 thoughts on “How to add RGB LED on Mini Quad & Setup through Betaflight

  1. dave468

    Can anyone help me with my crazy WS2812 LEDs? I have the Matek WS2812B programmable LED strip on my quad. It’s an Emax F3 Magnum Mini F.C. The LEDs work FINE if I have ANYTHING with 5 volts plugged into the USB port on the F.C. when I connect the battery, and then disconnect the USB. If I just plug the battery in, with nothing in the USB port, the strip will NOT light. But it works fine if I pull the USB plug out after the battery is plugged in. Weird?? Anyone have a clue?

  2. Jake

    Hi, I will try to see about fixing it on my own, but i programmed all of my LED’s in beta flight to be solid color w/ directional lighting, and they worked for a bit, but one night i showed my friends what i was doing and i left without disconnecting from beta-flight. After coming back to fly the drone one strip (5 LED’s) wouldn’t properly follow what i programmed them to do, and they went wonky. Some were white, one light blue, another light pink, and the other side did exactly what i wanted them to do. After looking this up for a month i still cant find a fix or anyone else that has had this issue. I have the Eachine Wizard x220s that came pre-built out of box other than prop attachment. If anyone can help i would be grateful.

  3. Jed


    For my flight stack F722 Mamba, there are 5LED pads. How do I go about programming them if I’ve soldered multiple LEDS to multiple LED pads? Currently BF config only changes colour of one LED pad and the rest are default red light

  4. Kevin James Dahlquist

    I’m not using strips, but each of my ESC’s has a factory RGB led attached. So far I haven’t gotten them working- do they use the same interface somehow?

  5. Lance Kindley

    Hey Oscar, love your blog! Is there a way to set up an aux switch to shut off the leds in betaflight? And what is the LedLow mode in betaflight?

  6. Derrick Mitchell

    I hooked these up on my f405 std( – to -, + to +, led to DI) configured it on INAV, save and rebooted, plugged in my lipo and no lights. What have I over looked?

  7. Fran

    HI Oscar!!!
    i have the wizard ts215 wich has 4 pin for led strips as you can saw at it’s manual
    In wich pin shold i wire my led strip? led in or led out?

  8. Michal

    Hey Oscar.
    Is it possible to wire led strips in parallel?
    I mean the same pads to two strips. Then I should have the same setups for both strips.
    I asking about this because when I solder in this way one strip is working correctly and second changing colors like a mad. Do I need to do something in addition? Maybe I can’t split the signal for two strips?

    1. Oscar Post author

      For power yes, but the signal has to be in series if you want to program them all separately, otherwise you can end up with LED strips doing the same thing.

  9. PierC FPV

    Thanks for the write up! Got my LEDs running in less than 10 mins after reading this.
    To add to this, as I didn’t see it mentioned, is that you can CTRL-Click multiple LEDs to change their function all at once.
    Maybe this wasn’t available before but it is on Betaflight Configurator v10.3.1.

  10. Gare FPV

    Hey Oscar, you can only change to all LED colors by AUX Position Switch, if you choose “Arm State” with AUX. Just put the Arm- Disarm color to the same color. No other funktion allows you to switch to all available colors :-( Please try it out :-) Greets, Gare

  11. Red Barrorn

    I love LED, I have to fly a lot at dust, Line of Sight, due to work, I have been struggling with getting them programmed. Though this should help. I have 2 H pattern Led sets, one at the from and one at the back and I colour the props to the light colour, it works really well for Orientation. I know a lot of people in FPV do not like LOS, but when you live in a city like Melbourne Australia, sometimes it is just about finding a safe spot and getting in the air.


Leave a Reply

Your email address will not be published. Required fields are marked *

For prompt technical support, please use our forum I check blog comments weekly.