Comments on: Make an Arduino Temperature Sensor (Thermistor Tutorial) http://www.circuitbasics.com/arduino-thermistor-temperature-sensor-tutorial/ Raspberry Pi, Arduino, and DIY Electronics Projects and Tutorials Tue, 23 Jan 2018 14:42:23 +0000 hourly 1 By: 454ss http://www.circuitbasics.com/arduino-thermistor-temperature-sensor-tutorial/#comment-12270 Fri, 10 Nov 2017 06:34:10 +0000 http://www.circuitbasics.com/?p=248188#comment-12270 I followed the above steps exactly, however the numbers I get are negative 459 Fahrenheit and does not change at all. the only difference in the parts used is the thermistor. I believe its resistance is 24000 ohms and my resistor is 10kohms.

]]>
By: S ALOKA PATRO http://www.circuitbasics.com/arduino-thermistor-temperature-sensor-tutorial/#comment-11735 Fri, 03 Nov 2017 05:28:30 +0000 http://www.circuitbasics.com/?p=248188#comment-11735 how did u write 10k instead of 100k?

]]>
By: Teymur http://www.circuitbasics.com/arduino-thermistor-temperature-sensor-tutorial/#comment-9987 Fri, 13 Oct 2017 07:32:01 +0000 http://www.circuitbasics.com/?p=248188#comment-9987 thanks for this article

]]>
By: Viswendra nath http://www.circuitbasics.com/arduino-thermistor-temperature-sensor-tutorial/#comment-8210 Sun, 17 Sep 2017 09:01:15 +0000 http://www.circuitbasics.com/?p=248188#comment-8210 I too have the same doubt

]]>
By: Astha Singh http://www.circuitbasics.com/arduino-thermistor-temperature-sensor-tutorial/#comment-6780 Wed, 30 Aug 2017 13:41:42 +0000 http://www.circuitbasics.com/?p=248188#comment-6780 We want to have a continuous record of body temperature instead of room temperature. Which thermistor should we use and how to connect it with arduino?

]]>
By: marcos http://www.circuitbasics.com/arduino-thermistor-temperature-sensor-tutorial/#comment-4205 Tue, 04 Jul 2017 13:39:03 +0000 http://www.circuitbasics.com/?p=248188#comment-4205 hi
R1=10000 in your example. is not wrong because you are used 100k resistor? if you use 100k resistor R1 must be = 100000?
thank you

]]>
By: Luis http://www.circuitbasics.com/arduino-thermistor-temperature-sensor-tutorial/#comment-3665 Tue, 13 Jun 2017 13:46:25 +0000 http://www.circuitbasics.com/?p=248188#comment-3665 And if you want to connect more than one sensor, what code you will need to write?

]]>
By: Akash Singh http://www.circuitbasics.com/arduino-thermistor-temperature-sensor-tutorial/#comment-3386 Fri, 26 May 2017 18:15:18 +0000 http://www.circuitbasics.com/?p=248188#comment-3386 What if I want to use more than one thermistor to sense different temperatures, say 10.
How will the schematic and code change? Any ideas for the new circuit?

]]>
By: Twmaster http://www.circuitbasics.com/arduino-thermistor-temperature-sensor-tutorial/#comment-3169 Sun, 14 May 2017 01:15:51 +0000 http://www.circuitbasics.com/?p=248188#comment-3169 Most excellent tutorial. Exactly what I needed to complete my project to read temperature and display on a little OLED display.

]]>
By: Circuit Basics http://www.circuitbasics.com/arduino-thermistor-temperature-sensor-tutorial/#comment-3126 Thu, 11 May 2017 16:41:53 +0000 http://www.circuitbasics.com/?p=248188#comment-3126 Absolutely, thermistors are basically just variable resistors, like potentiometers. Instead of using the voltage divider, just connect the signal wire to the center pin, and the positive and negative wires to the outside pins…

]]>
By: Circuit Basics http://www.circuitbasics.com/arduino-thermistor-temperature-sensor-tutorial/#comment-3125 Thu, 11 May 2017 16:38:27 +0000 http://www.circuitbasics.com/?p=248188#comment-3125 The thermistor used in this article is mainly used for sensing environmental temperatures. It could be used for human body temperatures, but it depends on how you want to measure the body temperature. Since the human skin acts as a thermal insulator, the temperature of the skin isn’t an accurate representation of actual body temperature. That’s why most body temperatures are taken with an oral thermometer. The problem with using this thermistor orally is that the exposed leads of the thermistor would be partially shorted by the saliva in the mouth. But that said, I have seen some thermistors that have the leads insulated with plastic so those could be used in aqueous environments. Also, you could use this thermistor to take body temperature from the armpit, which is pretty close to the actual body temperature. Hope that helps!

]]>
By: Gustavo alonso http://www.circuitbasics.com/arduino-thermistor-temperature-sensor-tutorial/#comment-2782 Fri, 28 Apr 2017 00:03:16 +0000 http://www.circuitbasics.com/?p=248188#comment-2782 ¿Se puede cambiar ese termistor por un RTD de platino (WZP – PT100) de 100ohms?

]]>
By: Pol http://www.circuitbasics.com/arduino-thermistor-temperature-sensor-tutorial/#comment-2703 Mon, 24 Apr 2017 18:59:57 +0000 http://www.circuitbasics.com/?p=248188#comment-2703 Hi.
I have just made it and is working very well and very fast.
Now i will try to put together with a lcd keypad shield nad a relay and make a thermostat.
But i would like to ask if its possible to the
change the thermometer value with the shield buttons .
So if i want to make any changes i will not need the use of a pc or laptop.
Than you for all tutorials.
Great presentation.
Pol

]]>
By: hana http://www.circuitbasics.com/arduino-thermistor-temperature-sensor-tutorial/#comment-2638 Fri, 21 Apr 2017 07:06:34 +0000 http://www.circuitbasics.com/?p=248188#comment-2638 hi…anyone please help me…hopefully there is someone who can tell me…
can I know what is the actually thermistor sensor….it is sensor for human body temperature or environment

]]>
By: youbi http://www.circuitbasics.com/arduino-thermistor-temperature-sensor-tutorial/#comment-2128 Fri, 17 Feb 2017 13:09:18 +0000 http://www.circuitbasics.com/?p=248188#comment-2128 Hello I do not have the data sheet of my thermistor how to dO MY PROGRAM?

]]>
By: Alen Kalati http://www.circuitbasics.com/arduino-thermistor-temperature-sensor-tutorial/#comment-2105 Mon, 06 Feb 2017 20:00:30 +0000 http://www.circuitbasics.com/?p=248188#comment-2105 Finally, a good quality video, and no BS waste of time, on Arduino setup and programming. Thanks!

]]>
By: Nguyenthanh Chinh http://www.circuitbasics.com/arduino-thermistor-temperature-sensor-tutorial/#comment-2098 Sat, 04 Feb 2017 05:34:22 +0000 http://www.circuitbasics.com/?p=248188#comment-2098 Please tell me: why this code can not compile with Energia?
Error compiling: undifined reference to ‘log’
collect2: Id returned1 exit status
Thanks so much!

]]>
By: Kristof http://www.circuitbasics.com/arduino-thermistor-temperature-sensor-tutorial/#comment-2056 Sun, 22 Jan 2017 15:59:49 +0000 http://www.circuitbasics.com/?p=248188#comment-2056 Great tutorial. I wonder if it is possible to use a potmeter instead of a thermistor, so I could simulate the temperatures ?

]]>
By: ranger4868 http://www.circuitbasics.com/arduino-thermistor-temperature-sensor-tutorial/#comment-2045 Thu, 19 Jan 2017 19:48:04 +0000 http://www.circuitbasics.com/?p=248188#comment-2045 Jesus man thanks a lot you are savivor 😀 😀

]]>
By: walid http://www.circuitbasics.com/arduino-thermistor-temperature-sensor-tutorial/#comment-2037 Mon, 16 Jan 2017 12:24:49 +0000 http://www.circuitbasics.com/?p=248188#comment-2037 only before line Number 8 put double slash (//) like that exmple
// Temp = (Temp * 9.0)/ 5.0 + 32.0;

]]>
By: Scott http://www.circuitbasics.com/arduino-thermistor-temperature-sensor-tutorial/#comment-2021 Fri, 06 Jan 2017 08:50:43 +0000 http://www.circuitbasics.com/?p=248188#comment-2021 Hi, those resistors set the lcd’s backlight brightness and contrast. They can be a range of values, but potentiometers are probably best to use there. Check out this article for more info: http://www.circuitbasics.com/how-to-set-up-an-lcd-display-on-an-arduino/

]]>
By: jalal niazi http://www.circuitbasics.com/arduino-thermistor-temperature-sensor-tutorial/#comment-1927 Wed, 30 Nov 2016 12:16:13 +0000 http://www.circuitbasics.com/?p=248188#comment-1927 In your video you have used 100k ohm resistor with thermister but in the other part of the video you have used two other resistors with 16×2 lcd !! So my problem is that you have not declare the resistor’s quality and its number in the start of video !! so plz mention the type of these two resistors quickly because it is my project THANKYOU !!

]]>
By: Stuart Durston http://www.circuitbasics.com/arduino-thermistor-temperature-sensor-tutorial/#comment-1872 Wed, 09 Nov 2016 00:33:08 +0000 http://www.circuitbasics.com/?p=248188#comment-1872 To add more thermistors keep adding the following code and change the analogue read pin. Note that you cannot connect your aditional thermistors to the same voltage supply unless you change the mathematical equation as you will change the resistance of the circuit each time you add a thermistor.

