søndag 25. mars 2012

Current source code

Click here to download latest build (currently in development so don't expect too much)
You need to install the pymcu and python modules as described here: http://pymcu.com/Installation.html
You also need to download miniboa and put in the same folder as the coffeeserver.py.

D1 on the PYMCU is the LED indicator used showing coffee in progress. Please add 330ohm resistor in series with the LED.
D2 is a beeper element that indicates start and stop of the process.
The relay controlling the power for the coffee machine is not yet implemented, this part needs additional powersource to drive the relay.

There is a timeout of 30 secs for the process.

Next part. Get sensors for waterlevel.

8 kommentarer:

  1. We had a coffee daemon at my student union back when I was at the university. It estimated the number of mugs of coffee it brew by tracking the timing of the heating for the pot.

    SvarSlett
    Svar
    1. Good idea. I was thinking of using just Light Dependent Resistors. They will sense when black coffee blocks the sight.

      Slett
  2. I have a python script to run your coffeeserver over http instead of telnet (self-contained webserver using xmlrpc). I wanted to post it as a comment but it is too long. Email me if you would like it. I have a Pi but not your other components, so I can't test it myself.

    SvarSlett
    Svar
    1. Or just paste a dropbox/skydrive/googledrive link to the code in the comment field

      Slett
  3. Yes please! I need an email address then. A Web UI would be nice, I have been thinking about creating a mobile app for it, but a mobile friendly html interface would be a good start. I will still keep the telnet interface as it was the original idea to keep it very geeky.

    SvarSlett
  4. Love this project! Interested in extending it to support https://en.wikipedia.org/wiki/Hyper_Text_Coffee_Pot_Control_Protocol

    SvarSlett