Introduction: 20W LED-strobe for RC-aircraft
This is my very first instructable, and keep in mind that English is not my native language. When that said, the idea was to create a strong strobe light with minimum weight and power consumption for use on my homemade, radiocontrolled multirotor drones (Ardupilot of course ;) ). When flying at higher altitudes and/or longer distances, it's difficult to have good visual contact with the aircraft. So I thought a flashing high-powered light would help me see it even when it's far away. In "old days" we used xenon flash tubes w/high voltage circuitry to accomplish strong flashes. Many kilowatts in a few microseconds can be substituted by watts in milliseconds, giving the human eye the same impression of light. Today we have high powered LEDs on the market for a very reasonable price. This is how to make a 20W pulse LED-strobe working at voltages between 11 - 16 volts DC (3S - 4S lipo), in a compact and lightweight package.
Edit: NOTE: Some Chinese clones of the Pro Mini will burn at 12V and more, as the internal 5V regulator doesn't accept input voltages above 12V. To solve this I recommend a 4.7v zener diode in series with the +V from battery to the "raw" input on the Arduino. Remember that zener diodes should be connected in the opposite direction; e.g. the cathode (marked with a ring) against the battery side. Other alternative is to use a cheap 7805 voltage regulator, and power the Arduino with +5V into the "Vcc" (not "raw").
Step 1: What You Need From EBay (or Other Source):
2 pcs. 10W cool white LEDs (approx. USD 3 for both - be sure it's the 9-12V/900mA version)
1 pcs. Arduino pro mini clone, 5V/16MHz (approx. USD 2)
1 pcs. IRF540N MOSFET transistor (You can buy 10 for less than USD 3)
Some wires and (optional) transparent heat-shrink tube, 20 mm with before shrinking
Step 2: Programming the Arduino Clone
You should first program the arduino, or else (like me) end up in the end soldering Tx/Rx lines on the finished strobe. How to program the Arduino is not explained as I presume you know how to do this. The code will follow with explanation in the end of this instructable. If you like, you may also solder some header pins to GND, Tx and Rx for later modificatons of the software. It's up to you. My goal was to keep the weight to a minimum.
Step 3: Assembling the Parts:
On the backside (no components side) of the Arduino I've sticked som double-sided tape, and fixed the two LEDs onto the Arduino as pictured. Remember to fix the LEDs so they have the same polarity on each side. The heat sink on the LEDs is not conducting any current nor connected to the anode or cathode on the LEDs.
Step 4: Solder LEDs Together:
Use some wire to connect the two LEDs together; anode to anode and cathode to cathode. Or the easy explanation: + to + and - to -. You can trim the edges of the LED's connectors, so that it will be a smaller footprint on the final build.
Step 5: Gluing the MOSFET
I've used fast dry superglue to mount the MOSFET as pictured on the backside of one LED. Also I've cut most part of the legs,
Now it's time to solder it all together. The legs on the MOSFET is as pictured (seen from left to right on the heatsink side): 1 - drain, 2 - source and 3 - gate.
* The "minus" (-) side of the LEDs should be connected to source (leg in the middle) on the MOSFET
* The "plus" (+) side of the LEDs should be connected to "raw" on the Arduino (not Vcc), and also the +12V power wire from the battery/power source
* The ground wire (minus wire from 12V power) should be connected to GND on the Arduino, and to leftmost leg at the MOSFET (drain).
* Finally, the gate on the MOSFET (rightmost leg on the pictures) should be connected directly to pin 13 on th Arduino with a short wire.
If you want, you can pack it all in a transparent shrink-tube to protect the circuit from rain and dirt when installed on the drone/aircraft. With approximately only 15 grams of mass, the finished product is very lightweight for it's use.
You may change the code yourself of course, but be aware that if the duty-cycle of the LEDs is to high, they will get very hot and probably damaged. In this code there is a total of 1240 mS (milliseconds) for one cycle, in which the LEDs are turned on only 40 mS. This gives us 40/1240 * 20 = 0.65 watts average power consumption, even when the LEDs are flashing at full 20W power in pulses. They will not get hot at this average level. This is also good news for the aircraft's battery in respect of flight time.
NOTE (!!!!):
The battery power shall to the "raw" connector on the Arduino, NOT the "Vcc".
The Pro mini (and it's 5V clones) have a built-in voltage regulator which accepts voltages up to 16V or more, and regulates the voltage down to 5V internally on the board. This is important - if you confuse the "raw" input with the "Vcc", you WILL damage your Arduino.
Step 6: Code and a Short Video
Practical tests have shown that the strobe is clearly visible at least 400 ft (120 meters) away on a clear, sunny day. In darker conditions the strobe will, of course, be visible at much longer distances.
Enjoy the project!
44 Comments
2 years ago
Video from a fan, using this strobe with 3 x 10W LEDs.
2 years ago
hi can you attach the program you used?
Reply 2 years ago
Hi. The code can you download at the end of the instructable. Good luck!
7 years ago
what makes the led flash 3 times? is it the mosfet or arduino?
Reply 7 years ago
It's the arduino counting, the mosfet flashing ;)
Reply 7 years ago
ty.. can i use these things using 12v power? how?
Reply 7 years ago
You should consider to follow this instructable with the Arduino pro mini. I can't assist you in building with another parts, as the attiny. But it is possible to use this MCU if you can program it.
Reply 2 years ago
can you help me prograd the arduino
Question 3 years ago on Introduction
How many grams does this weigh? I was thinking of making this for the mavic 2 zoom drone. My hopes are under 60 grams with battery.
Reply 3 years ago
Thanks for asking! This is relevant information I forgot to write in the instructable. It weights about 20 grams w/o any cables or battery.
4 years ago
Please hw do u program the adruino
Tip 4 years ago
I'm surprised no one else has spotted that the MOSFET used is not a logic level MOSFET.
The IRF540N, because it is not a logic level type, will not switch fully ON as the controller can only provide 5V to the gate.
The IRF540N needs at least twice that gate voltage to operate efficiently.
That is the reason it will get hot with high duty cycles, replace with a "logic level" specified MOSFET and your LEDs will be brighter and your circuit run cooler...
Tom..
Reply 4 years ago
You are absolutely right. I made this instructable intentionally with the IRF540N and not a logic level (e.g. IRL540N for instance), as there is no current limiting resistor for the LED. The lack of saturation in the FET compensate for that. I decided to publish a proven circuit which will work between 12 and 16 volts without any appreciable problems for beginners in electronics. And as I understand, it works great. Thanks for commenting.
Reply 4 years ago
Good catch..
A nice feature of a FET is hot improves gain, see the VDS, Drain-to-Source Voltage (V) plot at TC = 25 °C and TC = 175 °C..
The load current per the author is 900ma per LED for a total of 1.8 amperes well below the 17 Amp test current and the 20 A continuous drain current ..
Then the Gate-Source Threshold Voltage VGS(th) is2.0 min to 4.0 max Volts across the parts bell curve..
What I'm saying is the Author got away with a dodgy design as seen in the video this time !
7 years ago
Thank you for this. If I wanted to use this on the ground, and use brighter lights, like 50w or 100w LEDs , How can do that? What would be the right MOSFET? Thank you so much
Reply 7 years ago
Hi. The problem with higher powered LEDs than 10W is that they require a higher working voltage than 12V. If you know how to do it (power the arduino with less than 12V at "raw" or regulated 5V to the "Vin"), it should be no problem. The MOSFET I suggest can handle up to 60 volts and 33 amps. Another way to do this is to use several 10W LEDs in parallel in a 12V system. As they use about 1A or less each, you can use up to 20-25 x 10W LED in this construction. For higher currents you can connect two or more MOSFETs in parallel too (pin 1 to 1, 2 to 2, 3 to 3). I suggest max. 3 MOSFETs directly from the arduino. If more I would use some kind of buffer between the arduino output and the gates on the FETs.
So if you can use 10 pcs of 10W LEDs to accomplish your goal, then you can do so without any changes in the rest of the circuit, except probably also use an electrolytic capacitor (470µF/16V) between the GND and RAW on the ardino (+ to RAW), to avoid resetting at higher power surges. Good luck!
Reply 5 years ago
Use 5w led
5 years ago
Sir how to program adruino
5 years ago
does it use for bike 12v battery?
is it harmful or not ?
Reply 5 years ago
It will work very well.