For years I wanted my own drink dispenser like the one you see behind the bar. After some initial research, I found them to far exceed my budget. But now, with the power of the 3D printer, I have created my own luxury item for less than $40.
This design is so easy that anyone with a 3D printer and a soldering iron (not necessary but desirable) can create and have their own drink dispenser at home. No software coding required, just a few app settings through your phone. Design is completely food-safe (as long as you choose the appropriate materials)
With the power of Alex or Google Home you too can be living the good life with your own voice-controlled drink dispenser.
Step 1 - Soldering
After you have finished printing the parts, it is time to put it all together. Firstly, solder the power to the SONOFF board and then solder the connections from the SONOFF board to the pump. The image below should help you out.
Step 2 - Fixing
Now that everything is soldered together, we need to fix everything to the bottom. But before we start bolting things down, first remove the pump head off the shaft. This will enable us to feed the tubing through the pump head later on.
Use two 2.5mm x 10mm bolts to secure the pump and 2 x 3mm bolts to secure the SONOFF board.
Step 3 - Quick Test
With everything secure, it is a good idea to make sure the system is working electrically. You will need to download the eWeLink app to your phone and apply power to the board. Once you have downloaded the app and add the device (doesn't matter what you call it just don't forget the name) make sure you can turn the device on and off with your phone. If it doesn't work you probably connected something wrong.
Next, with your Alexa app, enable the eWeLink skill. With the skill enable and your accounts linked, create a new routine. In the "When this happens" insert "Alexa, ". For example "Alexa, whiskey" or "Alexa, get me a drink". In the "Add action", select Smart Home and choose control device and select the SONOFF device you added (its time to remember that device name). Now give it a test e.g. "Alexa, whiskey". All things going well, the pump should start. Remove power and let's feed the tube through the pipe.
Step 4 - Insert Tube
This step can be a bit finicky. We need to feed the tube through the pipe into the main section. I have found it easier to start from the top and push it down. You might have to clean the pipe, depending on your print quality. A small wire brush will do the trick but be careful, the pipe can break.
Now that you managed to feed it through, leave a little bit at the top (we will cut this off later) to stop it from sliding through. Feed the tube through the pump head, make sure you clamp it in place (in the pump head) and pass it through the hole under the pipe. Place the pump head back on the shaft.
Step 5 - Assembly
Insert the bottom into the body and secure it with four bolts.
Cut the tubing to length and remove the excess tubing at the top.
Step 6 - Calibration
We are now on the final stretch. Get two cups one filled with water and the other to measure.
Place the tube into the cup of water and place the other cup onto the dispenser. Ensure power is applied and have a stopwatch ready.
With your stopwatch ready, "Alex, whiskey". Time how long it takes for the pump to dispense the amount of liquid you desire. For 30ml it should take about 23 seconds (depending on the pump).
With this figure, go into the EWeLink app and select the device and click on "settings". You have to select Inching to on and the duration to the time you just determined.
Save the setting, empty the cup on the dispenser and run the test again. Change the Inching value to get the desired amount of liquid.
Step 7 - It works
All things going well you should end up with something like this video.
To secure the tubing in the bottle, I found a cork lid from another bottle, drilled a hole in the lid and fed the tubing through.
Congratulations and happy consuming.