ECE 4180 (Fall 2015) Final Project - Sir MixaBot (Wi-Fi Enabled Automatic Drink Mixer)

Group Members: Alexander Newton (Section A) / Christopher Price (Section B)

ECE 4180 (Fall 2015) - Professor Hamblen - Georgia Tech

Shot of Whisky selected

Overview

Sir MixaBot is a Wi-Fi enabled automatic drink mixer. Users can simply open a webpage and create the drinks they desire. It has awesome features:

  • 4 (or more) liquid chambers: (2 drinks, 2 mixers) - Easily extendable to more!
  • Per-liquid timing (currently at 5 seconds for drinks and 10 seconds for mixers)
  • Wi-Fi enabled: Simply load up the webpage and get going fast
  • Single-liquid dispensing: Straight shots or pure mixers. However you like it!

Demo

Parts/Wiring

List of parts:

  • MBED LPC1768 (x1)
  • ESP 8266 Wi-Fi Module (x1)
  • 5V SparkFun Beefcake Relays (x4)
  • 12V Solenoid Valves (x4)
  • 3.3V External Power Supply
  • 5V External Power Supply
  • 12V External Power Supply
  • Liquid containers (e.g. plastic water bottles) (x4)
  • Plastic piping (x4 segments)
  • 1/4" Male-to-mal notch to threaded hose adapter (x16)
  • Hot glue

WiFi Module (1x ESP8266 WiFi Controller)

ESP chip

ESP8266mbed LPC1768330uf cap
VccExternal 3.3V Power Supply+
GndGnd-
Resetp29
RXp28-TX
TXp27-RX
CH_PDVout

5V Relays (4x SparkFun Beefcake Relay Control Kit

Relay Array)

Relay 0mbed LPC 1768Solenoid Valve 0External 5V Power SupplyExternal 12V Power Supply
5V+
GNDGND-
CTRLp22
Load Normally Open+
Load Normally Closed+
Relay 1mbed LPC 1768Solenoid Valve 1External 5V Power SupplyExternal 12V Power Supply
5V+
GNDGND-
CTRLp23
Load Normally Open+
Load Normally Closed+
Relay 2mbed LPC 1768Solenoid Valve 2External 5V Power SupplyExternal 12V Power Supply
5V+
GNDGND-
CTRLp24
Load Normally Open+
Load Normally Closed+
Relay 3mbed LPC 1768Solenoid Valve 3External 5V Power SupplyExternal 12V Power Supply
5V+
GNDGND-
CTRLp25
Load Normally Open+
Load Normally Closed+

12V Solenoid Valves (4x Amico 12 Volt 2W-025-08 2 Way 2 Position 1/4" Water Gas Electric Solenoid Valve - (datasheet))

/media/uploads/anewton8/full_view_9SWM7oS.jpg

Solenoid Valve 0Relay 0External 12V Power Supply
+Load Normally Open
--
Solenoid Valve 1Relay 1External 12V Power Supply
+Load Normally Open
--
Solenoid Valve 2Relay 2External 12V Power Supply
+Load Normally Open
--
Solenoid Valve 3Relay 3External 12V Power Supply
+Load Normally Open
--

Piping

We achieved the piping by first mounting the solenoid valves onto a MDF board.

  1. Heat up a soldering iron and punch a hole in the plastic bottles cap
  2. Attach the cap with a hole to a 1/4" male-to-male notch to threaded adapter.
  3. Use hot glue to secure this connection,
  4. Attach this adapter to another one via 1/4" piping
  5. Attach the bottom adapter to the top of a solenoid valve
  6. Attach a third adapter to the bottom of the solenoid valve with piping
  7. Zip tie the piping together at the bottom of the MDF board
  8. Burn a hole in the liquid containers and use a funnerl to load in liquids

Webserver code

  • NOTE: You will need to first save you WiFi settings onto the ESP chip. Do so with a program such as this.
  • NOTE: The ESP chip requires 2.4 GHz. It will not work on other bands. You may need to turn on the 2.4 GHz band in your router settings
  • NOTE: TO get the ip of the webserver, open a usb serial connection at 115200 baud.
  • NOTE: There is a hard limit of 2048 characters for the webpage. We were unable to figure out what caused this (increasing the buffer did not work. Try playing with timeouts?). To save space, remove whitespace from the webpage html/styling.

    Import programECE_4180_Final_Project_Sir_MixaBot

    Wi-Fi enabled automatic drink mixer. Open up the webpage, select you drink and/or mixer and hit dispense. Be amazed as it mixes your drinks for you! Extendable and customizable.


Please log in to post comments.