4 ms·
As others have pointed out this is a voltage divider. But what's not been pointed out is that this type of voltage divider is not ideal because the load applie
by jgrahamc 18y ago
As others have pointed out this is a voltage divider. But what's not been pointed out is that this type of voltage divider is not ideal because the load applied to the output voltage can alter the voltage itself. It's very important that the load applied draws very little current (i.e. has a high resistance/impedance) otherwise the voltage divider's output voltage changes.
The best way around this is to use a voltage divider to produce a reference voltage and feed that into an op-amp that adds the reference voltage to the voltage coming from the device to be measured (in this case the thermistor).
As an example of this see my blog posting on building a temperature probe for the OLPC: http://www.jgc.org/blog/2008/03/building-temperature-probe-for-olpc-xo.html http://www.jgc.org/blog/2008/03/building-temperature-probe-f...
- mindslight 18y agoI don't know the Arduino specifics, but if it's just an analog input on the Atmel chip, the datasheet says that's at least 100M ohm. (A pic18 actually has a very low recommended source impedance - 2.5k ohm, which can bite you if you're not careful, but that doesn't seem to be a concern here.) If you're going to use an op-amp, you'd be better off using a different configuration, say with the thermistor as the feedback resistor, to get a linear response. Taking a look at the circuit on your page, it seems like you could drop R9 and R3 (while changing the value of R8), as the function of those 3 resistors is only to feed a fixed current into the node of pin 2 (which is always held at 0V by the op amp). In fact, if you play around a bit, you should be able to get the proper range using only one op amp, at which point you can use a 5V rail-to-rail amplifier and get rid of that dual supply.
- djahng 18y agoIt's also not ideal because it's ratiometric to the supply voltage, not reference ground. They're reading the voltage across R2, and subtracting that from "5V" to determine the voltage across the sensor. There should also be an anti-aliasing filter.