Carte à clic ADC 16
Carte à clic ADC 16
Key Features
- Deux canaux asymétriques/Un canal asymétrique avec détection de sol à distance/Un canal pseudo-différentiel, faible consommation d'énergie, résolution sans bruit 12 bits, fréquence d'échantillonnage de 140 kSPS, fonction efficace de veille et de réveil de l'hôte, prévention des faux déclenchements, et plus encore
- Basé sur l'ADS7142-Q1 - convertisseur analogique-numérique (ADC) à deux canaux hautes performances de Texas Instruments
- Peut être utilisé pour des applications de surveillance à usage général (tension, courant et température) jusqu'aux appareils électroniques grand public portables et plus encore
- mikroBUS : interface I2C
L' ADC 16 Click Board™ est une carte complémentaire compacte qui contient un convertisseur de données hautes performances. Cette carte comprend l'ADS7142-Q1, un convertisseur analogique-numérique 12 bits à deux canaux à faible consommation de Texas Instruments. Ce convertisseur analogique-numérique (CAN) à registre d'approximation successive (SAR) configurable I2C de 140 000 SPS peut surveiller de manière autonome les signaux tout en maximisant la puissance, la fiabilité et les performances du système. Il implémente des interruptions déclenchées par des événements par canal à l'aide d'un comparateur de fenêtre numérique avec des seuils haut et bas programmables, une hystérésis et un compteur d'événements. Cette carte Click™ offre une solution de haute précision pour les applications les plus exigeantes, des applications de surveillance à usage général (tension, courant et température) aux appareils électroniques grand public portables et plus encore.
La carte Click Board™ ADC 16 est prise en charge par une bibliothèque compatible mikroSDK, qui comprend des fonctions qui simplifient le développement logiciel. Cette carte Click Board™ est un produit entièrement testé, prêt à être utilisé sur un système équipé du socket mikroBUS™.
How Does The ADC 16 Click Board™ Work?
The ADC 16 Click Board™ is based on the ADS7142-Q1, a high-performance two-channel analog-to-digital converter (ADC) from Analog Devices. The ADS7142-Q1 represents a dual-channel, 12-bit programmable sensor monitor with an integrated 140kSPS SAR-ADC, input multiplexer, digital comparator, data buffer, accumulator, and internal oscillator. The input multiplexer can be configured as two single-ended channels, one single-ended channel with remote ground sensing, or one pseudo-differential channel where the input can swing to approximately half the value of its analog supply input.
The ADC 16 Click Board™ communicates with MCU using the standard I2C 2-Wire interface to read data and configure settings. Besides, the ADS7142-Q1 allows choosing the least significant bit (LSB) of its I2C slave address using the SMD resistors labelled R8 and R9. This Click board™ also implements event-triggered interrupts per channel, labelled as RDY and ALR and routed on the AN and INT pins of the mikroBUS™ socket, using a digital window comparator with programmable high and low thresholds, hysteresis, and event counter.
The ADC 16 Click Board™ can be operated only with a 3.3V logic voltage level. The board must perform appropriate logic voltage level conversion before using MCUs with different logic levels. However, the Click board™ comes equipped with a library containing functions and an example code that can be used, as a reference, for further development.
SPECIFICATIONS
Type | ADC |
Applications | The ADC 16 Click Board™ can be used from general-purpose monitoring applications (voltage, current, and temperature) to portable consumer electronics and more |
On-board modules | ADS7142-Q1 - high-performance two-channel analog-to-digital converter (ADC) from Analog Devices |
Key Features | Two single-ended channels/One single-ended channel with remote ground sensing/One pseudo-differential channel, low power consumption, 12-bit noise-free resolution, 140kSPS sampling rate, efficient host sleep and wake-up feature, false trigger prevention, and more |
Interface | I2C |
Compatibility | mikroBUS |
Click board size | S (28.6 x 25.4 mm) |
Input Voltage | 3.3V |
PINOUT DIAGRAM
This table shows how the pinout on ADC 16 Click corresponds to the pinout on the mikroBUS™ socket (the latter shown in the two middle columns).
Notes | Pin | Pin | Notes | ||||
---|---|---|---|---|---|---|---|
Data Ready Interrupt | RDY | 1 | AN | PWM | 16 | NC | |
NC | 2 | RST | INT | 15 | ALR | Event Alert Interrupt | |
NC | 3 | CS | RX | 14 | NC | ||
NC | 4 | SCK | TX | 13 | NC | ||
NC | 5 | MISO | SCL | 12 | SCL | I2C Clock | |
NC | 6 | MOSI | SDA | 11 | SDA | I2C Data | |
Power Supply | 3.3V | 7 | 3.3V | 5V | 10 | NC | |
Ground | GND | 8 | GND | GND | 9 | GND | Ground |
ONBOARD SETTINGS AND INDICATORS
Label | Name | Default | Description |
---|---|---|---|
LD1 | PWR | - | Power LED Indicator |
R8 | R8 | Populated | I2C Address Selection Resistor |
R9 | R9 | Unpopulated | I2C Address Selection Resistor |
ADC 16 CLICK ELECTRICAL SPECIFICATIONS
Description | Min | Typ | Max | Unit |
---|---|---|---|---|
Supply Voltage | - | 3.3 | - | V |
Analog Input Voltage | 0 | - | 3.3 | V |
Resolution | - | 12 | - | bits |
Operating Temperature Range | -40 | +25 | +120 | °C |
Software Support
We provide a library for the ADC 16 Click Board™ as well as a demo application (example), developed using MikroElektronika compilers. The demo can run on all the main MikroElektronika development boards.
The package can be downloaded/installed directly from NECTO Studio The package Manager (recommended), downloaded from our LibStock™ or found on MikroE Github account.
Library Description
This library contains API for the ADC 16 Click Board™ driver.
Key functions
-
adc16_single_register_write
This function writes a single data to the selected register. -
adc16_single_register_read
This function reads a single data from the selected register. -
adc16_get_voltage
This function reads the voltage from two analog input single-ended channels.
Example Description
This example demonstrates the use of the ADC 16 Click Board™ by reading the voltage from the two analog input channels.
void application_task ( void )
{
float ain0_voltage, ain1_voltage;
if ( ADC16_OK == adc16_get_voltage ( &adc16, &ain0_voltage, &ain1_voltage ) )
{
log_printf ( &logger, " AIN0 voltage: %.3f V rn", ain0_voltage );
log_printf ( &logger, " AIN1 voltage: %.3f V rnn", ain1_voltage );
Delay_ms ( 100 );
}
}
The full application code, and ready to use projects can be installed directly from NECTO Studio The package Manager (recommended), downloaded from our LibStock™ or found on MikroE Github account.
Other MikroE Libraries used in the example:
- MikroSDK.Board
- MikroSDK.Log
- Click.ADC16
Additional Notes and Information
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.
MIKROSDK
The ADC 16 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.
Software Support
We provide a library for the ADC 16 Click Board™ as well as a demo application (example), developed using MikroElektronika compilers. The demo can run on all the main MikroElektronika development boards.
The package can be downloaded/installed directly from NECTO Studio The package Manager (recommended), downloaded from our LibStock™ or found on MikroE Github account.
Library Description
This library contains API for the ADC 16 Click Board™ driver.
Key functions
-
adc16_single_register_write
This function writes a single data to the selected register. -
adc16_single_register_read
This function reads a single data from the selected register. -
adc16_get_voltage
This function reads the voltage from two analog input single-ended channels.
Example Description
This example demonstrates the use of the ADC 16 Click Board™ by reading the voltage from the two analog input channels.
void application_task ( void )
{
float ain0_voltage, ain1_voltage;
if ( ADC16_OK == adc16_get_voltage ( &adc16, &ain0_voltage, &ain1_voltage ) )
{
log_printf ( &logger, " AIN0 voltage: %.3f V rn", ain0_voltage );
log_printf ( &logger, " AIN1 voltage: %.3f V rnn", ain1_voltage );
Delay_ms ( 100 );
}
}
The full application code, and ready to use projects can be installed directly from NECTO Studio The package Manager (recommended), downloaded from our LibStock™ or found on MikroE Github account.
Other MikroE Libraries used in the example:
- MikroSDK.Board
- MikroSDK.Log
- Click.ADC16
Additional Notes and Information
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.
MIKROSDK
The ADC 16 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.
Software Support
We provide a library for the ADC 16 Click Board™ as well as a demo application (example), developed using MikroElektronika compilers. The demo can run on all the main MikroElektronika development boards.
The package can be downloaded/installed directly from NECTO Studio The package Manager (recommended), downloaded from our LibStock™ or found on MikroE Github account.
Library Description
This library contains API for the ADC 16 Click Board™ driver.
Key functions
-
adc16_single_register_write
This function writes a single data to the selected register. -
adc16_single_register_read
This function reads a single data from the selected register. -
adc16_get_voltage
This function reads the voltage from two analog input single-ended channels.
Example Description
This example demonstrates the use of the ADC 16 Click Board™ by reading the voltage from the two analog input channels.
void application_task ( void )
{
float ain0_voltage, ain1_voltage;
if ( ADC16_OK == adc16_get_voltage ( &adc16, &ain0_voltage, &ain1_voltage ) )
{
log_printf ( &logger, " AIN0 voltage: %.3f V rn", ain0_voltage );
log_printf ( &logger, " AIN1 voltage: %.3f V rnn", ain1_voltage );
Delay_ms ( 100 );
}
}
The full application code, and ready to use projects can be installed directly from NECTO Studio The package Manager (recommended), downloaded from our LibStock™ or found on MikroE Github account.
Other MikroE Libraries used in the example:
- MikroSDK.Board
- MikroSDK.Log
- Click.ADC16
Additional Notes and Information
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.
MIKROSDK
The ADC 16 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.
Carte à clic ADC 16
Frequently Asked Questions
Have a Question?
Be the first to ask a question about this.