Description Usage Arguments Value Author(s) Source References
ThermistorConvertTemperatureCtoADCreading
Converts temperature
in Celcius into ADC reading, with two resistors
1 2 | ThermistorConvertTemperatureCtoADCreading(T, R0, T0, R1, R2,
betaTH, vadc = 5.0, vcc = 5.0, ADCbits=10)
|
T |
Temperature in Celsius |
R0 |
resistance measurement 1 |
T0 |
resistance temperature 1 |
R1 |
resistor value 1 |
R2 |
resistor value 2 |
betaTH |
beta coefficient |
vadc |
ADC reference |
vcc |
supply voltage to potential divider |
ADCbits |
ADC bit resolution |
adc |
ADC value |
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.