Help with external ADC and thermistor - Raspberry Pi Forums
hi all, i'm trying read thermistor using external adc 16 bit precision, ads1115. accuracy important me i've employed lm4040 provide steady voltage, used model supposed take 3v3 input , give 2v048 output.
main issue here every document i've ready discussing how convert mv analog reading resistance value assumes entire circuit 5v cancels out 2 voltage readings @ point leaving equation
r = seriesresistor / ((2^bitofprecision - 1) / adc_reading - 1)
i.e.
r = 10k / (1023 / (adc_reading - 1))
how can correctly modify formula reflect fact vcc (3v3) different actual analog input (1v526)
main issue here every document i've ready discussing how convert mv analog reading resistance value assumes entire circuit 5v cancels out 2 voltage readings @ point leaving equation
r = seriesresistor / ((2^bitofprecision - 1) / adc_reading - 1)
i.e.
r = 10k / (1023 / (adc_reading - 1))
how can correctly modify formula reflect fact vcc (3v3) different actual analog input (1v526)
i think i'm on right track, found following formula
rt = (rs)(vin - vout)/(vout)
rt resistance of thermistor, rs fixed resistor value (10k me), vin measurement of analog input, , vout voltage being supplied voltage reference.
can confirm?
rt = (rs)(vin - vout)/(vout)
rt resistance of thermistor, rs fixed resistor value (10k me), vin measurement of analog input, , vout voltage being supplied voltage reference.
can confirm?
raspberrypi
Comments
Post a Comment