MUX 2 Click-Platine
MUX 2 Click-Platine
Das MUX 2 Click Board™ schaltet einen der acht Eingänge auf einen Ausgang. Es verwendet den MUX508, einen modernen analogen CMOS-Multiplex-IC von Texas Instruments. Dieser IC kann sowohl mit dualen Netzteilen im Bereich von ±5 V bis ±18 V als auch mit einzelnen Netzteilen im Bereich von 10 V bis 36 V betrieben werden. Es bietet den Rail-to-Rail-Betrieb, sodass das Eingangssignal ohne Verzerrung auf die Spannung des Netzteils hoch- (und herunter-)schwingen kann. Funktionen wie die Break-before-Make-Schaltfunktion, elektrostatischer Entladungsschutz bis zu 2 kV, niedriger Einschaltwiderstand und geringer Eingangsstromverlust machen diesen Schaltkreis zu einer perfekten Lösung für verschiedene Schaltanwendungen, die sowohl mit unipolaren als auch bipolaren Signalen arbeiten.
Es wird in einem Paket geliefert, das auch die MikroSDK-Software und eine Bibliothek mit allen Funktionen enthält. Das MUX 2 Click Board™ wird als vollständig getesteter und zugelassener Prototyp geliefert und ist somit ein zuverlässiges Gerät, das sofort auf der Entwicklungsplatine verwendet werden kann.
How Does The MUX 2 Click Board™ Work?
The MUX 2 Click Board™ is equipped with the MUX508, a precise analog multiplexing IC, produced by Texas Instruments. The MUX508 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. Four control pins are used to switch one of eight inputs to a single output. Control pins labeled as A0, A1, and A2 are routed to the mikroBUS™ and can be operated by both 3.3V and 5V MCUs. The fourth control pin is labeled as EN pin, and it is used to enable the internal multiplexing switches of the IC, when is set to a HIGH logic level (it is active HIGH). A0, A1, and A2 pins are routed to RST, PWM, and INT pins of the mikroBUS™ respectively, while the EN pin is routed to the CS pin on the mikroBUS™.
The MUX508 IC is targeted towards working with both bipolar and unipolar single-ended inputs. Each input is labeled as S1 to S8. When a specific channel is selected by using the A0 to A2 pins, it will be switched to the output pin, labeled as D. For the improved stability, each pin 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, A1, and A2 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 MUX 2 Click Board™ 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 MUX 2 Click Board™. The input and output signals can be connected via the 2x5 pins header. As mentioned before, the MUX508 IC supports rail-to-rail operation. 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 MUX508 can be found in the attached datasheet. However, the MUX 2 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 | DAC |
Applications | Automatization and process control, programmable logic controllers, digital multimeters, battery monitoring, and other applications that require differential signal switching. |
On-board modules | MUX508, 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 |
Compatibility | mikroBUS |
Click board size | M (42.9 x 25.4 mm) |
Input Voltage | 5V |
PINOUT DIAGRAM
This table shows how the pinout on the MUX 2 Click Board™ corresponds to the pinout on the mikroBUS™ socket (the latter shown in the two middle columns).
Notes | Pin | Pin | Notes | ||||
---|---|---|---|---|---|---|---|
NC | 1 | AN | PWM | 16 | A1 | Control pin 1 | |
Control pin 0 | A0 | 2 | RST | INT | 15 | A2 | Control pin 2 |
Chip 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 | ||
NC | 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 |
J1 | - | - | 2x5 pins I/O header |
CN1 | - | - | Power supply input terminal |
MUX 2 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 |
Software Support
We provide a library for the MUX 2 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.
Library Description
The library includes function for set current active mux channel and function for enable or disble mux device.
Key Functions
void mux2_activeMuxChannel(uint8_t ch)
- Functions for set active MUX channel
void mux2_deviceEnable()
- Functions for enable MUX device
Example Description
The application is composed of the three sections :
- System Initialization - Sets RST pin, CS pin, PWM pin and INT 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() { mux2_activeMuxChannel(_MUX2_CHANNEL_S1); Delay_ms( 5000 ); mux2_activeMuxChannel(_MUX2_CHANNEL_S2); Delay_ms( 5000 ); mux2_activeMuxChannel(_MUX2_CHANNEL_S3); Delay_ms( 5000 ); mux2_activeMuxChannel(_MUX2_CHANNEL_S4); Delay_ms( 5000 ); mux2_activeMuxChannel(_MUX2_CHANNEL_S5); Delay_ms( 5000 ); mux2_activeMuxChannel(_MUX2_CHANNEL_S6); Delay_ms( 5000 ); mux2_activeMuxChannel(_MUX2_CHANNEL_S7); Delay_ms( 5000 ); mux2_activeMuxChannel(_MUX2_CHANNEL_S8); 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 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.
MIKROSDK
The MUX 2 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.
Software Support
We provide a library for the MUX 2 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.
Library Description
The library includes function for set current active mux channel and function for enable or disble mux device.
Key Functions
void mux2_activeMuxChannel(uint8_t ch)
- Functions for set active MUX channel
void mux2_deviceEnable()
- Functions for enable MUX device
Example Description
The application is composed of the three sections :
- System Initialization - Sets RST pin, CS pin, PWM pin and INT 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() { mux2_activeMuxChannel(_MUX2_CHANNEL_S1); Delay_ms( 5000 ); mux2_activeMuxChannel(_MUX2_CHANNEL_S2); Delay_ms( 5000 ); mux2_activeMuxChannel(_MUX2_CHANNEL_S3); Delay_ms( 5000 ); mux2_activeMuxChannel(_MUX2_CHANNEL_S4); Delay_ms( 5000 ); mux2_activeMuxChannel(_MUX2_CHANNEL_S5); Delay_ms( 5000 ); mux2_activeMuxChannel(_MUX2_CHANNEL_S6); Delay_ms( 5000 ); mux2_activeMuxChannel(_MUX2_CHANNEL_S7); Delay_ms( 5000 ); mux2_activeMuxChannel(_MUX2_CHANNEL_S8); 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 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.
MIKROSDK
The MUX 2 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.
MUX 2 Click-Platine
Frequently Asked Questions
Have a Question?
Be the first to ask a question about this.