Learn R Programming

thermocouple (version 1.0.2)

ThermistorConvertADCreadingToTemperatureC: Convert ADC reading into a temperature in Celcius by using two resistors

Description

ThermistorConvertADCreadingToTemperatureC Converts ADC reading into a temperature in Celcius by using two resistors values

Usage

ThermistorConvertADCreadingToTemperatureC(adc, R0, T0, betaTH,
 R1, R2, vadc = 5.0, vcc = 5.0, ADCbits=10)

Arguments

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

Value

  • CTemperature in Celsius

source

Chris Palmer, 2007 Measuring temperature the easy way http://hydraraptor.blogspot.co.uk/2007/10/measuring-temperature-easy-way.html

References

Chris Palmer, 2007 Measuring temperature the easy way http://hydraraptor.blogspot.co.uk/2007/10/measuring-temperature-easy-way.html