TOP Contributors

  1. MIKROE (2652 codes)
  2. Alcides Ramos (351 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 (136620 times)
  2. FAT32 Library (69826 times)
  3. Network Ethernet Library (55883 times)
  4. USB Device Library (46223 times)
  5. Network WiFi Library (41860 times)
  6. FT800 Library (41075 times)
  7. GSM click (28942 times)
  8. PID Library (26402 times)
  9. mikroSDK (26316 times)
  10. microSD click (25328 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 2 click

Rating:

5

Author: MIKROE

Last Updated: 2020-08-14

Package Version: 1.0.0.0

mikroSDK Library: 1.0.0.0

Category: ADC

Downloaded: 1914 times

Not followed.

License: MIT license  

ISO ADC 2 Click is a compact add-on board that represents a completely isolated 12-bit, 300 kSPS data acquisition system. This board features the AD7091R, successive-approximation analog-to-digital converter (ADC) from Analog Devices.

No Abuse Reported

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

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

Do you want to report abuse regarding "ISO ADC 2 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 AVR
  • 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 AVR
  • 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 AVR
  • 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 2 Click

ISO ADC 2 Click

Native view of the ISO ADC 2 Click board.

View full image
ISO ADC 2 Click

ISO ADC 2 Click

Front and back view of the ISO ADC 2 Click board.

View full image

Library Description

Key functions:

  • uint16_t isoadc2_read_adc ( void ) - Function for reading 12bit ADC data
  • uint16_t isoadc2_get_mv ( uint16_t adc_data ) - Function for converting ADC to mV data

Examples description

The application is composed of three sections :

  • System Initialization - Initialization of SPI module and additional pins
  • Application Initialization - Maps GPIO and SPI for selected MIKROBUS
  • Application Task - Every second reads ADC data, it to mV and logs result
void application_task ( )
{
    char demo_txt[ 30 ];
    uint16_t rx_data;
    uint16_t mv_data;
    
    rx_data = isoadc2_read_adc(  );
    mv_data = isoadc2_get_mv( rx_data );
    WordToStr( rx_data, demo_txt );
    mikrobus_logWrite( " - ADC: ", _LOG_TEXT );
    mikrobus_logWrite( demo_txt, _LOG_LINE );
    WordToStr( mv_data, demo_txt );
    mikrobus_logWrite( " - VIN: ", _LOG_TEXT );
    mikrobus_logWrite( demo_txt, _LOG_TEXT );
    mikrobus_logWrite( " mV", _LOG_LINE );
    mikrobus_logWrite( "---------------", _LOG_LINE );

    Delay_ms( 1000 );
}

Other mikroE Libraries used in the example:

  • Conversion
  • SPI
  • 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

RNG click

5

RNG Click is a random number generator is a device that generates a sequence of numbers or symbols that cannot be reasonably predicted better than by a random chance. This Click board is true hardware random-number generator , which generate genuinely random numbers.

[Learn More]

Semper Flash 2 click

5

The Semper Flash 2 Click is a Click board which features the S25HL512T, a perfect solution for the mass storage option in various embedded applications. With fast performance being one of its key features, Semper Flash 2 click can also be used for the code shadowing, execute-in-place (XIP), and data storage.

[Learn More]

Bluetooth Switch

1

This example demonstrates wireless Bluetooth switch control, using clicker2 for STM32, Bluetooth click board and Android smart phone.

[Learn More]