—————————————–
valF=analogRead(1);
tempF=ThermistorF(valF);
valC=analogRead(1);
tempC=ThermistorC(valC);

Serial.print(“Temperature = “);
Serial.print(tempC);
Serial.println(” C”);
delay(1000);
—————————————-
valF=analogRead(2);
tempF=ThermistorF(valF);
valC=analogRead(2);
tempC=ThermistorC(valC);

Serial.print(“Temperature = “);
Serial.print(tempC);
Serial.println(” C”);
delay(1000);
—————————————-
valF=analogRead(3);
tempF=ThermistorF(valF);
valC=analogRead(3);
tempC=ThermistorC(valC);

Serial.print(“Temperature = “);
Serial.print(tempC);
Serial.println(” C”);
delay(1000);

]]>
By: Andrew http://www.circuitbasics.com/arduino-thermistor-temperature-sensor-tutorial/#comment-1844 Thu, 03 Nov 2016 10:50:01 +0000 http://www.circuitbasics.com/?p=248188#comment-1844 Hello to everyone, a little help please? I want to build a thermistor temp sensor using arduino (as in above circuit) but then need to convert measured temperature in degrees centigrade to air flow in meters per second, and be able to display on screen, and record this via computer. Any help suggestions greatly appreciated.
regards
Andrew

]]>
By: Ilija Grba http://www.circuitbasics.com/arduino-thermistor-temperature-sensor-tutorial/#comment-1766 Thu, 13 Oct 2016 12:14:04 +0000 http://www.circuitbasics.com/?p=248188#comment-1766 I need help.
I want to know which is the maximum operating temperature resistors and capacitors for Arduino uno?

]]>
By: Naren Ka Nnan http://www.circuitbasics.com/arduino-thermistor-temperature-sensor-tutorial/#comment-1716 Sat, 01 Oct 2016 14:03:32 +0000 http://www.circuitbasics.com/?p=248188#comment-1716 Arduino: 1.6.11 (Windows 10), Board: “Arduino/Genuino Uno”

