Carte à clic ADC 21
Carte à clic ADC 21
Key Features
- Faible consommation d'énergie, haute précision, interface série haute vitesse, hautes performances, taux de conversion sélectionnable, ADC 12 bits basé sur SAR, alimentation analogique sélectionnable, etc.
- Basé sur l'ADC1283 - convertisseur analogique-numérique à huit canaux de STMicroelectronics
- Peut être utilisé pour les applications les plus exigeantes, de l'acquisition de données à distance et de l'instrumentation à usage général aux applications industrielles
- mikroBUS : interface SPI
Présentation de l'ADC 21 Click Board™
Améliorez votre conversion analogique-numérique avec l'ADC 21 Click Board™, une carte complémentaire compacte qui offre une précision élevée et des performances fiables pour les applications les plus exigeantes. Que vous ayez besoin d'une acquisition de données à distance ou d'une instrumentation pour des applications industrielles, l'ADC 21 Click Board™ est la solution parfaite pour vous.
CAN à faible consommation et hautes performances
La carte ADC 21 Click Board™ est équipée de l'ADC1283, un convertisseur analogique-numérique 12 bits à huit canaux et à CMOS pur de STMicroelectronics. Avec un taux de conversion de 50 kéch/s à 200 kéch/s, ce convertisseur analogique-numérique à faible consommation fournit une représentation numérique précise de la tension analogique. Son architecture est basée sur un registre d'approximations successives avec une cellule de suivi et de maintien interne, garantissant des performances précises et fiables.
Options de saisie multiples
Avec huit entrées multiplexées asymétriques, l'ADC 21 Click Board™ offre des options d'entrée polyvalentes. Les données série de sortie sont binaires directes et compatibles SPI, ce qui facilite l'intégration avec d'autres systèmes.
Bibliothèque compatible avec mikroSDK pour un développement logiciel facile
L'ADC 21 Click Board™ est pris en charge par une bibliothèque compatible mikroSDK, qui comprend des fonctions qui simplifient le développement logiciel. Cela signifie que vous pouvez être opérationnel rapidement sans avoir besoin de programmation complexe.
Entièrement testé et prêt à l'emploi
Chez Click Board™, nous comprenons l'importance de fournir des produits fiables. C'est pourquoi l'ADC 21 Click Board™ est un produit entièrement testé, prêt à être utilisé sur tout système équipé de la prise mikroBUS™. Vous pouvez être sûr d'obtenir un produit de haute qualité qui offrira des performances précises et fiables pour tous vos besoins de conversion analogique-numérique.
How Does The ADC 21 Click Board™ Work?
The ADC 21 Click Board™ is based on the ADC1283, a high-performance eight-channel analogue-to-digital converter from STMicroelectronics. The ADC1283 implements a successive approximation register (SAR) structure to convert analogue signals into 12-bit pure binary digital outputs. The conversion circuit includes a fast settling time comparator to convey instruction into the register to store digital 0 or 1 and a redistribution DAC with logic control to have the ADC compare the track signal with a reference signal at each clock cycle.
The ADC 21 Click Board™ communicates with MCU through a standard SPI interface and operates at clock rates up to 3.2MHz, for all configurations and acquiring conversion results. The AD conversion is carried out in two phases. The sampling phase conveys the input signal through the capacitance array for the first three clock cycles. Then, the evaluation phase converts into a digital 12-bit signal within 13 clock cycles. At each clock cycle of the evaluation phase, the hold signal is compared with a new value distributed by the DAC, and the result is stored in the 12-bit register, with MSB first. A complete conversion requires 16 clock cycles to generate a new 12-bit word on the SDO pin on the mikroBUS™ socket.
This Click board™ can operate with either 3.3V or 5V logic voltage levels selected via the VCC SEL jumper. This way, it is allowed for both 3.3V and 5V capable MCUs to use the communication lines properly. Additionally, there is a possibility for the ADC1283 analogue power supply selection via jumper labelled AVCC SEL to supply the ADC1283 from an external power supply in the range from 2.7V to 5.5V or with mikroBUS™ power rails. However, the ADC 21 Click Board™ comes equipped with a library containing easy-to-use functions and an example code that can be used, as a reference, for further development.
SPECIFICATIONS
Type | ADC |
Applications | It can be used for the most demanding applications, from general-purpose remote data acquisition and instrumentation to industrial applications |
On-board modules | ADC1283 - eight-channel analog-to-digital converter from STMicroelectronics |
Key Features | Low power consumption, high accuracy, high-speed serial interface, high performance, selectable conversion rate, 12-bit SAR-based ADC, selectable analogue power supply, and more |
Interface | SPI |
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 of the ADC 21 Click Board™ corresponds to the pinout on the mikroBUS™ socket (the latter shown in the two middle columns).
Notes | Pin | Pin | Notes | ||||
---|---|---|---|---|---|---|---|
NC | 1 | AN | PWM | 16 | NC | ||
NC | 2 | RST | INT | 15 | NC | ||
SPI Chip Select | CS | 3 | CS | RX | 14 | NC | |
SPI Clock | SCK | 4 | SCK | TX | 13 | NC | |
SPI Data OUT | SDO | 5 | MISO | SCL | 12 | NC | |
SPI Data IN | SDI | 6 | MOSI | SDA | 11 | NC | |
Power Supply | 3.3V | 7 | 3.3V | 5V | 10 | 5V | Power Supply |
Ground | GND | 8 | GND | GND | 9 | GND | Ground |
ONBOARD SETTINGS AND INDICATORS
Label | Name | Default | Description |
---|---|---|---|
LD1 | PWR | - | Power LED Indicator |
JP1 | VCC SEL | Left | Logic Level Voltage Selection 3V3/5V: Left position 3V3, Right position 5V |
JP2 | AVCC SEL | Left | Analog Power Supply Selection VCC/VEXT: Left position VCC, Right position VEXT |
J1 | - | Populated | Analog Input Channels Header |
ADC 21 CLICK ELECTRICAL SPECIFICATIONS
Description | Min | Typ | Max | Unit |
---|---|---|---|---|
Supply Voltage | 3.3 | - | 5 | V |
Analog Power Supply Voltage | 2.7 | - | 5.5 | V |
Resolution | - | 12 | - | bits |
Data Rate | 50 | - | 200 | ksps |
Software Support
Software Support
We provide a library for the ADC 21 Click Board™ as well as a demo application (example), developed using MikroE compilers. The demo can run on all the main MikroE 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 21 Click Board™ driver.
Key functions
-
adc21_read_raw_adc
This function reads raw ADC value from the selected channel by using SPI serial interface. -
adc21_read_voltage
This function reads raw ADC value from the selected channel and converts it to a proportional voltage level depending on the avcc selection.
Example Description
This example demonstrates the use of the ADC 21 Click Board™ by reading and displaying the voltage levels from 8 analogue input channels.
void application_task ( void )
{
static uint8_t ch_num = ADC21_CHANNEL_0;
float ch_voltage;
if ( ADC21_OK == adc21_read_voltage ( &adc21, ch_num, ADC21_AVCC_3V3, &ch_voltage ) )
{
log_printf ( &logger, " CH%u voltage: %.2f Vrn", ( uint16_t ) ch_num, ch_voltage );
}
if ( ++ch_num > ADC21_CHANNEL_7 )
{
log_printf ( &logger, " ------------------------rnn" );
ch_num = ADC21_CHANNEL_0;
Delay_ms ( 1000 );
}
}
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.ADC21
Additional Notes and Information
Depending on the development board you are using, you may need USB UART Click Board™, 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 MikroE compilers.
MIKROSDK
The ADC 21 Click Board™ is supported with mikroSDK - MikroE Software Development Kit, that needs to be downloaded from the LibStock and installed for the compiler you are using to ensure proper operation of mikroSDK compliant Click board™ demo applications.
Software Support
Software Support
We provide a library for the ADC 21 Click Board™ as well as a demo application (example), developed using MikroE compilers. The demo can run on all the main MikroE 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 21 Click Board™ driver.
Key functions
-
adc21_read_raw_adc
This function reads raw ADC value from the selected channel by using SPI serial interface. -
adc21_read_voltage
This function reads raw ADC value from the selected channel and converts it to a proportional voltage level depending on the avcc selection.
Example Description
This example demonstrates the use of the ADC 21 Click Board™ by reading and displaying the voltage levels from 8 analogue input channels.
void application_task ( void )
{
static uint8_t ch_num = ADC21_CHANNEL_0;
float ch_voltage;
if ( ADC21_OK == adc21_read_voltage ( &adc21, ch_num, ADC21_AVCC_3V3, &ch_voltage ) )
{
log_printf ( &logger, " CH%u voltage: %.2f Vrn", ( uint16_t ) ch_num, ch_voltage );
}
if ( ++ch_num > ADC21_CHANNEL_7 )
{
log_printf ( &logger, " ------------------------rnn" );
ch_num = ADC21_CHANNEL_0;
Delay_ms ( 1000 );
}
}
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.ADC21
Additional Notes and Information
Depending on the development board you are using, you may need USB UART Click Board™, 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 MikroE compilers.
MIKROSDK
The ADC 21 Click Board™ is supported with mikroSDK - MikroE Software Development Kit, that needs to be downloaded from the LibStock and installed for the compiler you are using to ensure proper operation of mikroSDK compliant Click board™ demo applications.
Carte à clic ADC 21
Frequently Asked Questions
Ask a Question-
Is the ADC 21 Click Board™ a fully tested product?
Yes, the ADC 21 Click Board™ comes as a fully tested product, ready for use on a system equipped with a mikroBUS™ socket.
-
What is the mikroBUS™ socket, and is the ADC 21 Click Board™ compatible with it?
The mikroBUS™ socket is a standardised interface used by MikroElektronika for their Click boards™, providing easy integration with development boards and other hardware. The ADC 21 Click Board™ is designed to work with a system equipped with a mikroBUS™ socket, ensuring seamless compatibility.
-
What is the mikroSDK and how does it support the ADC 21 Click Board™?
The mikroSDK is a software development kit that provides a set of libraries, drivers, and examples for MikroElektronika hardware products. The ADC 21 Click Board™ is supported by a mikroSDK-compliant library, which includes functions that simplify software development, making it easier to integrate the board into your projects.
-
What types of applications is the ADC 21 Click Board™ suitable for?
The ADC 21 Click Board™ is suitable for a wide range of applications, including general-purpose remote data acquisition, instrumentation, and various industrial applications.
-
What are the key features of the ADC 21 Click Board™?
The ADC 21 Click Board™ offers: Eight single-ended multiplexed inputs Output serial data that is straight binary and SPI-compatible High accuracy for demanding applications Compatibility with mikroSDK-compliant libraries for simplified software development
-
What is the ADC 21 Click Board™?
The ADC 21 Click Board™ is a compact add-on board designed to convert an analogue voltage into a digital representation. It features the ADC1283, a low-power, eight-channel, pure CMOS 12-bit analogue-to-digital converter from STMicroelectronics.