Skip to content

TomaT3/SpiritSpender

Repository files navigation

Description Status
server build on master build-and-test-server
client build on master build-and-test-client
latest version version
release notes https://github.com/TomaT3/SpiritSpender/releases

SpiritSpender

History

At SchleFaz evenings with friends, there has always been this one poor guy who had to refill the shot glasses. The later the evening the more spirit was spilled and more uneven filling of the shot glasses. That's how the idea of an automatic SpiritSpender was born.

How it works

The SpiritSpender can fill up to 12 shot glasses (single or double shot). Any bottle can be used that fits into a standard "Bar Liquor Dispenser". The SpiritSpender can be controlled from any device that has an Webbrowser.

SpiritSpenderFront SpiritSpenderElectricControlBox



Hardware

Main components:

  • RaspberryPi 4
  • 2 stepper controller (TB6600)
  • 2 stepper Motors (NEMA 17 2.0A)
  • Linear Motor
  • EmergencyStop

Electrical layout

tbd

Technical Background

3 Docker containers are running on the raspberry pi:

  • MongoDb
    • used to store settings
  • ASP .NET Core Server (GPIO control/logic)
    • controlles the hardware via GPIOs in-/output
    • offfers a web api for client
  • Nginx Webserver (AngularApp for UI)
    • AngularApp to control the spirit spender from e.g. mobile phone with two main tasks:
      • Setup: setup hardware / change settings
      • Automatic: tell how much to fill in each glas and start filling process