I can't find my DS18B20, tried three different sensors (one with 1m cable). Have tried 4.7k, 10k and no resistor. Tried different pins for data. Tried different example sketches, from OneWire and Dallas. The output is always that no addresses are found.
Please, edit your Title to "DS18B29 not found, Arduino ESP32 NANO". the Title should match with yoour picture of the post so that readers are not confused. ESP32 refers to the following board (Fig-1).
NANO ESP32 is a "Arduino NANO/Classic NANO" form factor with the classic NANO pinout. So, decision of decalring OneWire ds(10) is logically correct; but, pracatically it does not work unless the DPin# is chnaged to the original ESP32's GPIO number which is 21.
Now, my query is --
What is the benefit of same pinout of classic NANO when we have to remmeber the corresponding GPIO numbers of ESP32 (Fig-1)?