Coder Social home page Coder Social logo

barmixvah's Introduction

Bar Mixvah

Bar Mixvah is an automated drink mixing robot that is controlled via a beautiful web interface. Users can select a drink, select a size, and have their drink made for them in front of their eyes!

Requirements

This is not magic. A not-so-insignificant amount of hardware, soldering, and wiring is required for this to work. Follow along with the tutorials on my website here:

http://yujiangtham.com/2014/05/25/build-your-very-own-drink-mixing-robot-part-1/ http://yujiangtham.com/2014/05/30/build-your-very-own-drink-mixing-robot-part-2/ http://yujiangtham.com/2014/06/12/build-your-very-own-drink-mixing-robot-part-3/

Caveats

A few parts of the interface are incomplete or not very well-implemented at the moment. Currently, only 5 pumps are supported (although you should be able to add as many as you want, up to the number of digital out pins on the Arduino). You'll have to change the code in /public/javascripts/robot/backend.js to support this, but it's a quick and easy change. Also, the add pumps button should be removed or greyed out when the max number of pumps is reached, but I have no code in place to do that yet currently. In the add screen, there is no confirmation when a drink is added. In the edit screen, the +/- buttons are not functional as of yet.

Usage

The app connects to your local mongo database on startup. You should have mongo running first, or it will throw an error. The web interface is located at http://localhost:3000 (or if you are connecting via a different device, you can point that device to http://x.x.x.x:3000, the IP address of the machine that the node.js app is running on).

You'll likely want to import example drinks collection that I made. It doesn't contain drinks for all combos, but it'll have a few examples. You can add more by following the information at the bottom of this section. Import the drinks collection with this command: mongoimport --db barmixvah --collection drinks --file drinks.json

Pump controls are accessed in the top-right corner by clicking the PUMP button. You can add/remove pumps with the (+) and (-) buttons and select ingredients for each of those pumps as they appear in the center of the screen.

Drinks can be added by pointing your browser to localhost:3000/add, and can be edited at localhost:3000/edit. Drink images can be added to /public/image/drinks/.

Yu Jiang Tham, 2014

barmixvah's People

Contributors

amittel avatar ytham avatar

Watchers

James Cloos avatar Evan Laske avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.