Home alone? No-one to go out for a drink with, but you fancy a glass?
WineTime is for you!
This bottle lights up when it is sent a text message – so give the number to your friends, and if they too are home alone and fancy a glass, they can easily let you know and you can drink together, but alone, but together …
And, just in case no-one sends a text – there’s a secret switch on the bottom, so you can pretend you’re not drinking alone.
This project was inspired by Les Pounder’s Invent Advent challenge – “Buy something from 'a pound shop' for less than £10 and hack it using stuff you have at home.”
I bought a light-up wine bottle. It cost, unsurprisingly, £1.
As my home also houses my lab and workshop, I was at a slight advantage with the restriction of using stuff at home – I had an Adafruit Fona Feather that I had been meaning to play with for a while. The blurb about it says it’s an “'all-in-one' Arduino-compatible + audio/SMS/data capable cellular development board, with built-in USB and battery charging.”
I only wanted to be able to text the bottle and the lights turn on. The Fona Feather has a lot more capability than I needed for the project – but I felt I had to start somewhere.
Cost of Project: Approx. £75
- Wine Bottle Lamp
- Adafruit Fona Feather
- Open Collector Driver Circuit / Thingatron (as per article Thingatron)
- Batteries for LEDs
- Battery for Fona
- Battery Switch (as per article LiPo Battery Switch)
- SIM card
1) Remove base from bottle
After a little wiggling, I managed to break the glue seal and remove the plastic base containing the battery compartment, a string of LEDs and a resistor.
2) Program FONA to receive text messages and turn a GPIO pin high
The Adafruit tutorials are excellent:
I programmed the FONA using the Arduino IDE. I adapted a couple of the Adafruit examples to get the FONA to do what I wanted – the code is available here on GitHub – and can also be downloaded here: (FONA_SMS_LightUpWineBottle.ino)
I used a GiffGaff Sim and put £10 of credit on to the card.
3) Connect LEDs to FONA
The original setup uses three AAA batteries (4.5V) to power the LEDs. They draw more current and higher voltage than can be delivered from the Fona board. Extra electronics were required to allow the port on the Fona to switch the power to the lights on and off. I used a Thingatron for this.
With a bit of cutting of wires, soldering in new ones, I connected the lights and battery compartment to the Thingatron, and the Thingatron to the FONA. I also connected the switch on the bottom of the original wine bottle base so it could bypass the new electronics, and turn the LED string on and off, even if no text message was received.
4) Battery for FONA
I didn't want the FONA to be on all the time, but I also did not want to pull the JST battery connector out. So I made and used a Battery Switch.
5) Test and Play!
Then I had great fun texting the bottle!
- Text messages can take up to 15 minutes to arrive – maybe longer!
- 2G is being switched off around the world, so a few years ago this board would have worked for a bottle anywhere in the world, nowadays it doesn’t. And the new replacements are location specific – American Version, European version etc.
As mentioned above, you can expand your WineTime project with the addition of two mini projects: