# Title: Analog MUX Click Board™ ## Description: How Does The Analog MUX Click Board™ Work? The Analog MUX Click Board™ is equipped with the CD74HC4067, a high-speed CMOS logic 16-channel analog multiplexer/demultiplexer, produced by Texas Instruments. It supports 3.3V and 5V power supplies, as well as rail to rail operation, which allows it to be used in a very wide range of different applications. Four control pins are used to switch one of sixteen inputs to a single output. Control pins labeled as S0, S1, S2, and S3 are routed to the mikroBUS™ and can be operated by both 3.3V and 5V MCUs. These pins are routed to RST, PWM, INT, and CS pins of the mikroBUS™ respectively, while the common output pin from the multiplexer is routed to the AN pin on the mikroBUS™. The CD74HC4067 IC is digitally controlled analog switch that utilize silicon-gate CMOS technology to achieve operating speeds similar to LSTTL, with the low power consumption of standard CMOS integrated circuits. The mentioned analog multiplexer/demultiplexer control analog voltages that may vary across the voltage supply range. The ultra-low leakage current ensures that there is no signal interference from the inputs that are not selected by the S0, S1, S2, and S3 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. The Analog MUX Click Board™ is bidirectional switch as well, thus allowing any analog input to be used as an output and vice-versa. The switches have low "on" resistance and low "off" leakages. All of the input channels can be easily connected to the two 9 pole spring action block terminals, without having to use any additional tools, such as screwdrivers. More information about the CD74HC4067 can be found in the attached datasheet. However, the Analog MUX 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. The Analog MUX Click Board™ offers a selection between 3.3V and 5V operation, with the onboard SMD jumper, labeled as PWR SEL. This allows both 3.3V and 5V MCUs to be interfaced with this Click board™. SPECIFICATIONS Type Port expander Applications Automatization and process control, programmable logic controllers, digital multimeters, battery monitoring, and other applications that require analog signal switching. On-board modules CD74HC4067, a high-speed CMOS logic 16-channel analog multiplexer/demultiplexer, produced by Texas Instruments. Key Features low on-resistance and low input current leakage, fast and balanced propagation delay and transition times, break-before-make switching action Interface GPIO Compatibility mikroBUS Click board size L (57.15 x 25.4 mm) Input Voltage 3.3V or 5V PINOUT DIAGRAM This table shows how the pinout for the Analog MUX Click Board™corresponds to the pinout on the mikroBUS™ socket (the latter shown in the two middle columns). Notes Pin Pin Notes Common output pin COM 1 AN PWM 16 S1 Control pin 1 Control pin 0 SO 2 RST INT 15 S2 Control pin 2 Control pin 3 S3 3 CS RX 14 NC NC 4 SCK TX 13 NC NC 5 MISO SCL 12 NC NC 6 MOSI SDA 11 NC Power Supply 3.3V 7 3.3V 5V 10 5V Power Supply Ground GND 8 GND GND 9 GND Ground ONBOARD SETTINGS AND INDICATORS Label Name Default Description LD1 PWR - Power LED Indicator JP1 VCC SEL Left Power Supply Voltage Selection 3V3/5V, left position 3v3, right position 5v TB1, TB2 - - Input 9 pole spring action terminals ANALOG MUX CLICK ELECTRICAL SPECIFICATIONS Description Min Typ Max Unit VCC 2 3.3 6 V "ON" Resistance 70 Ω Input Rise and Fall Time 500 ns ## Product type: Click Board ## Vendor: Mikroelektronika d.o.o. ## Tags: Click Board, Interface, Measurement, MikroE, Mixed Signal, Port Expander, Serial Interface ## Price range: 5.6 - 5.6 GBP ## Link: https://thedebugstore.com/products/mikroe-4111-analog-mux-click-board-uk ## Compare-at price range: 8.0 - 8.0 GBP ## Options - Title: Default Title ## Collections - [New Products](https://thedebugstore.com/a/llms/collections/new-products-debug-store) - [Mikroelektronika d.o.o. (MikroE)](https://thedebugstore.com/a/llms/collections/mikroelektronika-catalogue-uk) - [Mixed Signal Click Boards™](https://thedebugstore.com/a/llms/collections/mixed-signal-click-boards-catalogue-uk) - [Serial Interface Click Boards™](https://thedebugstore.com/a/llms/collections/serial-interface-click-boards-catalogue) - [MikroE Click Boards™](https://thedebugstore.com/a/llms/collections/mikroe-click-boards-catalogue-uk) - [Google Shopping - invalid product](https://thedebugstore.com/a/llms/collections/google-shopping-valid-products) - [Interface Click Boards™](https://thedebugstore.com/a/llms/collections/interface-click-boards-catalogue) - [Port Expander Click Boards™](https://thedebugstore.com/a/llms/collections/port-expander-click-boards-catalogue) - [Measurements Click Boards™](https://thedebugstore.com/a/llms/collections/measurement-click-boards-catalogue) - [Click Boards™ Summer Sale](https://thedebugstore.com/a/llms/collections/inventory-sale) - [MikroE Sale](https://thedebugstore.com/a/llms/collections/mikroe-sale) - [MIKROE Stock](https://thedebugstore.com/a/llms/collections/mikroe-products-in-stock-sale) ## Variants - Default Title, SKU: MIKROE-4111, Available: yes, Inventory: 1 ## Metafields - full_description:
The Analog MUX Click Board™ is equipped with the CD74HC4067, a high-speed CMOS logic 16-channel analog multiplexer/demultiplexer, produced by Texas Instruments. It supports 3.3V and 5V power supplies, as well as rail to rail operation, which allows it to be used in a very wide range of different applications. Four control pins are used to switch one of sixteen inputs to a single output. Control pins labeled as S0, S1, S2, and S3 are routed to the mikroBUS™ and can be operated by both 3.3V and 5V MCUs. These pins are routed to RST, PWM, INT, and CS pins of the mikroBUS™ respectively, while the common output pin from the multiplexer is routed to the AN pin on the mikroBUS™.

