That’s the idea behind this Arduino-based measuring jig for fabricating ... We’ve seen his garbage can CNC build and encoders from e-waste and tin cans, all of which gave surprisingly good ...
Together, this handful of parts provide all that is needed to read the encoder, control the motor ... up to the motion controller upstream. The Arduino source for this can be found on the project ...