Setting up LEDs on your flight controller
Вставка
- Опубліковано 17 лип 2024
- In this video we look at how to add addressable LEDs to your flight controller. I'm demonstrating this on iNav, but it will also work on Betaflight and Cleanflight. We go through the entire process, from what type of LEDs you need to get, how to wire them, and how to get them working in the configurator.
Contents
00:00 Introduction
00:31 What type of LEDs do you need to get (links in description)
01:03 How to wire up the LEDs
05:31 Don't forget to plug in a battery
05:57 Enabling LED support on the flight controller
06:32 Adding a switch to turn off the LEDs
07:04 An overview of the LEDs page
07:34 Adding your LEDs in the configurator
09:06 Setting the functions for your LEDs
13:54 Conclusion
Products in this video
Matek F405-WING Flight Controller bit.ly/MrD_2sxgQLT
FrSky R-XSR Receiver bit.ly/MrD_2qZLhsz
WS2812 individual LEDs bit.ly/MrD_2KBjN8t
WS2812 strip LEDs bit.ly/MrD_30z60FU
WS2812 circle LED set bit.ly/MrD_3hyUgK0
If you found the video useful, I'd appreciate a thumbs up. If you would like to get more videos when they become available, please subscribe and click the notifications bell icon. If there are links above, they may be affiliate links. If you click them, it will help me and my channel at no additional cost to you.
There are more tutorials on my web site at www.MrD-RC.com. You can also join like-minded people at the Fixed Wing RC Rebels group on Facebook. Also, if you found my videos useful, and would like to leave me a little tip, you could always buy me a Coffee at www.mrd-rc.com/go/ko-fi/
Thank you for your time, and don't forget to fly it like you stole it! - Навчання та стиль
Thanks I appreciate you going over all the most commonly used LED modes. Building my first plane that isn't a PNP. Going RC Dolphin and bought some led strips and now I want to order an LED ring for the motor.
Nice. I do like the LED rings around motors. I think they look cool.
Really useful. You are the only one that I know of that is showing the "programming" side of the hobby it seems. Thank you.
Thanks Pete. I’m trying my best. I just try to think if the videos or information that I couldn’t find easily when I first started. Then try to make it easy to understand. If there are any topics you’d like covered, please feel free to drop me a message, and I’ll add it to the list.
Arwing Pro will become fancy
Light it up Silvio 🙂
Great thx Darren, very useful tutorial 👍👍👍
Thank you 🙂
Awesome vid. Easy to understand, now I can get mine working the way I want!!! Thanks very much for this vid!!!
No problem. I’m glad it was helpful.
Highly useful buddy. Thanks
Thanks Arthur 👍🏻
thanks for video just what i was looking for !
You’re welcome Ralph.
Awesome video, thanks 👍
Thanks Sergio
ahh Daren i m falling in love with you....r pedagogy; every video is a piece of cake; thanks once again for the time you devote to us poor sinners....
Thank you.
You’re welcome
Great video and greet Help! I'll he recommending your channel! 💪💪👊👊
Thank you, I really appreciate that. But more so, glad the video helped.
Great video!!! Any reason why you started at the bottom of the grid? Does it matter where we start on the grid?
No, you can start anywhere on the grid. I usually like to lay them out on the grid as they are on the plane. Then it’s easier to know where you are.
Great video! Wish you didn't need to keep a chain going. Would be easy to set up navigation lights.
It is a little inconvenient. But I did it with my S1100. I think for most things going forward, if I want nav lights, I’ll just use the flytron strobon LEDs. They’re really bright and switchable.
Hi how to make the LED Blinking fast like a beacon?
Do you know what is the use of the LED orientation (N, S, E, W, U, D) in the configurator ?
Honestly, I don’t really know. I guess it would be based on the compass. It’s not really something I could see being useful for fixed wing, so I’ve never really investigated it.
Nice video!
Just a question, can you adress a UART-port to a LED-port? My FC doesn't have a pad for led.
Thank You Emile. Unfortunately not. Well, not just by using iNav. You could possibly do it by making your own firmware target and reassigning something to be an LED output. But I’ve not really looked deeply in to this.
@@MrD Thx for answering! It'll be a plane without led's 😅. I don't have the know-how to make my own firmware.
The other option is to use an external LED controller, like the MudDart MudLED module.
hi @Mr.D is it possible to connect 2 led strip in parallel ? ty
Yes, you can connect as many strips as you like in parallel. Just be wary of the power requirements, as it may be better to use a separate 5v BEC if the amp draw gets high.
Hey question about the matek 405 wing flight controller... Fc working fine until I flashed the newest firmware. Now it will connect to I nav but it will not respond to the set up tab. When I move my Fc it doesn’t move on the screen? Any ideas why this would be?
Try reflashing. Make sure you’re selecting the correct target. I have an F405-WING as my test flight controller. It’s been fine on 2.6.1.
Thanks for your INAV vids! My plane has navigation LEDs (one color, non-addressable). I would like them to blink when INAV is armed. Can this function be made to control non-addressable LEDs?
Thanks Mike.
Unfortunately not. You would need a blink circuit between the power for the LEDs and the LEDs themselves. The iNav LED feature is only for addressable LEDs.
@@MrD Thanks for your reply Mr.D! It's crazy that a flight controller can't make a couple LEDs blink! On my (H743-WING V2) I believe it has a switchable 5V output on the Vsw pin. I think switchable means that the Flight Controller can switch the voltage on/off? Maybe I could connect my LEDs to this Vsw output and set up some logic in the programming tab to blink the LEDs when armed? Do you think that can be done?
No problem. The flight controllers can make LEDs blink. They just need to be the right kind on LEDs ;)
Unfortunately the logic conditions won't help either. There is no timer logic that could do this. If you're using OpenTX, EdgeTX, or ETHOS; you could use the logical switches and timer on there to change a channel from -100 to 100. Then have that channel operate the USER mode that switches the Vsw on and off. But I honestly think a little timer circuit or even ESP32 or nano Arduino would be the better solution. Depending on the LEDs, they may pull more amps than the Vsw pad can handle.
Yeah, I would like the extra functions addressable LEDs would give, and I have some of those LEDs lying about. I just didn't want to tear apart the preinstalled wiring and LEDs or install extra hardware. I now have the arming channel also controlling the USER mode to switch the Vsw on/off (but doesn't blink LEDs). I could put it on a different channel and setup the timer circuit in EdgeTX. I have two channels still free (until I purchase and install a Pan/Tilt camera setup.) I might do that if the programming logic can't control Vsw. I appreciate your help!
Using inspiration from your suggestions, I was able to get INAV to blink the LEDs without any more hardware. I checked the current draw of the 4 LEDs, and it was less than .2 Amps, so I opted to power it off the Vsw output.
In INAV, under Programming I set up timer logic (using your above video and a video from Pawel ua-cam.com/video/kmRSIfI_h7M/v-deo.html).
When armed, the timer overrides CH16. Under Modes/USER, I setup CH16 to control the Vsw output.
Here's a link to how it works: photos.app.goo.gl/R7i6KkTzyvxXVsYT8
Thanks again for taking some time to help me with this!
Good evening! Hey will INAV 6 allow you to program more modern LEDs like the SK6812s?
No, it is just using the WS2812 standard.
@@MrD thanks bro, you saved me
Hi ... how much curent they will drawn let say if Im using 32 bit leds. 16 on each side of the wing ?
It concern me for long range.
Approximately 1.34A per hour. Without knowing the exact LEDs this is approximate; based on the standard 5050 LED boards or strips.
32 LEDs at 0.21 W each = 6.72 watts
Running at 5v = 1.344Ah
Running at 12v = 0.56Ah
This is of course, with all LEDs on all the time. I’d they are fading or alternating, they will use less energy.
@@MrD thanks
You’re welcome
how can you display the autolaunch mode? i mean, when you arm the wing, i would like to get the information that autolaunck is ready to use. is it possible?
It shows the state of autolaunch in the system messages.
Help to understand please, there is a ring on the plane.. with 16 LEDs. i can't figure out how to make it work the same way when you increase the gas stick as you have in the video
Sorry for the late reply. It should be exactly the same as in the video. You would just add the 16 LEDs for the circle instead of the 8 that I have used.
I tried the LED stuff for hours (ws2812) - not working - then i saw, that u need to connect the lipo, to make them work....:/
Yeah, it kind of helps if they have power 😄
I have the Heewing T-ranger and I can’t get the lights on both wing tips to work. Everything is connected properly to Matek F405WMN board what am I doing wrong!
Sorry I don’t have one of those yet. I believe the PnP and kit versions had different LED setups. One needed an extra board that HeeWing sell to work in some cases. But I don’t really know much details. You’d be best asking in a HeeWing or T1 group.
Where did you get that shirt?
I honestly can’t remember now. It was a while ago. Possibly eBay or Etsy?
Does this work on arduplane?
To be honest, I don’t know. I don’t even know if arduplane can control LEDs. I would imagine if it can, the wiring would be the same, and there would be some settings in that giant parameters list.
I am looking to try arduplane at some point. As I think it will be worth learning. But last time I gave up as the MissionPlanner UI is badly designed, and the guide on the ardu wiki was wrong. But I will try again.
Arduplane is real good now you should give it another try. I am glad I took my time to learn it and the new firmware is a breath of fresh air. I do not look at inav anymore. However this led thing is tempting. I have some leds lying around) But there is no information if those leds can be supported and controlled via Arduplane