Sorry about delay.
I ordered some of these off ebay.
UGN3503UA TO-92 UGN3503 503 HALL-EFFECT SENSORS
was using this script on a Leonardo board.
/*
Ratiometric Hall Effect Sensor reading
Showing Gauss measured by the UGN3503UA via serial monitor.
*/
int gss;
void setup(){
Serial.begin(9600);
}
void loop(){
// Read Propane/Gas sensor on pin 1:
// int sensorValue = analogRead(A1);
// Read Hall effect propane gauge on pin 0:
int aValue =analogRead(A0);
gss = map(aValue, 192, 819, -900, 900);
Serial.print(gss);
Serial.println("Gauss");
//Serial.print(A1);
delay(1000);
}
I'm still working on tweeking the mapping values to make it so the percentage in the tank value
translates correctly to the different gauss readings.
Just don't have much time right yet..
If you continue on and get further let me know.
Did that person selling the correct rochesters sensors ever agree to sell them?
thanx