Loop detector controller with terminals for wiring lead wires from loops and power source