Mayhew Labs
Table Of Contents:
_________________________________________
Introduction
Sometimes you need extra inputs and outputs on your Arduino; maybe you're taking readings from dozens of
sensors or controlling a bunch of LEDs. Whatever it is, the Mux Shield will help you out. Stack it onto your Arduino
and you've just added 48 extra I/O pins. You can select whether the pins are analog inputs, digital inputs, or digital
outputs. The Mux Shield uses a clever combination of multiplexers, shift registers, and control signals to
accomplish this but don't worry - it's all wrapped up in a simple-to-use library that comes with examples.
This guide will help you get up and running and also explain how the shield works. If you want to skip the details
and get down to business, install the library and run the demo examples (see the MuxShield Library for Arduino
section).
_________________________________________
Hardware Description
The Mux Shield is an input and output (I/O) expander for Arduino platforms. It contains 48 connections for
increasing the number of analog inputs, digital inputs, and digital outputs. These 48 connections are split up into
three 16-pin rows: I/O1, I/O2, and I/O3. Each of these rows may be independently set as analog inputs, digital
inputs, or digital outputs in firmware or by using solder jumpers. That means you could have 16 analog inputs, 16
digital inputs, and 16 digital outputs simultaneously, or 32 digital outputs and 16 analog inputs simultaneously, or 48
digital outputs simultaneously, etc. Each 16-pin row cannot have split functionality - i.e. having 3 analog inputs and
13 digital outputs on row I/O1 is not possible. 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.
The Mux Shield uses
TI 74HC4067
registers for output functionality. Control lines are used in different ways depending on whether the I/O row is to be
an input or an output. If the I/O row is set as an input, the control lines are used as address lines to the mux's. If
the row is an output, the control lines are used as clock and latch lines to the shift registers. See the Pin
Descriptions section for more details on how these lines are used.
© 2013 Mayhew Labs
Contact: CustomerService@mayhewlabs.com
1
1
2
2
4
5
analog multiplexers (mux's) for input functionality and
Mux Shield II
User Guide
TI 74HC595
shift
1
Need help?
Do you have a question about the Mux Shield II and is the answer not in the manual?
Questions and answers