Sketch uses 4,176 bytes (12%) of program storage space. Maximum is 32,256 bytes.
Global variables use 222 bytes (10%) of dynamic memory, leaving 1,826 bytes for local variables. Maximum is 2,048 bytes.
avrdude: ser_open(): can’t open device “\\.\COM1”: The system cannot find the file specified.

Problem uploading to board. See http://www.arduino.cc/en/Guide/Troubleshooting#upload for suggestions.

This report would have more information with
“Show verbose output during compilation”
option enabled in File -> Preferences.

]]>
By: Jerry http://www.circuitbasics.com/arduino-thermistor-temperature-sensor-tutorial/#comment-1711 Sat, 01 Oct 2016 01:12:58 +0000 http://www.circuitbasics.com/?p=248188#comment-1711 Thanks a million for the video and sketch. I am building a temp sensor for our local paranormal group (no I am not into ghosts, but my niece is, so this is for her.) So what I need to do, is store the initial temp in a variable, then check the subsequent temps against that temp, and besides reporting the temp, report on the next line weather temps rise or fall, as well as light a red LED if the temp rises, a blue LED if it falls, and a green LED if it remains the same. Should be easy to set this up by editing your sketch, I think, oh and a main switch to turn this unit off and on, as well as hooking up say a 9v battery for power to the unit, again simple, but as I go on, it seems to be more and more complicated.

]]>
By: Jerry http://www.circuitbasics.com/arduino-thermistor-temperature-sensor-tutorial/#comment-1696 Wed, 28 Sep 2016 00:08:15 +0000 http://www.circuitbasics.com/?p=248188#comment-1696 Perhaps a bit late, but I experienced the same problem. I reversed the + and – leads and this solved it, leaving the center lead the same. Not sure what that had to do with anything, but it worked for me.

]]>
By: jm http://www.circuitbasics.com/arduino-thermistor-temperature-sensor-tutorial/#comment-1693 Tue, 27 Sep 2016 12:53:41 +0000 http://www.circuitbasics.com/?p=248188#comment-1693 what do you call the digital monitor that is small in the video

]]>
By: Steven S. http://www.circuitbasics.com/arduino-thermistor-temperature-sensor-tutorial/#comment-1604 Thu, 01 Sep 2016 17:21:16 +0000 http://www.circuitbasics.com/?p=248188#comment-1604 Hello, Yesterday I did it correctly and temperature went up upon touch nevertheless, today The measurement goes down when touched, any idea of what could have happened? I have been using the same resistors and thermistor

]]>
By: Nevin http://www.circuitbasics.com/arduino-thermistor-temperature-sensor-tutorial/#comment-1593 Sun, 28 Aug 2016 16:37:15 +0000 http://www.circuitbasics.com/?p=248188#comment-1593 hello i have had the same question ,,, but after some research i found out that you dont need to download it it and that it already comes with the arduino IDE …hope this helped

]]>
By: I http://www.circuitbasics.com/arduino-thermistor-temperature-sensor-tutorial/#comment-1579 Tue, 23 Aug 2016 09:07:17 +0000 http://www.circuitbasics.com/?p=248188#comment-1579 NTC-MF52AT 10K 3950 equation matching range:
http://www.rixratas.ee/jaga/jaga.php?fn=NTC_MF52AT_10K.jpg

]]>
By: Huỳnh Ngọc Thương http://www.circuitbasics.com/arduino-thermistor-temperature-sensor-tutorial/#comment-1571 Sat, 20 Aug 2016 05:37:24 +0000 http://www.circuitbasics.com/?p=248188#comment-1571 hi , can this sensor mesure temperature for health ???
sorry about my bad english ! thanks

]]>
By: balkanhosting http://www.circuitbasics.com/arduino-thermistor-temperature-sensor-tutorial/#comment-1563 Wed, 17 Aug 2016 20:23:03 +0000 http://www.circuitbasics.com/?p=248188#comment-1563 Same here…..

]]>
By: adam http://www.circuitbasics.com/arduino-thermistor-temperature-sensor-tutorial/#comment-1557 Tue, 16 Aug 2016 18:35:47 +0000 http://www.circuitbasics.com/?p=248188#comment-1557 It has do with the math… check out Adafruit’s page on thermistors

