OOOOH GLOWY! Thanks to Vasilis for sending in this Neopixel dome button tutorial!
This is an Instructable I wanted to do for a while, on how to build a really great-looking Dome Button with built-in LEDs. It’s part of a 2-series where I will explain how we built our Hackerspace Status Button for P-Space, our local hackerspace in Patras, Greece.
The basic premise is that we wanted a way for the first person coming into P-space to set the space status to Open, and the last one to leave to set it to Closed. We used to do this through a simple web page, but we wanted an easier way to do that, so we set up an Arduino with a Wi-Fi shield next to the door that connects to that web page and controls the status.
That way, we can still use the web page, or just hit a button as we leave, and let the Arduino do the rest.
And we wanted a big, fancy button for that.
For this Instructable, you will need:
- 1 Dome Button from SparkFun
- 1 Adafruit Neopixel Ring (16 LEDs)
- 1 5V Adafruit Trinket
- 1 1000uF Electrolytic Capacitor
- Some Wires (prefferable 3 different colors)
- Wire Cutter
- Dremel or other cutting/drilling tool
- Soldering Gun
- Glue Gun
Featured Adafruit Products!
NeoPixel Ring – 16 x WS2812 5050 RGB LED with Integrated Drivers: Round and round and round they go! 16 ultra bright smart LED NeoPixels are arranged in a circle with 1.75″ (44.5mm) outer diameter. The rings are ‘chainable’ – connect the output pin of one to the input pin of another. Use only one microcontroller pin to control as many as you can chain together! Each LED is addressable as the driver chip is inside the LED. Each one has ~18mA constant current drive so the color will be very consistent even if the voltage varies, and no external choke resistors are required making the design slim. Power the whole thing with 5VDC (4-7V works) and you’re ready to rock. Read more.
Adafruit Trinket – Mini Microcontroller – 5V Logic: Trinket may be small, but do not be fooled by its size! It’s a tiny microcontroller board, built around the Atmel ATtiny85, a little chip with a lot of power. We wanted to design a microcontroller board that was small enough to fit into any project, and low cost enough to use without hesitation. Perfect for when you don’t want to give up your expensive dev-board and you aren’t willing to take apart the project you worked so hard to design. It’s our lowest-cost arduino-IDE programmable board! Read more.