Shop OBEX P1 Docs P2 Docs Learn Events
PINS? — Parallax Forums

PINS?

ArchiverArchiver Posts: 46,084
edited 2002-11-26 02:43 in General Discussion
Hello,
I am using my stamp works kit to run various IC's, control a
stepper motor, and run an LCD. At the moment i am using all of the
available stamp pins (P0 - P15). If i wanted to would i be able to
connect two different components to the same stamp pin. Or would i
have to get a special chip that would provide high-z outputs or some
type of hardware that would allow me to safely have multiple
connections to one pin.

thank you,
Anthony

Comments

  • ArchiverArchiver Posts: 46,084
    edited 2002-11-25 21:26
    There are lots of ways to multiplex pins, but you have to have some way
    to separate them and that kind of depends on what you are actually
    doing. For example, if you just need a bunch of inputs, you can use a
    shift register or the "resistor keyboard" trick that is in the Stamp
    manual.

    For a general purpose solution, have a look at
    http://www.al-williams.com/pak3.htm. Also, many of our other
    coprocessors have "spare" I/O pins on them.

    Al Williams
    AWC
    * Floating point A/D
    http://www.al-williams.com/awce/pak9.htm



    >
    Original Message
    > From: engrmaps [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=nLtNycBHQ9UMABbqWG1r7zM95uA7ygmID57vywjasmo6WjloAnf_e3v1bbD4MkwAvL4j_hF8435J]engrmaps@y...[/url
    > Sent: Monday, November 25, 2002 12:06 PM
    > To: basicstamps@yahoogroups.com
    > Subject: [noparse][[/noparse]JUNK] [noparse][[/noparse]basicstamps] PINS?
    >
    >
    > Hello,
    > I am using my stamp works kit to run various IC's, control a
    > stepper motor, and run an LCD. At the moment i am using all of the
    > available stamp pins (P0 - P15). If i wanted to would i be able to
    > connect two different components to the same stamp pin. Or would i
    > have to get a special chip that would provide high-z outputs or some
    > type of hardware that would allow me to safely have multiple
    > connections to one pin.
    >
    > thank you,
    > Anthony
    >
    >
    > To UNSUBSCRIBE, just send mail to:
    > basicstamps-unsubscribe@yahoogroups.com
    > from the same email address that you subscribed. Text in the
    > Subject and Body of the message will be ignored.
    >
    >
    > Your use of Yahoo! Groups is subject to
    > http://docs.yahoo.com/info/terms/
    >
    >
    >
    >
  • ArchiverArchiver Posts: 46,084
    edited 2002-11-26 02:43
    There are several ways to approach this. First is using shift registers
    (74HC595) for SPI or I/O expanders for I2C (PCF8574). Either chip for
    reducing the pins needed by the LCD. Just search for "stamp lcd" on the net
    and you'll find some examples.

    You can use something like the 74HC4053 (hi-z gizmo) to double up on a set
    of pins if you like as well.

    Original Message
    From: "engrmaps" <engrmaps@y...>
    To: <basicstamps@yahoogroups.com>
    Sent: Monday, November 25, 2002 10:06 AM
    Subject: [noparse][[/noparse]basicstamps] PINS?


    > Hello,
    > I am using my stamp works kit to run various IC's, control a
    > stepper motor, and run an LCD. At the moment i am using all of the
    > available stamp pins (P0 - P15). If i wanted to would i be able to
    > connect two different components to the same stamp pin. Or would i
    > have to get a special chip that would provide high-z outputs or some
    > type of hardware that would allow me to safely have multiple
    > connections to one pin.
    >
    > thank you,
    > Anthony
    >
    >
    > To UNSUBSCRIBE, just send mail to:
    > basicstamps-unsubscribe@yahoogroups.com
    > from the same email address that you subscribed. Text in the Subject and
    Body of the message will be ignored.
    >
    >
    > Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
    >
    >
Sign In or Register to comment.