Shop OBEX P1 Docs P2 Docs Learn Events
I need help to connect DS18S20 with BS2sx — Parallax Forums

I need help to connect DS18S20 with BS2sx

Comments

  • Mike GreenMike Green Posts: 23,101
    edited 2013-05-22 08:09
    You can't use 1-wire devices like the DS18S20 with the BS2sx, only with the BS2p, BS2pe, and BS2px. These three Stamp models are the only ones that have built-in 1-Wire support and there's no way to do 1-Wire without this feature. There are 1-Wire bridges that handle the interfacing like the DS2480B, but you'd be completely on your own for coming up with code.
  • Mike GreenMike Green Posts: 23,101
    edited 2013-05-22 08:24
    Unless you're going to use a BS2p/pe/px Stamp, I would recommend using something like the DS1722 which has an SPI/3-wire interface. This is very simple to interface with any Stamp model using the SHIFTIN and SHIFTOUT statements. Any other SPI/3-wire interface device would also do.
Sign In or Register to comment.