zeekoe / coffeev2

Coffee machine v2 source code

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Coffee machine v2

Coffee machine v2 source code. Check https://hackaday.io/project/12688-coffee-machine-v2/ for info.

Dummy environment controls

The dummy environment (automatically chosen if architecture != armv6l) allows for simulating the coffee machine on a desktop computer. The following buttons can be used to control it:

  • w, q: state switch buttons
  • 1,2,3,4,5: number buttons
  • space bar: start button
  • Ctrl + C in the terminal (sometimes needed twice :-)): quit

Installation

Check the defaults directory.

Work in progress

  • Most texts and variables were originally written in Dutch. Some are already translated to English.
  • In an initial version, the MPD client connected to an MPD server on the Pi itself, while the files were accessed over CIFS/SMB. Currently, it connects to an MPD server on a different computer, and uses snapserver/snapclient to play music in sync on both computers. Code for both still is in the repository.

Firmware

Read https://hackaday.io/project/12688-coffee-machine-v2/log/41952-ronaldboard-isp-programming-i2c-communication for the background and the neccesary files

Licence

  • software/avt.py is public domain, unknown licence (from https://github.com/NS-API/Python-API)
  • firmware/twi* is licenced under 'GNU General Public Licence'
  • all other code is either mine or very trivial, and published under GPLv3

About

Coffee machine v2 source code


Languages

Language:Python 56.2%Language:C 33.2%Language:PHP 6.1%Language:Makefile 3.0%Language:Shell 1.5%