Know How...

May 19th 2016

Know How... 213

Arduino Controlled Lighting

Use potentiometers with an Arduino to control LED lights!

Although the show is no longer in production, you can enjoy episodes from the TWiT Archives.
Category: Help & How To
We build an Arduino that can control, brightness, red, blue, and green LED's individually using potentiometers. Lightduino Parts List 1. 4 x Potentiometers $6.98 http://www.ebay.com/itm/8Pcs-Single-3-Pin-Rotary-Potentiometer-Panel-Po… 2. Favorite WS2812 Light 3. UBEC (For future use) Assembly 1. Set 4 potentiometers into the breadboard 2. Daisy chain 5v and GND onto the outside pins of each potentiometer (MAKE SURE NOT TO CROSS 5V and GND!) 3. Connect the center pin of each potentiometer to Analog pins 0-3 4. Connect the WS2812 light stick to 5V and GND, and the data pin to Digital Pin 3 Practicals 1. We're running everything from on-board power for this small-scale experiment, but we'll need a seperate power source once we scale up our lighting 2. We're using an Uno for the prototyping stage, but we're going to use a smaller Atmel board for the final project 3. We want to run the finished light from a single 3s battery 4. We will get slight variations in our analog values because our jumper wires are slightly loose 5. This would be a good time to use digital rotary encoders Lightduino Programming https://www.dropbox.com/s/wpv3gpi40cyxoja/KH213_Lightduino1.zip?dl=0

<p>Connect with us!</p><ul><li>Don't forget to check out our large library of projects at <a href="https://twit.tv/shows/know-how">https://twit.tv/shows/know-how</a>.</li… our Google+ Community at <a href="https://plus.google.com/communities/102778909882340711425&quot; target="_blank">http://gplus.to/twitkh</a></li><li>Tweet at us at <a href="https://twitter.com/PadreSJ&quot; target="_blank">@PadreSJ</a>, <a href="https://twitter.com/Cranky_Hippo&quot; target="_blank">@Cranky_Hippo</a>, and <a href="https://twitter.com/Anelf3&quot; target="_blank">@Anelf3</a></li></ul>

Links