GithubHelp home page GithubHelp logo

bar-boy's Introduction

bar-boy

this repository contains the source code for a remote controlled drink machine that was built by deehrlic and cduval with a raspberry pi

bar-boy's backend has recently been upgraded and now runs on Python with a Flask server directing traffic and uses get requests to communicate between the server and client. This differs from previous builds and allows literally anything with an internet connection running on the same network an ability to easily interface with it since the server and client are no longer dependent on each other.

IMAGE HERE

SEE /BARBOI.PDF IN THIS DIRECTORY FOR A TECHNICAL WRITEUP

Using bar-boy

Assuming you've recreated our hardware build, all you need to do is make sure all devices intended to connect to the bar-boy and run

python3 api.py

on your Pi and

python3 client.py

if you're using our included client. Since our setup is modeled off of an API, you can interface with bar-boy by sending a get request to

http://pi's-ip-addr:port#/api/route?drink=drink-name

to trigger whatever drink you sent to pour. All service to the bar-boy itself is routed through the LOCAL IP address of the Pi running it so take note of that.

Prerequisites

Python3 and these non built-in libraries:

-flask

-requests

-csv

-Rpi.GPIO

Built With

  • Python3
  • HTML/CSS

Authors

  • Drew Ehrlich - Software Developer - deehrlic

  • Corey DuVal - Electronics Developer - coreyduval

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Acknowledgments

Special Thanks To:

  • Nick Adair - Lead Construction Assistant/Toolmaster
  • Justin Hinman - Construction Assistant/Tester
  • Steaven Ballesteros - Construction Assistant/Tester

GOVERNMENT WARNING: (1) According to the Surgeon General, women should not drink alcoholic beverages during pregnancy because of the risk of birth defects. (2) Consumption of alcoholic beverages impairs your ability to drive a car or operate machinery, and may cause health problems

By using bar-boy, you are consenting to the following statement:

I am voluntarily participating in the use of this device. I understand that there are risks associated with my participation in using this device, such as physical and/or psychological injury, pain, suffering, illness, disfigurement, temporary or permanent disability, death or economic loss. These injuries or outcomes may arise from my own or other’s actions, inactions, or negligence, or the condition of the use or location of this device. Nonetheless, I assume all risks of my participation in the implementation and use of this device, whether known or unknown to me, and any events incidental to the use of this device.

Please drink responsibly.

bar-boy's People

Contributors

deehrlic avatar

Stargazers

 avatar

Forkers

coreyduval

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.