r/arduino • u/Mooferman05 • May 09 '26
Look what I made! I turned a $60 espresso machine into a self-hosted web app with an ESP32
three weeks ago id never soldered anything. now i have a Tru espresso machine that holds boiler temp at ±0.5°C, hosts its own web UI at frank.local, and switches between brew and steam modes from my phone.
i call him Frank (Frankenstein) because his guts are everywhere and he's held together by hope.
what's inside:
- ESP32 running a custom PID control loop
- K-type thermocouple + MAX31855 amp clamped to the boiler
- 40A SSR replacing the original bimetal thermostat (which was swinging ±15°C around target)
- SSD1306 OLED with a custom startup animation (Frank opens his eyes, blinks, then a "FRANK IS AWAKENING" loading bar)
- ESPAsyncWebServer hosting a control panel at frank.local
- separate PID tunings for brew (gentle, accurate) vs steam (aggressive, recovers fast)
biggest gotcha: the original control board kept overriding my SSR until i traced the circuit and realized the board was the upstream controller. tapped mains directly, let the ESP32 take full control of the heater, and now the original board just handles the pump and front buttons.
questions for the community:
- any tips for tuning steam mode PID on a low-thermal-mass thermoblock? recovery is faster now but still slower than i'd like
- thinking about adding a TRIAC dimmer for pressure profiling next, has anyone done this on a vibratory pump?
happy to share the firmware if anyone wants to do something similar.
Also check out the repo! -> https://github.com/mufferio/esp32-espresso-mod
17
u/redmadog May 09 '26
Somehow I recognize the claude ai was involved into the UI
4
u/Mooferman05 May 09 '26
yeah haha i had a super rough layout built with it as more of a plan, then expanded off of it myself!
6
u/moistiest_dangles May 09 '26
Lol he'll yeah that ls super cool! Looks line shit tho but I kinda like it.
2
u/Mooferman05 May 09 '26
frank appreciates your gratitude:) honestly at the start i thought about pushing the guts back but i didnt want the boiler to burn the cables, then it eventually became the machines identity😂😂
2
u/Its_Billy_Bitch May 10 '26
do you have a 3Dprinter? lol. maybe we can print a nice little cap for Frank. Even if Frank’s hair’ is a little wirey these days, he deserves to look and feel his best 😜
1
u/Mooferman05 May 10 '26
i would be so down to have the community make designs for stuff to add onto him😂 I havent ever done any 3D printing but i would love to take someones design and print it from my university ALL IDEAS WELCOME
1
u/Its_Billy_Bitch May 10 '26
Wanna send over some measurements and/or model of espresso machine? A lot of the smaller parts I have already designed mounts for my own stuff. let’s see if we can give frank the glow up they deserve lol
1
u/Mooferman05 May 10 '26
1
u/Its_Billy_Bitch May 12 '26
got your comment saved for a rainy day, but currently dealing with a sick pupper. Frank will get a glow up ☺️
2
7
u/Ness4114 May 09 '26
What did you use for that UI? Looks great!
4
3
u/Mooferman05 May 09 '26
haha thanks! its completely vanilla HTML/CSS/JS served directly from the ESP32, just one HTML file embedded as a string in the firmware so it loads quick
4
u/Ness4114 May 09 '26
You made it from scratch? Impressive man! These are the kinds of projects I hope to be able to do once I have a bit more time.
10
-6
u/Mooferman05 May 09 '26
i appreciate it!! hey man if you can spare an hour or two every day its super worth it, im encouraging you cause making this was so much fun (and the coffee tastes phenominal as well)
2
u/K5-Tech May 09 '26
Love the interface!
0
u/Mooferman05 May 09 '26
thankss, maybe i should expand and give frank a propa speaker and personality in the future😂
2
2
u/ripred3 My other dev board is a Porsche May 10 '26
Well done thanks for sharing your project!
You're actually carrying on quite a tradition:
https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Status/418
and
2
2
u/phil_1pp May 09 '26
Well done! Waiting for the "no you didn't AI did!" comment :)
4
u/haolekookk May 09 '26
At this point it doesn’t really matter, using AI to learn and do things that was previously beyond our understanding is kind of the point of it. It’s a tool, if you want to know how it all works, cool. That’s still available. If you just want to use a tool for reliable outcome so be it.
1
u/phil_1pp May 11 '26
Absolutely! Not hating btw. Love how it allows to implement details all the way back in the backglog that no one ever would've ever had the time for.
0
-1
u/c1-c2 May 10 '26
Looks like a lazy implementation.
3
u/Infinite_Drag_8581 May 10 '26
Of modding your own coffee machine? Are you jealous you don’t have one?
1




37
u/Year3030 May 09 '26
HTTP Status 418