I have 4 DS18B20 sensors connected to a Raspberry Pi 4, with a resistor of 10kOhm.
All of the sensors randomly disappears from the w1/devices.
In config.txt
the dtoverlay=w1-gpio
as well as the gpiopin=4
is present.
The sensors are connected to 3.3V (physical pin 1), and GPIO 4 (physical pin 7), ground is connected to the physical pin 30. It was previously connected to 5V.
Maybe this will also help, if the devices goes missing if I take out the power pin and plug it back it will reappeare. The cables cannot be a problem, because after it appeared for the first time I resoldered everything with new resistor and new cables.
Any ideas why that can happen?