Topic: On motors skipping steps - another insight
Hi all,
I wanted to share the experience I recently had with a motor skipping steps/layers shifting.
I have a solidoodle 2 that worked perfectly when attached to a computer, everything calibrated, smooth action. When attached to a different computer (a tablet, through a USB OTG interface), the print would work fine for a while, and then start skipping steps (in the Y direction, in my case). And they were not one or two steps either, sometimes a complete movement in the Y would be ignored and for a diagonal move, only the X component would be executed.
It took me some time to track down the problem: it was not mechanical, it was not the serial communication... In the end it turned out that the problem was with the USB voltage.
Apparently, the OTG interface had a voltage supply a bit higher than 5V, and this was shifting the references throughout the Sanguinololu board. In fact, the Y trimpot voltage was 40mV higher while connected to the tablet than when connected to the PC.
In the end, I solved the problem at the root by cutting the 5V supply from the USB as suggested here.
I think that adjusting the trimpots would have also worked, but that would have meant a readjustment every time I changed the computer driving the SD, which I didn't want.
This is NOT the only and not even the most common reason for layer shifting, but I think it was worth sharing because it was a tricky problem. And I guess the take-home message is: the trimpot voltages can change when connecting the Solidoodle to a different computer.
