inav icon indicating copy to clipboard operation
inav copied to clipboard

Feature request: simple LED control in LED Strip tab

Open Ozyris opened this issue 9 years ago • 7 comments

Hello.

Is it possible to add simple ON/OFF feature on LED Strip pin to control illumination mosfets? For example when arming motors send digitalWrite High on LED Strip pin.

Ozyris avatar May 15 '17 17:05 Ozyris

I think you can configure that already. Just select black color (leds off) for disarmed.

Am 15.05.2017 um 19:10 schrieb Ozyris [email protected]:

Hello.

Is it possible to add simple ON/OFF feature on LED Strip pin to control illumination mosfets? For example when arming motors send digitalWrite High on LED Strip pin.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

skaman82 avatar May 15 '17 17:05 skaman82

Is it simpler than change pin state? With this feature possible many things, not only switch lights.

Ozyris avatar May 15 '17 18:05 Ozyris

Making binary output from led-strip is pretty easy. All you need is a module like this one: http://allegro.pl/modul-led-ws2811-rgb-ws2812-neopixel-arduino-avr-i6765766807.html

You can easily replace led with mosfet to control anything. And you can chain a number of such devices. Alternatively you can just use the ws2811 chip, but module like the mentioned one is easy to use and costs close to nothing.

krzysztofmatula avatar May 15 '17 19:05 krzysztofmatula

Isn't that the purpose of LEDLOW? LEDLOW is added to the Modes page when you activate LEDstrip, and linking LEDLOW to an AUX channel allows you to turn all LEDs on or off without affecting their settings or assignments, so it somehow must be changing the state of the LED digital input line.

Bobrcnut avatar May 23 '17 17:05 Bobrcnut

LEDLOW works well allowing to torn off the lights when activated. It basically forces black color for all elements of led strip. You still need ws2811 controller.

krzysztofmatula avatar May 23 '17 20:05 krzysztofmatula

This issue / pull request has been automatically marked as stale because it has not had any activity in 60 days. The resources of the INAV team are limited, and so we are asking for your help. This issue / pull request will be closed if no further activity occurs within two weeks.

stale[bot] avatar May 13 '18 14:05 stale[bot]

Automatically closing as inactive.

stale[bot] avatar May 27 '18 14:05 stale[bot]