The ds18B20's are brilliant, and it's dead easy to address them from the pic all you need to find is the matching rom address for each device then talk to each one whenever you want
Seeing you're then using 1 wire anyway you can add any other devices you want to it like the ds2405 switch? all depends on what exactly you want to do with the temp once you've read it/set it
I followed Acetronics idea and it's dead simple, In my case I just built a small circuit and mounted it on the back of a 4 line lcd and using a usb lead JUST as the power supply and a TO-92 socket to plug the ds's into. then all you need is a small pic dedicated to reading the rom's (or reuse it afterwards for something else) and THIS(clicky) how to read the rom codes from 1 wire devices* and then this*(clicky) how to communicate with multiple 1 wire devices
The 1 wire commands threw me for a while, took a bit to get my head round them and I'm still learning (now about eeprom and timers)
Bookmarks