ItsMods

Full Version: Auto-Shots
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
just wanted to post this somewhere, i seen a soap dispencer that i thought would make a nice auto shot dispencer so i got it home and started hacking

[Image: IMG_0125.jpg]

hopeing it just had a 555 timer i was just going to change some smd resisters play around till i got 30ml and be done with it , however i found the ic was guled over and was most likey a pic or some avr with fused bitlocks Confused stuff that i thought , then i found a undocumented flow function that just flushed the system out so i busted out a arduino and set to work on makeing this simple shot pourer to help me get pissed as a nit xD and it works great just needs a nice home , will post a video + more pic when its done but PLEASE POST IDEAS!!!!!

Plans

*****
-house it a a coffee maker or something nice maybe steampunk style.
-add a skill game to test if your to drunk.
-Dubble shot function "dubble the time simple"

[Image: IMG_0126.jpg]

code
Code:
// +-++-++-++-++-++-++-++-++-++-+
// |A||U||T||O||-||S||H||O||T||S|
// +-++-++-++-++-++-++-++-++-++-+



const int buttonPin = 2;  // drink me button
                                  
const int shot1 = 11;  // hand soap dispencer hack
const int shot2 = 5; // hand soap dispencer hack
const int led1 = 13; // pritty led to tell me my shot is pouring
    

// variables will change:
int buttonState = 0;  


void setup() {
  pinMode(buttonPin, INPUT);
  digitalWrite (buttonPin, HIGH);
pinMode(shot1, OUTPUT);
digitalWrite (shot1, HIGH);  // silly china logic not even a resister on gate :s wtf!, oh well im 2G 4 0.o <-- Wok eye's
pinMode(shot2, OUTPUT);  //dido
digitalWrite (shot2, HIGH);
pinMode(led1, OUTPUT);

}

void loop(){
  buttonState = digitalRead(buttonPin);
    if (buttonState == LOW)
  {  
digitalWrite (led1, HIGH);
digitalWrite (shot1, LOW);  
digitalWrite (shot2, LOW);  // flow mode-waiting!
delay(5000);
digitalWrite (shot1, HIGH);  // flow mode-GO!!
digitalWrite (shot2, HIGH);
delay(1000);
digitalWrite (shot2, LOW);  // woo up thats a shot
delay(300);
digitalWrite (shot2, HIGH); // Happy drinking xD
digitalWrite (led1, LOW);

    
      }
}
This looks really cool, wish I had any idea what it is and how it works
lol soz, its a soap dispencer that i've hacked to pour me shots of alcohol for zee drinking Superman
made my day, nice idea
yeah pretty awesome xD



Code:
// +-++-++-++-++-++-++-++-++-++-+
// |A||U||T||O||-||S||H||O||T||S|
// +-++-++-++-++-++-++-++-++-++-+



const int buttonPin = 2;  // drink me button
                                  
const int shot1 = 11;  // hand soap dispencer hack
const int shot2 = 5; // hand soap dispencer hack
const int led1 = 13; // pritty led to tell me my shot is pouring
    

// variables will change:
int buttonState = 0;  


void setup() {
  pinMode(buttonPin, INPUT);
  digitalWrite (buttonPin, HIGH);
pinMode(shot1, OUTPUT);
digitalWrite (shot1, HIGH);  // silly china logic not even a resister on gate :s wtf!, oh well im 2G 4 0.o <-- Wok eye's
pinMode(shot2, OUTPUT);  //dido
digitalWrite (shot2, HIGH);
pinMode(led1, OUTPUT);

}

void loop(){
  buttonState = digitalRead(buttonPin);
    if (buttonState == LOW)
  {  
digitalWrite (led1, HIGH);
digitalWrite (shot1, LOW);  
digitalWrite (shot2, LOW);  // flow mode-waiting!
delay(5000);
digitalWrite (shot1, HIGH);  // flow mode-GO!!
digitalWrite (shot2, HIGH);
delay(8000);
digitalWrite (shot2, LOW);  // woo up thats a shot
delay(300);
digitalWrite (shot2, HIGH); // Happy drinking xD
digitalWrite (led1, LOW);

    
      }
}
hector you rule!
woh hahah that's so freakin awesome, it's not very fast though.
i want one Awesome
also lol @ laptop in the fridge
I LOL'ED at this. Nice job @rotceh_dnih, you bloody Aussie. :p
who keeps computer in fridge Troll
Pages: 1 2