The CD74HC4067 IC is digitally controlled analog switch that utilize silicon-gate CMOS technology to achieve operating speeds similar to LSTTL, with the low power consumption of standard CMOS integrated circuits. The mentioned analog multiplexer/demultiplexer control analog voltages that may vary across the voltage supply range.
The ultra-low leakage current ensures that there is no signal interference from the inputs that are not selected by the S0, S1, S2, and S3 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. The Analog MUX Click Board™ is bidirectional switch as well, thus allowing any analog input to be used as an output and vice-versa. The switches have low "on" resistance and low "off" leakages.
All of the input channels can be easily connected to the two 9 pole spring action block terminals, without having to use any additional tools, such as screwdrivers.
More information about the CD74HC4067 can be found in the attached datasheet. However, the Analog MUX 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.
The Analog MUX Click Board™ offers a selection between 3.3V and 5V operation, with the onboard SMD jumper, labeled as PWR SEL. This allows both 3.3V and 5V MCUs to be interfaced with this Click board™.
| Type | Port expander |
| Applications | Automatization and process control, programmable logic controllers, digital multimeters, battery monitoring, and other applications that require analog signal switching. |
| On-board modules | CD74HC4067, a high-speed CMOS logic 16-channel analog multiplexer/demultiplexer, produced by Texas Instruments. |
| Key Features | low on-resistance and low input current leakage, fast and balanced propagation delay and transition times, break-before-make switching action |
| Interface | GPIO |
| Compatibility | mikroBUS |
| Click board size | L (57.15 x 25.4 mm) |
| Input Voltage | 3.3V or 5V |
This table shows how the pinout for the Analog MUX Click Board™corresponds to the pinout on the mikroBUS™ socket (the latter shown in the two middle columns).
| Notes | Pin | ![]() |
Pin | Notes | |||
|---|---|---|---|---|---|---|---|
| Common output pin | COM | 1 | AN | PWM | 16 | S1 | Control pin 1 |
| Control pin 0 | SO | 2 | RST | INT | 15 | S2 | Control pin 2 |
| Control pin 3 | S3 | 3 | CS | RX | 14 | NC | |
| NC | 4 | SCK | TX | 13 | NC | ||
| NC | 5 | MISO | SCL | 12 | NC | ||
| NC | 6 | MOSI | SDA | 11 | NC | ||
| Power Supply | 3.3V | 7 | 3.3V | 5V | 10 | 5V | Power Supply |
| Ground | GND | 8 | GND | GND | 9 | GND | Ground |
| Label | Name | Default | Description |
|---|---|---|---|
| LD1 | PWR | - | Power LED Indicator |
| JP1 | VCC SEL | Left | Power Supply Voltage Selection 3V3/5V, left position 3v3, right position 5v |
| TB1, TB2 | - | - | Input 9 pole spring action terminals |
| Description | Min | Typ | Max | Unit |
|---|---|---|---|---|
| VCC | 2 | 3.3 | 6 | V |
| "ON" Resistance | 70 | Ω | ||
| Input Rise and Fall Time | 500 | ns |
We provide a library for the Analog MUX Click Board™ 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.
This library allows user to perform a control of the Analog MUX Click Board™. Also user can check the indication status from the charger to get charging state. Fault condition also can be checked. For more details check documentation.
float analogmux_get_voltage ( float adc_value ); - Function used for get voltagevoid analogmux_set_channel ( uint8_t set_channel ); - Function used for set channelvoid analogmux_set_adc_vref ( uint16_t vref_mV ); - Function used for set vref in millivoltsThe application is composed of three sections :
void application_task ( )
{
uint8_t cnt = 0;
float voltage = 0;
float average_f = 0.0;
volatile uint32_t average_value = 0;
char demo_text[ 50 ];
for( cnt = 0; cnt < 10; cnt++ )
{
average_value += analogmux_adc_read( );
}
average_f = average_value / 10.0;
FloatToStr( average_f, demo_text );
mikrobus_logWrite( " ADC value: ", _LOG_TEXT );
mikrobus_logWrite( demo_text, _LOG_LINE );
voltage = analogmux_get_voltage( average_f );
FloatToStr( voltage, demo_text );
mikrobus_logWrite( " Voltage: ", _LOG_TEXT );
mikrobus_logWrite( demo_text, _LOG_LINE );
Delay_ms( 2000 );
mikrobus_logWrite( " <<< ------------------------ >>> ", _LOG_LINE );
}
The full application code, and ready to use projects can be found on our LibStock page.
Other mikroE Libraries used in the example:
Depending on the development board you are using, you may need a 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.
The Analog MUX 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.
- attachments: [{"download_file":[{"download_file":"Analog MUX Click Board™ Schematic"}],"download_filetype":[{"download_filetype":"pdf"}]},{"download_file":[{"download_file":"Texas Instruments CD74HC4067 16-Channel Analogue Multiplexer Datasheet"}],"download_filetype":[{"download_filetype":"pdf"}]}] - condition: new - custom_product: false - mpn: MIKROE-4111 - google_product_category: Electronics - custom_label_0: Click Board - key_feature_2: low on-resistance and low input current leakage, fast and balanced propagation delay and transition times, break-before-make switching action - key_feature_3: Based on the CD74HC4067, a high-speed CMOS logic 16-channel analog multiplexer/demultiplexer, produced by Texas Instruments. - key_feature_4: Automatization and process control, programmable logic controllers, digital multimeters, battery monitoring, and other applications that require analogue signal switching - key_feature_5: mikroBUS: GPIO Interface - device_vendor: Texas Instruments - device_type: CD74HC4067SM96 - warranty: 12 months - brand: MikroE - manufacturer: Mikroelektronika d.o.o. - target_keyword: Analog MUX Click Board - brands: gid://shopify/Metaobject/56256004319 - breadcrumbs: ["gid://shopify/Collection/447955239135","gid://shopify/Collection/241680580797","gid://shopify/Collection/241545314493"] - customhs_code: 847330 - detailed_description: {"type":"root","children":[{"type":"heading","level":3,"children":[{"type":"text","value":"How Does The Analog MUX Click Board™ Work?"}]},{"type":"paragraph","children":[{"type":"text","value":"The "},{"type":"text","value":"Analog MUX Click Board™","bold":true,"italic":true},{"type":"text","value":" is equipped with the CD74HC4067, a high-speed CMOS logic 16-channel analog multiplexer/demultiplexer, produced by Texas Instruments. It supports 3.3V and 5V power supplies, as well as rail to rail operation, which allows it to be used in a very wide range of different applications. Four control pins are used to switch one of sixteen inputs to a single output. Control pins labeled as S0, S1, S2, and S3 are routed to the mikroBUS™ and can be operated by both 3.3V and 5V MCUs. These pins are routed to RST, PWM, INT, and CS pins of the mikroBUS™ respectively, while the common output pin from the multiplexer is routed to the AN pin on the mikroBUS™."}]},{"type":"paragraph","children":[{"type":"text","value":""}]},{"type":"paragraph","children":[{"type":"text","value":"The CD74HC4067 IC is digitally controlled analog switch that utilize silicon-gate CMOS technology to achieve operating speeds similar to LSTTL, with the low power consumption of standard CMOS integrated circuits. The mentioned analog multiplexer/demultiplexer control analog voltages that may vary across the voltage supply range."}]},{"type":"paragraph","children":[{"type":"text","value":"The ultra-low leakage current ensures that there is no signal interference from the inputs that are not selected by the S0, S1, S2, and S3 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. The "},{"type":"text","value":"Analog MUX Click Board™","bold":true},{"type":"text","value":" is bidirectional switch as well, thus allowing any analog input to be used as an output and vice-versa. The switches have low \"on\" resistance and low \"off\" leakages."}]},{"type":"paragraph","children":[{"type":"text","value":"All of the input channels can be easily connected to the two 9 pole spring action block terminals, without having to use any additional tools, such as screwdrivers."}]},{"type":"paragraph","children":[{"type":"text","value":"More information about the CD74HC4067 can be found in the attached datasheet. However, the "},{"type":"text","value":"Analog MUX Click Board™","bold":true},{"type":"text","value":" 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."}]},{"type":"paragraph","children":[{"type":"text","value":"The "},{"type":"text","value":"Analog MUX Click Board™","bold":true},{"type":"text","value":" offers a selection between 3.3V and 5V operation, with the onboard SMD jumper, labeled as PWR SEL. This allows both 3.3V and 5V MCUs to be interfaced with this Click board™."}]},{"type":"heading","level":3,"children":[{"type":"text","value":"SPECIFICATIONS"}]},{"type":"paragraph","children":[{"type":"text","value":"Type\nPort expander\nApplications\nAutomatization and process control, programmable logic controllers, digital multimeters, battery monitoring, and other applications that require analog signal switching.\nOn-board modules\nCD74HC4067, a high-speed CMOS logic 16-channel analog multiplexer/demultiplexer, produced by Texas Instruments.\nKey Features\nlow on-resistance and low input current leakage, fast and balanced propagation delay and transition times, break-before-make switching action\nInterface\nGPIO\nCompatibility\nmikroBUS\nClick board size\nL (57.15 x 25.4 mm)\nInput Voltage\n3.3V or 5V"}]},{"type":"heading","level":3,"children":[{"type":"text","value":"PINOUT DIAGRAM"}]},{"type":"paragraph","children":[{"type":"text","value":"This table shows how the pinout for the "},{"type":"text","value":"Analog MUX Click Board™","bold":true},{"type":"text","value":"corresponds to the pinout on the mikroBUS™ socket (the latter shown in the two middle columns)."}]},{"type":"paragraph","children":[{"type":"text","value":"Notes\nPin\nPin\nNotes\nCommon output pin\nCOM\n1\nAN\nPWM\n16\nS1\nControl pin 1\nControl pin 0\nSO\n2\nRST\nINT\n15\nS2\nControl pin 2\nControl pin 3\nS3\n3\nCS\nRX\n14\nNC\nNC\n4\nSCK\nTX\n13\nNC\nNC\n5\nMISO\nSCL\n12\nNC\nNC\n6\nMOSI\nSDA\n11\nNC\nPower Supply\n3.3V\n7\n3.3V\n5V\n10\n5V\nPower Supply\nGround\nGND\n8\nGND\nGND\n9\nGND\nGround"}]},{"type":"heading","level":3,"children":[{"type":"text","value":"ONBOARD SETTINGS AND INDICATORS"}]},{"type":"paragraph","children":[{"type":"text","value":"Label\nName\nDefault\nDescription\nLD1\nPWR\n-\nPower LED Indicator\nJP1\nVCC SEL\nLeft\nPower Supply Voltage Selection 3V3/5V, left position 3v3, right position 5v\nTB1, TB2\n-\n-\nInput 9 pole spring action terminals"}]},{"type":"heading","level":3,"children":[{"type":"text","value":"ANALOG MUX CLICK ELECTRICAL SPECIFICATIONS"}]},{"type":"paragraph","children":[{"type":"text","value":"Description\nMin\nTyp\nMax\nUnit\nVCC\n2\n3.3\n6\nV\n\"ON\" Resistance\n70\nΩ\nInput Rise and Fall Time\n500\nns"}]},{"type":"heading","level":3,"children":[{"type":"text","value":" "}]}]} - summary:The Analog MUX Click Board™ switches one of the sixteen inputs to one output. It employs the CD74HC4067, a High-Speed CMOS Logic 16-Channel Analog Multiplexer/Demultiplexer, produced by Texas Instruments. It offers rail-to-rail operation, allowing the input signal to swing up (and down) to the voltage of the power supply, with no distortion.
Features such as the low on-resistance and low input current leakage, fast and balanced propagation delay and transition times and break-before-make switching action make this circuit a perfect solution for various switching applications, analogue and digital signals.