DESCRIPTION :
To control my coffee maker, I had to create a web server. It has been stored into an ESP32, with it, it's possible to control the power state of the machine and choose the size of the coffee.
I also added a water sensor to have the water level into the water tank.
ESP32 :
WATER SENSOR :
HERE THE RESULT :
CLASSIC MODE :
DARK MODE :
FINAL ASSEMBLY :
The relay is controlled with a GPIO pin and activates the power supply of the coffee maker. When you click "ON", a message appears (on the web app) saying : "Please wait a minute..." to give the time for the machine to warm up ! You also have in this example, the turn on of the green LED, and the turn off of the red LED.
For the 2 buttons, both are controlled with GPIO. When you cick on your coffee size, the pin goes to the high state for a second (just enough to activate the coffee maker).
SOURCES :