https://learn.adafruit.com/thermistor/using-a-thermistor

]]>
By: mitch http://www.circuitbasics.com/arduino-thermistor-temperature-sensor-tutorial/#comment-1512 Fri, 05 Aug 2016 05:51:48 +0000 http://www.circuitbasics.com/?p=248188#comment-1512 hi, I am using a 100k glass bead thermistor (meant for 3d printing), and wired it up like you showed and uploaded the code. when i visit the serial monitor the temperature given there is negative and makes no sense whatsoever . Please tell me what is happening.

]]>
By: Rafi Rafsan http://www.circuitbasics.com/arduino-thermistor-temperature-sensor-tutorial/#comment-1506 Tue, 02 Aug 2016 14:44:22 +0000 http://www.circuitbasics.com/?p=248188#comment-1506 didnt understand line 5 and 6.can anyone explain whats going on there?

]]>
By: Circuit Basics http://www.circuitbasics.com/arduino-thermistor-temperature-sensor-tutorial/#comment-1483 Mon, 01 Aug 2016 15:37:24 +0000 http://www.circuitbasics.com/?p=248188#comment-1483 Hi Krissy, the operating temperature range for this thermistor is -50~+260°C

]]>
By: Circuit Basics http://www.circuitbasics.com/arduino-thermistor-temperature-sensor-tutorial/#comment-1482 Mon, 01 Aug 2016 15:34:28 +0000 http://www.circuitbasics.com/?p=248188#comment-1482 Hi Phil,

