MikroElektronika
MUX click
MUX click
SKU:MIKROE-3247
Couldn't load pickup availability
Share
The MUX509 itself uses three control pins to perform signal switching. These pins are routed to the mikroBUS™, allowing simple interfacing with the host MCU. In addition, MUX click comes equipped with the three-pole terminal for the power supply, as well as with the standard 2.54mm 2x5 pin header for the input and output signals. This makes connecting all the wires simple and reliable, allowing the Click board™ to be operated right out of the box.
How does it work?
MUX click is equipped with the MUX509, a precise analog multiplexing IC, produced by Texas Instruments. The MUX509 can be used with a wide range of power supplies. It can handle both dual and single power supplies, as well as the symmetrical and non-symmetrical ones. This allows it to be used in a very wide range of different applications. Another property of the MUX509 IC is that it has dual inputs and dual output. Three control pins are used to switch one of four input pairs to a single output pair. Control pins labeled as A0 and A1 are routed to the mikroBUS™ and can be operated by both 3.3V and 5V MCUs. The third control pin is labeled as EN pin, used to enable the output when is set to a HIGH logic level (it is active HIGH). A0 and A1 pins are routed to RST and PWM pins of the mikroBUS™ respectively, while the EN pin is routed to the CS pin on the mikroBUS™.
The MUX509 IC is targeted towards working with differential signals, rather than working with the single-ended inputs. Each input is composed of two pins: SNA, and SNB, where N represents the channel number in the range from 1 to 4. When a specific channel is selected (N), both the SNA and SNB pins of that channel will be routed to the DA and DB output pins, respectively. For the improved stability, each signal pair is equipped with the 100nF parallel capacitor and 100? series resistance. The input and the output signal pins are routed to the standard 2.54mm pitch 2x5 pins header on the Click board™.
The ultra-low leakage current ensures that there is no signal interference from the inputs that are not selected by the A0 and A1 pins. A low crosstalk also ensures that the signal on one channel remains clean of interferences caused by other channels. To prevent any two inputs to be switched at the output at the same time, a break-before-make switching action is utilized. This ensures a reliable operation of the IC and the Click board™ itself.
MUX click does not use the power from the mikroBUS™ power rails, except for the LED indicator. Instead, a three-pole screw terminal is used to connect an external power supply. Having in mind the minimum input voltage of 10V or ±5V, a power supply should be connected to this terminal before operating the Click board™. Depending on the type of the used power supply (single supply or symmetrical/dual supply), it should be connected to the power supply input terminal, accordingly: GND is the reference ground connection, VSS is the negative voltage connection terminal (GND if a single power supply is used), and VDD is the positive voltage connection terminal. The input and output signals can be connected via the 2x5 pins header. As mentioned before, the MUX509 IC supports rail-to-rail operation, supporting input and output signals that range from VSS (or GND) up to VDD. Independent power supply input allows the user to work with a wide range of signal amplitudes, depending on the application requirements, as long as the power supply stays within the limits.
More information about the MUX509 can be found in the attached datasheet. However, the Click board™ comes equipped with a library that contains easy to use functions and a usage example that may be used as a reference for the development.
Specifications
Type | Voltage translator |
Applications | Automatization and process control, programmable logic controllers, digital multimeters, battery monitoring, and other applications that require differential signal switching |
On-board modules | MUX509, a precise analog multiplexing IC, produced by Texas Instruments |
Key Features | Features such as the break-before-make switching action, electrostatic discharge protection up to 2kV, low on-resistance and low input current leakage, make this circuit a perfect solution for various switching applications, especially those that utilize differential signals |
Interface | GPIO |
Input Voltage | 5V |
Click board size | M (42.9 x 25.4 mm) |
Pinout diagram
This table shows how the pinout on MUX Click corresponds to the pinout on the mikroBUS™ socket (the latter shown in the two middle columns).
Onboard settings and indicators
Label | Name | Default | Description |
---|---|---|---|
LD1 | PWR | - | Power LED indicator |
MUX click electrical specifications
Description | Min | Typ | Max | Unit |
---|---|---|---|---|
VIN (voltage at the power supply input terminal, single supply) | 10 | - | 36 | V |
VIN (voltage at the power supply input terminal, symmetrical supply) | ±5 | - | ±18 | V |
We provide a library for the MUX click on our LibStock page , as well as a demo application (example), developed using MikroElektronika compilers. The demo can run on all the main MikroElektronika development boards
Library Description
The library includes function for set current active mux channel and function for enable or disble mux device.
Key functions:
-
void mux_activeMuxChannel(uint8_t ch)
- Functions for set active MUX channel -
void mux_deviceEnable()
- Functions for enable MUX device
Examples description
The application is composed of the three sections :
- System Initialization - Sets RST pin, CS pin and PWM pin as OUTPUT
- Application Initialization - Initialization driver init end enable device
- Application Task - (code snippet) - Sets the current active channel. Changes the channel every 5 sec.
void applicationTask() { mux_activeMuxChannel(_MUX_CHANNEL_1A_AND_1B); Delay_ms( 5000 ); mux_activeMuxChannel(_MUX_CHANNEL_2A_AND_2B); Delay_ms( 5000 ); mux_activeMuxChannel(_MUX_CHANNEL_3A_AND_3B); Delay_ms( 5000 ); mux_activeMuxChannel(_MUX_CHANNEL_4A_AND_4B); Delay_ms( 5000 ); }
The full application code, and ready to use projects can be found on our LibStock page.
Other mikroE Libraries used in the example:
GPIO
Additional notes and information
Depending on the development board you are using, you may need USB UART click, USB UART 2 click or RS232 click to connect to your PC, for development systems with no UART to USB interface available on the board. The terminal available in all MikroElektronika compilers, or any other terminal application of your choice, can be used to read the message.
mikroSDK
This click board is supported with mikroSDK - MikroElektronika Software Development Kit. To ensure proper operation of mikroSDK compliant click board demo applications, mikroSDK should be downloaded from the LibStock and installed for the compiler you are using.




