2

I need to connect a cars fuel sender(ohms) to a analog input on a GPS tracker (volts)

Here's the catch, in our tests most fuel senders we worked with seem to send the data as ohms/resistance

However, the GPS trackers analog inputs require volts (Generally gps trackers take 0.5 to 5.5 volts as their analog input)

In rare cases, we found some fuel senders use volts, but most use resistance. Therefore I need to find a gadget (ideally one that already exists I could buy off the shelf) that will take the input from the fuel sender, and convert it to volts, so I can connect it to the gps tracker.

I've looked into arduino stuff, but it's a bit overkill for what i need, so was hoping a micro controller already exists for such a task (if micro controller is the correct phase) - Ardunio coding is not an issue for me, and have done some C coding for a car tuning company previously, so am familiar with the basics, but the price/setup time is quite high for this application.

The only curve ball here is that each fuel sender might send wildly different min and max ohms values from the fuel sender due to each car manufacturers fuel sender being made for their own gauges Once data is in the software we can manipulate the readings easily to show the fuel level of the vehicle (notably the massive variation in data on a bumpy road)

So my questions are

  1. Are there other things I may have not considered with the above project?
  2. Is there an off the shelf micro controller that might do this, if so what is its name (for help searching online). Also, are there any website online that might sell such a device
  3. if the above does not exist, can anyone suggest what I would need to do to create my own one.
Voltage Spike
  • 75,799
  • 36
  • 80
  • 208
Quade
  • 21
  • 2
  • 1
    Is the sender still connected to the car's fuel gauge? If so you should measure the voltage from the sender to ground when empty and full. Add that info into your question. It may make the solution rather simple. – Transistor Mar 01 '19 at 14:32
  • 2
    If constant current flows through the sender element and its resistance changes in response to fuel level, then you convert resistance to voltage by Ohm's law V = IR (y = m*x, where x is your resistance). You may consider checking out RTD reading circuits. The idea is similar. That said, multimeters don't really measure resistance; they typically measure voltage across a resistance by forcing a current through it. – Bort Mar 01 '19 at 14:37
  • 1
    There are plenty of small development boards using ATtiny microcontrollers, that can be programmed with the Arduino IDE, but are only an inch square or smaller. The issue is the conditioning of the signal at the input. These senders have a resistance of typically tens to hundreds of ohms (most are wire resistive elements for robustness), so are going to need either a divider running at a current that gives a reasonable voltage, and ideally fed by a regulated source, or some amplification if you want to run at lower currents. – Phil G Mar 01 '19 at 14:38
  • 2
    The relationship between resistance and tank level is not linear for most designs, so you'll also need to use some sort of lookup table if you want to produce a linear output. – Phil G Mar 01 '19 at 14:40
  • Could you post links for the fuel senders and GPS Tracker? RTD temperature sensors are designed to output a voltage proportional to a measured resistance. – Some Sorta EE Mar 01 '19 at 14:41
  • 1
    @Transistor we are looking for a blanket approach, we have the software, and support over 1000 gps trackers, so the GPS trackers will all be different, but generally the analog inputs on all these devices accept between 0-5v as an input. Also we'll want it to work on any car, so to answer your question yes, but I would probably needs to get a range of different fuel sender values min/max – Quade Mar 02 '19 at 03:59
  • @PhilG you are indeed correct, we currently do this in software, someone fills 10% litres and takes the reading in volts, and so on, so the MC wont need to do this work – Quade Mar 02 '19 at 04:10
  • 1
    @Clipboard_Waving_Enginerd I could try and get this info, but since this needs to work with any car/tracker i'm not sure it will be good enough data? – Quade Mar 02 '19 at 04:12
  • One other thought to this, in our previous tests, we had to disconnect any make shift units we used as it made the fuel gauge either drop, or bounce around, so we would also need a solution to stop interference (if possible) – Quade Mar 02 '19 at 04:23
  • Here is a link to some sender values http://www.tanksinc.com/index.cfm/page/ptype=results/category_id=159/mode=cat/cat159.htm Ford up to 1986 - 73-10 Ohms, Ford 1987 & up - 16-158 Ohms, GM up to 1964 - 0-30 Ohms, GM 1965-1997 - 0-90 Ohms, GM 1998 & up - 40-250 Ohms, Mopar up to 1986 - 73-10 Ohms, AMC 1950-1977 - 73-10 Ohms, Autometer -240-33 Ohms is the most common however other ohm ranges are made, Classic Instruments - 240-33 Ohms (exc vehicle specific gauge kits which use factory ohm range), Dolphin - 0-90 Ohms, VDO - 10-180 Ohms - so the extremity above is 0-250ohms – Quade Mar 02 '19 at 04:32

1 Answers1

1

The "best" solutions always come from the "best" specs in the question.

e.g. At a minimum, it requires a definition of the transfer function for gain, Offset, linearity and desired output Voltage range with tolerances for climatic range and supply tolerances.

This uses a linear gain-controlled DAC Vref to adjust a constant current source thru the sensor using Rail to Rail OA's from a single supply.

For example

enter image description here

Tony Stewart EE75
  • 1
  • 3
  • 54
  • 182
  • thanks, as i mentioned above i've since found out each fuel sender varies between 0-250 ohms, but it could be 0-90, 240-33 etc I'm looking for solution that will work on any ohm range fuel sender, if this is impossible I guess i would have to have a dip switch solution with presets, or a way to manually configure max and min ohm on the device, so i can apply the calculation? – Quade Mar 02 '19 at 06:26
  • Whatever you do if you don't have specs in your design or question here, there's not much more I can say. – Tony Stewart EE75 Mar 02 '19 at 06:38
  • understood, what specs exactly would should I be getting? all I really know is the ohm range of majority of senders and that the trackers work on input of 0-5v – Quade Mar 02 '19 at 10:05
  • Specs are specific values you can design towards and verify for the function output you need – Tony Stewart EE75 Mar 02 '19 at 10:06
  • Would that be something like: Fuel sender sends 0 ohm when full tank/sender on max, and 90 ohms when fuel sender on min When reporting full, it should be translated to 0.5v and when empty 5v ? I'm obviously not at the level you are, so if i need to throw myself into some research, please suggest some areas I should focus on – Quade Mar 02 '19 at 10:17