Shop OBEX P1 Docs P2 Docs Learn Events
Is it possible to make an interface to connection two Basic Stamp microcontroll — Parallax Forums

Is it possible to make an interface to connection two Basic Stamp microcontroll

Will KwokWill Kwok Posts: 2
edited 2006-10-12 13:19 in BASIC Stamp
Then we can make a series interface and extend the I/O of a system.

but it's really a problem to me, I dunno how to do that

thx cool.gif

Comments

  • allanlane5allanlane5 Posts: 3,815
    edited 2006-10-12 13:19
    Very easy. Run a ground wire and then connect one pin to another. Designate one a 'master' and another a 'slave'

    Use SEROUT from the 'master' to talk to the 'slave'. Use 'SERIN' on the slave to listen to the master.

    But it does depend on what you want to "extend the I/O of a system" for. The 74HC595 and 74HC164 are parallel to serial and serial to parallel chips that extend the BS2's I/O using SHIFTOUT and SHIFTIN statements.
Sign In or Register to comment.