Wine Lights

Taking a break from robots to get on with other stuff…

A while ago, I bought a few 15mm LED RGB pixels from http://www.earthshineelectronics.com – these ones in particular: http://www.earthshineelectronics.com/105-15mm-rgb-led-pixel.html

They’re compatible with the Adafruit LPD6803 library as used here: http://learn.adafruit.com/20mm-led-pixels/

Anyway, we have some glass and chrome shelves in our living room where my significant other keeps wine (as well as in my study, her office, the bedroom, the spare bedroom and every other nook and cranny around the place). We have a lot of wine. I know all about wine now. It’s white or red. I like it, or I don’t. There, job jobbed 🙂

I took ten of these lights and wired them up – plenty of info out there on how to do that, see the adafruit link above for starters.

After some tests with an Arduino Uno I built up a “breadboard” version using Adafruit perma-proto board. Ok, so they’re over £3 each but they are so nice to work with I think it’s worth it. I do find the stripboard stuff to be a bit, er, shit. In the UK, you can order them here: http://proto-pic.co.uk/adafruit-perma-proto-half-sized-breadboard-pcb-3-pack/

IMG_20121213_111417

 You can find all the details on putting one of these together here: http://www.gammon.com.au/forum/?id=11637

Ok, so we need an “enclosure” for this – I’m not very good at practical stuff so this is the bit I usually find hard. Fortunately, SWMBO seems to be addicted to Altoids 🙂

IMG_20121213_111525

I managed to drill a couple of hole for wires without cocking anything up too much. The LED on the right is off an old PC, well why not…

IMG_20121213_132640

Then we solder on a hacked USB cable (from a broken un-powered USB hub) and connect up the LED and a button to allow the light “show” (for want of a better word) to be changed.

IMG_20121213_132712

Here’s the finished item. Not very impressive really but there you go.

I’ll put “wineLights” up on GitHub soon – it’s no big deal but just in case it’s useful…

You can find the code I cobbled together for this here: https://github.com/davidb24v/wineLights

And a video of the lights in “action” –

[embedplusvideo height=”379″ width=”625″ standard=”http://www.youtube.com/v/Mixx-KoB4KE?fs=1″ vars=”ytid=Mixx-KoB4KE&width=625&height=379&start=&stop=&rs=w&hd=0&autoplay=0&react=1&chapters=&notes=” id=”ep6425″ /]

This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

*