Addictions are absolute. How perverse they are can depend on your character. Alcohol, heroin, feet. We here at TVMiller prefer the unhealthy consumption of Coca~Cola. When delving deeper in to methodology, we all quickly learn two superior qualities; the aluminum can and the short brief intensity (the ahh) of an initial taste. We attempted to confine those elements in to a machine that sources three methods of activation; a button, a remote control and Jacob, our developing artificial intelligence.





// CokeShot
// TVMiller

#include <IRremote.h>

int RECV_PIN = 11;
IRrecv irrecv(RECV_PIN);
decode_results results;

int red = 8;
int green = 9;
int pour = 10;

int timepour = 10000;
int timeend = 3000;

void setup() {

Serial.begin(9600);

pinMode(red, OUTPUT);
pinMode(green, OUTPUT);
pinMode(pour, OUTPUT);

irrecv.enableIRIn();

}

void loop() {

digitalWrite(red, LOW);
digitalWrite(green, LOW);
digitalWrite(pour, LOW);

// Jacob
if (Serial.available()) {
char ser = Serial.read();
switch (ser) {
case 'C':
coke();
break;
}
}
// Remote (Any)
else if (irrecv.decode(&results)) {
coke();
irrecv.resume();
}

}

void coke() {
digitalWrite(pour, HIGH);
digitalWrite(green, HIGH);
delay(timepour);
digitalWrite(pour, LOW);
digitalWrite(green, LOW);
digitalWrite(red, HIGH);
delay(timeend);
}

Archive
HackADay.io - Coke Shot
Github - Arduino IRRemote Library
TVShow S01E05 eRamen
19:3.35 168-15 OTC


Resistance Theory - Wave Cube
17:11.53 166-15 OTC


Miscellaneous > Resistance Theory
Kama Sutra (ish) - Mongolian BBQ Position
18:37.1 164-15 OTC


Any Way Door (1/12 Scale)
04:3.41 164-15 OTC
Imagine a door with out boundaries. Subtly architectural fluff, this scaled down due to poverty Any Way Door allows the opener the discretion of direction. This featured premise model utilized a series of 22 gauge wound electromagnets sequenced through a Seeed Studio Relay Shield atop an Arduino Uno triggered by capacitive sensors allowing for locking and unlocking.


Archive
HackADay - Making A Door That Opens Both Ways
HackADay.io - Any Way Door
Arduino - Capacitive Sensor Library