I had various issues with DS18B20 1-Wire Temperature sensors so decided to invest in a DS2482-800 i2c 1-wire master IC.
With more than DS18B20, some at the end of a 10 meter long cable, I was having various issues reading temeratures reliably. Strangly it was the nearest sensors that had issues. Sometimes no devices would show up, sometimes they'd reply with "No". Only way to fix them seemed to unplug them on startup, let the code run a few times, then plug them back in.
After researching I found this DS2482-800 8 Channel I2C to 1-Wire Master chip. From I2C you can read sensors over 8 channels. Each channel is kept separate so there's no "ghosting" from multiple sensors.
I used the instructions here:-
You may also have to buy an easy way of interfacing with that chip. It's not easy soldering on to those pins, so I purchased an adapter plate - Surface Mount IC to Bradboard adapter – 16 pin
|DS2482 800 DALLAS DS2482 16 SOIC SMT NOS LAST ONES|
End Date: Wednesday Jul-15-2020 12:21:42 PDT
Buy It Now for only: $2.95
|Rs Pi i2c 1 Wire 9 channel 9 bus with RTC Board for Raspberry Pi B+ 2B 3B|
End Date: Sunday Jul-5-2020 12:29:25 PDT
Buy It Now for only: $47.36
|MikroElektronika I2C 1 Wire click i2c Development Board for DS2482 800 for mikr|
End Date: Tuesday Jul-14-2020 21:51:58 PDT
Buy It Now for only: $52.53