RegisterSearchFAQMemberlistUsergroupsLog in
Reply to topic Page 1 of 1
Converting from resistance to voltage
Author Message
Reply with quote
Post Converting from resistance to voltage 
Forgive what is, I'm sure, a dumb question.

I'm switching to a Bosch oil temperature sensor. The datasheet gives calibration information in ohms:

http://www.bosch-motorsport.de/content/downloads/Raceparts/Resources/pdf/Data%20sheet_ID0EQ3EZ.pdf

But clearly I need to configure my RaceCapture in volts. I'm sure that there's an easy way to convert from one to the other - perhaps someone would be kind enough to enlighten me?

Thanks in advance!


_________________
paul.butcher->msgCount++

Silverstone, Brands Hatch, Donington Park...
Who says I have a one track mind?

http://www.paulbutcher.com/

Author of Seven Concurrency Models in Seven Weeks: When Threads Unravel
http://pragprog.com/book/pb7con
View user's profile Send private message Visit poster's website
Reply with quote
Post  
Paul,

No such thing as a dumb question.

Basically you need:
- Ohms Law (voltage = current * resistance) (note: units are volts, amps, ohms respectively),
- Series resistance rule ( Resistance Total = Resistance1 + Resistance2), and
- an understanding of the complete circuit.

Your entire sensor circuit needs to look something like this:

5 volt supply --- pull-up resistor(R1) --- temp sensor(Rsensor) --- ground

Your RCP measures the voltage at the connection between R1 and Rsensor.

So what's a reasonable resistance for R1? Your datasheet suggests 1000 ohm is a reasonable value.

The voltage the RCP measures will be: Rsensor / (R1 + Rsensor) * 5 volts

Assuming R1 is 1000 ohms, than your voltage at a given temperature is:

30 deg (C): volts = 3.2 = 1707 / (1000 +1707) * 5
100 deg (C): volts = 0.8 = 187 / (1000 + 187) * 5


Hope this helps

John Robertson
Schumacher Taxi #189

View user's profile Send private message
Reply with quote
Post  
Thank you! Much appreciated.


_________________
paul.butcher->msgCount++

Silverstone, Brands Hatch, Donington Park...
Who says I have a one track mind?

http://www.paulbutcher.com/

Author of Seven Concurrency Models in Seven Weeks: When Threads Unravel
http://pragprog.com/book/pb7con
View user's profile Send private message Visit poster's website
Display posts from previous:
Reply to topic Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum