integrate door controller with motor driver