Shop OBEX P1 Docs P2 Docs Learn Events
Programing Multiple Stamps? — Parallax Forums

Programing Multiple Stamps?

smplsmpl Posts: 19
edited 2012-01-03 11:26 in BASIC Stamp
Hello all and Happy New Year.

I am working on a project that contains 3 BS2p24-IC's, and I was wondering if there is a simple way to program each stamp seperately using only one RS-232 DB9 port? Maybe using DIP switches or a rotary switch to set which stamp to send the program to, and at the same time (pause or power off) the other two stamps so they dont execute during this process.

Thanks

Comments

  • Mike GreenMike Green Posts: 23,101
    edited 2012-01-03 07:33
    How about a 2-pin by 4-bit header connected as follows:

    SIN --- SOUT --- ATN --- ATN

    DB9 --- DB9 --- DB9 --- GND
    SIN --- SOUT --- ATN

    For the Stamp you're programming, you'd jumper the first 3 pairs connecting the Stamp to the DB9 connector. For the other Stamps, you'd connect ATN (reset) to ground holding them in reset. Note that there's a pair of capacitors that's part of the reset circuitry on most Stamp boards. These would be on the DB9 side of the jumper block. You could use 3 x 4-pin DIP switches the same way and you'd not have the problem of losing the jumpers, but that's 12 switches that have to be set for each Stamp to be programmed.
  • smplsmpl Posts: 19
    edited 2012-01-03 11:26
    Thanks Mike. What about holding the RES or pin 22 low on a BS2p24? Can this be held low to hold it in reset? That way a simple 2 pole 4 position rotary switch can be used. Any thoughts?
Sign In or Register to comment.