I have setup test for DS18B20 sensor with Raspberry Pi to find out whether it works with 3,3V and 5V respectively as advertised.
I have found that it is working on both voltages, but temperature measured on 5V is roughly 1°C higher than on 3,3Vcc.
I have used 4k7 pull up resistor in both case.
So can someone confirm which setup is correct? I have read that it is dangerous for RPI's data pin to bring it to 5V with pullup resistor when connected on 5Vcc. So it seems like the way would be 3,3V just need to confirm pullup resistor to use in this setup too.
thanks