Make your own crude Cocktail Machine

**The Cocktail Maker Construction**

In this video, I'll guide you through the process of building a cocktail machine, showcasing its construction and functionality.

I started by creating a base for the machine using wood, ensuring that it had sufficient space to accommodate all the components. To achieve a sturdy and stable structure, I added spacers to the load cell and secured them with M4 screws.

Next, I transferred the mounting holes from the top piece of the scale onto the centerline of the bottom piece, creating a secure attachment point for the load cell. This allowed me to add additional support and stability to the machine.

After that, I added electronics components, including a rotary encoder and display. I used superglue to attach them in place, ensuring they were securely fastened.

To create the silicone tube system, I marked three holes next to the pump cutouts on the top piece of wood. These holes would house the silicone tubes, which needed to be a tight fit to prevent any leaks.

Initially, I planned to use one and our roof to attach the silicon tubes, but due to its failure, I resorted to using superglue to create a temporary attachment. This was later reinforced with an additional layer of wood glue for stability.

Before proceeding with the gluing process, I made sure to sort out long enough wires to all the electronic components. This allowed me to safely fine the wires and attach them to their corresponding Arduino pins, as described in the schematic.

Once the electrical wiring was complete, I installed the silicone tubes inside the machine and secured them in place. The three-year silicone tubes were then cut at an appropriate length and tied together above the glass using a zip tie.

With the mechanical construction completed, I added well CRO tape to the side of the housing, ensuring it was secure and stable.

**Functional Principle**

As a first test sketch, I created a simple piece of code that could select each pump and turn it on or off when rotated. This allowed me to measure how much liquid each pump moved per second.

The results showed that the three pumps were pretty close in terms of speed, but this would be slower with soup-like liquids. With this new information, I created the final sketch for the Arduino.

The functional principle of the machine is as follows:

1. When the stop button is activated, the scale zeroes.

2. Pump 1 starts moving liquid as soon as it fills the glass.

3. As soon as the liquid reaches the desired level, the scale notices and starts a timer.

4. Once the timer is over, pump 1 deactivates.

5. The system waits for two seconds, then zeroes the scale and activates pump 2.

6. As soon as liquid 2 fills the glass, the scale notices and starts another timer.

7. Once the timer is over, pump 2 deactivates.

This process continues until all three pumps have spilled over the beverage, allowing me to enjoy a freshly made cocktail.

**Conclusion**

You can create your own cocktail machine using this project as inspiration. My version uses two thick tubes, which causes vibrations and could use some improvements. With more pumps, you can achieve a wider drink variety. I hope you enjoyed watching this video and maybe even learned something new along the way.

