But in all these machines, the rotors of their motors spin continuously. When you vacuum a carpet or commute to work by subway, the motors that are working for you turn around an arbitrary number of times: there's no precise control over how many times they rotate and what angle they ...
So we can just add a 470Ohms (when on 3.3 Logic) or 1k Ohms (when working with 5V Logic) resistor in series to each PWM pin of the module, leading to the base of a eg. 2N3904 transistor. Emitters of those transitors are connected to GND and DIM-, Collector is connected to DIM+...