New Products
-
Sold out
OAK-FFC IMX577 M12
Vendor:POLOLURegular price Rs. 8,499.00Regular priceUnit price / perSold out -
Pololu Ideal Diode Reverse Voltage Protector, 4-60V, 20A
Vendor:POLOLURegular price Rs. 329.00Regular priceUnit price / perSold out -
Pololu Ideal Diode Reverse Voltage Protector, 4-60V, 25A
Vendor:POLOLURegular price Rs. 439.00Regular priceUnit price / perSold out -
Pololu I²C Isolator, ISO1640
Vendor:POLOLURegular price Rs. 449.00Regular priceUnit price / per -
3pi+ 32U4 OLED Robot Kit with 30:1 MP Motors (Standard Edition Kit)
Vendor:POLOLURegular price Rs. 15,549.00Regular priceUnit price / per -
Conductivity Calibration K 1.0 Set (4 pouches)
Vendor:Atlas ScientificRegular price Rs. 1,599.00Regular priceUnit price / perSold out -
Analog Discovery 3 Pro Bundle
Vendor:DigilentRegular price Rs. 42,569.00Regular priceUnit price / per -
Lighthouse swarm bundle - Crazyflie 2.1+ (250mAh batteries)
Vendor:BitcrazeRegular price Rs. 474,999.00Regular priceUnit price / perSold out -
Loco Swarm bundle - Crazyflie 2.1+ (250mAh batteries)
Vendor:BitcrazeRegular price Rs. 544,999.00Regular priceUnit price / perSold out -
Kopis X8 Cinelifter 5" Kit - Caged (Frame Kit)
Vendor:HolybroRegular price Rs. 28,199.00Regular priceUnit price / per -
Atlas Scientific i3 InterLink
Vendor:Atlas ScientificRegular price Rs. 6,349.00Regular priceUnit price / per -
Sold out
PoE Injector
Vendor:LuxonisRegular price Rs. 2,099.00Regular priceUnit price / perSold out -
Sold out
1-Port VINT Hub Phidget
Vendor:PhidgetsRegular price Rs. 2,699.00Regular priceUnit price / perSold out -
Holybro 1045 Propeller 2 Pair CW+CCW-Black
Vendor:HolybroRegular price Rs. 1,549.00Regular priceUnit price / per -
ACS37220LEZATR-100B3 Current Sensor Large Carrier -100A to +100A, 3.3V
Vendor:POLOLURegular price Rs. 829.00Regular priceUnit price / per -
CT433-HSWF50MR TMR Current Sensor Compact Carrier -50A to +50A, 3.3V
Vendor:POLOLURegular price Rs. 1,039.00Regular priceUnit price / per -
A5984 Stepper Motor Driver Carrier, Adjustable Current, Blue Edition
Vendor:POLOLURegular price Rs. 409.00Regular priceUnit price / per -
A5984 Stepper Motor Driver Carrier, Fixed 1A@5V / 660mA@3.3V, Blue Edition (Soldered Header Pins)
Vendor:POLOLURegular price Rs. 489.00Regular priceUnit price / per -
A5984 Stepper Motor Driver Carrier, Fixed 500mA@5V / 330mA@3.3V (Soldered Header Pins)
Vendor:POLOLURegular price Rs. 469.00Regular priceUnit price / per -
T Connector Male-Female Pair
Vendor:POLOLURegular price Rs. 169.00Regular priceUnit price / per -
Pololu Reverse Voltage Protector, 4-60V, 10A
Vendor:POLOLURegular price Rs. 159.00Regular priceUnit price / per -
Pololu Reverse Voltage Protector, 4-60V, 12A
Vendor:POLOLURegular price Rs. 199.00Regular priceUnit price / per -
Pololu Ideal Diode Reverse Voltage Protector, 4-60V, 10A
Vendor:POLOLURegular price Rs. 179.00Regular priceUnit price / perSold out -
Pololu Ideal Diode Reverse Voltage Protector, 4-60V, 12A
Vendor:POLOLURegular price Rs. 229.00Regular priceUnit price / perSold out -
Pololu Mini Plastic Gearmotor Bracket Pair - Tall
Vendor:POLOLURegular price Rs. 599.00Regular priceUnit price / per