Support LED stripes
Hello,
it would be nice if we get back ports for GPS and Arming status on PIXHAWK.
eg. AUX OUT 1 on the PIXHAWK corresponds to the A7 (arming) on the APM AUX OUT 2 on the PIXHAWK corresponds to the A6 (GPS) on the APM
So we could continue to use our old hardware. The external RGB Led is not yet available.
regards Peter
+1
+2 Darn I thought that was possible :[
+3
+4
@rmackay9 fixed yet?
3DR sells the Toshiba LED separately now so I think that will help some people. I don't think it makes sense to recreate the old APM2 style of LEDs on the pixhawk instead we need some new hardware that supports an I2C or CAN interface and allows some bright LEDs to be placed out on the arms. So I think this issue is stuck waiting for someone to make appropriate hardware.
I got one of these http://www.goodluckbuy.com/apm-px4-pixhawk-flight-controller-universal-rgbled-bln-module-dual-led.html and need up letting it stick up out the top of my quad using some heat shrink tubing for support. It works amazingly well. But there is room for improvement. It would be great if there was some hardware that could connect to the 12c that let you connect additional lights like lights under the arms which are much more visible.
Can you tell us a little about the function of this thing? Does it give status indications and such, or is it just an LED driver and an LED?
Yes it's a multi colored LED that works just as the pixhawk LED does. All 4 colors. The pic above shows it with a gps lock.
Its simply connects to the I2C port... same place the gps / compass goes. You use that 'splitter' that comes with the pixhawk that lets you add other things. Plug and play so to speak.
From the picture it might be confusing but @govsux is referring to the little green led that is sticking up at the top. he's not referring to the red and green LEDs that are below the copter.
The goodluckbuy LED is likely the same as the toshiba LED that 3dr sells. http://store.3drobotics.com/products/pixhawk-peripheral-kit
Very similar but the goodluckbuy's has an LED on both sides which is nice for better viewing.
Here's a link to an LED strip which has 30 individually controlled LEDs. I suspect each LED is controlled by I2C but at one end of the strip is a small chip that accepts a serial command. http://www.ebay.com.au/itm/1M-Black-PCB-WS2812-WS2811-RGB-LED-Strip-1M-30-Leds-Individual-Addressable-5V-WP-/161254669814
This link comes from Martin on this discussion: http://diydrones.com/group/arducopterusergroup/forum/topics/pixhawk-external-led?commentId=705844%3AComment%3A1824215&xg_source=msg_com_gr_forum
Datasheet http://www.spikenzielabs.com/Downloadables/ws2812.pdf
I need this funktion! (on a AUAV-X2). On my quad i have 4 LED-stripes (single color) and i want to switch them ON when armed, and OFF when disarmed.
@proficnc, aren't you releasing some LED's in the future, possibly related to this?
I also noticed that single LED's can be connected, however I don't think that solves this specific issue. http://ardupilot.org/copter/docs/common-external-leds.html
A diy solution is here: https://github.com/prickle/Mavpixel
It’s possible to roll support for ws2812 or APA102 style LEDs in (@bugobliterator has such a branch iirc).
Yes, the profiLEDs are already available from resellers and can be run using @bugobliterator ‘s code. (These are NOT ws2812 LEDs, they are not good for a flight computer as their timing requirements are too strict)
The only (strictly) tight timing on ws2812 is max length of a 0 bit, 500ns. We achieve far tighter timing with DShot 1200, which is about 300ns iirc. DShot and ws2812 wasn’t practical to attempt under nuttx, but under ChibiOS it’s more a matter of developer priority than any technical constraint.
An esc is flight critical... an LED is not. This was covered a long time ago (back in 3DR days) when we decided not to support the WS... LEDs. This is why we developed the ProfiLED, it has zero timing requirements, so can be run as a low priority thread.