Good day to everyone,
I am currently working on a custom drone project and I would like to use an externally connected RGB Neopixel LED string to an Orange Cube+.
Does anybody have instructions available on how to configure it, both wiring and parameters, so that it will report the flight controller status?
Any help with this will be greatly appreciated.
Thank you in advance!
Thank you for sharing the link, I have read it previously but I am still not able to make my RGB LED work.
Here is my setup:
- Cube Orange+
- Neo Pixel LED light strip with 3 LEDs
The LED’s signal wire is connected to channel 8 of the Main Servo Output
Since I’m connected to that channel, I have set the Servo8_Function to 120
In the NTF_LED_TYPES I am setting it to 256 (Neopixel)
Still no luck with getting them to work
Screenshots are attached for reference.
Is there anything you can suggest to continue looking at?
I suspected there is an ongoing issue with neopixels and some firmware version, but I cant find a reference to that now so I’ll keep searching. Maybe I’m wrong about that too.
Just to cover off the basics, do you have:
- a 5vdc supply for the LEDs
- a common ground between the LED strip, the 5v power supply and the Cube servo negative pins
Also what other Main and Aux outputs are in use?
Maybe a photo or even hand-drawn diagram of your wiring…
Earlier firmware may fix the issue, Copter 4.3.7 would be the earliest I would try in the 4.3 range. Otherwise try 4.2.3
There is this discussion, yet to be turned into an official bug or receive a fix
A fix has been found and is in testing. Hopefully it gets backported to the Stable release firmware
You should be able to use this modified script “My workaround (strobes work upon arming):” from the discussion below. It’s not a permanent fix, but should keep you out of trouble for a while
@xfacta @Ronald The reason that NeoPixel LEDs don’t function on Cube is because they require > 0.7*Vcc signal line, Aux pins put out 3.3V and generally power tends to be solid 5V.
The best solution is to use ProfiLEDs available here: CubePilot - ProfiLED-2m reel - Autopilots from 3DXR UK https://nwblue.com . Documentation for the LEDs is here https://docs.cubepilot.org/user-guides/profiled/profiled . We have had LED strips designed specifically for Our Cubes for quite sometime, and its encouraged that they be used to get the best result.
Regarding NeoPixels, to make them work you need to place a Pullup (around 5K Ohm to 5V) on the signal pin to drive the signals to meet the specification for them. Once you do that I believe they should start functioning. If you are still having issues please let us know.
I know that there is a fix here NeoPixel — Copter documentation but for Cubes the fix that I recommend is the one to take, and is a clean solution that works for cubes as we have Protection Circuit, which allows us to safely place a pull-up on the signal end.