REPLACING A 1K PULL UP RESISTOR TO GET BETTER SENSOR RESOLUTION?
#1
Senior Member
Thread Starter
Join Date: Jan 2011
Location: sacramento ,ca
Posts: 568
Total Cats: 162
REPLACING A 1K PULL UP RESISTOR TO GET BETTER SENSOR RESOLUTION?
Im using a GM fuel level sensor in my project truck wired to a 1k pull up resistor. it does function but the resolution is garbage. With my multi meter on the ADC input im getting a .008v at empty stop to .498v at full stop. would there be a circuit i could put together that would give better resolution or would i be stuck with going to different level sensor? current one is testing out at 35 ohms empty and 92 ohms full
#3
You will also want to enable filtering on that input (if possible), or you're going to get lots of needle bounce from fuel sloshing.
I built a separate circuit powered off the fuel pump's 12V supply with a linear regulator and a low-pass filter, but DaWaN's suggestion of a 100 ohm resistor would work fine if you can rely on software filtering in the MS.
With a 100 ohm resistor, you would use about a fourth of the ADC bins (1.3V-2.4V range), which is likely enough. It would also keep the 5V ref current down to 50mA, which is well within the bounds of what a reasonable MS3 install will have to spare.
However, you could go much lower in resistance for the pullup and still stay within a 0.25W power dissipation bound, though it would start to tax your MS's 5V ref output.
I built a separate circuit powered off the fuel pump's 12V supply with a linear regulator and a low-pass filter, but DaWaN's suggestion of a 100 ohm resistor would work fine if you can rely on software filtering in the MS.
With a 100 ohm resistor, you would use about a fourth of the ADC bins (1.3V-2.4V range), which is likely enough. It would also keep the 5V ref current down to 50mA, which is well within the bounds of what a reasonable MS3 install will have to spare.
However, you could go much lower in resistance for the pullup and still stay within a 0.25W power dissipation bound, though it would start to tax your MS's 5V ref output.
#4
Senior Member
Thread Starter
Join Date: Jan 2011
Location: sacramento ,ca
Posts: 568
Total Cats: 162
AFTER TRYING DIFFERENT RESISTORS AND STILL NOT HAPPY WITH THE RESOLUTION. I THINK I MAY HAVE FOUND A BETTER WAY. IM BEING TOLD THE DODGE SENDER IN THEIR E85 CHARGERS ARE 1.1K OHMS EMPTY AND 75 OHMS FULL WHICH IS BACKWARDS FROM THE ONE I HAVE BUT ILL JUST INSTALL IT UPSIDE DOWN. THE WAY BETTER SWEEP VS THE CHEVY OR FORD VERSIONS SHOULD BE THE BEST SOLUTION. ILL KNOW FOR SURE TOMORROW WHEN THE SENDER GETS HERE AND I CAN TEST IT FOR MYSELF. ITS ONLY $75 FOR THE SENDER SO EVEN IF I MESS IT UP ITS NOT THE END OF THE WORLD.
#5
AFTER TRYING DIFFERENT RESISTORS AND STILL NOT HAPPY WITH THE RESOLUTION. I THINK I MAY HAVE FOUND A BETTER WAY. IM BEING TOLD THE DODGE SENDER IN THEIR E85 CHARGERS ARE 1.1K OHMS EMPTY AND 75 OHMS FULL WHICH IS BACKWARDS FROM THE ONE I HAVE BUT ILL JUST INSTALL IT UPSIDE DOWN. THE WAY BETTER SWEEP VS THE CHEVY OR FORD VERSIONS SHOULD BE THE BEST SOLUTION. ILL KNOW FOR SURE TOMORROW WHEN THE SENDER GETS HERE AND I CAN TEST IT FOR MYSELF. ITS ONLY $75 FOR THE SENDER SO EVEN IF I MESS IT UP ITS NOT THE END OF THE WORLD.
You can also improve your font resolution from one bin to two bins by not using caps lock
Thread
Thread Starter
Forum
Replies
Last Post
Zaphod
DIY Turbo Discussion
11
08-10-2012 03:28 PM