Simple and Cheap Thermocouple Using Thermistor

378

6

1

Posted

Introduction: Simple and Cheap Thermocouple Using Thermistor

simple and cheap temperature sensor using NTC thermistor

thermistor changes its resistance with change in time using this property we are building temperature sensor to know more about thermistor

https://en.wikipedia.org/wiki/Thermistor

Step 1: Components Required

Arduino uno (or) any arduino will work

some jumper wires and bread board

1 X 10 k resistor

1X NTC 10k thermistor

Step 2: Connections

(Ground) ---- (10k-Resistor) -------|------- (Thermistor) ---- (+5v)

| Analog Pin 0

Step 3: Code for Fahrenheit

#include

double Thermistor(int RawADC) { double Temp; Temp = log(10000.0*((1024.0/RawADC-1))); // =log(10000.0/(1024.0/RawADC-1)) // for pull-up configuration Temp = 1 / (0.001129148 + (0.000234125 + (0.0000000876741 * Temp * Temp ))* Temp ); Temp = Temp - 273.15; // Convert Kelvin to Celcius Temp = (Temp * 9.0)/ 5.0 +32; // Convert Celcius to Fahrenheit return Temp; }

void setup() { Serial.begin(115200); }

void loop() { Serial.println(int(Thermistor(analogRead(0)))); // display Fahrenheit delay(1000); }

Step 4: Code for Celsius

#include

double Thermistor(int RawADC) { double Temp; Temp = log(10000.0*((1024.0/RawADC-1))); // =log(10000.0/(1024.0/RawADC-1)) // for pull-up configuration Temp = 1 / (0.001129148 + (0.000234125 + (0.0000000876741 * Temp * Temp ))* Temp ); Temp = Temp - 273.15; // Convert Kelvin to Celcius return Temp; }

void setup() { Serial.begin(115200); }

void loop() { Serial.println(int(Thermistor(analogRead(0)))); // display Fahrenheit delay(1000); }

Step 5: Conclusion

after completing all the steps now open the serial monitor and set the baud to 115200 you can see the temperature readings

Further developments you can add lcd to this

thank you :)

if you have any doubts feel free to ask

Share

Recommendations

  • Epilog Challenge 9

    Epilog Challenge 9
  • Sew Warm Contest 2018

    Sew Warm Contest 2018
  • First Time Author Contest 2018

    First Time Author Contest 2018
user

We have a be nice policy.
Please be positive and constructive.

Tips

Questions

Comments

You might like to consider changing the title as there is such a component as a thermocouple and it works on a totally different way to a thermistor. But it's a good example of how to use a sensor with the Arduino.