Halloween is my second favorite holiday, and I wanted to create something to commemorate the occasion. I decided on a lighting animation using addressable LEDs. In order to make selecting the colors in the RGB (Red Green Blue) format easier for me, I created a system with a display and potentiometers which would show the numerical value of the color I’m selecting. Three of the potentiometers stand for their rightful colors, and the last one I placed there so that in the future I would program it to adjust the brightness level of the whole color combination.
Materials
- Arduino Nano
- Potentiometers x4
- Potentiometer caps x4
- 20 by 4 liquid crystal display
- Adressable LED string lights
- Arduino Nano screw shield
- Wires
Assembling
First I soldered pins to the Arduino Nano and inserted it into the screw shield. I had a set of four potentiometers with wiring from the Robot Arm project and decided to use them, only switching out the cap colors so that they would be correlational to the RGB parameters. I then connected the Arduino Nano to the lcd display, and increased its brightness so that the text would be more visible. Finally, I connected the LED string lights to the Arduino Nano.
Code
_
Gallery
_