two are power, a 12 and 5v i think and one is ground and the other is output. you have two circuits in there... a heater and the sensor