Dude... I LOVE YOU!! I've been using all kinds of Thermistor guides that I could find with Google and all were total shit. This is the first one that works after 3 hours of searching and trying make it work. I'm a noob, no judging :D
@KrisKasprzak6 жыл бұрын
Glad I could help.
@rotorblade95083 жыл бұрын
I bought a thermistor automotive 1/8”Npt but it didn’t come with any information at all since it was supposed to be used with a specific temperature gauge. I have used a thermometer and boiled some water to plot a resistance/temperature graph. At boiling temperature I measured 96.5C so perhaps it’s not very accurate. Also if the temperature increases to quickly the two thermistors can have different reaction times. Based on the raw data I have calculated the a,b,c values. Bellow 14C I use the beta function. Next I made an excel table with all the values from -35C to 192C in my case, used concaternate function to add a “,” after each value and copy paste the values into the internet browser header that makes them a series of numbers line -36,-34,-30... instead of a column then pasted it on a vector in arduino like temp[907]={-36,-34,-30,...} so that it doesn’t calculate the logarithms to make it faster. But that’s only if you don’t need decimal places otherwise the vector gets too long, like tens of thousands of values
@ernestorivero99092 жыл бұрын
You can edit the fonts that are in the gfx library that is to say if you can change the size of the letter, the advance of the cursor the ofset
@Taran725 жыл бұрын
Thank you for doing this! It's of BIG help to my DYI projects.
@caffeinatedinsanity23242 жыл бұрын
Pretty great video. I was wondering about the equation... Doesn't the Steinhart-Hart equation only requires 3 coefficients? Your datasheet's shows 4 and an a ln squared term. Maybe the 4 coefficients equation is more accurate idk. Also little fun fact: at our job how our hvac controllers work, thermistor input configurations use a lookup table of values for figuring out the temperature that is read.
@KrisKasprzak2 жыл бұрын
Not sure about that equation, I just followed the datasheet.
@philipreed27584 жыл бұрын
Really like this video thanks. i want to make a program that has 3 temp sensors and this will help me alot. mainly with the calculations side of it.
@KrisKasprzak4 жыл бұрын
Glad I could help. Not sure what components you will use in your project, but if you run out of memory, take a look at a Teensy 3.2 I use them 99% of the time as they are faster and more capable.
@mother-fng-bonswa36126 жыл бұрын
i was hoping for a better explenation around that formula .. i don't have the formula in my data sheet to copy paste in to arduino
@oOSephirothOo7 жыл бұрын
Amazing! Thank you very much.
@KrisKasprzak7 жыл бұрын
Your're very welcome.
@boydbros.36597 жыл бұрын
the only way I could get my generic thermistor to serial write the correct temp was to adjust R1 value manually in the sketch.
@MusaabIbrahimpharmacy3 жыл бұрын
I am getting an error for tempK not declared (the long equation)
@kermets7 жыл бұрын
Hi Kris, thanks for the video, I pulled a thermistor from old laptop battery works great How do I change code to get only 1 decimal place and slow down refresh alittle to slow numbers flicking between each other ? cheers Brett
@theintelarif6 жыл бұрын
Use Serial.println(floating value, no. of decimal places) Example: Serial.println(1.23456, 4) gives "1.2346"
@oneforall200 Жыл бұрын
Can I get code for lcd i2c 16×2 display?
@lafkihkhalid34736 жыл бұрын
Great tutorial, thank you a lot
@KrisKasprzak6 жыл бұрын
Glad I could help
@theintelarif6 жыл бұрын
2:10 You could've simplified the math. Because Vo=ViR1/(R1+R2) => R2=(Vi/Vo-1)R1 So this would've given the same result and could've saved some people from the algebra phobia 😉
@kyungjindaum5 жыл бұрын
Wow, super informative. I want to use thermistor to monitor respiratory rate. What is the max sampling rate of the thermistor for this? Is the detection almost instantaneous? thank you so much!
@KrisKasprzak5 жыл бұрын
According to the data sheet response time is 1.2 seconds (submersed in oil), I suspect air will be slower.
@choly724 жыл бұрын
not find Code for writing to a 480 x 320 display ?
@KrisKasprzak4 жыл бұрын
You will have to be more specific than that
@choly724 жыл бұрын
@@KrisKasprzak I can't download (Code for writing to a 480 x 320 display) The link is corrupt
@darrenlee6898 Жыл бұрын
why do you divide vo by 204.6?
@KrisKasprzak Жыл бұрын
An analog pin will read the number of bits measured for the 10 bit device. That would be a maximum of 1024 bits since the max voltage is five. Since the goal is to get volts, you have to use a conversion factor 5 V divided by 1024 which is 204.6.
@darrenlee6898 Жыл бұрын
@@KrisKasprzak after some great staring I figured it out. So you had 1023/5=204.6… I am using 3.3 volts as my reference so I used (1023/vref). Thank you for this! I had a couple tutorials help with this. Yours helped me get the proper resistance reading and another helped me convert the resistance to temp reading. A beautiful exercise and always exciting when it works
@ramav25784 жыл бұрын
Any chance you are still around and can answer why my temperature values reduce when I warm the thermistor?
@KrisKasprzak4 жыл бұрын
I'm guessing you have your thermistor wired on the high side of your voltage divider or you don't have an NTC type thermistor
@ramav25784 жыл бұрын
@@KrisKasprzak it seems I have a pt100 type thermistor. I didn't know it but this is the item needed for this application. Any chance you have any experience with these thermistors?
@KrisKasprzak4 жыл бұрын
@@ramav2578 never used one but from what i can see its and NTC device. Is one end gets connected to ground?
@ramav25784 жыл бұрын
@@KrisKasprzak yes one side goes tot the negative and the other side is connected between a resistor and the A0 pin
@KrisKasprzak4 жыл бұрын
@@ramav2578 I think I know the answer here but put it on meter across your thermistor and then heat up your thermistor. What happens to the resistance?