How does it work?
ADC 27 Click is based on the MAX1302, a multirange 16-bit successive-approximation ADC from Analog Devices that supports throughput rates of up to 115ksps and offers remarkable flexibility in analog signal sampling. It communicates with the host MCU via a high-speed SPI-compatible interface, ensuring integration into a wide range of embedded applications. The MAX1302 provides eight single-ended or four true differential analog input channels, each of which can be independently configured in software for various input voltage ranges.
Specifically, the single-ended mode supports seven programmable ranges, including 0V to +VREF/2, -VREF/2 to 0V, 0V to +VREF, -VREF to 0V, ±VREF/4, ±VREF/2, and ±VREF, while the differential mode supports three programmable ranges: ±VREF/2, ±VREF, and ±2×VREF. This enables highly adaptable signal conditioning depending on the application’s accuracy and range requirements. The MAX1302 includes an internal precision +4.096V reference voltage, simplifying design. Yet it also allows the use of an external reference voltage between 3.800V and 4.136V for enhanced flexibility, which can be selected by setting the onboard REF SEL jumper to either INT for internal or EXT for external reference.
Designed for demanding analog measurement tasks, ADC 27 Click is well-suited for use in industrial monitoring, control systems, data acquisition setups, avionics instrumentation, and robotics, providing robust performance in environments where accuracy and configurability are essential. In addition to the standard SPI communication pins (SDO, SDI, SCK, and CS), ADC 27 Click also uses an INT pin, which serves as a data-ready indicator. This interrupt pin becomes active when a new conversion result is available, signaling the host MCU that data is ready to be read.
This Click board™ can operate with either 3.3V or 5V logic voltage levels selected via the VCC SEL jumper. This way, both 3.3V and 5V capable MCUs can use the communication lines properly. Also, this 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
Ideal for use in industrial monitoring, control systems, avionics, robotics, and data acquisition applications
On-board modules
MAX1302 – 16-bit successive-approximation ADC from Analog Devices
Key Features
Support for eight single-ended or four differential analog input channels, programmable input voltage ranges, internal precision 4.096V reference, external reference input support from 3.800V to 4.136V, SPI-compatible communication interface, data-ready interrupt pin (INT), and more
Interface
QSPI,SPI
Feature
ClickID
Compatibility
mikroBUS™
Click board size
M (42.9 x 25.4 mm)
Input Voltage
3.3V or 5V,External
Pinout diagram
This table shows how the pinout on ADC 27 Click corresponds to the pinout on the mikroBUS™ socket (the latter shown in the two middle columns).
Onboard settings and indicators
Label | Name | Default | Description |
---|---|---|---|
LD1 | PWR | – | Power LED Indicator |
JP1 | VCC SEL | Left | Power Voltage Level Selection 3V3/5V: Left position 3V3, Right position 5V |
JP2-JP3 | REF SEL | Left | Reference Voltage Selection INT/EXT: Left position INT, Right position EXT |
ADC 27 Click electrical specifications
Description | Min | Typ | Max | Unit |
---|---|---|---|---|
Supply Voltage | 3.3 | – | 5 | V |
Reference Voltage | 3.8 | 4.096 | 4.136 | V |
Resolution | – | 16 | – | bit |
Sampling Rate | – | – | 115 | ksps |
Software Support
ADC 27 Click demo application is developed using the NECTO Studio, ensuring compatibility with mikroSDK‘s open-source libraries and tools. Designed for plug-and-play implementation and testing, the demo is fully compatible with all development, starter, and mikromedia boards featuring a mikroBUS™ socket.
Example Description
This example demonstrates the use of the ADC 27 Click board by reading voltages from multiple analog input channels configured in both single-ended and differential modes. The measured voltage values are displayed via UART.
Key Functions
adc27_cfg_setup
This function initializes Click configuration structure to initial values.adc27_init
This function initializes all necessary pins and peripherals used for this Click board.adc27_default_cfg
This function executes a default configuration of ADC 27 Click board.adc27_set_config
This function sets the configuration for the selected channel of the ADC 27 Click board.adc27_read_raw_data
This function reads raw ADC data from the selected channel.adc27_read_voltage
This function reads the ADC value from the selected channel and converts it to a voltage level using the configured range.
Application Init
Initializes the logger and the ADC 27 Click driver, and performs the default configuration.
Application Task
Reads and logs voltage values from channels CH0-CH3 (single-ended) and CH4/CH5, CH6/CH7 (differential).
Application Output
This Click board can be interfaced and monitored in two ways:
- Application Output – Use the “Application Output” window in Debug mode for real-time data monitoring. Set it up properly by following this tutorial.
- UART Terminal – Monitor data via the UART Terminal using a USB to UART converter. For detailed instructions, check out this tutorial.
Additional Notes and Information
The complete application code and a ready-to-use project are available through the NECTO Studio Package Manager for direct installation in the NECTO Studio. The application code can also be found on the MIKROE GitHub account.