Monday, 15 September 2014

EMF Camp - Vodka Roulette



I thought I was at the end of the 'things made at EMF camp' but then I remembered I actually cut some stuff for myself while I was at EMF camp. It's probably because I prepared most of the things in advance but they were cut and assembled at EMF camp so that counts right?

I've made flavoured vodkas before by dissolving boiled sweets into vodka and coming up with some pretty tasty flavours. This year I thought I would go one step further, I made 5 sweety flavoured vodkas and 1 nasty flavoured vodka and being a field full of tech geeks I figured they would appreciate a mechanism to automatically select a flavour for them. In brief, an arduino uses the random function to pick the appropriate bottle. A row of surface mount LED's illuminates the bottle selected and these are driven simply with a ULN2008 driver chip. The LED's spin round in a circle and fade in and out as they are selected. The rotation slows down and picks one bottle to end upon.

I'm not sure the random seeding from the A->D is particularly effective and I was basically resetting the power each time to make it spin again so it had this weird habit of picking the nasty, Horse Radish, flavour every time but that just all adds to the fun.