Creative Commons images are CC BY-NC-SA 3.0

24.95

added to your
shopping cart

quantity
In stock 124 in stock
24.95 1+ units
22.46 10+ units
19.96 100+ units

Description: Sometimes you've got way too many inputs, or outputs... or both. How are you going to get them all connected to your Arduino? The Mux Shield, that's how. The Mux Shield II from Mayhew Labs is an upgrade on their previous Mux Shield which makes it possible to route up to 48 analog and digital inputs or digital outputs to and from your Arduino board.

The Mux Shield II improves on the original by moving all of the I/O pins to the end of the board, thus allowing you to add one big connector and hook up a ribbon wire or similar cable solution. This also gets the pins out of the way so that the Mux Shield can be in the middle of a stack, with a shield on top of it, and you can still get to the I/O pins. The pins are arranged into three rows of sixteen and each row can be individually set as a digital input, a digital output or an analog input from the Arduino sketch! Further increasing the flexibility of the board, Mayhew Labs added solder jumpers to the bottom of the board that allow you to shut off this software control feature and "hard wire" the functionality of each row, freeing up the associated Arduino pins for other shields in the stack.

The Mux Shield uses TI 74HC4067 analog multiplexers (mux’s) for input functionality and TI 74HC595 shift registers for output functionality. Don't worry if that's jibberish to you, the included Arduino library wraps it up and makes it very easy-to-use.

The shield comes without any headers so be sure to pick up some stackable shield headers!

Features:

  • Control up to 48 Pins from your Arduino!
  • Multiple modes:
    • Analog Input
    • Digital Input
    • Digital Output
  • Solder Jumpers for Hard-Wired Mode Select
  • Arduino Library and Example Code Available

Documents:

Replaces: DEV-09832

Comments 15 comments

  • You read my mind!! This is what I need to make my arduino controlled, web based fireworks launcher more reliable and compact… uhh.. I mean my model rocket launcher.. :-) Only 3 months to go ‘till 4th of July you know!!

    • Wouldn’t it be a lot cheaper, and use less pins just to get a few shift registers? something like a 74HC595 since that is what it is using anyways? 6 of them (to get to 48 pins) would cost $9 and only use 3 pins

      • You’re absolutely right, and that is what my “version 1” was, but even though it worked most of the time, I had some strange thing going on where occasionally, the shift registers would “go crazy” for lack of a better description, and start turning ALL of the relays on and off at complete random. Putting this board in place is my attempt to be a little more integrated, and have less of a chance for me mis-wiring a clock signal or something else dumb. I probably wouldn’t care too much, because it was onlly an occasional problem, but since rocket ignition was the potential result, I didn’t want to risk it… Safety first, especially since when we’re launching rockets, there’ll probably be some boy scouts around….

        • I totally agree with the safety concern, but I handled it differently. I chose to control the igniters with relays attached to my shift registers. They are controlling a 12v supply to the igniters. I installed a Key Switch in front of the common supply that runs to the igniters. The safety rule is no one approaches the tubes without the key in their pocket. That way we know there is no chance of an accidental ignition. Everyone feels safer when the machine is incapable of lighting the shells(disarmed) while the tubes are still being loaded. Even if a shift register got damaged and fired one early, no one would be near it.

          • Yeah.. Mine was the same.. My shift registers were connected to these relay boards:

            And, I also had a disconnect for the output side.. (I was using a 9v battery for launch, and had a switch)…

            it makes no sense, but SOMEHOW, the problem I had was ONLY becoming an issue when the 9v was connected…

            I’m sure I had a bad connection somewhere, but it will definitely be easier to find if I simplify..

  • Hi

    Please help resistive 7x10 matrix sensing Sample program we could share with me how to read the data matrix

  • I have two questions.

    Does anyone know if the arduino Library works with the Mux Shield Version One.

    I am having trouble running the digital example on my Leonardo. The analog example works fine but digital input does not show any change when the button is pressed. I have the Ground and I/O connected to a button. Am I missing something other then a button? I also tried to connect the 5v and I/O to the button still no change.

  • Can anyone tell me when to use a shift register and when to use a MUX? I think I understand how they both work. It seems to me that a MUX is faster and better for most purposes.

  • How much current can each output support?

  • I’m in a position where I need just a few more inputs. I’m building a midi xylophone and I want at least 4 octaves, which would use all 48 inputs, but I need some control components as well (octave shift, modulation, etc). Is there any alternative to this that I can use, or something I can add to this?

  • You can still get more I/Os from an Arduino mega, but I guess they’re not ALL analog…

  • Worth to mention The Mux Shield uses Arduino digital pins 2, 4, 6, 7, analog input pins A0, A1, A2, and optionally uses digital pins 8, 10, 11, 12.

  • We’ve all blown a pin on our Arduino through bad soldering, misplaced wires, forgetting a resistor, or something of the sort. When that happens on this shield, do multiple pins “die”? Additionally, can I attach this to my Arduino that has lost a pin, and get more pins back? How many pins will be useless if my Arduino is one pin short?

  • This will compact my DCPU-16-on-Arduino w/30-pin RAM down from a Mega to a regular Uno or Leonardo. Nice!

  • All CMOS devices are type HC, not HCT, so 3.3V control signals would be near the minimum spec value for recognition as a logic “1”. It would probably work, but temperature and unit-unit variations could cause mysterious errors over a population.


Related Products