I have a RPi zero W and am reading four ds18b20 temperature sensors (with a 10K ohm resistor between the data and vcc line). Now and then I keep getting “SensorNotReadyError” from the sensors.
My previous design had one sensor less and didn’t have an additional LED and it worked fine. Could it be that the LED + additional sensor consume too much power? I’m using a 2A power brick. Could a 3A solve the problem? Any ideas how to read 4+ sensors with a Rpi zero?
A suggested pull up resistor is 4.7K ohm. Current of the sensor is not an issue as its active current is 1mA. Try with the above mentioned resistor value.
These sensors require only a few milliamps to operate. I do not believe the power supply is the problem.
I would use the suggested 4k7 pull-up to 3V3 rather than 10k.