Shop OBEX P1 Docs P2 Docs Learn Events
OW-SearchDemo finding devices that are not connected. — Parallax Forums

OW-SearchDemo finding devices that are not connected.

jyoungjyoung Posts: 16
edited 2006-12-25 19:45 in Propeller 1
I run OW-SearchDemo.spin with no i2c devices connected and the output says "Devices found: 10"
then gives address of ten different locations. When I connect a ds1822 device the output does not change. Does this ring any bells with anyone?

Comments

  • jyoungjyoung Posts: 16
    edited 2006-12-25 19:25
    Forgot to mention, I am using the PRC board. I am using this to automate my home brewery so I need about 10 temp sensors, so I2c it is. Thanks for any help!
  • Mike CookMike Cook Posts: 829
    edited 2006-12-25 19:36
    Have not used·the DS1822 but should be simular to the DS1820

    When I looked at this, a while back, I had to wire the DS1820 like this:
    ''
    ''  Wiring Diagram:
    ''
    ''   ┌──────────────┐
    ''   │    DS1820    │         +3.3VDC
    ''   │              │                                                           
    ''   │ GND DQ +3.3V │         │
    ''   └──┬───┬───┬───┘         │              Propeller I/O Pin
    ''      │   │   │             │                                                
    ''      │   │   └──┳──────────┘               │     
    ''      │   │       4.7K                     │
    ''      │   └──────┻──────────────────────────┘
    ''      
    ''   Ground
    ''
    

    To get the demo to work.

    Hope this helps,

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Mike
  • jyoungjyoung Posts: 16
    edited 2006-12-25 19:45
    Sweet! thanks for the quick responce! works perfectly!!
Sign In or Register to comment.