Make your own crude Cocktail Machine

  • Published on Dec 10, 2017
  • Enjoy $2 PCBs and Free Shipping on First Order:
    Support me for more videos:
    Previous video:
    Facebook: greatscottlab
    Twitter: GreatScottLab
    More project information (schematic, code, parts list,...) on Instructables:
    Thanks to JLCPCB for sponsoring this video
    Visit to get professional PCBs for low prices
    In this project I will show you how I combined an Arduino Nano, an LCD, a rotary encoder, three peristaltic pumps with motor drivers, a load cell and a couple pieces of wood to create a crude, but functional Cocktail Machine. Along the way I will demonstrate how peristaltic pumps work and in which way they can work with the other components in order to pump a precise amount of liquid.
    Videos about components of the Cocktail Machine:
    Load Cell:
    Rotary Encoder/LCD: or
    Parts list: (incomplete, see Instructables for more, affiliate links):
    1x Arduino Nano:
    1x I2C LCD:
    1x Rotary Encoder:
    1x Load Cell (1kg) + HX711 ADC IC:
    2x L298N Breakout Board:
    3x Peristaltic Pump:
    1x DC Jack:
    1x 15V 5A Power Supply:
    1x Arduino Nano:
    1x I2C LCD:
    1x Rotary Encoder:
    1x Load Cell (1kg) + HX711 ADC IC:
    2x L298N Breakout Board:
    3x Peristaltic Pump:
    1x DC Jack:
    1x 15V 5A Power Supply:
    2011 Lookalike by Bartlebeats
    Killing Time, Kevin MacLeod
  • Science & TechnologyScience & Technology

