Shop OBEX P1 Docs P2 Docs Learn Events
Easiest Way To expand I/O — Parallax Forums

Easiest Way To expand I/O

GiuseppeGiuseppe Posts: 51
edited 2009-11-23 06:19 in BASIC Stamp
Soooooooo I need more input and output pins, what is the easiest way of doing this?

Comments

  • Mike GreenMike Green Posts: 23,101
    edited 2009-11-23 05:42
    Read the StampWorks Manual. It's downloadable from Parallax and there's a chapter on each topic. There are also several Nuts and Volts Columns on the subject also downloadable from Parallax. Go to their main webpage and click on the Resources tab. You'll see a link to the Nuts and Volts Columns index. For the StampWorks Manual, just search the Parallax website for "StampWorks".
  • Mike GreenMike Green Posts: 23,101
    edited 2009-11-23 05:54
    The Microchip MCP23S17 and MCP23S08 are nice I/O expanders that use the SPI protocol so you could use SHIFTIN and SHIFTOUT statements to control them. If you only need inputs, you can use a 74HC165 shift register as described in the StampWorks Manual. If you only need outputs, you can use a 74HC595 shift register, also as described in the StampWorks Manual.
  • GiuseppeGiuseppe Posts: 51
    edited 2009-11-23 06:19
    thanks a bunch!
Sign In or Register to comment.