Controlling DC motors using a shield