I'm trying to connect DS18B20 sensor to 10 I/Os Digital Module CPU ESP32. I thought that I can use for that purpose SCL and SDA pins which seems to be internally connected to ESP32 SCL and SDA GPIO pins (GPIO22, GPIO21), but reading temperature using that pins is not working.
Also SCL and SDA pins on ESP32 should be usable as normal input or output, but when I try to set one of those as output and turn it on and off in some interval (blink) there is still HIGH signal on given pin.
Can I use that pins for this purpose?
Or am I using them wrongly?
Is there better way to connect 1-wire sensor?