I am following this link "Arduino - One Wire Digital Temperature Sensor - DS18B20" for my project in Arduino.I have a query in using the Temperature sensor.
As per the link,we should use Dallas temperature sensor DS18B20.They have also used Dallas and Onewire libraries.
However,I have bought LM35 temperature sensor.When I bought the component,I didnt check that.So,I am not sure whether I can still use LM35 as the sensor.
If I can use LM35 instead of DS18B20,what are the libraries I should use?Should I still continue using DallasTemperature.h and Onewire.h libraries?
Should I still use any resistor in the circuit while using LM35?Because,Arduino Temperature Sensor Interfacing (LM35) .THE EASIEST WAY does not show any resistor whereas with Dallas Temperature Sensor explained in the link "Arduino - One Wire Digital Temperature Sensor - DS18B20" shows 4.7K ohm resistor.