I publish a video about 3-wires fans, how they work, how to measure their speed and some notions like open collector and pull-up resistors.
It is more generic that purely for 3D printers, but it may interest you: