Hello guest, if you read this it means you are not registered. Click here to register in a few simple steps, you will enjoy all features of our Forum.
This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
4 seperate LED strips - how to configure individually ?
#1
I have connected 4 LED strips  (WS2812), 
They are connected directly to the FC sockets (SucceX-E F4),
When I try to configure it in Betaflight, It claims that I have 32 (+1) LEDs, but after defining 32 LEDs on the wiring diagram, It lights all #1 LEDs in the same color, then, all the #2 LEDs in the same color, etc...
What am I missing ? each strip has actually 6 LEDs.
I want each strip to light in different color...
Reply
Login to remove this ad | Register Here
#2
You need to chain each LED strip together, one after the other. Only the first strip actually connects to the FC.

So connect the first strip to the FC, then the second strip to the end of the first strip, then the third strip to the end of the second strip, and finally the fourth strip to the end of the third strip.
Reply
#3
Off course I trust your knowledge, but it sounds weird, as there are 4 led sockets in the FC, so what are they there for ?
Reply
#4
You can only use the individual sockets if you want all strips to behave exactly the same (i.e. they are wired in parallel, so LED 1 on ALL strips do whatever you programmed LED 1 to do in betaflight, LED 2 on ALL strips will do whatever you programmed as LED 2 to do in Betaflight, and so on). If you want every single LED to be individually programmable, you have to chain the strips together.

Have a watch of the following video...

Reply
#5
Yep, that's exactly how they behave.
So I'll have to live with that behavior for now. very weird that Betaflight doesn't know to deal with 4 sockets...
At least my companion will be able to see the quad far away, even though he won't be able to know whether it is flying away or towards us.
Next time I'll wire them in series.
Thanks a lot
Reply
#6
(23-Jun-2020, 08:27 PM)doronba Wrote: Yep, that's exactly how they behave.
So I'll have to live with that behavior for now. very weird that Betaflight doesn't know to deal with 4 sockets...

The way that WS2812 LED programming works is that the programming data for all 32 LEDs is passed to the first LED. That LED processes and then strips off the the first block of programming data and passes the remaining 31 blocks of programming data to the second LED. The second LED processes the first block of programming data (which was originally the second block of programming data) and passes the remaining 30 blocks of programming data to the second LED, and so on until the last LED in the chain has been reached, up to a maximum of 32 LEDs.

There is only one string of programming data. For LED strips wired in parallel like yours, the same data gets passed to all 4 strips and the above processing occurs on all 4 strips in parallel. Each strip doesn't know anything about the other strip and just processes the data independently from the others.

Betaflight could of course provision 4 separate resources for 4 separate sets of LED programming data but doing that just uses up valuable resources that are better used elsewhere. So it's a compromise.
[-] The following 1 user Likes SnowLeopardFPV's post:
  • doronba
Reply
#7
WOW, cool info.
thanks
Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  LED Strips (diffused) the.ronin 2 333 04-Aug-2022, 01:02 AM
Last Post: Lemonyleprosy
  Switch buzzer to led? Redazu 5 3,884 16-Oct-2017, 03:32 PM
Last Post: McDee
  Help LED Naze32 Spektrum Satellite Rx Kgb1 9 2,234 21-Sep-2016, 04:07 PM
Last Post: Kgb1
  Naze32 LED problem CurryCat 2 1,612 02-Jul-2016, 01:56 AM
Last Post: CurryCat
  Help LED not working in Betaflight DragonFly 2 10,341 02-Jul-2016, 01:07 AM
Last Post: BigglesFPV


Login to remove this ad | Register Here