I couldn’t find any information on your specific thermistor, but it sounds like the problem could be related to if your thermistor is PTC (positive temperature coefficient) or NTC (negative temperature coefficient). The thermistor I used in this article is a NTC thermistor, so if you have a PTC thermistor, it could cause the temperature changes to become opposite from what you would expect. I don’t have a PTC thermsitor to experiment with, so I’m not sure what the code would look like for a PTC thermistor.

]]>
By: Mad Alex http://www.circuitbasics.com/arduino-thermistor-temperature-sensor-tutorial/#comment-1332 Sat, 18 Jun 2016 00:04:29 +0000 http://www.circuitbasics.com/?p=248188#comment-1332 Muhamed Boshra Serag Eldin

]]>
By: Miro016 http://www.circuitbasics.com/arduino-thermistor-temperature-sensor-tutorial/#comment-1149 Wed, 13 Apr 2016 20:05:52 +0000 http://www.circuitbasics.com/?p=248188#comment-1149 Hello! I have a question about Steinhart-Hart equasion. In the first code in the fifth line, here: Temp = log(10000.0*((1024.0/RawADC-1))); I don´t understand why we have to use “RawADC-1”? Why we have to do that minus one? Can anyone give me a good answer? Thanks

]]>
By: ssvvdeepak http://www.circuitbasics.com/arduino-thermistor-temperature-sensor-tutorial/#comment-1110 Thu, 24 Mar 2016 17:52:13 +0000 http://www.circuitbasics.com/?p=248188#comment-1110 Hi ….

could you suggest me how to put 3 thermistors that give 3 readings simultaneously in Celsius?.. im trying to connect from 2 weeks but im not able to.please help me.

]]>
By: ggb http://www.circuitbasics.com/arduino-thermistor-temperature-sensor-tutorial/#comment-1108 Tue, 22 Mar 2016 07:18:06 +0000 http://www.circuitbasics.com/?p=248188#comment-1108 Hi There!

