Multi-Color LED Controller
by Just4Fun Media in Circuits > LEDs
1562 Views, 14 Favorites, 0 Comments
Multi-Color LED Controller
This project allows your MediaTek LinkItOne to control multi-color LED strips and set the strip to any one of 1,070,599,167 different colors. The possibility are endless of how and where this control precision can be implemented.
For the project you will need:
- 5050 Multi Color LED Lights (or equivalent)
- A male and female LED connector plug
- A solder-less breadboard with jumper wires
- A 9volt battery and battery connector
- 3 MOSFETS (I salvaged some off of an old printer)
- A MediaTek LinkItOne
A huge thank you to instructables, autodesk, MediaTek, and Penolopy Bulnick for sending me the Link It One used in this instructable.
Check Out Our Other Accounts! Like, Subscribe, and Follow to keep up to date with our latest projects. :-)
Wiring
Place the three MOSFETS onto the development board, then run jumper
wires from the center pins to two of the LED outs and one regular digital pin on the LinkIt. (I ran the blue to the digital pin, so my blue LED's will only have I/O control) Next connect a split LED strip connector to one side of each MOSFET, and the hot wire to the power strip. Then run jumpers from the other side of each MOSFET to the ground strip (NOTE: I mixed up the wires in my photos, if you do this just swap the battery leads to resolve the problem :-). Next connect the 9 volt battery to the to the battery clip, and the wiring harness to the connector on the development board. You are now ready to start programming.
Programming
Mosfets can either be controlled by a PWM pin (its value may vary from 0 to 1023) for controlling the brightness of the LEDs or by any digital pin (its value may be on or off).
Define the chosen pins as outputs using the "pinMode" command ie) pinMode (D9, OUTPUT)
To send a signal to the pin use the "digitalWrite" command ie) digitalWrite (D9, 1023);