EDIT: Something is very wrong, if i change the sensors position on the breadboard i get different values..

It might be that the Arduino input port is bad? Can you try changing to another analog input port? (make sure you update your code to match) Also some times if the wire leads are too long they can affect the sensor measurements.

Garmien

EDIT: Something is very wrong, if i change the sensors position on the breadboard i get different values..

It might be that the Arduino input port is bad? Can you try changing to another analog input port? (make sure you update your code to match) Also some times if the wire leads are too long they can affect the sensor measurements.

I tried some of the other projects before going back to this, now i get these numbers(again with 100ms delay):

emmanuelle1670

helloI tested the tmp36 and I think I will not use again! the tmp36 is too sensitive to electrostatic waves. the only way I managed it by adding a 0.1 uf ceramic capacitor for the values ??are more stable on the breadboard. but when you make a perforated plate or you use more than one tmp36 or otherwise in a surrounding with lots of electrostatic waves (film studio, or near a motor). this is not the same games. the first tmp36 influences the values ??of the other and so on. Environmental electrostatic waves distort the sensor values

The slightest change of voltage (power outage, run down, connection error etc.). Sensor burns. must be experienced in electronics, it's really not recommended to beginners! it should be noted that on this forum there are requests for help almost every 2 days for tmp36. must deduce something. I finally used a thermistor (variable resistor heat) and everything is settled.

for project love-o-meter This is my code, its from the book, and when I compile it works without errors, when I connected Arduino to it, only the LED that was connected to pin 3 came on, nothing else happened, nothing on the serial monitor, what am I doing wrong

I don't know if this will help anyone but just in case... I was having similar problems to those listed above with negative reads on my sensor. I checked and double checked the circuit and the code. I was about to give up when I realized it was way hotter in this room than my defined baseline temp, and hotter my max baseline temp +. I changed my baseline to match the actual temp in the room (almost 80 degrees) and it worked.

So my questions are:- is it normal, and is it the correct behaviour of this sensor?- if I want to improve the accuracy, should i change the sensor, the wiring, or focus on the software, with maybe a moving mean?

I've already faced this kind of analogic issue, with a capacitive sensor, and i used a moving mean. It was not really suitable for my purpose because it was for an input device, so adding latency with the computation of the mean was not good.

I'm interested in any suggestion, and quite a newb in electronics.Thanks for reading