# Title: Analog MUX 4 Click Board™ ## Description: How Does The Analog MUX 4 Click Board™ Work? The Analog MUX 4 Click Board™ is based on the TMUX1308, a general-purpose 8:1 single-ended CMOS analogue multiplexer from Texas Instruments. The TMUX1308 multiplexer allows for multiple inputs/sensors to be monitored with a single AN pin of the mikroBUS™ socket supporting bidirectional analog and digital signals ranging from 0 to 5V. It has an internal injection current control eliminating the need for external diode and resistor networks to protect the switch, keeping the input signals within the supply voltage. The internal injection current control circuitry allows signals on disabled signal paths to exceed the supply voltage without affecting the signal of the enabled signal path. Alongside internal injection current control, the TMUX1308 also has another protection feature, called Break-before-make delay, which represents a safety feature preventing two inputs from connecting when the device is switching. The output first breaks from the ON-state switch before connecting with the next ON-state switch. This time delay between the break and the make is known as the break-before-make delay. The Analog MUX 4 Click Board™ communicates with MCU using several GPIO pins. It can be enabled or disabled through the EN pin routed to the CS pin of the mikroBUS™ socket; hence, offering a switch operation to turn ON/OFF power delivery to the TMUX1308. It also provides three address signals, labelled from A0 to A2 and routed to the PWM, INT, and RST pins of the mikroBUS™ socket, that control the switch configuration and determine the activation of the desired analog input channel based on their setup. Also, each analog input has a jumper for its hardware activation or deactivation and capacitors for additional filtering of the input channels. The Analog MUX 4 Click Board™ can operate with both 3.3V and 5V logic voltage levels selected via the VCC SEL jumper. This way, it is allowed for both 3.3V and 5V capable MCUs to use the communication lines properly. However, the Click board™ comes equipped with a library containing easy-to-use functions and an example code that can be used, as a reference, for further development. SPECIFICATIONS Type Measurements Applications Can be used for various applications, from industrial to instrumentation, consumer, communications, and more On-board modules TMUX1308 - general-purpose 8:1 single-ended CMOS analog multiplexer from Texas Instruments Key Features Injection current control, back-powering protection, bidirectional signal path, Break-Before-Make switching, VCC range signal handling, TTL/CMOS-logic compatible, pin-controllable, and more Interface Analog,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 of the Analog MUX 4 Click Board™ corresponds to the pinout on the mikroBUS™ socket (the latter shown in the two middle columns). Notes Pin Pin Notes Analog Signal AN 1 AN PWM 16 A0 Switch Control 0 Switch Control 2 A2 2 RST INT 15 A1 Switch Control 1 Enable EN 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 Logic Level Voltage Selection 3V3/5V: Left position 3V3, Right position 5V ANALOG MUX 4 CLICK ELECTRICAL SPECIFICATIONS Description Min Typ Max Unit Supply Voltage 3.3 - 5 V Analog Input Range 0 - 5 V ON-State Resistance - - 195 Ω Operating Temperature Range -40 25 +120 °C ## Product type: Click Board ## Vendor: Mikroelektronika d.o.o. ## Tags: Click Board, Measurement, Mixed Signal ## Price range: 9.1 - 9.1 GBP ## Link: https://thedebugstore.com/products/mikroe-4795-analog-mux-4-click-board-uk ## Compare-at price range: 13.0 - 13.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) - [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) - [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-4795, Available: yes, Inventory: 1 ## Metafields - title_tag: MikroE Analog MUX 4 Click Board™ (MIKROE-4795) - description_tag: The Analog MUX 4 Click Board™ is a compact add-on board that switches one of eight analogue inputs to a single analogue output. This board features the TMUX1308, a general-purpose 8:1 single-ended CMOS multiplexer (MUX) from Texas Instruments. Available from Debug Store UK. - badge: - widget:

Customer Reviews

Be the first to write a review
0%
(0)
0%
(0)
0%
(0)
0%
(0)
0%
(0)
- feature_1: Based on the TMUX1308 - general-purpose 8:1 single-ended CMOS analog multiplexer from Texas Instruments - full_description:

How Does The Analog MUX 4 Click Board™ Work?

The Analog MUX 4 Click Board™ is based on the TMUX1308, a general-purpose 8:1 single-ended CMOS analogue multiplexer from Texas Instruments. The TMUX1308 multiplexer allows for multiple inputs/sensors to be monitored with a single AN pin of the mikroBUS™ socket supporting bidirectional analog and digital signals ranging from 0 to 5V. It has an internal injection current control eliminating the need for external diode and resistor networks to protect the switch, keeping the input signals within the supply voltage. The internal injection current control circuitry allows signals on disabled signal paths to exceed the supply voltage without affecting the signal of the enabled signal path.

Analog MUX 4 Click inneri2

Alongside internal injection current control, the TMUX1308 also has another protection feature, called Break-before-make delay, which represents a safety feature preventing two inputs from connecting when the device is switching. The output first breaks from the ON-state switch before connecting with the next ON-state switch. This time delay between the break and the make is known as the break-before-make delay.

