Hello,
Intended Outcome: Build an LED project that allows users to use -
Mode 1
- Have an LED strip auto-cycle through its colors on a loop.
- Users can select the brightness of the LEDs using a potentiometer
Mode 2
- Users can select a specific color using a potentiometer
- Users can select the brightness of the LEDs using a potentiometer
Summary:
The Arduino board would be connected to an LED strip with a switch to turn the project on/off and a switch to activate Mode 1 or Mode 2. The users could use Mode 1 to have the LED strip auto-cycle through its colors with the ability to dim and brighten the LEDs with a potentiometer or use Mode 2 to manually select the color of the LEDs with a potentiometer while also dimming and brightening the LEDs with a potentiometer.
Supplies:
Arduino - 1x Arduino Uno
LEDs - 2x strands of twenty-five 12mm WS2801 RGB LEDs
Switches - 2x SPST
Potentiometers - 2x 1M, 2x 500k, 2x 100k
Power - 1x 5V wall adapter
Resistors - various between 1k,10k, and 4.7k
Open Questions:
- What other hardware is required to build a project like this? (transistors, power supply, resistors)
- How would I go about setting up code to enable the Modes?
- Can I modify the existing strand test in the example library for WS2801?
- Am I completely missing important aspects of this proposal?
Conclusion:
I am looking to attach the LED strips to my bed's headboard as an option for bedroom lighting rather than relying on the overhead lights or a crappy lamp. Mode 1 would have the LEDs auto-cycle through the colors (think strand test) with the users controlling brightness via a potentiometer. Mode 2 would allow users to select a specific color for the LEDs and control brightness via potentiometers (one potentiometer for brightness and one potentiometer for color selection). Any and all assistance regarding this project is greatly appreciated!