Betaflight: LEDs not working anymore on PIKOBLX after upgrade to 4.0.0

Created on 24 Apr 2019  路  1Comment  路  Source: betaflight/betaflight

After I've upgraded my PIKOBLX flight controller from 3.2.0 to 4.0.0 the LEDs stopped working. I'm able to enable the LED_STRIP feature, however if I want to save the LED configuration (with the correct WIRING_ORDER) there is nothing happening and the configuration will not be saved. The LED Strip worked fine with 3.3.0, as well as 3.2.0. But I'm not able to activate it with 4.0.0. Also one other weird behaviour is, that the LEDs are getting this yellowish color, instead of the pure white, that normally occurs if nothing is configured. Also if I turn on the Buzzer the LEDs will blink white.

Flight controller configuration

board_name FF_PIKOBLX
manufacturer_id
mcu_id 002d001d5234570920373736
resource MOTOR 1 A06
resource MOTOR 2 B01
resource MOTOR 3 A04
resource MOTOR 4 B00

feature -AIRMODE
feature LED_STRIP
serial 0 1 115200 57600 0 115200
aux 0 0 0 1500 2100 0 0
aux 1 1 1 900 1200 0 0
aux 2 2 1 1300 1700 0 0
aux 3 13 3 1300 2100 0 0
aux 4 28 2 900 1200 0 0
set acc_trim_pitch = -2
set acc_calibration = 35,85,-55
set min_check = 1025
set max_check = 1975
set motor_pwm_protocol = DSHOT150
set align_board_yaw = 45
profile 0

Setup / Versions

Most helpful comment

Full LED support has been removed for F3 flight controllers starting with Betaflight 3.5 because the F3 processor is out of flash space. So 3.5 had no LED support at all, but in 4.0 some basic support was added back in for F3's. There are two modes (controlled by ledstrip_profile) that will work:

First is a single color "race mode":

set ledstrip_profile = RACE

set ledstrip_race_color = ORANGE
Allowed values: BLACK, WHITE, RED, ORANGE, YELLOW, LIME_GREEN, GREEN, MINT_GREEN, CYAN, LIGHT_BLUE, BLUE, DARK_VIOLET, MAGENTA, DEEP_PINK

Next is "beacon mode" that flashes a selected color and pattern:

set ledstrip_profile = BEACON

set ledstrip_beacon_color = WHITE
Allowed values: BLACK, WHITE, RED, ORANGE, YELLOW, LIME_GREEN, GREEN, MINT_GREEN, CYAN, LIGHT_BLUE, BLUE, DARK_VIOLET, MAGENTA, DEEP_PINK

set ledstrip_beacon_period_ms = 500
Allowed range: 50 - 10000

set ledstrip_beacon_percent = 50
Allowed range: 0 - 100

set ledstrip_beacon_armed_only = OFF
Allowed values: OFF, ON

>All comments

Full LED support has been removed for F3 flight controllers starting with Betaflight 3.5 because the F3 processor is out of flash space. So 3.5 had no LED support at all, but in 4.0 some basic support was added back in for F3's. There are two modes (controlled by ledstrip_profile) that will work:

First is a single color "race mode":

set ledstrip_profile = RACE

set ledstrip_race_color = ORANGE
Allowed values: BLACK, WHITE, RED, ORANGE, YELLOW, LIME_GREEN, GREEN, MINT_GREEN, CYAN, LIGHT_BLUE, BLUE, DARK_VIOLET, MAGENTA, DEEP_PINK

Next is "beacon mode" that flashes a selected color and pattern:

set ledstrip_profile = BEACON

set ledstrip_beacon_color = WHITE
Allowed values: BLACK, WHITE, RED, ORANGE, YELLOW, LIME_GREEN, GREEN, MINT_GREEN, CYAN, LIGHT_BLUE, BLUE, DARK_VIOLET, MAGENTA, DEEP_PINK

set ledstrip_beacon_period_ms = 500
Allowed range: 50 - 10000

set ledstrip_beacon_percent = 50
Allowed range: 0 - 100

set ledstrip_beacon_armed_only = OFF
Allowed values: OFF, ON
Was this page helpful?
0 / 5 - 0 ratings

Related issues

TonyAcroFPV picture TonyAcroFPV  路  3Comments

adamweld picture adamweld  路  4Comments

MastroDado picture MastroDado  路  4Comments

Piece0fPaper picture Piece0fPaper  路  3Comments

DubLD picture DubLD  路  3Comments