hi, iv been scratching my head all night trying to work this out and was wondering if there was a table or furmula somewhere that can help me work out what wattidge resistor i need for a couple sensors.
how are we ment to be able to tell what resistor and what our final voltage range will be.
many thanks
steve
pull up resistor formula
Normally a pullup that has a similar resistance to the actual sensor will be about right.
See here for more info:
http://www.race-technology.com/wiki/ind ... ensorToDL1
See here for more info:
http://www.race-technology.com/wiki/ind ... ensorToDL1
-
- Posts: 22
- Joined: Tue Jul 03, 2012 9:12 pm
I take it the higher the resistance resistor you use the less voltage swing you get but also less current draw and visa versa.
Yes, that's correct. you can use a voltage divider calculator like this one here to see the effects: http://www.raltron.com/cust/tools/voltage_divider.asp
Input voltage would be 5v, R1 is your pullup, R2 is your sensor resistance, output voltage is what the logger will see at the sensors full scale.
So if for instance we use this for your fuel sender R1=220, R2=130, you are going to see a full scale output of about 1.857v, which is not ideal but probably still quite usable.
The trouble with these low resistance sensors is to get a good output you need a lower resistance pullup, but that then draws a lot of power from the DL1 5v reference, so your pullup will always be a compromise.
-
- Posts: 22
- Joined: Tue Jul 03, 2012 9:12 pm
-
- Posts: 22
- Joined: Tue Jul 03, 2012 9:12 pm
-
- Posts: 22
- Joined: Tue Jul 03, 2012 9:12 pm
Thanks for the replys. Although the regulated supply is ragulated to 98% 9v. As far as the filtering it has a few capacitors and resistors built onto the board So I'm hoping it wi be ok. Iv only decided to do it this way as iv heard of many doing it before. Plus I don't have a dl-1 and the 50mah 5v output on the dash 2 won't be enough. Well I don't think anyway.
Steve
Steve
-
- Posts: 22
- Joined: Tue Jul 03, 2012 9:12 pm
Your 9v supply. Any instability in the supply voltage will come through to the reading from the sensor, but a 1 or 2% variation in the voltage from the fuel level sender doesn't usually cause an issue. A regulator with a spec of 2% might not be accurate to within better than 2%, but they are generally pretty stable.
Martin
Martin
-
- Posts: 22
- Joined: Tue Jul 03, 2012 9:12 pm
You are doing a fuel level measurement?
Then you want lots of smoothing and a slow update interval.
The variation in the voltage supply is particular to your device. So when you do a calibration on the actual fuel level, it will take care of itself. i.e., the bias will be compensated for in the calibration equation.
I've measured the ones that I use and IIRC, they are typically 0.05 or so volts off - not enough to matter.
Then you want lots of smoothing and a slow update interval.
The variation in the voltage supply is particular to your device. So when you do a calibration on the actual fuel level, it will take care of itself. i.e., the bias will be compensated for in the calibration equation.
I've measured the ones that I use and IIRC, they are typically 0.05 or so volts off - not enough to matter.
BMW 2000 M Coupe
Return to “Sensor-related questions”
Who is online
Users browsing this forum: No registered users and 22 guests