Hi.
I am doing a project to sense the temperature using a thermistor with Arduino mega.
The thermistor I am using is 100k NTC 3950. I used a standard circuit with a 100k resistor in parallel as many tutorials online. But I am not getting the values correct. The values are extremely unstable. I think the problem is the code. I used the stein-heart formula code from online but it doesn't work. I just need a simple code that gives a fairly stable temperature value(a little fluctuation is ok).
What is the temperature range that you are measuring?
Please post your code. Please read the forum guidelines to see how to properly post code and some information on making a good post.
Use the IDE autoformat tool (ctrl-t or Tools, Auto format) before posting code in code tags.
Post a sample of the output from your code.
Please post a schematic. Written descriptions are always more ambiguous than a drawing. Hand drawn, photographed and posted is fine. Include all pin names/numbers, components, their part numbers and/or values and power supplies.
Hi. I'm new to the forum. I'd really like your help. I have to sense the temperature of a heatbed with the thermistor. But i cant seem to succeed. Please can you create a circuit and a code for me for the above thermistor which i can see the temperature on a serial monitor. I am working at a range from 25 to 110 C temperature. Your help would be much appreciated. I am really at a very tight schedule. So i cant provide all the diagrams and codes. Please create a solution for me.
That is not how this forum operates. If you want somebody to write code for you, go post a request over at Jobs and Paid Consultancy - Arduino Forum and be prepared to pay for it.
If you want people to help you for free here, you need to provide a circuit for people to help with, you need to provide your best effort at the code which people can help you with and you need to provide what the current output is v. what you want it to be so people can help.
The resistors should be in series...
Please show the code you have.
Put a Serial.print in your code to print the raw sensor reading multiple times. That will show if the sensor is ok.
You might add a capacitor (100 nF) from analog pin to ground to smooth the signal.