I have an analog temperature sensor (TMP36 - datasheet - product page) and it is properly connected to an analog pin for reading its output.
The Arduino sketch (firmware) works just fine. Everything actually works fine except for two things:
If I plug more components in the circuit, like for example connecting an LED in parallel, temp readings go up for 1 degree (Celsius).
From time to time the readings go crazy (like 80°C or 100°C), although it's never that hot in here.
The connection is like this: from the Arduino's 5V pin to the sensor positive lead. Then, from the sensor's negative lead to the GND pin in Arduino. And finally, from the middle lead to the A1 analog reading pin.
Why are situations 1 and 2 happening? Is this normal?