ReadMe, Partlist, minor restructuring

This commit is contained in:
Stefan Kalscheuer 2017-07-04 11:15:23 +02:00
parent 0b2ab61d32
commit 17fbd1adc1
10 changed files with 143 additions and 1 deletions

100
README.md Normal file
View File

@ -0,0 +1,100 @@
# Senseo Control 2.0
A completely rebuilt AVR based hard- and software for Senseo® HD782x coffee machine.
It allows custom setting of cup size and temperature and includes simple support for a second cup size (e.g. espresso) by pushing the buttons longer (2s).
The original project was documented in [this blog post](https://www.stklblog.de/blog/senseo-control-20) (German), including photos of the prototype.
## Functionality
The OEM functionality (coffee, rinsing, auto-off) has been reimplemented (indications adapted to RGB LED) with a few features on top.
### Features
| | Input | Action |
|:-------:|:--------------------------------:|:----------------------------------------------------:|
| ⬤ ⭗ ⬤ | push both coffee buttons | rinsing cycle (pump cold water, until tank is empty) |
| ⬤ ⭗ ⭕ | push single coffee button | 1/2 cups of coffee |
| ⬤ ⭗ ⭕ | push single coffee button for 2s | 1/2 cups of espresso (shorter time, 2s pre-brewing) |
| ⭕ ⬤ ⭕ | push power button | start / shutdown at any time |
| ⭕ ⭗ ⭕ | 3 minutes idle | Auto-Off |
#### Optional Features
* **Coffee wish** - if enabled (see below), the machine will memorize your coffee wish during heat-up and automatically
start the coffee when finished, indicating through a violet LED (instead of green)
### LED Signals
| Color | Light | Flashing |
|:------:|:------------------------------------------:|:------------------------------------------------------------:|
| red | - | <span style="color:red"></span> heating up |
| green | <span style="color:green"></span> ready | <span style="color:green"></span> coffee running |
| orange | - | <span style="color:orange"></span> espresso running |
| blue | <span style="color:blue"></span> rinsing | <span style="color:blue"></span> water empty |
| violet | - | <span style="color:violet"></span> heating up (coffee wish) |
## Platform
### Hardware
The hardware is based on an **ATtiny26** microcontroller with internal 8MHz RC oscillator.
Power supply is provided by a small transforer with a _78L05_ linear regulator.
Pump and boiler are controlled by Triacs with isolated MOC30xx drivers.
The original sensors (NTC for temperature, Hall for water tank switch) are directly attached to the new board.
### Schematic and Layout
The prototype has been built in THT on a perfboard, hence the layout provided is compatible to 2.54mm (100mil) grid.
Might as well be used for a PCB. The board is designed to fit the HD7822 model.
Files provided under _hardware/_ are compatible with CadSoft/Autodesk EAGLE™ 6 and above.
### Firmware
The firmware is written in _C_ and comes with a _Makefile_ for use with _avr-gcc_ and _avrdude_.
There are configurations available for _STK500_, _AVR ISP mkII_ and _Pony-STK200_ which can be adapted to your setup.
## Customization
The code is designed to customize functions, timing, temperature and hardware pinning.
To to so, set the corresponding fields in the _main.h_ file:
| Flag | Default | Description |
|-------------------------|---------|----------------------------------------------|
| `TIME_1_ESPRESSO` | 15 | pump time 1 espresso (seconds) |
| `TIME_2_ESPRESSO` | 28 | pump time 2 espressos (seconds) |
| `TIME_1_COFFEE` | 26 | pump time 1 coffee (seconds) |
| `TIME_2_COFFEE` | 52 | pump time 2 coffees (seconds) |
| `OPERATING_TEMPERATURE` | 125 | water temperature (ADC value) |
| `AUTO_OFF_THRESHOLD` | 180 | Auto-Off time (seconds after last action) |
| `COFFEE_WISH` | 0 | save coffee wish on heat-up (`1` to enable) |
Pinout, button-thresholds and LED-configuration is also present in this file (should be self-explaining).
## Notes
The Triacs need heatsink.
The prototype uses approx. 75 x 30 x 1.5 mm (3 x 1.2 x 0.06 in) aluminum sheet, which is about the minimum recommended with a maximum temperature around 70°C (158°F).
<span style="background-color:lightyellow;padding:.5em;border-left:4px orange solid;display:block">**⚡ Danger - High Voltage ⚡**<br>
Working on a live coffee machine involves voltages of 120/230V AC **!** This voltage is applied to the heatsinks and causes hazard on contact.<br>
Please make sure you know what you are doing or consult an authorized professional.<br>
<br>
Cut the power before working on the device.
First tests can be done without main power (supply the µC with 5V from the programmer), Triacs can be tested with low voltage (e.g. 12V~).
On final test use an isolating transformer or at least a RCD.</span>
## License
The project is licensed under [GPL v3](https://www.gnu.org/licenses/gpl-3.0.de.html) license.
## Disclaimer
_"SENSEO"_ is a Trademark of _Koninklijke Philips N.V._ when used for coffee makers and a Trademark of _Sara Lee/De N.V._ when used for coffee pods.
No claim is made to the exclusive right to use _Senseo_ apart from the mark as shown.

View File

@ -8,7 +8,6 @@
# Internal RC-oscillator 8 MHz, CKDIV8 Enabled
# Project specific settings
TARGET = SenseoControl-2.0
MCU = attiny26

BIN
hardware/layout.pdf Normal file

Binary file not shown.

43
hardware/partlist.txt Normal file
View File

@ -0,0 +1,43 @@
Partlist
Exported from SenseoControl 2.0
Part Value Device Package Library Sheet
B1 B500D B-DIL B-DIL rectifier 1
C1 470µ CPOL-EUE2.5-6 E2,5-6 resistor 1
C2 100n C-EU025-024X044 C025-024X044 resistor 1
C4 100n C-EU025-024X044 C025-024X044 resistor 1
C5 100n C-EU025-024X044 C025-024X044 resistor 1
C6 1µ CPOL-EUTT2D5 TT2D5 resistor 1
D1 1N4004 DIODE-D-2.5 D-2.5 diode 1
D2 5V1 ZENER-DIODEZD-7.5 ZDIO-7.5 diode 1
IC1 78L05 78L2 TO92-A linear 1
IC2 TINY26P TINY26P DIL20 atmel 1
LED1 LF5 LF5 LF5 led-rgb 1
OK1 MOC3031M MOC3031M DIL06 optocoupler 1
OK2 MOC3031M MOC3031M DIL06 optocoupler 1
R1 10k R-EU_0207/12 0207/12 resistor 1
R2 150 R-EU_0204/7 0204/7 resistor 1
R3 20 R-EU_0204/7 0204/7 resistor 1
R4 120 R-EU_0204/7 0204/7 resistor 1
R5 150 R-EU_0204/7 0204/7 resistor 1
R6 150 R-EU_0204/7 0204/7 resistor 1
R7 1k R-EU_0204/7 0204/7 resistor 1
R8 1k R-EU_0204/7 0204/7 resistor 1
R9 1k R-EU_0204/7 0204/7 resistor 1
R10 1k R-EU_0204/7 0204/7 resistor 1
R11 10k R-EU_0204/7 0204/7 resistor 1
R12 1k R-EU_0204/7 0204/7 resistor 1
R13 100k R-EU_0204/7 0204/7 resistor 1
R14 100k R-EU_0204/7 0204/7 resistor 1
S1 POWER 10-XXA B3F-10XX-A switch-omron 1
S2 1 CUP 10-XXA B3F-10XX-A switch-omron 1
S3 2 CUPS 10-XXA B3F-10XX-A switch-omron 1
T1 BT136 BT136 TO220AB triac 1
T2 BT136 BT136 TO220AB triac 1
TR1 230V/6V 0.35VA EE20-1 EE20-1 trafo 1
X2 MKDSN1,5/5-5,08 MKDSN1,5/5-5,08 MKDSN1,5/5-5,08 con-phoenix-508 1
X4 Hall-Switch MPT2 2POL254 con-phoenix-254 1
X5 NTC MPT2 2POL254 con-phoenix-254 1
X6 ISP PINHD-2X3 2X03 pinhead 1

BIN
hardware/schematic.pdf Normal file

Binary file not shown.