Introduction: DIY Receiver Controlled Switch (Cheap and Easy)
I ran into a small problem one day while I was building my first quadcopter! I wanted to have lights on it but I didn't want them to always be on, like while I was flying during the day. Now of course there is always the option of buying one, but I didn't want to wait for one to come snailmail! So I set about building one. All it takes are a few parts any DIYer should have laying around and the circuit is very versatile! This circuit is small enough to fit on your quads or planes, and is powerful enough to drive almost 8 meters of 12 volt LED strips. *
Difficulty level: Breezy: Easy: Medium: Time-Consuming: Hard: Expert: Master:
*refer to your own LED strips datasheet to see how many amps they draw.
Step 1: Ingredients:
- Arduino (optional, see video)
- ATtiny 13,45, 85 or similar
- TIP120 transistor or equivalent, or any N-Channel MOSFET
- 1kΩ resistor
- 8 pin DIP socket
- 2 pin screw terminal
- 90 degree pin headers, 3 in a row, and 4 in a row
- Jumper wires
- LED strip
You will need a few more parts but I'm already assuming you have a quadcopter/plane built, or have parts needed to build one. Just in case here's what you'll need from your quad/plane.
- 3 cell LiPo
- ESC (to power the receiver)
If you are going to use a TIP120 transistor know your limits! This transistor can only handle 5A of continuous current. Refer to the datasheet of your specific transistor to find the limits. For a 12 volt LED strip of about 1 meter 5A max is plenty! My LED strip draws about .6A for 1 meter, so testing yours with a multimeter would be a good idea.
Step 2: Code and Schematics
Step 3: Watch the Video
Step 4: Taking It Further
The code I gave you was quite simple! Using the same device I changed the code up a bit so that the higher the throttle input there is the brighter the LEDs get. You can check out that code here.
Hopefully soon I will have a PCB version of this project. That way you can keep everything neat and tidy and there would be less soldering to do. All you'd have to do is make/buy the PCB, pop the parts in, and solder them down! All the connections would be already made. But, that's for another day!
Thank you very much for watching the video/reading this instructable. If
you have any bright ideas, questions or comments please PM me or leave them in the box below!