Wiring up controller for spindle and dust