Description Usage Arguments Value Author(s) Source References
ThermistorConvertADCreadingToTemperatureC
Converts ADC reading into a
temperature in Celcius by using two resistors values
1 2 | ThermistorConvertADCreadingToTemperatureC(adc, R0, T0, betaTH,
R1, R2, vadc = 5.0, vcc = 5.0, ADCbits=10)
|
adc |
ADC reading |
R0 |
resistance measurement 1 |
T0 |
resistance temperature 1 |
betaTH |
beta coefficient |
R1 |
resistor value 1 |
R2 |
resistor value 2 |
vadc |
ADC reference |
vcc |
supply voltage to potential divider |
ADCbits |
ADC bit resolution |
C |
Temperature in Celsius |
Jose Gama
Chris Palmer, 2007 Measuring temperature the easy way http://hydraraptor.blogspot.co.uk/2007/10/measuring-temperature-easy-way.html
Chris Palmer, 2007 Measuring temperature the easy way http://hydraraptor.blogspot.co.uk/2007/10/measuring-temperature-easy-way.html
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.