I am using the cc2431 and I’m having an interesting problem with the ADC. Basically I have a thermistor, which is a resistor that responds to temperature changes. The sensor has two leads. So basically the resistance is proportional to a temperature, and at room temperature it is about 10 kOhm. Very straight forward stuff. So to measure this, I take another resistor, which is also 10 kOhm and put it in series to create a voltage divider. I sample in between both “resistors”. Now my problem is that there seems to be some offset. I also added passive filters (capacitors, each .1 uF) to try to smooth it out a bit. The problem is that if I use my multimeter to measure the voltage WITHOUT the ADC analog port plugged in I get a value, the correct value that follows ohms law. If I connect the port and I measure the voltage, it jumps up about .2 volts… I tried putting the analog port to ground and it reads zero which is correct. Thats when I put in the filters, because I thought it might be noise. So for some reason attaching the ADC makes the measured voltage incorrect. Also when I spit the number out through serial there is an additional offset.
So basically I have something like this…
VDD
|
10k Ohm
|---------------Analog In of ADC
thermistor
|
GND
For my filters I did the following:
I have a .1 uF cap going from VDD to GND and I have a 100 ohm resistor going from between the 10 k ohm and the thermistor going to the analog in with a .1uF cap going from the analog in to ground. So basically two low pass filters… I’m trying permutations of this and it’s not really helping.
I measured the voltages using a multimeter an as soon as the analog in connects to the circuit, I get that offset…
Thanks