Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Preview Auto-Shots
#1
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);

    
      }
}
Reply

#2
This looks really cool, wish I had any idea what it is and how it works
Reply

#3
lol soz, its a soap dispencer that i've hacked to pour me shots of alcohol for zee drinking Superman
Reply

#4
made my day, nice idea
Reply

#5
yeah pretty awesome xD
Reply

#6



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);

    
      }
}
Reply

#7
hector you rule!
Reply

#8
woh hahah that's so freakin awesome, it's not very fast though.
i want one Awesome
also lol @ laptop in the fridge
Reply

#9
I LOL'ED at this. Nice job @rotceh_dnih, you bloody Aussie. :p
[Image: 30xhrep.png]

A casual conversation between barata and I about Nukem.
Reply

#10
who keeps computer in fridge Troll
[Image: lQDUjba.jpg]
Reply



Possibly Related Threads…
Thread Author Replies Views Last Post
  Help How to disable auto balance? .sepultura. 3 4,312 10-07-2013, 19:44
Last Post: Nekochan
  Help auto command Dynasty 6 4,358 08-26-2013, 16:05
Last Post: hillbilly
  [Release] Rotceh Steam Auto Messager "Rsam" rotceh_dnih 22 23,697 05-07-2013, 01:02
Last Post: rotceh_dnih
  [Release] Auto Quick-Scope V1 for Black Ops d0h! 25 44,512 01-02-2013, 11:55
Last Post: joey
  auto-answer plugin ersin_ 14 7,845 11-13-2012, 22:22
Last Post: legolas
  [Request] regist auto jari333 4 3,362 10-16-2012, 09:08
Last Post: jari333
Lightbulb [Request] Auto Detonate C4 oDin42ru 6 4,149 09-29-2012, 20:34
Last Post: islamsaab
  Help Auto Detonate C4 oDin42ru 12 7,621 09-24-2012, 12:35
Last Post: oDin42ru
Information Help How to disable Auto Team-balance? DidUknowiPwn 5 9,020 07-29-2012, 20:54
Last Post: DidUknowiPwn
  How can I get a Youtubelink auto-embedded clanZmedia 9 5,268 04-17-2012, 18:42
Last Post: Arteq

Forum Jump:


Users browsing this thread:
3 Guest(s)

Forum Powered By MyBB, Theme by © 2002-2024 Melroy van den Berg.