One wire is ground, one is 5 volt excitation and one reads the 0-5 volts from the sensor so the dim light is the 5 volts. make sure ground is good