it works brilliantly but could you suggest me how to put 2 thermistors that give 2 readings simultaneously in Celsius?

]]>
By: utpal597@gmail.com http://www.circuitbasics.com/arduino-thermistor-temperature-sensor-tutorial/#comment-1081 Tue, 15 Mar 2016 20:18:09 +0000 http://www.circuitbasics.com/?p=248188#comment-1081 please help me
how can i add this alarm

]]>
By: ADC http://www.circuitbasics.com/arduino-thermistor-temperature-sensor-tutorial/#comment-1049 Fri, 04 Mar 2016 05:04:46 +0000 http://www.circuitbasics.com/?p=248188#comment-1049 I rectified that error. Now my problem is as im increasing the temperature the value which is showing on the LCD is decreasing im not getting why this is happening. Here i am using NTC (negative temperature coefficient) thermistor p103. Can any one tell me how to rectify this problem.

]]>
By: ADC http://www.circuitbasics.com/arduino-thermistor-temperature-sensor-tutorial/#comment-1047 Thu, 03 Mar 2016 16:45:02 +0000 http://www.circuitbasics.com/?p=248188#comment-1047 Eventhough im using math.h headefile in my test file im getting the error.
The error is
” /tmp/cc8vrcYJ.o: In function `ThermistorF’:
test1.c:(.text+0x7c): undefined reference to `log’
/tmp/cc8vrcYJ.o: In function `ThermistorC’:
test1.c:(.text+0x284): undefined reference to `log’
collect2: error: ld returned 1 exit status ”

what is the solution for this problem. Im using the same concept for other controller. The code is littile bit different accroding to the controller but it showing error at reading log function from math.h.
What is the solution for this.
Give me reply ASAP.

]]>
By: Taleh http://www.circuitbasics.com/arduino-thermistor-temperature-sensor-tutorial/#comment-1031 Tue, 23 Feb 2016 23:06:57 +0000 http://www.circuitbasics.com/?p=248188#comment-1031 Hello, I math.h download? Where can I download it?

]]>
By: Sorin http://www.circuitbasics.com/arduino-thermistor-temperature-sensor-tutorial/#comment-957 Mon, 01 Feb 2016 22:07:14 +0000 http://www.circuitbasics.com/?p=248188#comment-957 I tried the project with the LCD. The value read is double than the real value in the room. So on line 10 for LCD I did : ” Temp = (Temp – 273.15)/2; ” and I had the normal value that was supposed to be.
Probably I will have to study this equation.
Or maybe there is something else?

]]>
By: Krissy http://www.circuitbasics.com/arduino-thermistor-temperature-sensor-tutorial/#comment-951 Thu, 28 Jan 2016 17:26:07 +0000 http://www.circuitbasics.com/?p=248188#comment-951 i need a heat temperature sensor but it is very expensive. i’m working on a project and i need to heat a metal up to 150 degrees to test it on my machine cooler project. Is this thermistor temperature sensor can measure up to 150 degrees? I am looking forward to your response. Thank you very much.

]]>
By: Phil http://www.circuitbasics.com/arduino-thermistor-temperature-sensor-tutorial/#comment-943 Tue, 26 Jan 2016 08:48:10 +0000 http://www.circuitbasics.com/?p=248188#comment-943 Hi,
I’ve seen your Videos on Youtube and came to your website. Great!
I tried to do make the circuit with the Thermistor (81210W26)and had a strange problem.
I followed the instructions and put the same resistance as the thermistors resistance worth but the Temperature goes down instead to increase when I warm it up. I tried to invert the Thermistor and gained the knowledge that this doesn’t effect it. The temperature of the room is displayed correctly (I have 25°C and the Thermistor displays 25°C)
Also the Temperature goes down to slowly. Exemple: if I have 25°C in the room and take the thermistor in the hand, it decreases only 2°C although I’m still alive. :o)
Have you got an Idea where I have to search for the problem?
Thank you very much for your help.
Phil

]]>