ADC 21 Click-Platine
ADC 21 Click-Platine
Key Features
- Niedriger Stromverbrauch, hohe Genauigkeit, schnelle serielle Schnittstelle, hohe Leistung, wählbare Konvertierungsrate, 12-Bit SAR-basierter ADC, wählbare analoge Stromversorgung und mehr
- Basierend auf dem ADC1283 - Achtkanal-Analog-Digital-Wandler von STMicroelectronics
- Kann für die anspruchsvollsten Anwendungen verwendet werden, von der allgemeinen Ferndatenerfassung und Instrumentierung bis hin zu industriellen Anwendungen
- mikroBUS: SPI-Schnittstelle
Einführung des ADC 21 Click Board™
Aktualisieren Sie Ihre Analog-Digital-Konvertierung mit dem ADC 21 Click Board™ – einer kompakten Zusatzplatine, die hohe Genauigkeit und zuverlässige Leistung für die anspruchsvollsten Anwendungen bietet. Ganz gleich, ob Sie eine Remote-Datenerfassung oder Instrumentierung für industrielle Anwendungen benötigen, das ADC 21 Click Board™ ist die perfekte Lösung für Sie.
Leistungsstarker ADC mit geringem Stromverbrauch
Das ADC 21 Click Board™ verfügt über den ADC1283, einen reinen CMOS-, Achtkanal-, 12-Bit-Analog-Digital-Wandler von STMicroelectronics. Mit einer Konvertierungsrate von 50 kSps bis 200 kSps liefert dieser stromsparende ADC eine präzise digitale Darstellung der analogen Spannung. Seine Architektur basiert auf einem sukzessiven Approximationsregister mit einer internen Track-and-Hold-Zelle, die eine genaue und zuverlässige Leistung gewährleistet.
Mehrere Eingabeoptionen
Mit acht unsymmetrischen Multiplex-Eingängen bietet das ADC 21 Click Board™ vielseitige Eingabeoptionen. Die seriellen Ausgangsdaten sind rein binär und SPI-kompatibel, sodass sie sich leicht in andere Systeme integrieren lassen.
mikroSDK-kompatible Bibliothek für einfache Softwareentwicklung
Das ADC 21 Click Board™ wird von einer mikroSDK-kompatiblen Bibliothek unterstützt, die Funktionen enthält, die die Softwareentwicklung vereinfachen. Dies bedeutet, dass Sie schnell loslegen können, ohne dass komplexe Programmierung erforderlich ist.
Umfassend getestet und sofort einsatzbereit
Bei Click Board™ wissen wir, wie wichtig es ist, zuverlässige Produkte zu liefern. Deshalb ist das ADC 21 Click Board™ ein vollständig getestetes Produkt, das für den Einsatz auf jedem System mit der MikroBUS™-Buchse bereit ist. Sie können darauf vertrauen, dass Sie ein hochwertiges Produkt erhalten, das genaue und zuverlässige Leistung für alle Ihre Anforderungen an die Analog-Digital-Konvertierung bietet.
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.
ADC 21 Click-Platine
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.