Hi everyone,
I hope somebody can help me with my project. I think the solution can't be very hard, but I am not able to put it together.
What I want to achieve is to connect an Arduino to my coffee machine (DeLonghi ECAM 22.110B), in order to track the amount of coffee I consumed. Later on I would like to log and send the data via Blynk app to my smartphone. But currently I am stuck at retrieving the data.
To track the coffee consumption, I think the easiest way would be to just register the button press on the coffee machine.
I build a dummy-circuit with a button on a breadboard and registered the button press there via the digital input, following this tutorial. I also measured the voltage between the legs of the button, which is 0V when pressed and 2,5V when released.
But when I try to transfer this logic to the coffee-machines PCB, I don't get any signal. Just a floating value, which also doesn't change when the button is pressed. I connected the D2 pin to one leg of the coffee-machine. I think GND and 5V are coming from the machine to the button. I also tried using the INPUT_PULLUP command, but no difference.
Next, I tried reading the signal with the analog input. I connected the A2 pin to one side of the button on the machine and the other side of the button to GND. Now I can somewhat register if the button is pressed, but the signal is fluctuating between 0 and 400 when not pressed and 10-15 when pressed.
I think I am missing something obvious, probably the wiring from my arduino to the coffee-machine is wrong. But I don't want to try too much out on the coffee-machine, because I am afraid to break it.
I would be very thankful for any advice on this topic! I attached some pictures, hope these help.
Best regards ![]()




