a fixed ration between the sum of all cups and the amount of water
No. That wouldn't work. I have got two identical machines. One is of 2012 and the other of 2017
The 2012 has counted:
# Coffee: 8721
Water: 1129
# descaling: 14
The 2017 has counted:
# Coffee: 4408
Water: 2253
# descaling: 7
So even though the number of coffees is doubled on the 2012 machine the amount of water is only half of that compared to the 2017 machine. So it might be that somebody used the 2017 machine just to boil water for tea.
My machine, the ESAM3000.B EX:1, is quite simple. So if we figure out how data is stored here, we might be able to transfer this knowledge to other machines.
If you look at the memory table, only half of the memory is used, and the memory used is stored twice. So it is just 68 byte we need to worry about.
What needs to stored in a non volatile memory?
Setting as:
Waterhardness (four stages) 1 = 0-7°DH ~ 250L, 2 = 7-14°DH ~ 130L, 3 = 14-21°DH ~ 80L, 4 > 21°HD ~ 40L
Shut down time (five stages) 1 = 900sec, 2=1.800sec, 3=3.600sec, 4=7.200sec, 5=10.800sec
Eco Mode (toggle) Yes/No
Counters:
Number of coffee pucks in the container since it was emptied the last time.
Total Number of coffees drawn. Does a two cup draw count as 1 or as 2? It is just one draw.
Total Amount of water used. What would be the unit here? Number of counter impulses? Got an idea how the flow meter works?
Amount of water used since last descaling
Number of descalings
Number of washings. (my machine can not do that)
If you were a software engineer. What else would you store there?
Machine type
Serial #
Software Version and Revision
Total POWER ON time (the microprocessor is powered as soon as the main switch is ON)
- That is unlikely. The Processor has got no time to put that into memory if mains power is switched off.
Total machine ON time
Your girlfriends telephone number (who knows ;-))
Have you managed to read data from a powered up machine or will this always result in an short circuit?
We only need to establish a data transmission. Can this be done in an electrically isolated way? It is just the three connections: Program Data, Program Clock an MCLR. Maybe with an opto coupler? I am not the electronic guy.
Regards, Poppa