TOP Contributors

  1. MIKROE (2653 codes)
  2. Alcides Ramos (352 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (112 codes)
  5. Chisanga Mumba (90 codes)
  6. S P (73 codes)
  7. dany (71 codes)
  8. MikroBUS.NET Team (35 codes)
  9. NART SCHINACKOW (34 codes)
  10. Armstrong Subero (27 codes)

Most Downloaded

  1. Timer Calculator (136721 times)
  2. FAT32 Library (69929 times)
  3. Network Ethernet Library (55939 times)
  4. USB Device Library (46265 times)
  5. Network WiFi Library (41885 times)
  6. FT800 Library (41168 times)
  7. GSM click (28979 times)
  8. PID Library (26412 times)
  9. mikroSDK (26357 times)
  10. microSD click (25355 times)
Libstock prefers package manager

Package Manager

We strongly encourage users to use Package manager for sharing their code on Libstock website, because it boosts your efficiency and leaves the end user with no room for error. [more info]

< Back
mikroSDK Library

ISO ADC click

Rating:

5

Author: MIKROE

Last Updated: 2020-05-07

Package Version: 1.0.0.0

mikroSDK Library: 1.0.0.0

Category: ADC

Downloaded: 1584 times

Not followed.

License: MIT license  

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.

No Abuse Reported

Do you want to subscribe in order to receive notifications regarding "ISO ADC click" changes.

Do you want to unsubscribe in order to stop receiving notifications regarding "ISO ADC click" changes.

Do you want to report abuse regarding "ISO ADC click".

  • mikroSDK Library 2.0.0.0
  • Comments (0)
DOWNLOAD LINK RELATED COMPILER CONTAINS
mikroBasic PRO for ARM
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroBasic PRO for dsPIC30/33 & PIC24
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroBasic PRO for FT90x
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroBasic PRO for PIC
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroBasic PRO for PIC32
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroC PRO for ARM
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroC PRO for dsPIC30/33 & PIC24
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroC PRO for FT90x
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroC PRO for PIC
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroC PRO for PIC32
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroPascal PRO for ARM
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroPascal PRO for dsPIC30/33 & PIC24
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroPascal PRO for FT90x
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroPascal PRO for PIC
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroPascal PRO for PIC32
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc

mikroSDK Library Blog

ISO ADC Click

ISO ADC Click

Native view of the ISO ADC Click board.

View full image
ISO ADC Click

ISO ADC Click

Front and back view of the ISO ADC Click board.

View full image

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 data
  • void isoadc_get_rshunt ( uint16_t adc_data, isoadc_rshunt_t *rshunt_param ) - Function for converting ADC to power supply and current on rshunt
  • float 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

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 clickUSB 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.

ALSO FROM THIS AUTHOR

GPS2 click - Example

0

Simple example which demonstrates usage of the GPS2 Click board with QUECTEL L30 GPS module. It displays a map of the world on the TFT and shows the location of the GPS module on it.

[Learn More]

ROTARY B click

0

Rotary B click carries a 15-pulse incremental rotary encoder with detents, surrounded by a ring of 16 blue LEDs. It’s a perfect solution for adding a precision input knob to your design. The encoder outputs A and B signals (out of phase to each other); the knob also acts as a push-button which sends an interrupt to the target board MCU. The LED ring is controlled through SPI lines (CS, SCK, MISO, MOSI). Rotary click™ can be used with either a 3.3V or 5V power supply.

[Learn More]

Expand 4 click

5

This is a sample program that demonstrates the usage of the ST's TPIC6A595 shift register. In this example, the LED pin mask is transferred via SPI bus to the TPIC6A595 shift register and LEDs connected to D0-D7 pins are lit accordingly.

[Learn More]