Circuit needed

Thread Starter

honey_ryder62

Joined Feb 2, 2009
4
Need to get 0-5 volt range out of a 20-300 ohm internal pot. Thinking of using a constant current source and ?something? but can't find much in circuit design. 5, 10 and 12V available.

This is for creating a digital sensor for a gas tank.
 

triggernum5

Joined May 4, 2008
216
Thats a basic job that pots do.. I'm confused as to what you mean when you say you need a circuit to do that.. Its kind of like asking for a circuit that drops voltage across a resistor..
A pot has 3 legs.. You can think of one like two resistors in series that form a voltage divider.. If you have 5 volts across the two end terminals, and the slider is at the half way point so the resistance between the slider, and either end is equal then you will have 2.5V measured between each end and the slider.. If that slider is all the way to one side, then you'll measure 0V between that end and the slider, and 5V between the far end and the slider..
 

Thread Starter

honey_ryder62

Joined Feb 2, 2009
4
There is already a pot in the tank with a float to set the resistance from 20 to 300 ohm but the ECU needs 0 to 5 volts to set the digital equivilant of the amount of gas in the tank. I could get away with 1-4 volts but with the current resistance range I'm looking at about 2.5 to 5 volts, I don't remember the exact numbers but it's no where near where it needs to be. I was also thinking of something with a constant current source but again the range is no where near wide enough to give 0 to 5 volts.
 

beenthere

Joined Apr 20, 2004
15,819
The resistive element of the pot does not vary. If you have one end to ground and feed the other end with 5 volts, then the wiper will pick off a voltage between 0 and 5 depending on what part of the fixed resistance is is in contact with.

If the pot is 300 ohms total resistance, then a 5 volt source will only have to feed 16.7 ma current. A 7805 running off the car's 12 volts wiring can do that. It will have to dissipate about 120 mw, so a small heat sink on the tab will keep it cool.
 

Ron H

Joined Apr 14, 2005
7,063
I think the sensor is actually a rheostat, not a true potentiometer. A current source would potentially give more sensitivity than a series resistor, but the resulting (non)linearity is a function of how the rheostat is wound, assuming that it is wirewound.
A small current to develop a voltage,followed by an amplifier, might be the most efficient solution.
 

beenthere

Joined Apr 20, 2004
15,819
Or just that the travel of the wiper is mechanically limited because the float bottoms before the wiper reaches end of travel.
 

Ron H

Joined Apr 14, 2005
7,063
Howstuffworks has a good description of how fuel gauges work. I've referenced the second page, which describes the sending unit and the old type indicator, but you can also read about microprocessor-controlled gauges.
 
Top