For this assignment, I tried to create a trigger that would tell a user when stressed or elated to have a beer. Using force sensors (embedded within a force diffuser) I created an application which once squeezed would tell you how much beer to have. If you are at the extremes (very angry or very happy) you deserve a full beer mug, whereas if you are somewhere in between you are going to have to make do with a partial beer mug.
I also thought about embedding force sensor as a bookmark so harder I slammed a book shut (if I finished it or was aggravated by it), it would open up the beer page. But I felt the intesity of book slamming shut varied where the bookmark was placed on the book, as in if it was closer to the binding edge the force was miniscule even when I slammed by book shut hard. So I decided to use a 'squeeze me' diffuser to trigger it, where the force could be evenly distributed.
For the visualization I had an animated glass of Guiness Beer (the only beer in the world)
Components
1x Arduino Uno
1x Breadboard
1x Macbook Pro
8x wires
2x 220 ohm resistors
1x LED light
1* Squeeze
Code:
I used python and javascript, instead of arduino/processing.
Animation URL:
http://seekshreyas.github.io/U-Need-Beer/?beer=250
- Login to post comments