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/ ... 0EQ3EZ.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!
Converting from resistance to voltage
Moderators: JeffC, rdoherty, stieg
-
- Posts: 42
- Joined: Sat Dec 20, 2014 1:48 pm
- Location: UK
- Contact:
Converting from resistance to voltage
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
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
-
- Posts: 17
- Joined: Sun Dec 27, 2015 12:55 am
- Location: Freehold, NJ
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
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
-
- Posts: 42
- Joined: Sat Dec 20, 2014 1:48 pm
- Location: UK
- Contact:
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
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