LibrePilot Forum
General Category => General Discussion => Topic started by: Bariton26 on October 16, 2017, 05:27:25 pm
-
Hello,
I compiled the latest next version.
Looks very good, nice autotune page, oplink is ok, Bluetooth interface with oplink ok,
only my ws2811 leds dont work anymore.
I connected one strip of 8 leds to servo output 5, but the leds stay dark. They worked in version 16.09
Any suggestions?
-
Hi, welcome.
What board are you using ?
Did you configure outputs with DShot ?
Maybe you can post your config file here.
** Edit: Seems related to LP-544 issue (https://librepilot.atlassian.net/browse/LP-544)
-
Hello,
I am using Revolution.
Servo output 1-4 are oneshot 125, output 5-6 are Dshot.
I have attached the uav file of my configuration .
I did not yet try receiver Port 3 or 4
-
Why mixed outputs using OneShot125 and Dshot ?
pin 3 and pin 4 from Receiver port will work.
-
I use oneshot 125 for the servo outputs and dshot for the led strip.
I tried Dshot for all servo outputs, it did not work.
I tried pin 3 of receiver port, it did not work
-
That was my solution a while ago... I gave up using WS2811 and use telemetry instead.
I recall seeing an issue with the 2811 LED support in next. @Mr_w provided a work around.
Edit: Ahhh... Just above, here in this thread. It doesn't work around your issue well enough? Maybe go back to an older version for now?
https://forum.librepilot.org/index.php?topic=3576.msg24594#msg24594
-
I didn't recall the workaround but seems not working.
Just tested bank4 set with DShot and ws2811 connected to servo output, the WS2811 give some sort of blinking but not related to normal WS2811 colors and blinking.
FlexiIO pin3 works fine here and pin4 will be the same.
(https://librepilot.atlassian.net/wiki/download/attachments/12812390/revo_flexiIO.png?api=v2)
pin3 and pin4 are generally not wired, you need to add the wires to the original connector.
Revo mini clones do not have those pin3/pin4
-
Yes and no is not working, it shows something but not as expected. In my case a have de revo mini clone so no solution for me for now. I also think it will be fair to modify the settings in "next" so the only pin3 and 4 from FlexiIO should appear as option, as long the other servo pins don't work.
-
WS2811 led receive some digital data from Dshot en show something but definitively not the normal blinking.
Solution for you is solder a thin wire to the pin 33 or 34 into the CPU.
I also think it will be fair to modify the settings in "next" so the only pin3 and 4 from FlexiIO should appear as option, as long the other servo pins don't work.
Simply remember you are using a development version.
Check from time to time the Jira page LP-544 (https://librepilot.atlassian.net/browse/LP-544) and Pull request where the issue will be solved.
-
Hi,
can you both try this one https://bitbucket.org/mindnever/librepilot/branch/LP-544_fix_ws2811_servo_conflict
I have bench tested this and looks good. This should fix these conflicts for good.
There is also pull request, https://bitbucket.org/librepilot/librepilot/pull-requests/473 so please approve if you find it solves your problems :)
-
I tried your branch but it did not solve the ws2811 problem with my revolution board.
I see sometimes random leds on and off, but not a recognizable patron.
I tested it on servo output 5 with dshot, pwm, oneshot125. But no results.
Also on input pin 3 no results, sometimes one or 2 leds are on with random colors.
-
You just need the output you want for WS2811 without something configured on it, looking at Output tab.
FlexiIO-Pin3 works as expected here and should work the same in your side.
Please post your config file.
-
Flexi 3 output also did not work in version 16.09, only servo outputs worked, perhaps it is my clone revo board.
-
Config file so i can check your config and see if finally works as expected ?
Edit: Using the config file you posted above #3 post, the output5 works fine using mr_w's branch.
FlexiIO_pin3 works also with the same branch and 16.09 release.
There is definivelly another issue in your side.
-
WS2811 led receive some digital data from Dshot en show something but definitively not the normal blinking.
Solution for you is solder a thin wire to the pin 33 or 34 into the CPU.
I also think it will be fair to modify the settings in "next" so the only pin3 and 4 from FlexiIO should appear as option, as long the other servo pins don't work.
Simply remember you are using a development version.
Check from time to time the Jira page LP-544 (https://librepilot.atlassian.net/browse/LP-544) and Pull request where the issue will be solved.
These days the only thing we use is the development version...
-
These days the only thing we use is the development version...
Can you test the mr_w branch and report results in PR ?
-
Sure, I'll try that tomorrow, thanks!
So will be no hiccups, can you link a compiled mr_w branch if you already done it?
-
Using latest next build (https://drive.google.com/open?id=0B5d_9OcqQj8BaHIzemZRY1QzM1U), here is the LP-544 firmware for various boards, flashing using the rescue method. (https://librepilot.atlassian.net/wiki/spaces/LPDOC/pages/5669250/Firmware+Rescue)
-
Hi, tested, works! See movie. (http://tinyurl.com/ybz6vnac)
Thanks.
-
I tried your lp-544 buildwith revolution firmware, it did not work with me, strange, because it worked in 16.09 version. So it must be my clone revolution board.
Thx anyway, I will rely on the telemetry.
-
I think you should double check wiring and settings, because I do have a mini revo (cheapest Chinese clone available) and the fix was fine. :) And I do rely o telemetry especially when the "thing" is in air.