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
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)
ESP8266 | mbed LPC1768 | 330uf cap |
---|---|---|
Vcc | External 3.3V Power Supply | + |
Gnd | Gnd | - |
Reset | p29 | |
RX | p28-TX | |
TX | p27-RX | |
CH_PD | Vout |
5V Relays (4x SparkFun Beefcake Relay Control Kit
)
Relay 0 | mbed LPC 1768 | Solenoid Valve 0 | External 5V Power Supply | External 12V Power Supply |
---|---|---|---|---|
5V | + | |||
GND | GND | - | ||
CTRL | p22 | |||
Load Normally Open | + | |||
Load Normally Closed | + | |||
Relay 1 | mbed LPC 1768 | Solenoid Valve 1 | External 5V Power Supply | External 12V Power Supply |
5V | + | |||
GND | GND | - | ||
CTRL | p23 | |||
Load Normally Open | + | |||
Load Normally Closed | + | |||
Relay 2 | mbed LPC 1768 | Solenoid Valve 2 | External 5V Power Supply | External 12V Power Supply |
5V | + | |||
GND | GND | - | ||
CTRL | p24 | |||
Load Normally Open | + | |||
Load Normally Closed | + | |||
Relay 3 | mbed LPC 1768 | Solenoid Valve 3 | External 5V Power Supply | External 12V Power Supply |
5V | + | |||
GND | GND | - | ||
CTRL | p25 | |||
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))
Solenoid Valve 0 | Relay 0 | External 12V Power Supply |
---|---|---|
+ | Load Normally Open | |
- | - | |
Solenoid Valve 1 | Relay 1 | External 12V Power Supply |
+ | Load Normally Open | |
- | - | |
Solenoid Valve 2 | Relay 2 | External 12V Power Supply |
+ | Load Normally Open | |
- | - | |
Solenoid Valve 3 | Relay 3 | External 12V Power Supply |
+ | Load Normally Open | |
- | - |
Piping
We achieved the piping by first mounting the solenoid valves onto a MDF board.
- Heat up a soldering iron and punch a hole in the plastic bottles cap
- Attach the cap with a hole to a 1/4" male-to-male notch to threaded adapter.
- Use hot glue to secure this connection,
- Attach this adapter to another one via 1/4" piping
- Attach the bottom adapter to the top of a solenoid valve
- Attach a third adapter to the bottom of the solenoid valve with piping
- Zip tie the piping together at the bottom of the MDF board
- 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.