How does it work?
The ISO ADC Click is current sensing system, which includes isolated delta-sigma modulator. The main IC on the ISO ADC click is AMC1204BDWR, from Texas Instruments.The current-sensing shunt resistor is designed as a 4 wire connected resistor that enables accurate measurements through a force-sense connection. The AMC1204BDWR differential inputs easily connect to the shunt resistor, An internal reference eliminates the need for external components.
The Click board™ communicates with the target microcontroller over SPI interface on the mikroBUS™ line. The analog input range is tailored to directly accommodate the voltage drop across a shunt resistor used for current sensing. The SiO2 -based capacitive isolation barrier supports a high level of magnetic field immunity as described in the Digital Isolator Magnetic-Field Immunity application report. The external clock input simplifies the synchronization of multiple current sense channels on system level. The extended frequency range of up to 20 MHz and is provided externally at the CLKIN pin. The data are synchronously provided at 20 MHz at the DATA output pin. The data are changing at the falling edge of CLKIN.
The ISO ADC Click perform current measurement on LOAD connector, the AMC1204BDWR measure the differential input signal VIN = (VINP – VINN) on two ends of the shunt resistor,against the internal reference of 2.5 V using internal capacitors that are continuously charged and discharged.The current measurement can’t be possible without external power supply on AVDD connector.
The voltage level of the logic section can be selected via VCC SEL jumper, between 3.3V and 5V. This allows for both 3.3V and 5V capable MCUs to use the SPI communication lines properly.
Specifications
Type
ADC,Isolators
Applications
ISO ADC click can be used to sense currents in motor control inverters, green energy generation systems, and other industrial applications.
On-board modules
AMC1204BDWR, Isolated Delta-Sigma Modulator for Current-Shunt Measurement, from Texas Instruments.
Key Features
±250-mV input voltage range optimized for shunt resistors, High electromagnetic field immunity, External clock input for easier synchronization
Interface
SPI
Feature
No ClickID
Compatibility
mikroBUS™
Click board size
M (42.9 x 25.4 mm)
Input Voltage
3.3V or 5V
Pinout diagram
This table shows how the pinout on ISO ADC Click corresponds to the pinout on the mikroBUS™ socket (the latter shown in the two middle columns).
Onboard settings and indicators
Label | Name | Default | Description |
---|---|---|---|
LD1 | PWR | – | Power LED Indicator |
JP1 | VCC SEL | Left | Logic voltage level selection: left position 3.3V, right position 5V |
ISO ADC Click electrical specifications
Description | Min | Typ | Max | Unit |
---|---|---|---|---|
Voltage supply (AVDD) | 4.5 | 5 | 5.5 | V |
Current (LOAD) | – | – | 3 | A |
CLKIN | 0 | – | 20 | MHz |
Software Support
We provide a library for the ISO ADC Click 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
Library provides function for reading ADC data from device and converting that data to power draw of connected device.
Key functions:
uint16_t isoadc_read_adc ( void )
– Function for reading ADC datavoid isoadc_get_rshunt ( uint16_t adc_data, isoadc_rshunt_t *rshunt_param )
– Function for converting ADC to power supply and current on rshuntfloat isoadc_get_power ( isoadc_rshunt_t *rshunt_param )
– Function for reading power draw
Examples description
The application is composed of three sections :
- System Initialization – Initialization of SPI module
- Application Initialization – Timer interrupt initialization, and sets vext
- Application Task – Reads ADC data from device and avarages it
void application_task ( ) { adc_data = isoadc_read_adc(); avg_data += adc_data; avg_cnt++; }
Additional Functions :
- void InitTimer2() – Function for interrupt initialization
- void Timer2_interrupt ( ) iv IVT_INT_TIM2 – Funcion when interrupt occurred writes converted values
The full application code, and ready to use projects can be found on our LibStock page.
Other mikroE Libraries used in the example:
- SPI
- Conversions
- UART
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.
mikroSDK
This 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.
For more information about mikroSDK, visit the official page.