Shop OBEX P1 Docs P2 Docs Learn Events
multiple ds18b20 — Parallax Forums

multiple ds18b20

HardwareWizardHardwareWizard Posts: 9
edited 2005-08-04 13:14 in BASIC Stamp
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??

Comments

  • Jon WilliamsJon Williams Posts: 6,491
    edited 2005-08-04 02:35
    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
  • HardwareWizardHardwareWizard Posts: 9
    edited 2005-08-04 13:14
    Thank you this was a great help. solved my problem.
Sign In or Register to comment.