isoadc 2.1.0.0
|
The ISO ADC Click is add-on board current-shunt measurement device with isolated delta-sigma modulator. This Click boardâ„¢ is based on AMC1204BDWR provide a single-chip solution for measuring the small signal of a shunt resistor across an isolated barrier from Texas Instruments. ISO ADC Click contains shunt resistor, these types of resistors are typically used to sense currents in motor control inverters, green energy generation systems, and other industrial applications.
We provide a library for the ISO ADC 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 ISO ADC Click driver.
isoadc_cfg_setup
Config Object Initialization function. isoadc_init
Initialization function. isoadc_read_voltage
This function reads a raw ADC in ISOADC_ADC_NUM_AVERAGES number of samples and converts it to a shunt voltage in millivolts. isoadc_get_current
This function converts a shunt voltage input to a load current in milliampers. isoadc_get_power
This function converts a shunt voltage input to electrical power in watts. This example demonstrates the use of ISO ADC click board by reading the shunt voltage, current, and power.
The demo application is composed of two sections :
Initializes the driver and sets the external voltage reference.
Reads a 10 samples of a shunt voltage measurement, then averages and calculates the current and power from it. All data is displayed on the USB UART.
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.