I got this coffee machine from work because it was a maintenance nightmare. I'll tear it down, do the analysis on how it works and detail on some design problems as well. It's going to be a rather long post with quite a lot of pictures. I've marked all the detected problems with an asterisk " * ", I'm sure some have been forgotten as this teardown was performed 6 months ago. (for troubleshooting see https://hackcorrelation.blogspot.de/2017/02/automated-coffee-machine.html )
Electronics and programming interspersed at various levels of difficulty.