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: Saturday Feb-15-2020 11:21:42 PST
Buy It Now for only: $2.95
|MIKROE 1892 Click board converter 1 wire I2C DS2482 800 33 5VDC|
End Date: Tuesday Feb-11-2020 1:57:18 PST
Buy It Now for only: $96.76
|rs pi I2C 1 Wire 9 Zweikanal 9 Bus mit RTC Brett fr Raspberry Pi Pi B+ 2B 3 B|
End Date: Wednesday Feb-12-2020 6:47:14 PST
Buy It Now for only: $45.25
|Rs Pi i2c 1 Wire 9 channel 9 bus with RTC Board for Raspberry Pi B+ 2B 3B|
End Date: Wednesday Feb-5-2020 11:29:25 PST
Buy It Now for only: $46.90
|MikroElektronika I2C 1 Wire click i2c Development Board for DS2482 800 for mikr|
End Date: Friday Feb-14-2020 20:51:58 PST
Buy It Now for only: $54.51