Bartender Bot

Overview

This project involves creating an automatic cocktail maker. A user selects a drink choice from a predefined menu on a website, and their choice is concocted from a variety of drinks housed within the cocktail maker.

The Raspberry Pi is only used for hosting and serving a website for drink selection and interactions with the MBED. Once the user selects a drink on the website, the Raspberry Pi sends the MBED a specific recipe and the MBED feeds signals to the three dual H-bridge instructing the motor-driven pumps to dispense the specific liquids required for the drink.

Demo Video

Hardware Components

  • Raspberry Pi 4
  • mbed NXP LPC1768 MODULE
  • Dual H Bridge Motor Driver (3)
  • Peristaltic Pumps (6)
  • Smart Color LCD (uLCD-144-G2 128)

Software Components

Schematic

https://i.imgur.com/KfQwu7d.png

Pin Connections

Peristaltic Motors

Connect all 6 motors in a similar method. AIN1 and AIN2 connect to MBED digital pins, and PWM connects to a PwmOut pin.

MBEDH BridgeMotor
P5AIN1
P6AIN2
P21PWMA
AO1+
AO2-

LCD Screen

MBEDuLCD
5V5V
Gndgnd
TX (P27)TX
RX (P28)RX
P30Reset

Images

https://i.imgur.com/3SlH1O5.jpg

https://i.imgur.com/HHJCHpw.jpg

Code

Website Code

https://github.com/nicholasjoaquin/drink-dispense

MBED Drink Dispensing Code

Import programdrink_dispensing_program

Drink Dispensing Program


Please log in to post comments.