Yes my sensor have a positive and negative output, also as my sensor are 4-20mliliamp I have to install a resistor as arduino only detect voltage, how do I connect resistor? positive wire to resistor and then to analog input? thanks