Im building a voltage reader for a Fuel sending Unit for vehicles, the problem i have is that the voltage from the resistance in the sending unit ranges from 109Ω (Tank empty) to 3Ω (Tank full less resistance), attached images of multimeter Sending Unit Test - Album on Imgur
The A0 Pin in the ESP8266 Nodemcu gives me readings of 0.00v
(attached images of nodemcu wiring)
esp8266 fuel sending unit
A0 -> Sender
GND -> Ground
Any help on boosting a voltage to make it readable, or maybe i have an error in the wiring?
Thanks
Code below
String getVoltage()
{
sensorValue = analogRead(sensorPin);
// had this because i was using a Voltage divider in between ESP and Fuel Sending unit, but same readings of 0.00, now im reading directly from ESP A0 pin
// vout = (sensorValue * 3.3) / 1024.0;
// vin = vout / (R2 / (R1 + R2));
return (String) sensorValue;
}