Go Down

Topic: What is the maximum of input/outputs usable with MEGA + Mux shield ? (Read 546 times) previous topic - next topic

julienbayle

hi mates,

I would like to know what is What is the maximum of input/outputs usable with MEGA + Mux shield ?

Indeed, with this mux shield, I can use 48 in/out pins by using only 7 pins of the MEGA.
Can I use others shift register on the other MEGA pins ?

Indeed, I'd need around 60 Leds + 60 buttons.

I guess the answer is yes, because I can have others SR chains.
But I'm not sure !!

any infos would be appreciate :)

best,
Julien
http://julienbayle.net

johnwasser

The MUX Shield has three 16-way multiplexers (not shift registers).  The multiplexers act as selector switches.  You put an address from 0 to 15 on pins 2,3,4,and 5 and read from the three multiplexers on pins A0, A1, and A2.

You can't just stack the MUX Shield to get another 48 inputs but you can share the address pins (2-5) and hook the multiplexers to other analog pins (like A3, A4, and A5) for reading.

Because the multiplexers are two-way switches you CAN use them for outputs but you can only do HIGH/LOW outputs (not PWM) and you can only output to the three pins referenced by the address.  If you change any of the address pins your three outputs now show up on different MUX Shield pins.  (Not very practical).
Send Bitcoin tips to: 1L3CTDoTgrXNA5WyF77uWqt4gUdye9mezN
Send Litecoin tips to : LVtpaq6JgJAZwvnVq3ftVeHafWkcpmuR1e

Go Up