Robin Reiter wanted to develop his own custom UI for Monoprice Select Mini so he needed to reverse engineer the electronics and software. He documented the entire process in detail and made an interesting video about it. it's a must-see if you are interested in the internal working of 3d printer electronics and driver software.
Check out Robin's YouTube channel:
All the code is available on the GitHub: