Multiple inputs
Archiver
Posts: 46,084
I need to monitor some 32 switches. I know how to increase the
capability of the BS2 using serial latch chips such as the ucn6818.
Using the shiftout, I can control up to 32 led's or other low
current devices using only 3 pins of the BS2. Is there anything
similar but for input uses?
Al
capability of the BS2 using serial latch chips such as the ucn6818.
Using the shiftout, I can control up to 32 led's or other low
current devices using only 3 pins of the BS2. Is there anything
similar but for input uses?
Al
Comments
Stamp lines and SHIFTIN. Just remember that you'll need to dedicate a bit of
memory for every one of your extra inputs, so you need to have four bytes
available.
-- Jon Williams
-- Parallax
In a message dated 2/20/2003 8:14:45 PM Central Standard Time,
brownstamp@y... writes:
> I need to monitor some 32 switches. I know how to increase the
> capability of the BS2 using serial latch chips such as the ucn6818.
> Using the shiftout, I can control up to 32 led's or other low
> current devices using only 3 pins of the BS2. Is there anything
> similar but for input uses?
[noparse][[/noparse]Non-text portions of this message have been removed]
two pins for up to 64 inputs.
My 'lectronic Newb site http://members.shaw.ca/pmeloy/
Original Message
From: <jonwms@a...>
To: <basicstamps@yahoogroups.com>
Sent: Thursday, February 20, 2003 6:35 PM
Subject: Re: [noparse][[/noparse]basicstamps] Multiple inputs
> You can cascade four 74HC165s together to get 32 inputs using just three
> Stamp lines and SHIFTIN. Just remember that you'll need to dedicate a bit
of
> memory for every one of your extra inputs, so you need to have four bytes
> available.
>
> -- Jon Williams
> -- Parallax
>
> In a message dated 2/20/2003 8:14:45 PM Central Standard Time,
> brownstamp@y... writes:
>
> > I need to monitor some 32 switches. I know how to increase the
> > capability of the BS2 using serial latch chips such as the ucn6818.
> > Using the shiftout, I can control up to 32 led's or other low
> > current devices using only 3 pins of the BS2. Is there anything
> > similar but for input uses?
>
>
>
> [noparse][[/noparse]Non-text portions of this message have been removed]
>
>
> 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/
>
>
solution, see http://www.emesystems.com/BS2rct.htm#switches
BTW I recommend a closer look to the other chapters at emesystems.
Regards
Adrian