|Michael Reber 4b6a9160f6||1 year ago|
|_drawings||1 year ago|
|arduino code||1 year ago|
|client app||1 year ago|
|README.md||1 year ago|
A fully automated beverage dispenser, controllable via an Android or Iphone app
It has been designed to hold up to 9 bottles of ingredients for making the cocktails, dispensing the correct amount from each to mix your cocktail of choice.
Cocktails can be chosen using the mobile app (available for iOS and Android) that connects to the machine via Bluetooth. In the app you can also enable/disable ingredients, change the position of each ingredient, edit the recipes and change the amount of each ingredient used in the cocktails and so on.
npm install -g cordova
npm install -g firstname.lastname@example.org
ionic servein a terminal from the
Tools -> Boardmenu (right now we're not supporting other boards than Arduino Mega)
Tools -> Serial Portmenu
The mobile app and the machine communicates over the Serial port using the Bluetooth module HC-05 (with a few small changes, you can use other methods for communication like USB or WiFi too). See all available communication commands below in the "Available commands" section.
Multiple commands can be sent in a single message by separating them with a comma ",". All the commands will be executed one after another in the order in which they're written. The messages must be ended with a newline "\n" character to be run.
X-4995,F2 H2500 W3000,X-1990,F6 H2300 W2300,H
Xnnn - The position to move to on the X axis
X-4995 ; Move to -4995 position on the X axis
This command can be used without any parameters
H ; Home the X axis
Fnnn Hnnn Wnnn
Fnnn - Times to pour
Hnnn - Time duration (in ms) to hold dispenser in open position
Wnnn - Time duration (in ms) to wait till next pour
F2 H2500 W3000 ; Pour two times, hold dispenser open for 2500ms and wait for 3000ms between each pour