Controlling Pumps With Raspberry Pi and GUI Touchscreen: Perfect Pour Drink Dispenser
by cheiner32 in Circuits > Raspberry Pi
1995 Views, 21 Favorites, 0 Comments
Controlling Pumps With Raspberry Pi and GUI Touchscreen: Perfect Pour Drink Dispenser
Summary:
Do you want to modernize your home bar experience while still maintaining a classy and stylish bar feel? Here is a versatile project that can be easily modified to meet your own design. The goal of this project is to bring together a raspberry pi, touch screen, diaphragm pumps, and various electrical components to automatically pour six different drinks. Each of the six options can be quickly poured to either 0.5oz, 1oz, 2oz, and a free flow.
This project serves as a great beginners guide to programming graphical user interfaces(GUI) and learning to control mechanical components with digital call outs.
These instructions will take you though the following:
- Supplies
- Step 1: Raspberry pi code download walkthrough
- Step 2: Wiring schematic
- Step 3: Custom CAD parts download
- Steps 4-9: Preparing parts
- Steps 10-29: Bar assembly walkthrough
- Step 30: Loading Bottles
- Step 31: Finished
Supplies
Electronics:
Quantity: 1 ----- Raspberry Pi Model 3 A+
Quantity: 1 ----- ANMBEST Relay Module with Optocoupler High/Low Level Trigger for Arduino (5V Relay 6 Channel)
Quantity: 1 ----- 3Dman 15A 250V Rocker Switch Power Socket Inlet Module Plug 5A Fuse Switch with 18 AWG Wiring 3 Pin IEC320 C14
Quantity: 1 ----- C2G Power Cord, Replacement Power Cable, 3 Pin Connector, Universal Power Cord, 5-15P to C13, 18 AWG, Black, 6 Feet (1.82 Meters), Cables to Go 03130
Quantity: 1 ----- Pure Copper 20 AWG (American Wire Gauge) 100 ft Red & 100’ Black Bonded Zip Cord Power Speaker Cable for Car Audio Home Stereo LED Light (Also in 50 & 200ft Roll)
Quantity: 1 ----- PCB007 1X 12 Position Power Distribution Board 2 Inputs 2 x 13 Outputs for DC AC Voltage New
Quantity: 1 ----- Buck Converter 12v to 5v, DROK 5A USB Voltage Regulator DC 9V-36V Step Down to DC 5V-5.3V 5.2V 3.5-6A Volt Transformer Power Supply Module for Phone Fast Charging
Quantity: 1 ----- Cablecc CYFPV FPV HDMI Male to Up Angled 90D HDMI Male HDTV FPC Flat Cable for FPV HDTV Multicopter Aerial Photography (50cm)
Hardware:
Quantity: 6 ----- Gikfun Mini DC 6V to 12V R385 Water cooled Water Pump Air Diaphragm Pump EK1856
Quantity: 6 (total) ----- Metaland One Way Check Valve, 1/4" Hose Barb Non Return Ozone Resistance Plastic Valve for Water Fuel Oil Air Gas
Quantity: 5 ----- 1 in. x 2 in. x 8 ft. Premium Kiln-Dried Square Edge Whitewood Common Board
Quantity: 3 ----- 1/4 in. x 2 ft. x 4 ft. PureBond Maple Plywood Project Panel
Quantity: 1 ----- Poplar Board (Common: 1 in. x 6 in. x R/L; Actual: 0.75 in. x 5.5 in. x R/L)
Quantity: 1pk -----1-1/2 in. Stainless Finishing Nails
Quantity: 1pk ----- #19 x 1/2 in. Zinc Wire Nails
Quantity: 1pk ----- #6 x 1/2 in. Phillips Round Head Aluminum Sheet Metal Screw
Quantity: 1pk ----- #6 x 1/2 in. Phillips Flat Head Zinc Plated Wood Screw
Quantity: 1pk ----- #8 x 1-1/2 in. Zinc Plated Phillips Flat Head Wood Screw
Quantity: 1pk ----- #8 x 2 in. Phillips Bugle-Head Coarse Thread Sharp Point Polymer Coated Exterior Screws
Quantity: 1 ----- Wood Glue
Quantity: At least 25ft. ----- Sealproof Unreinforced PVC 1/4-Inch-ID x 3/8-Inch OD Food Grade Clear Vinyl Tubing, 10 FT,
Quantity: At least 3ft. ----- Gikfun 9.84 Ft 3m Silicone Tube 2mm ID x 4mm OD Flexible Silicone Rubber Tubing Water Air Hose Pipe Transparent for DIY Peristaltic Pump Transfer EK1962
Quantity: 1 ----- Custom CAD Nozzle
Quantity: 1 ----- Custom CAD Screen Holder
Quantity: 2 ----- Custom CAD Knobs
Quantity: 1 can ----- Stain (of your choosing)
Quantity: 1 can ----- Varnish (of your choosing)
Quantity: 3 spray cans ----- Paint (of your choosing)
Raspberry Pi Code Download
Raspberry Pi Code Instructions:
For instructions on setting up, and downloading the code for the raspberry pi follow the github link below.
https://github.com/Cheiner32/Perfect-Pour-Bar
Note that the pump run times and the names of the drinks can be changed within the code to suit your needs.
Wiring Schematic
Custom CAD Parts
Assembly: Press fit 2 "Knob" parts into the "Screen Holder".
(This creates a shelf for an touch screen stylus.)
Preparing Parts
Preparing Parts
Preparing Parts
Preparing Parts
Preparing Parts
Preparing Parts
Stain and Varnish Boards.
Spray Paint the Planks.
Assembling the Bar
Assembling the Bar
Assembling the Bar
Assembling the Bar
Assembling the Bar
Drill 3/4" hole in center of board before attaching
Assembling the Bar
Assembling the Bar
Assembling the Bar
Assembling the Bar
Assembling the Bar
Assembling the Bar
Assembling the Bar
Assembling the Bar
Assembling the Bar
Assembling the Bar
Assembling the Bar
Assembling the Bar
Assembling the Bar
Assembling the Bar
Assembling the Bar
Loading Bottles
To load bottles slide the sides off and run tubing into bottles.
There is enough room for 6 bottles.