analogmux5 2.0.0.0
|
Analog MUX 5 Click is a compact add-on board that switches one of many inputs to one output. This board features the MAX4634, a fast, low-voltage four-channel CMOS analog multiplexer from Analog Devices. This low-voltage multiplexer operates from both mikroBUS™ power rails and features 4Ω maximum ON-resistance (RON). CMOS switch construction allows the processing of analog signals within the supply voltage range. It is also characterized by an easy way of management, only through a couple of signals from the mikroBUS™ socket. This Click board™ is suitable for various applications, from industrial and instrumentation to medical, consumer, communications, and more.
We provide a library for the Analog MUX 5 Click as well as a demo application (example), developed using MikroElektronika compilers. The demo can run on all the main MikroElektronika development boards.
Package can be downloaded/installed directly from NECTO Studio Package Manager(recommended way), downloaded from our LibStock™ or found on Mikroe github account.
This library contains API for Analog MUX 5 Click driver.
analogmux5_cfg_setup
Config Object Initialization function. analogmux5_init
Initialization function. analogmux5_default_cfg
Click Default Configuration function. analogmux5_enable
Analog MUX 5 enable function. analogmux5_select_ch
Analog MUX 5 set channel function. analogmux5_read_an_pin_voltage
Analog MUX 5 read AN pin voltage level function. This example showcases how to initialize, configure and use the Analog MUX 5 click module.
The demo application is composed of two sections :
Initializes the driver and enables the analog inputs.
This is an example that shows the use of a Analog MUX 5 click board In this example, we switch from channel AN1 to channel AN4, read and display the analog value and voltage on the active channel. Results are being sent to the Usart Terminal where you can track their changes.
The full application code, and ready to use projects can be installed directly from NECTO Studio Package Manager(recommended way), downloaded from our LibStock™ or found on Mikroe github account.
Other Mikroe Libraries used in the example:
Additional notes and informations
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. UART terminal is available in all MikroElektronika compilers.