Good day !
I just want to ask if the resister module in a ds18b20 sensor makes the readings accurate . And do i still need a PID controller if i already had this resister ?. Thanks . Hope you can help .
Good day !
The pullup resistor is absolutely required. All one-wire devices pull the data pin low for a logic "0" and floats high for a logic "1". The size of the pullup resistor depends on the capacitance of the data line. If the voltage on the data line is low for more than 10us, some devices on the bus can be reset. A pullup resistor of 4K7 is a good starting place.
I have no idea what you are asking in question 2.
Welcome to the forum.
Please read the post at the start of any forum , entitled "How to use this Forum".
We need to know details of your project?
Can you tell us your electronics, programming, arduino, hardware experience?
The DS18B20 sensor as noted by @SteveMann is a one-wire device, the communication is with a digital signal, not an analog level.
The DS18B20 has a library you can use to communicate with the device.