Introduction: 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 ----- GeeekPi 5 inch HDMI Monitor LCD Resistive Touch Screen 800x480 LCD Display USB Interface for Raspberry Pi 4 Model B, Pi 3/2 Model B/B+ & Banana Pi (Plug and Play Free Driver)

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 ----- inShareplus 12V 10A 120W, DC Universal Regulated Switching Power Supply, 100-240V AC to DC 12 Volt LED Driver, Converter, Transformer for LED Strip Light, CCTV, Computer Project, 3D Printer

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 ----- EDGELEC 120pcs Breadboard Jumper Wires 10cm 15cm 20cm 30cm 40cm 50cm 100cm Wire Length Optional Dupont Cable Assorted Kit Male to Female Male to Male Female to Female Multicolored Ribbon Cables

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)

Quantity 1: ----- EWUONU Micro USB 90 Degree Cable [2 Pack 10FT] for Fire 7 HD8, Samsung Tablets, Galaxy S7 S6 Edge J8 J7, Xbox One, PS4 Controllers, Camera and More – Right Angled Micro USB Charging Cable


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)

Step 1: 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.

Step 2: Wiring Schematic

Step 3: Custom CAD Parts

Assembly: Press fit 2 "Knob" parts into the "Screen Holder".

(This creates a shelf for an touch screen stylus.)

Nozzle

Screen Holder

Knob

Step 4: Preparing Parts

Step 5: Preparing Parts

Step 6: Preparing Parts

Step 7: Preparing Parts

Step 8: Preparing Parts

Step 9: Preparing Parts

Stain and Varnish Boards.

Spray Paint the Planks.

Step 10: Assembling the Bar

Step 11: Assembling the Bar

Step 12: Assembling the Bar

Step 13: Assembling the Bar

Step 14: Assembling the Bar

Drill 3/4" hole in center of board before attaching

Step 15: Assembling the Bar

Step 16: Assembling the Bar

Step 17: Assembling the Bar

Step 18: Assembling the Bar

Step 19: Assembling the Bar

Step 20: Assembling the Bar

Step 21: Assembling the Bar

Step 22: Assembling the Bar

Step 23: Assembling the Bar

Step 24: Assembling the Bar

Step 25: Assembling the Bar

Step 26: Assembling the Bar

Step 27: Assembling the Bar

Step 28: Assembling the Bar

Step 29: Assembling the Bar

Step 30: Loading Bottles

To load bottles slide the sides off and run tubing into bottles.

There is enough room for 6 bottles.

Step 31: Finished Result!!