The Analog MUX 4 Click Board™ communicates with MCU using several GPIO pins. It can be enabled or disabled through the EN pin routed to the CS pin of the mikroBUS™ socket; hence, offering a switch operation to turn ON/OFF power delivery to the TMUX1308. It also provides three address signals, labelled from A0 to A2 and routed to the PWM, INT, and RST pins of the mikroBUS™ socket, that control the switch configuration and determine the activation of the desired analog input channel based on their setup. Also, each analog input has a jumper for its hardware activation or deactivation and capacitors for additional filtering of the input channels.

The Analog MUX 4 Click Board™ can operate with both 3.3V and 5V logic voltage levels selected via the VCC SEL jumper. This way, it is allowed for both 3.3V and 5V capable MCUs to use the communication lines properly. However, the Click board™ comes equipped with a library containing easy-to-use functions and an example code that can be used, as a reference, for further development.

SPECIFICATIONS

Type Measurements
Applications Can be used for various applications, from industrial to instrumentation, consumer, communications, and more
On-board modules TMUX1308 - general-purpose 8:1 single-ended CMOS analog multiplexer from Texas Instruments
Key Features Injection current control, back-powering protection, bidirectional signal path, Break-Before-Make switching, VCC range signal handling, TTL/CMOS-logic compatible, pin-controllable, and more
Interface Analog,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 of the Analog MUX 4 Click Board™ corresponds to the pinout on the mikroBUS™ socket (the latter shown in the two middle columns).

Notes Pin Mikrobus logo.png Pin Notes
Analog Signal AN 1 AN PWM 16 A0 Switch Control 0
Switch Control 2 A2 2 RST INT 15 A1 Switch Control 1
Enable EN 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 Logic Level Voltage Selection 3V3/5V: Left position 3V3, Right position 5V

ANALOG MUX 4 CLICK ELECTRICAL SPECIFICATIONS

Description Min Typ Max Unit
Supply Voltage 3.3 - 5 V
Analog Input Range 0 - 5 V
ON-State Resistance - - 195 Ω
Operating Temperature Range -40 25 +120 °C

 

- examples:

We provide a library for the Analog MUX 4 Click Board™ as well as a demo application (example), developed using MikroElektronika compilers. The demo can run on all the main MikroElektronika development boards.

The package can be downloaded/installed directly from NECTO Studio The package Manager (recommended), downloaded from our LibStock™ or found on the MikroE Github account.

Library Description

This library contains an API for the Analog MUX 4 Click Board™ driver.

Key functions

Example Description

This example demonstrates the use of the Analog MUX 4 Click Board™.

void application_task ( void )
{
 float analogmux4_an_voltage = 0;
 for ( uint8_t cnt = ANALOGMUX4_CHANNEL_0; cnt <= ANALOGMUX4_CHANNEL_7; cnt++ )
 {
 analogmux4_set_input_channel ( &analogmux4, cnt );
 if ( ADC_ERROR != analogmux4_read_an_pin_voltage ( &analogmux4, &analogmux4_an_voltage ) )
 {
 log_printf( &logger, " AN%u voltage : %.3f Vrn", ( uint16_t ) cnt, analogmux4_an_voltage );
 }
 }
 log_printf( &logger, "rn" );
 Delay_ms( 1000 );
}

The full application code, and ready-to-use projects can be installed directly from NECTO Studio The package Manager (recommended), downloaded from our LibStock™ or found on the MikroE Github account.

Other MikroE Libraries used in the example:

Additional Notes and Information

Depending on the development board you are using, you may need USB UART Click Board™, 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. UART terminal is available in all MikroElektronika compilers.

MIKROSDK

The Analog MUX 4 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.

