Connect and rotate a motor