https://github.com/zookzook/tempsensorntc
NTC Thermistors from VISHAY, calculating the temperature with the extended Steinhart and Hart formula.
https://github.com/zookzook/tempsensorntc
Last synced: about 1 year ago
JSON representation
NTC Thermistors from VISHAY, calculating the temperature with the extended Steinhart and Hart formula.
- Host: GitHub
- URL: https://github.com/zookzook/tempsensorntc
- Owner: zookzook
- Created: 2013-02-11T09:32:06.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2013-02-11T09:54:09.000Z (over 13 years ago)
- Last Synced: 2025-01-28T03:42:37.159Z (over 1 year ago)
- Language: Arduino
- Size: 105 KB
- Stars: 0
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
TempSensorNTC
=============
NTC Thermistors from VISHAY, calculating the temperature with the extended Steinhart and Hart formula.
Background
==========
I use the NTC from VISHAY NTC-0.2 10K:
* 0,25 W
* 2,54 mm
* temperature -25...+125 °C
* +/- 5%
* 10K at 25 °C
The datasheet (on page 73) explains how to calculate the temperature from the resistor value
of the NTC:
* First select the B25/85-VALUE from the table on page 70. (In my case the row is 10 000, 3977 K, 0.75%, 4103, 6103, 3103 ).
* Then find the values for A1, B1, C1, D1 from table on page 73. (in my case the row is 9, 3977....)
* After that measure the input voltage.
* Now you have everything to calculate the temperature.
#define A 3.354016E-03
#define B 2.569850E-04
#define C 2.62013E-06
#define D 6.38309E-07
/**
* 10.000 ohm, R25+/-5%: brown, black, orange
*/
#define RREF 10000.0
/**
* The voltage supply, measured
*/
#define VIN 4.92