Setup WS281x Led

Introduction

Revolution, Sparky2 and RevoNano boards supports external leds, up to 10 of the WS2811, WS2812 and WS2812B multi-color LEDs can be used. To use more than 10 leds you need to put the strips in parallel instead of series.

The WS281x leds do not work on CC3D/Atom boards.

BoardWS281x Led outputs
RevolutionServo outputs (1 to 6) + FlexiIO (receiver port) pin3 and pin4
Sparky2Servo outputs (1 to 6)
RevoNanoServo output #1 only

External Led provides visual information about flight modes or warnings during flight/pre-flight checks.

In this section

Led configuration

Using Revolution board, the data output can be set to:

  • FlexiIO_pin4,
  • FlexiIO_pin3
  • servo outputs.

NOTE: If FlexiIO_pin3 or FlexiIO_pin4 do not work for you, try using a spare servo output.

Led is powered using Gnd and +5V from board.


Go into UAVOBrowser, HWSettings > WS2811LED_Out and select the output.  Click on the red arrow pointing up on a hard drive near the top of the screen  to save the change to the board.  Reset or power cycle the board and the LEDs will begin working.




Led behavior

This table describes the default LED codes output using a revolution board and firmware version 16.09 or later:


This table describes the default LED codes output using a revolution board and earlier firmware: