Connecting a DC motor