View Full Version : multiple ds18b20

08-04-2005, 08:59 AM
I am having trouble talking to multiple ds18b20 on the same bus. does anyone have any code that will read multiple ds18b20 that i could look at to find out what i'm doing wrong??

Jon Williams
08-04-2005, 09:35 AM
As with any 1-Wire device, you need to use the MatchROM instruction and send the serial number to the device in question. I've attached an older demo program designed for two DS1822 sensors; the code structure should help.

Jon Williams
Applications Engineer, Parallax

08-04-2005, 08:14 PM
Thank you this was a great help. solved my problem.