Then something else is wrong. I ran the code sample I posted on an Arduino Uno and using a DC reference source I get stable readings and accurate readings based on mV applied. You may want to take a good look at your wiring and sensor because you should have stable readings. Remove the TMP36 entirely and short A0 to common GND You should see a stable reading. If that is the case I would start checking connections and the pin-out on the sensor.Thanks but i used this one too . it does not work . the problem is in the reading values as you can see from the results . Voltage changes every second and it causes a huge change of temp
Also, per the above I would just disconnect the D/O line so all you have is the very basics. Once you get stable temperatures and good readings then I would move along to the heater driver circuit which could use improvement. Starting with a Logioc Level MOSFET regardless of the low turn on voltage spec for the IRF520.
Ron
Last edited:

