Temperature logger using arduino. LM35 is the temperature sensor. Circuit diagram and theory