Control unit for barista espresso machine

I've gotten a used barista espresso machine from an friend.

One similar to this: https://i.ebayimg.com/00/s/ODQzWDc0OQ==/z/dWwAAOSwzE5cXUvq/$_86.JPG

Mechanicly it seems fine, booler, pump, solenoids etc. But the control units are broken, the keypads are completely worn down and dont work anymore. The replacement part (http://www.cafeparts.com/Push-button-Panel-5-Buttons-Gicar/Product/10849) costs upwards of 500.

I was wondering if I could replace this with a diy solution. I know my way around arduino programming, pcb design and I have acces to a 3d printer. Would it be possible to do this using arduino? An what do I have to keep in mind?

This diagram was included in de manual

Most stuff in this diagram makes sense. But I'm nog entiarly sure what to do with the

*volumetric counter, not sure what it is exactly?

*boiler(I assume this is a read out for temperature and fill lever, but what do I use this readout for, just for checking if it's filled up to temp.? Before starting a shot)

*Order of operation for a shot? and what's important.

Does anyone know his or her ways around machines like this? And would like to help me figuring this out.

Posted this on reddit as well: https://www.reddit.com/r/arduino/comments/ap4au2/barrista_coffee_machine_control_unit/

Hi,

Sounds like a good project.

I wouldn't worry too much about how it operated in the past. The schematic is useful to show us what the machine has. I would rip all the existing wiring out and start from scratch. This was you can set it up and control it as you wish, even adding more functionality to the machine that it may never have had in the first place (such as programmable pre-infusion and wait times, pressure profiling, shots based on time, etc)

One thing I would definitely add is a PID to control the boiler temp rather than the existing thermostat. Huge upgrade!

It has a probe in the boiler to sense when it needs refilled. If this probe can be used in your Arduino design that would be good. It refills the boiler if using the steam wand (no pump active) depleting the boiler of water. Theres a few ways around this but using the probe would be ideal.

I've started a thread here about my project as I've got all the hardware setup and also working in Arduino, however, I'm currently looking at the best way of coding the whole menu-driven system.

https://forum.arduino.cc/index.php?topic=598777.0

Here's some photo's of my project so far:

https://drive.google.com/folderview?id=1B3v_CZkXpclEsZ6LjCiI0q16ndA4oxRd

I'll be looking forward to see how you get on with it, good luck!