Comments • 1 076

  • PHPO Labs
    PHPO Labs 2 years ago +1750

    Can i have a Martini?
    Yeah just let me update the arduino code.

    • Andrew Finnell
      Andrew Finnell 2 months ago

      PHPO Labs It seems easy enough to Program in set drink patterns instead of having to hard code the liquid to pump. I suspect he will do that next.

    • Pavia
      Pavia 9 months ago

      One vodka martini please, poured, not shaken.

    • Sujon Kumar Biswas
      Sujon Kumar Biswas 11 months ago

      Wanna more same video see here >>

    • Ronak Dodeja
      Ronak Dodeja Year ago


    • sun qinru
      sun qinru Year ago

      PHPO Labs iii

  • David Hadley
    David Hadley 3 days ago

    did you drink that bit of plastic tube you cut off into your glass?

  • Andre Lanser
    Andre Lanser 6 days ago

    Hey do you think this pumps can pump Cola without losing the carbonic acid ?
    Thanks and greetings from germany

  • Tom
    Tom 12 days ago

    I do enjoy listening to your videos, you are very good with cad and programming.. Also it’s interesting for me to see that everything you do is metric where as I’m from Chicago, IL. USA and it’s mostly imperial/std measuring system, confusing- I wish the world was only metric!

  • John Wick
    John Wick 12 days ago

    Thats awesome but someone get this man a CNC

  • xz86
    xz86 13 days ago

    can those pump be place in the refrigerator? reason being one of the ingredients is orange juice.

  • Jackson Qu
    Jackson Qu Month ago

    Out of curiosity why is the Arduino using a timer to stop the motors instead of using the scale to weigh the liquids? I guess I'm confused as the time it would take to pump x amount of vodka is different from say the time to pump x amount of molasses and it would be easier to find weight by volume then run it through the machine to find volume pumped / time right?

  • CJWarlock
    CJWarlock Month ago

    Interesting to watch video, cool project and execution. Congrats! :)

  • boxman139
    boxman139 Month ago

    One day, GreatScott! is going to fill his house with DIY appliances. Hell, he'll probably have a DIY house at that point.

  • Zauberer Deny Bellitto

    Hey great Projekt I want to buy me one to. You talk a lot abut the hardware but how about the software? For me this ist very difficult how I install is and make it work?

  • Steve Wang
    Steve Wang Month ago

    May I buy a proto for using?

  • Sheedy Aja
    Sheedy Aja Month ago

    Hi, can we modify this machine to be able to dispense grains?

  • GermanNoobGaming
    GermanNoobGaming 2 months ago

    Where can i get that book or whatever that is at 0:11 ?

  • Chris Shand
    Chris Shand 2 months ago

    And a distance sensor so it stops no matter which glass you use.

  • Aleks Botler
    Aleks Botler 2 months ago

    Нужна система технического зрения и обработка изображения нейросетью, для определения возраста пользователя и блокировки/разрешения приготовления напитков, содержащих водку.

    EASY SCIENCE 2 months ago

    9:42 it would also be a nice cocktail

  • coelho714
    coelho714 2 months ago

    this project reminds me of one of the problems in Shenzhen I/O

  • Alf A.
    Alf A. 2 months ago

    Beam me up , Scotty.

  • Ricardo Castro
    Ricardo Castro 3 months ago +1

    Dont forget to clean those sillicon tubes against germs

    DRAGONGAMER 3 months ago

    It isn’t a file it is a rasp xD

  • Rahul Kapoor
    Rahul Kapoor 3 months ago

    Thanks nice video.. but where is Code. Pls..

  • Celestial Cuantico
    Celestial Cuantico 3 months ago

    You forgot the chatbot inside the program

  • Aaron West
    Aaron West 3 months ago

    The darker side of an TheXvid electronics diy'er

  • Ashraf mujawar
    Ashraf mujawar 4 months ago

    The code is show error to upload in arduino nano e.g. the LCD code show compile error

  • Cio Dokop
    Cio Dokop 5 months ago

    Wut about a coffee machine. Those are WAYYYY complicated when it comes to fully automatic systems...

  • Garrett Haynes
    Garrett Haynes 5 months ago

    Sorry, you were 4 years late to this party when you made this. I made one for the mixing of E-liquid with different recipes. Sorry.

    EASY SCIENCE 6 months ago

    9:43 which cocktail is it 🤔🤔🤔

  • Josh McCellan
    Josh McCellan 6 months ago +1

    I'm too young for that, so I'll just make it a juice dispenser

  • dan p
    dan p 7 months ago

    какая нужжная вещь, ща после сессии займёмся, но дойду ли я до конца находясь рядом с водкой

  • ZedZoo
    ZedZoo 7 months ago

    *2 shots of vodka*

  • Ingmar Kranefeld
    Ingmar Kranefeld 7 months ago

    Hi Scott, can you give me an advise how you got the 15v 5a DC to run with the H Bridge? I redesigned your basic scheme but within seconds the H Bridge reaches temperatures more than 50°C. I want to control a basic stepper motor (17HS4401) with the h bridge an the power supply you recommended.
    I hope you will answer me :-)
    BTW you can answer me in German as well ;-)

  • Kazakhstan
    Kazakhstan 8 months ago

    cheers mate!!!

  • Daniel Fisher
    Daniel Fisher 8 months ago +1

    Could be used to dose fertilizers to a planted aquarium.

    ALI_SALEM 8 months ago


  • Tuomas Kärnä
    Tuomas Kärnä 8 months ago +1

    How about an ice cube machine

  • 3D Possible
    3D Possible 8 months ago +2

    A perfect project to make a phone app to update the "recipes" and pour by remote + glasses on conveyor belt for a batch mode... + Add self cleaning mode.

  • ScrotMailPlayz
    ScrotMailPlayz 8 months ago

    Me: OMG GreatScott is amazing
    GreatScott: Nah let me make a wine for kids
    Me: WTF

  • Dorian Niemiec
    Dorian Niemiec 8 months ago

    Why do not you use EEPROM memory to store ingredient names?

  • Flimstar Official
    Flimstar Official 9 months ago

    Two Shots of vodka...

  • Yassine Safraoui
    Yassine Safraoui 9 months ago

    In a next project video, you can it work with wifi, and obviously the esp8266 would be the best choice.

  • DerAudi
    DerAudi 9 months ago

    Haste auch nen deutschen Kanal?

  • Benjamin QUACH
    Benjamin QUACH 9 months ago

    He sounds so tied in the end

  • Zocker Bro
    Zocker Bro 9 months ago +1

    Next Video: How to make a crude Coffee machine

  • HAFO 821
    HAFO 821 10 months ago

    scale "feedback" is a great idea! nice video!

  • Georgios Delimpasis
    Georgios Delimpasis 10 months ago

    these pumps are soooooooo noisy

  • Jack Newton
    Jack Newton 10 months ago

    Seems like a good hack for a fridge water dispenser

  • mehrdad mirzaei
    mehrdad mirzaei 10 months ago

    you're awesome.

  • SlendisFi Universe
    SlendisFi Universe 10 months ago

    A common nostle?

  • Kevin M.
    Kevin M. 10 months ago

    Hi GreatScott,
    A really good project!
    I tried to buld it. Which hoses did you use? Do you know a german seller?

  • Matthew Baumann
    Matthew Baumann 11 months ago

    Hello, is there any way you could share your wiring schematic? I have all of the parts but I am afraid that I may accidentally break something and I am trying to build something like this to make my job easier in the seed industry.
    Thank you

  • Karri Koivusalo
    Karri Koivusalo 11 months ago

    This would be a great project to upgrade with a RAMPS board and stepper pumps.

  • Some High Voltage Channel

    Can I use other things that aren’t alcoholic? Or will the pumps think I’m not cool for not drinking?

  • Jerry the mouse
    Jerry the mouse 11 months ago


  • Seung Tae Kim
    Seung Tae Kim 11 months ago

    Do I get the source code of the machine? I want to try this one

  • Steffen Kempf
    Steffen Kempf Year ago

    Schonmal Gin Tonic ausprobiert? Wie ist das wenn man Tonic Water über die Pumpen laufen lässt? Geht dabei dann die Köhlensäure verloren?

  • John Thorpe
    John Thorpe Year ago

    A few things I’d do is redesign the whole thing and design it like this:
    1. Find or make some sealed dispenser bins (something like 3” wide, 9” deep and 10” tall or something the size of the dispenser area would be that’ll hold like a half to full bottle of Bacardi, etc) sloped to the center for the tube connection, that has a sealed, but removable lid for filling/cleaning. This would prevent fruit flies, etc and can be left filled.
    2. Have 4 or 6 on each side of the dispenser part (in the middle) that way you can have one for jack, Bacardi, crown royal, bourbon, triple sec, etc. I’d put a thin black piece of material between each bin with a light smoke front panel in front of all of them and put a white led light above each one. When a drink is selected that uses Bacardi (for example) the light above the Bacardi would light up and you can see it through the front panel. So the ingredients being used lights up.
    3. Have a flip up lid over the ingredients bins for filling etc.
    4. Have more drink recipes, and include a multi line lcd panel for instructions. For example for a margarita, when selected it would say something like place a shaker filled with ice in the dispenser area, then after it dispenses it would tell you to shake and strain, or place in a blender and pulse, etc.
    5. A sensor to detect a glass, etc is in the dispenser area to prevent dispensing without one.
    6. Move the electronics into a false back that’s covered to keep them from getting wet, and replace it with a pull out drip tray under the dispenser for spills, over dispensing, etc.
    7. Have a selection for size of glass, example for a Long Island iced tea, you can tell it that your using a 6 oz glass and it’ll adjust the portions for that size glass, or using a 12 oz glass, it’d adjust for that.
    8. Keep the multi color led lights for the dispenser area.
    9. Make a port where you can plug in a computer for servicing/updates via a usb cable, etc to make it easier for updates, etc if needed instead of pulling off the back, etc.
    10. Glue the black plastic sheets you used on rather than screwing them on and maybe use a silver metal corner piece to put over the corners.
    11. Put rubber feet on the bottom to protect the surface you put the automatic bartender on.
    12. An option of selecting drink strength from no alcohol, little, moderate to strong... depending on the persons taste.
    Just a few things I thought of to take the concept to the next level.
    Oh and of course google Home/Alexa integration.

  • Sanjeev K
    Sanjeev K Year ago

    this is an awesome project and video , thank you !!

  • Ivan King ツ
    Ivan King ツ Year ago


  • The8bitPC _
    The8bitPC _ Year ago

    Solder job is not good. Try to use solder flux. If I look at your PCB it looks like solder mountains - especially by the resistors and capacitors, there are bad solder spikes.

  • UNCLE ARTHUR's Magick

    I'll have a Jack and Coke please...
    Hey, Scott! awesome machine. keep up the great work! :)