- manufacturer: Mikroelektronika d.o.o. - warranty: 12 months - backorder_label: If no stock shown above, check availability - attachments: [{"download_file":[{"download_file":"Analog MUX 4 Click Board™ Schematic"}],"download_filetype":[{"download_filetype":"pdf"}]},{"download_file":[{"download_file":"Texas Instruments TMUX1308 8 to 1 Analogue Multiplexer Datasheet"}],"download_filetype":[{"download_filetype":"pdf"}]}] - subtitle: 8 to 1 Analogue Multiplexer - feature_2: Injection current control, back-powering protection, bidirectional signal path, Break-Before-Make switching, VCC range signal handling, TTL/CMOS-logic compatible, pin-controllable, and more - feature_3: Can be used for various applications, from industrial to instrumentation, consumer, communications, and more - custom_product: false - mpn: MIKROE-4795 - condition: new - mpn: MIKROE-4795 - google_product_category: Electronics - key_feature_2: Injection current control, back-powering protection, bidirectional signal path, Break-Before-Make switching, VCC range signal handling, TTL/CMOS-logic compatible, pin-controllable, and more - key_feature_3: Based on the TMUX1308 - general-purpose 8:1 single-ended CMOS analogue multiplexer from Texas Instruments - key_feature_4: Can be used for various applications, from industrial to instrumentation, consumer, communications, and more - key_feature_5: mikroBUS: GPIO and Analogue Interfaces - device_vendor: Texas Instruments - device_type: TMUX1308BQBR - warranty: 12 months - brand: MikroE - manufacturer: Mikroelektronika d.o.o. - target_keyword: Analog MUX 4 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 4 Click Board™ Work?"}]},{"type":"paragraph","children":[{"type":"text","value":"The "},{"type":"text","value":"Analog MUX 4 Click Board™","bold":true,"italic":true},{"type":"text","value":" is based on the TMUX1308, a general-purpose 8:1 single-ended CMOS analogue multiplexer from Texas Instruments. The TMUX1308 multiplexer allows for multiple inputs/sensors to be monitored with a single AN pin of the mikroBUS™ socket supporting bidirectional analog and digital signals ranging from 0 to 5V. It has an internal injection current control eliminating the need for external diode and resistor networks to protect the switch, keeping the input signals within the supply voltage. The internal injection current control circuitry allows signals on disabled signal paths to exceed the supply voltage without affecting the signal of the enabled signal path."}]},{"type":"paragraph","children":[{"type":"text","value":""}]},{"type":"paragraph","children":[{"type":"text","value":"Alongside internal injection current control, the TMUX1308 also has another protection feature, called Break-before-make delay, which represents a safety feature preventing two inputs from connecting when the device is switching. The output first breaks from the ON-state switch before connecting with the next ON-state switch. This time delay between the break and the make is known as the break-before-make delay."}]},{"type":"paragraph","children":[{"type":"text","value":"The "},{"type":"text","value":"Analog MUX 4 Click Board™","bold":true},{"type":"text","value":" communicates with MCU using several GPIO pins. It can be enabled or disabled through the EN pin routed to the CS pin of the mikroBUS™ socket; hence, offering a switch operation to turn ON/OFF power delivery to the TMUX1308. It also provides three address signals, labelled from A0 to A2 and routed to the PWM, INT, and RST pins of the mikroBUS™ socket, that control the switch configuration and determine the activation of the desired analog input channel based on their setup. Also, each analog input has a jumper for its hardware activation or deactivation and capacitors for additional filtering of the input channels."}]},{"type":"paragraph","children":[{"type":"text","value":"The "},{"type":"text","value":"Analog MUX 4 Click Board™","bold":true},{"type":"text","value":" can operate with both 3.3V and 5V logic voltage levels selected via the VCC SEL jumper. This way, it is allowed for both 3.3V and 5V capable MCUs to use the communication lines properly. However, the Click board™ comes equipped with a library containing easy-to-use functions and an example code that can be used, as a reference, for further development."}]},{"type":"heading","level":3,"children":[{"type":"text","value":"SPECIFICATIONS"}]},{"type":"paragraph","children":[{"type":"text","value":"Type\nMeasurements\nApplications\nCan be used for various applications, from industrial to instrumentation, consumer, communications, and more\nOn-board modules\nTMUX1308 - general-purpose 8:1 single-ended CMOS analog multiplexer from Texas Instruments\nKey Features\nInjection current control, back-powering protection, bidirectional signal path, Break-Before-Make switching, VCC range signal handling, TTL/CMOS-logic compatible, pin-controllable, and more\nInterface\nAnalog,GPIO\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 of the "},{"type":"text","value":"Analog MUX 4 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\nAnalog Signal\nAN\n1\nAN\nPWM\n16\nA0\nSwitch Control 0\nSwitch Control 2\nA2\n2\nRST\nINT\n15\nA1\nSwitch Control 1\nEnable\nEN\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\nLogic Level Voltage Selection 3V3/5V: Left position 3V3, Right position 5V"}]},{"type":"heading","level":3,"children":[{"type":"text","value":"ANALOG MUX 4 CLICK ELECTRICAL SPECIFICATIONS"}]},{"type":"paragraph","children":[{"type":"text","value":"Description\nMin\nTyp\nMax\nUnit\nSupply Voltage\n3.3\n-\n5\nV\nAnalog Input Range\n0\n-\n5\nV\nON-State Resistance\n-\n-\n195\nΩ\nOperating Temperature Range\n-40\n25\n+120\n°C"}]},{"type":"heading","level":3,"children":[{"type":"text","value":" "}]}]} - summary:

The Analog MUX 4 Click Board™ is a compact add-on board that switches one of eight analogue inputs to a single analogue output. This board features the TMUX1308, a general-purpose 8:1 single-ended CMOS multiplexer (MUX) from Texas Instruments. The TMUX1308 has an internal injection current control which eliminates the need for external diode and resistor networks to protect the switch and keep the input signals within the supply voltage. It also supports bidirectional analogue and digital signals ranging from 0 to 5V, alongside several protection features allowing a reliable operation and protecting the device from potential damage. This Click Board™ is suitable for various applications, from industrial to instrumentation, consumer, communications, and more.

The Analog MUX 4 Click Board™ is supported by a mikroSDK compliant library, which includes functions that simplify software development. This Click board™ comes as a thoroughly tested product, ready to be used on a system equipped with the mikroBUS™ socket.