isoadc5 2.0.0.0
|
ISO ADC 5 Click is a compact add-on board that contains quad-channel isolated ADC with field supply. This board features the MAX22530, galvanically isolated, 4-channel, multiplexed, 12-bit, analog-to-digital converter (ADC), providing 5kVRMS isolation from Maxim Integrated.
We provide a library for the ISOADC5 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 ISOADC5 Click driver.
isoadc5_cfg_setup
Config Object Initialization function. isoadc5_init
Initialization function. isoadc5_write_register
This function writes two bytes of data to the selected register by using the SPI serial interface. isoadc5_read_register
This function reads two bytes of data from the selected register by using the SPI serial interface. isoadc5_read_voltage
This function reads the raw adc data from a desired input channel and converts it to voltage. This example demonstrates the use of ISO ADC 5 click board.
The demo application is composed of two sections :
Initializes the driver and makes an initial log.
Reads the voltage from all input channels and displays the values of each channel on the USB UART approximately every second.
The voltage input range is from 0 to 48V.
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. The terminal available in all MikroElektronika compilers, or any other terminal application of your choice, can be used to read the message.