WEBVTTKind: captionsLanguage: enmaking a cocktail for yourself once in a while is certainly an easy task but as soon as you got guests coming over and everyone wants the same cocktail all that measuring for sea breeze cocktail which consists of two parts vodka for pots cranberry juice and two parts grapefruit juice can be quite annoying that is why I created the screwed but functional cocktail machine which automatically pours all the liquids in a glass after you entered the amount of each of them in milliliters now my machine is programmed to pump out Seabreeze cocktails one after the other but by simply changing the bottles and adjusting a bit of Arduino codes you can pretty much create any cocktail you like with this machine so without wasting any more time let me show you how it works and how you can make your own let's get started this video is sponsored by Chelsea PCB upload your Gerber files today to get high-quality PCBs for ridiculously low prices currently even without shipping costs and make your projects look more professional if I open up the side of my cocktail machine we can pretty much see all the electronic components it consists of we got a DC jack fully power inputs an LCD R to present all the importance millilitre information a rotary encoder with push button to utter those quantities and start the mixing process an arduino nano as the brains of the organization a load cell which acts as a weight measuring system three peristaltic pumps to move the liquids and to l-29 eight and doufu bridge drivers to control the motors and while i talked about pretty much all of those components in previous videos of mine i never got the chance to showcase peristaltic pumps now i got mine from ebay and if we remove the four mounting screws that hold the plastic construction to the motor and thus remove it we can see that we are basically dealing Buber 12-volt DC motor the plastic structure on top of its simply consists of rotor with three rollers which after inserting a flexible silicon tube retouching the construction to the motor shaft and powering the motor compresses the silicon tube this deformation of the tube creates pressure which forces liquid inside the tube to move forwards and of course if we would change the polarity of the DC motor the liquids would flow backwards another important aspects for our cocktail machine is that this kind of pump delivers a precise amount of milliliters of liquids per seconds but we will try the doubts in detail later for now let's get rid of the silicon tube from the cellar and replace it with a food-safe silicon chip in stats I got mine with a diameter of 10 millimeters which is certainly the maximum for this kind of pump but anyway after closing up the plastic construction once again it was time to connect the DC motor to the out one and our two terminal of the l-29 eight breakout board and after connecting the five terminal 2 5 volts the ground terminal to ground ante 12 volt terminal 2 15 volts since there's quite a big voltage drop across the IC we can connect either in 1 or in 2 to 5 volts depending on which direction the motor should rotate and once I was certain that he main electronics worked like they were supposed to I drew a rough sketch of the enclosure for the cocktail machine after then measuring all the required electronic components I created proper dimensions for all the required pieces of woods and even a small guide on how to glue them together so I brought in a piece of peach pie woods with those dimensions and started drawing the outlines of all the 12 necessary pieces of woods once I was done I clamped the plywood's to the workbench in my garage and started cutting out the pieces with a jigsaw now I'm certainly not an expert when it comes to woodworking as you will clearly see later but after one and a half hours with the jigsaw the result of the 12 wood pieces was certainly not too shabby and after treating all the rough edges with a file I continued by marking the centerline of my bottom piece in order to position the one kilogram load cell in the middle of it in order to mark its mounting holes as soon as they were created were four millimeter drill I counter sank them on the opposite sides so that the mounting screws will later sit flush with the surface then I continued by transferring the remaining two mounting holes onto the centerline of the top piece of the scale and will the two mounting holes as well next I added spacers to the load cell and secured the two pieces of wood to its move m4 screws now I don't want to bore you with the details on how and where to create cutouts exactly since I pretty much only use different size drill bits key hole saws and files and you can also find out where positioned the electronics components in my plans for those projects so let's rather focus on entertaining moments like after I finished mounting the LCD and accidentally enlarged the hole from a rotary encoder to 12 millimeters it was not a tragedy though since superglue and two components he civ can nowadays secure everything and an app can hide the way to be cut out and speaking of two component adhesive after securing the dcj gruffudd in place I test fitted the pumps marked the mounting holes as well as three 10 millimeter holes next to them for the silicone tube and two of them all it is important though that the holes for the silicone tubes are tight fits which includes the three holes in the piece of woods above the glass now that okar outs were created I originally planned to attach them to one and our roof wood glue and nails but since that plan failed pretty quickly I'd rather use superglue to firstly create the cocktail mega shape temporarily and then added an additional layer of wood glue for stability but of course make sure to not glue the top piece of the scale to the other wood pieces and before not being able to reach the electronic components and safely fine a cocktail maker construction it is important to sorta long enough wires to all of them so that once the gluing process was complete we can solo the wires to its corresponding audrina pins like I described it in this schematic like always you can find the schematic along with the other plans of this project pictures and even a parts list in the video description once the electrical wiring was complete I installed the three-year silicone tubes inside the machine secure them in the corresponding pump cut the tubes at an appropriate length tight the three tubes together above the glass with a zip tie pushed the electronics inside the enclosure and mounted the remaining piece of woods to the enclosure with a hinge which means that after adding well CRO tape to the side of the housing the mechanical construction was also complete now as a first test sketch I created a simple piece of codes that can select each pump and turn it on or off when other the rotary encoder button after uploading it and powering the circuit with a power supply that offers 15 volts and 5 amps I positioned each pumps silicon tube in the corresponding beverage started each pump individually and measured how much mullah leaders they move per seconds now the results of the three pumps were pretty close to one another but just imagine if you have a soup like liquids that the speeds would be slower so with those new information in mind I created the final sketch for the Arduino which in a nutshell follows this functional principle once the stop button is activated the scale zeroes and pump 1 starts moving liquids as soon as liquids fills the glass anti-scale notices that a counter starts which allows the previously entered amount of milliliters to enter the glass once that timer is over though pump 1 deactivates the system waits for two seconds zeroes the scale and then activates pump 2 once again as soon as liquid 2 will fill the glass the scale notices stats start time or two and then deactivates pump 2 wants the delays over this madness then continues until all three pumps spill over the beverage new leaders and I can get plastered and just like that you can create your own cocktail machine since my version is a woodworking nightmare utilizes two thick tubes which causes vibrations and could definitely use some more pumps for wider drink variety there's plenty of room for improvements so I hope you give a project like this that's right as always I hope you enjoyed watching this video and maybe even learnt something new along the way if so don't forget to like share and subscribe consider supporting me through patreon to keep such videos coming stay creative and I will see you next timemaking a cocktail for yourself once in a while is certainly an easy task but as soon as you got guests coming over and everyone wants the same cocktail all that measuring for sea breeze cocktail which consists of two parts vodka for pots cranberry juice and two parts grapefruit juice can be quite annoying that is why I created the screwed but functional cocktail machine which automatically pours all the liquids in a glass after you entered the amount of each of them in milliliters now my machine is programmed to pump out Seabreeze cocktails one after the other but by simply changing the bottles and adjusting a bit of Arduino codes you can pretty much create any cocktail you like with this machine so without wasting any more time let me show you how it works and how you can make your own let's get started this video is sponsored by Chelsea PCB upload your Gerber files today to get high-quality PCBs for ridiculously low prices currently even without shipping costs and make your projects look more professional if I open up the side of my cocktail machine we can pretty much see all the electronic components it consists of we got a DC jack fully power inputs an LCD R to present all the importance millilitre information a rotary encoder with push button to utter those quantities and start the mixing process an arduino nano as the brains of the organization a load cell which acts as a weight measuring system three peristaltic pumps to move the liquids and to l-29 eight and doufu bridge drivers to control the motors and while i talked about pretty much all of those components in previous videos of mine i never got the chance to showcase peristaltic pumps now i got mine from ebay and if we remove the four mounting screws that hold the plastic construction to the motor and thus remove it we can see that we are basically dealing Buber 12-volt DC motor the plastic structure on top of its simply consists of rotor with three rollers which after inserting a flexible silicon tube retouching the construction to the motor shaft and powering the motor compresses the silicon tube this deformation of the tube creates pressure which forces liquid inside the tube to move forwards and of course if we would change the polarity of the DC motor the liquids would flow backwards another important aspects for our cocktail machine is that this kind of pump delivers a precise amount of milliliters of liquids per seconds but we will try the doubts in detail later for now let's get rid of the silicon tube from the cellar and replace it with a food-safe silicon chip in stats I got mine with a diameter of 10 millimeters which is certainly the maximum for this kind of pump but anyway after closing up the plastic construction once again it was time to connect the DC motor to the out one and our two terminal of the l-29 eight breakout board and after connecting the five terminal 2 5 volts the ground terminal to ground ante 12 volt terminal 2 15 volts since there's quite a big voltage drop across the IC we can connect either in 1 or in 2 to 5 volts depending on which direction the motor should rotate and once I was certain that he main electronics worked like they were supposed to I drew a rough sketch of the enclosure for the cocktail machine after then measuring all the required electronic components I created proper dimensions for all the required pieces of woods and even a small guide on how to glue them together so I brought in a piece of peach pie woods with those dimensions and started drawing the outlines of all the 12 necessary pieces of woods once I was done I clamped the plywood's to the workbench in my garage and started cutting out the pieces with a jigsaw now I'm certainly not an expert when it comes to woodworking as you will clearly see later but after one and a half hours with the jigsaw the result of the 12 wood pieces was certainly not too shabby and after treating all the rough edges with a file I continued by marking the centerline of my bottom piece in order to position the one kilogram load cell in the middle of it in order to mark its mounting holes as soon as they were created were four millimeter drill I counter sank them on the opposite sides so that the mounting screws will later sit flush with the surface then I continued by transferring the remaining two mounting holes onto the centerline of the top piece of the scale and will the two mounting holes as well next I added spacers to the load cell and secured the two pieces of wood to its move m4 screws now I don't want to bore you with the details on how and where to create cutouts exactly since I pretty much only use different size drill bits key hole saws and files and you can also find out where positioned the electronics components in my plans for those projects so let's rather focus on entertaining moments like after I finished mounting the LCD and accidentally enlarged the hole from a rotary encoder to 12 millimeters it was not a tragedy though since superglue and two components he civ can nowadays secure everything and an app can hide the way to be cut out and speaking of two component adhesive after securing the dcj gruffudd in place I test fitted the pumps marked the mounting holes as well as three 10 millimeter holes next to them for the silicone tube and two of them all it is important though that the holes for the silicone tubes are tight fits which includes the three holes in the piece of woods above the glass now that okar outs were created I originally planned to attach them to one and our roof wood glue and nails but since that plan failed pretty quickly I'd rather use superglue to firstly create the cocktail mega shape temporarily and then added an additional layer of wood glue for stability but of course make sure to not glue the top piece of the scale to the other wood pieces and before not being able to reach the electronic components and safely fine a cocktail maker construction it is important to sorta long enough wires to all of them so that once the gluing process was complete we can solo the wires to its corresponding audrina pins like I described it in this schematic like always you can find the schematic along with the other plans of this project pictures and even a parts list in the video description once the electrical wiring was complete I installed the three-year silicone tubes inside the machine secure them in the corresponding pump cut the tubes at an appropriate length tight the three tubes together above the glass with a zip tie pushed the electronics inside the enclosure and mounted the remaining piece of woods to the enclosure with a hinge which means that after adding well CRO tape to the side of the housing the mechanical construction was also complete now as a first test sketch I created a simple piece of codes that can select each pump and turn it on or off when other the rotary encoder button after uploading it and powering the circuit with a power supply that offers 15 volts and 5 amps I positioned each pumps silicon tube in the corresponding beverage started each pump individually and measured how much mullah leaders they move per seconds now the results of the three pumps were pretty close to one another but just imagine if you have a soup like liquids that the speeds would be slower so with those new information in mind I created the final sketch for the Arduino which in a nutshell follows this functional principle once the stop button is activated the scale zeroes and pump 1 starts moving liquids as soon as liquids fills the glass anti-scale notices that a counter starts which allows the previously entered amount of milliliters to enter the glass once that timer is over though pump 1 deactivates the system waits for two seconds zeroes the scale and then activates pump 2 once again as soon as liquid 2 will fill the glass the scale notices stats start time or two and then deactivates pump 2 wants the delays over this madness then continues until all three pumps spill over the beverage new leaders and I can get plastered and just like that you can create your own cocktail machine since my version is a woodworking nightmare utilizes two thick tubes which causes vibrations and could definitely use some more pumps for wider drink variety there's plenty of room for improvements so I hope you give a project like this that's right as always I hope you enjoyed watching this video and maybe even learnt something new along the way if so don't forget to like share and subscribe consider supporting me through patreon to keep such videos coming stay creative and I will see you next time