Hi Fratello,
Why not just put them on the same bus with no switch?
According to the data sheet, you can talk to them both separately:
It looks like you have enough digits in your display to represent A or B for each temp, so you can tell them apart.Each DS18B20 has a unique 64-bit serial code, which allows multiple DS18B20s to function on the same 1-Wire bus. Thus, it is simple to use one microprocessor to control many DS18B20s distributed over a large area.
Bookmarks