Hello! (Sorry for my english, not my main language)
There is something really weird happening with my 3d printer.
I built this 3d printer myself, and I made the circuit board in a perfboard.
I'm using four EasyDrivers (Easy Driver stepper motor driver) to control de stepper motors, and an Arduino Nano.
Three of them are being powered by a 20V power source, and the forth (extruder) by a 12V power source. They are all connected to ground.
The drivers have a voltage regulator, so I don't need to feed them with 5V.
The problem began when all layers of the print were evenly shifted, like it was losing the same amount of steps each layer.
To check if the problem was the driver, I switched two of them, and the problem kept on the same motor.
To check the motor, I switched the motor cables, and the problem went to the other motor, wich made me think that the problem was on the stepper driver slot / motor cable conector.
Edit: When I switched two of the motor wires to change the motor direction, the shifting changed the direction too.
I remade all the conections from that slot, but the problem remained.
Then I noted that when the 12V Extruder driver (not the one with problem) is mounted apart in a protoboard, far from the circuit board, connected with some jumpers, the problem disapears.
To solve that, I tried to add a 100uF capacitors between M+ and ground for all drivers, as close as possible to them, but it did not work too.
I'm running out of ideas.