how do i add a second DS18b20 temp sensor to raspberry pi, i have the first one wired to GPIO 4 for automatic detection, how do i find out the slave address for the second sensor?
Add your second (third, fourth, etc.) to the same 5v, Gnd, and GPIO4. Make sure you have your 4.7k ohm resistor. Auto discovery should find it under your raspi device.
thanks for your reply i found this drawing online