Re: Can I do this with a uProcessor?
- From: Rich Grise <rich@xxxxxxxxxxx>
- Date: Wed, 23 May 2007 17:31:30 GMT
On Wed, 23 May 2007 08:59:42 -0400, tempus fugit wrote:
You have made an error in thinking here. The switch only informs the
micro that the switch is closed. The micro knows which group of
things to activate for a given switch. This makes the wiring very
simple.
I understand that, but do I then need 1 input pin for each switch, and 1 for
each output? That would mean 15 ins, plus 6 outs. Since I only have 6
different parameters to control, I was wondering if there was a way to use
only 6 input pins and 6 outs, plus the 1 extra for the bank switch.
Are you not reading any responses here? People have been explaining
multiplexing for about three days now!
You need ONE output for ANY NUMBER OF ROWS OF SWITCHES, and
ONE INPUT FOR ANY NUMBER OF COLUMNS OF SWITCHES!
Activate one row, and read the state of the columns. If there is an active
input, decode it and put it into your queue. Activate the next row, and
read the state of the columns. If there is an active input, decode it, and
put it into your queue. Activate the NEXT row, read the inputs, and if
one is active, put THAT into your queue. Continue, until you've scanned
all of the rows.
I don't know how much more simply it can be explained, short of actually
doing your homework for you, and I charge $240.00/hour to do that.
Cheers!
Rich
.
- Follow-Ups:
- Re: Can I do this with a uProcessor?
- From: tempus fugit
- Re: Can I do this with a uProcessor?
- From: Eeyore
- Re: Can I do this with a uProcessor?
- References:
- Can I do this with a uProcessor?
- From: tempus fugit
- Re: Can I do this with a uProcessor?
- From: MooseFET
- Re: Can I do this with a uProcessor?
- From: tempus fugit
- Re: Can I do this with a uProcessor?
- From: MooseFET
- Re: Can I do this with a uProcessor?
- From: tempus fugit
- Re: Can I do this with a uProcessor?
- From: MooseFET
- Re: Can I do this with a uProcessor?
- From: tempus fugit
- Can I do this with a uProcessor?
- Prev by Date: Re: Can I do this with a uProcessor?
- Next by Date: Re: help needed on hi-V power supply circuit
- Previous by thread: Re: Can I do this with a uProcessor?
- Next by thread: Re: Can I do this with a uProcessor?
- Index(es):
Relevant Pages
|
Loading