many switches many leds
Archiver
Posts: 46,084
I am looking to control around 40 LEDs or 40 circuits of LEDs on a
large map of the US. The control will come from some momentary push
buttons. There will be somewhere around 48 buttons. I plan to use the
MAX7219 to drive the LEDs. This gives me up to 64 LEDs that I can
turn on and off. What I am looking for is a way to connect up the 48
or so momentary switches to the BS2 so the BS2 can send the correct
control string to the MAX7219 depending on which button was pushed. A
mux or encoder seems to come to mind but which one?
Any help?
Guy
large map of the US. The control will come from some momentary push
buttons. There will be somewhere around 48 buttons. I plan to use the
MAX7219 to drive the LEDs. This gives me up to 64 LEDs that I can
turn on and off. What I am looking for is a way to connect up the 48
or so momentary switches to the BS2 so the BS2 can send the correct
control string to the MAX7219 depending on which button was pushed. A
mux or encoder seems to come to mind but which one?
Any help?
Guy
Comments
pins to read in all 48 bits. Pull up all the switch inputs and you are in
business. Look at the parallax web site under resources then look at the
"Stamp Works experiments for expanding inputs. Works great. I use the chip
to read some BCD thumb wheel switches. I use the 75HC595 to control a bunch
of LEDs again with three I/O pins.
Mike B.
Original Message
From: "digital_interior" <guyb@m...>
To: <basicstamps@yahoogroups.com>
Sent: Thursday, August 29, 2002 1:26 PM
Subject: [noparse][[/noparse]basicstamps] many switches many leds
> I am looking to control around 40 LEDs or 40 circuits of LEDs on a
> large map of the US. The control will come from some momentary push
> buttons. There will be somewhere around 48 buttons. I plan to use the
> MAX7219 to drive the LEDs. This gives me up to 64 LEDs that I can
> turn on and off. What I am looking for is a way to connect up the 48
> or so momentary switches to the BS2 so the BS2 can send the correct
> control string to the MAX7219 depending on which button was pushed. A
> mux or encoder seems to come to mind but which one?
>
> Any help?
>
> Guy
>
>
> 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/
>
>