1
Technical support / Example #8 in Part two
« on: March 02, 2003, 01:48:08 PM »
In part two example #8 the H.V.A.C application you show two formulas to convert ADC input to temp. S=ADC(5)*(300-160)/4096*160 and T=ADC(1)*(500+100)/4096-100. What is the reason for subtracting the temp range in the first formula and then adding the 160, and on the second formula adding the range and subtracting 100?
My second question is im using a thermister (3,000Ohms @77 deg.F) connected to a simple voltage divider circuit. I would like to convert the 0 to 5 volt analog signal to a temperture ( 0 volts would be about 100 deg.f @ around 1900 Ohms and 5 volts would be about 60 deg. F @ around 4600 Ohms)
My second question is im using a thermister (3,000Ohms @77 deg.F) connected to a simple voltage divider circuit. I would like to convert the 0 to 5 volt analog signal to a temperture ( 0 volts would be about 100 deg.f @ around 1900 Ohms and 5 volts would be about 60 deg. F @ around 4600 Ohms)