Fault finder: Closed-loop DC motor position

7 checks for this build on the Nano. Work from the top: power first, then each part, then the code.

0 of 7 checked
Power🔧 DC volts, 20 V rangeCheck 1 of 7

Nano supply pin

Plug the Nano into USB. Black probe on a GND pin, red probe on the 5V pin of the board.

You should see: 4.6 to 5.3 V

V

Readings are compared with the ranges for this build's parts. A meter on the wrong range or a loose probe gives odd numbers: check those first.

Common faults in this build

Count goes the wrong way: what should I check?

Swap the A and B wires.

Motor runs away: what should I check?

Swap OUT1 and OUT2 or invert the sign.

Hunts around the target: what should I check?

Lower P or add the dead band.