Unlock the power of data with our cutting-edge data acquisition (DAQ) solution empowering real-time monitoring, precise measurements, and data-driven decision-making
A
A
Hardware Overview
How does it work?
DAQ 3 Click is based on the ADAQ4003, a fast and precise system-in-package DAQ signal chain solution from Analog Devices. This μModule combines multiple standard signal processing and conditioning blocks into a single device containing a high bandwidth fully differential ADC driver, a low noise reference buffer, an 18-bit SAR ADC, and selectable gain options. It can convert 2,000,000 samples per second (2 MSPS), achieving a high degree of specified accuracy. The ADAQ4003 also has a valid first conversion after being powered down for long periods to reduce the power consumed in applications where the ADC does not convert constantly. The ADAQ4003 requires a supply voltage of 1.8V to work regularly. Therefore, a small regulating LDO, the ADP151 from Analog Devices, provides a 1.8V out of mikroBUS™ rails. In combination with LT3032, dual low noise positive and negative low drop-out voltage linear regulator, it can generate regulated ±15V positive and negative rails for any additional signal conditioning. This Click board™ also includes the LT6656, a precise voltage regulator that provides low noise and a low drop-out voltage reference of 4.096V. This feature intends to optimally
drive the dynamic input impedance ofthe SAR ADC reference node. DAQ 3 Click communicates with MCU using the 16-bit SPI serial interface compatible with standard SPI, QSPI™, MICROWIRE™, and digital signal processors (DSPs). The ADAQ4003 also has a Turbo mode allowing a slower SPI clock rate, simplifying interfacing. Turbo mode activates by writing to the configuration register and replaces the busy indicator feature when enabled. The ADAQ4003 can achieve the maximum throughput of 2MSPS only with enabled Turbo mode and a minimum clock rate of 75MHz. An additional feature of this Click board™ represents specific settings related to a fully differential ADC driver like Power-Down Reference Buffer and Amplifier labeled as DRE and DAM routed on the RST and AN pins of the mikroBUS™ socket. Also, the ADC driver has one power mode pin labeled as MOD and routed on the PWM pin of the mikroBUS™ socket, which enables the full performance of the driver with this pin set to its high logic state. On the other hand, the ADAQ4003 also uses an INT pin as an interrupt, indicating that the conversion result is available on the SDO line of the SPI interface. This Click board™ also comes with the
jumpers labeled from JP2-JP8 required to achieve optimized performance with selectable gain options of 0.454, 0.909, 1, or 1.9. With jumpers labeled as JP4 and JP7 populated on the board, the default gain of the ADAQ4003 is set to 1. Please consult the attached datasheet for more information about the correct jumper configuration when selecting gain. DAQ 3 Click possesses two SMA connectors labeled IN- and IN+, providing low-noise analog signal sources. These inputs are fed and buffered with the LTC6373, a precision instrumentation amplifier with fully differential outputs that achieve excellent offset voltage, gain error, gain drift, and gain non-linearity. The user can easily program the gain to one of seven available settings through 3 slide switches labeled GAIN SEL. This Click board™ can operate with either 3.3V or 5V logic voltage levels selected via the VIO SEL jumper. This way, both 3.3V and 5V capable MCUs can use the communication lines properly. However, the 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.
Features overview
Development board
Arduino UNO is a versatile microcontroller board built around the ATmega328P chip. It offers extensive connectivity options for various projects, featuring 14 digital input/output pins, six of which are PWM-capable, along with six analog inputs. Its core components include a 16MHz ceramic resonator, a USB connection, a power jack, an
ICSP header, and a reset button, providing everything necessary to power and program the board. The Uno is ready to go, whether connected to a computer via USB or powered by an AC-to-DC adapter or battery. As the first USB Arduino board, it serves as the benchmark for the Arduino platform, with "Uno" symbolizing its status as the
first in a series. This name choice, meaning "one" in Italian, commemorates the launch of Arduino Software (IDE) 1.0. Initially introduced alongside version 1.0 of the Arduino Software (IDE), the Uno has since become the foundational model for subsequent Arduino releases, embodying the platform's evolution.
Microcontroller Overview
MCU Card / MCU

Architecture
AVR
MCU Memory (KB)
32
Silicon Vendor
Microchip
Pin count
28
RAM (Bytes)
2048
You complete me!
Accessories
Click Shield for Arduino UNO has two proprietary mikroBUS™ sockets, allowing all the Click board™ devices to be interfaced with the Arduino UNO board without effort. The Arduino Uno, a microcontroller board based on the ATmega328P, provides an affordable and flexible way for users to try out new concepts and build prototypes with the ATmega328P microcontroller from various combinations of performance, power consumption, and features. The Arduino Uno has 14 digital input/output pins (of which six can be used as PWM outputs), six analog inputs, a 16 MHz ceramic resonator (CSTCE16M0V53-R0), a USB connection, a power jack, an ICSP header, and reset button. Most of the ATmega328P microcontroller pins are brought to the IO pins on the left and right edge of the board, which are then connected to two existing mikroBUS™ sockets. This Click Shield also has several switches that perform functions such as selecting the logic levels of analog signals on mikroBUS™ sockets and selecting logic voltage levels of the mikroBUS™ sockets themselves. Besides, the user is offered the possibility of using any Click board™ with the help of existing bidirectional level-shifting voltage translators, regardless of whether the Click board™ operates at a 3.3V or 5V logic voltage level. Once you connect the Arduino UNO board with our Click Shield for Arduino UNO, you can access hundreds of Click boards™, working with 3.3V or 5V logic voltage levels.
Used MCU Pins
mikroBUS™ mapper
Take a closer look
Click board™ Schematic

Step by step
Project assembly
Track your results in real time
Application Output
1. Application Output - In Debug mode, the 'Application Output' window enables real-time data monitoring, offering direct insight into execution results. Ensure proper data display by configuring the environment correctly using the provided tutorial.

2. UART Terminal - Use the UART Terminal to monitor data transmission via a USB to UART converter, allowing direct communication between the Click board™ and your development system. Configure the baud rate and other serial settings according to your project's requirements to ensure proper functionality. For step-by-step setup instructions, refer to the provided tutorial.

3. Plot Output - The Plot feature offers a powerful way to visualize real-time sensor data, enabling trend analysis, debugging, and comparison of multiple data points. To set it up correctly, follow the provided tutorial, which includes a step-by-step example of using the Plot feature to display Click board™ readings. To use the Plot feature in your code, use the function: plot(*insert_graph_name*, variable_name);. This is a general format, and it is up to the user to replace 'insert_graph_name' with the actual graph name and 'variable_name' with the parameter to be displayed.

Software Support
Library Description
This library contains API for DAQ 3 Click driver.
Key functions:
float daq3_get_voltage ( daq3_t *ctx );
DAQ 3 get voltage function.int32_t daq3_get_conversion_result ( daq3_t *ctx, daq3_reg_cfg_t cfg_data );
DAQ 3 get conversion result function.err_t daq3_generic_read ( daq3_t *ctx, uint8_t reg, uint8_t *data_out );
DAQ 3 data reading function.
Open Source
Code example
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.
/*!
* @file main.c
* @brief Daq3 Click example
*
* # Description
* The demo application reads ADC value, calculate and display voltage ( mV ).
*
* The demo application is composed of two sections :
*
* ## Application Init
* Initializes SPI driver and start to write log.
*
* ## Application Task
* This is an example that demonstrates the use of the DAQ 3 Click board.
* In this example, we read ADC value, calculate and display the voltage ( mV ) data.
* The maximum output voltage ( Vout ) is 4V and
* depends on the gain that is set at the Click.
* The formula used to calculate is Vin = Vout / gain.
* Keep in mind that Vout should not exceed 4V.
* For example, if the gain is set to 2 the maximum Vin is 2V ( 2V = 4V / 2 ).
* Results are being sent to the Usart Terminal where you can track their changes.
*
* @author Nenad Filipovic
*
*/
#include "board.h"
#include "log.h"
#include "daq3.h"
static daq3_t daq3;
static log_t logger;
void application_init ( void ) {
log_cfg_t log_cfg; /**< Logger config object. */
daq3_cfg_t daq3_cfg; /**< Click config object. */
/**
* Logger initialization.
* Default baud rate: 115200
* Default log level: LOG_LEVEL_DEBUG
* @note If USB_UART_RX and USB_UART_TX
* are defined as HAL_PIN_NC, you will
* need to define them manually for log to work.
* See @b LOG_MAP_USB_UART macro definition for detailed explanation.
*/
LOG_MAP_USB_UART( log_cfg );
log_init( &logger, &log_cfg );
log_printf( &logger, "\r\n" );
log_info( &logger, " Application Init " );
// Click initialization.
daq3_cfg_setup( &daq3_cfg );
DAQ3_MAP_MIKROBUS( daq3_cfg, MIKROBUS_1 );
err_t init_flag = daq3_init( &daq3, &daq3_cfg );
if ( init_flag == SPI_MASTER_ERROR ) {
log_error( &logger, " Application Init Error. " );
log_info( &logger, " Please, run program again... " );
for ( ; ; );
}
daq3_default_cfg ( &daq3 );
log_info( &logger, " Application Task \r\n" );
Delay_ms ( 100 );
log_printf( &logger, "---------------------------\r\n" );
log_printf( &logger, " DAQ 3 Click \r\n" );
log_printf( &logger, "---------------------------\r\n" );
}
void application_task ( void ) {
float voltage = daq3_get_voltage( &daq3 );
log_printf( &logger, " Voltage : %.3f mV \r\n", voltage );
log_printf( &logger, "---------------------------\r\n" );
Delay_ms ( 1000 );
Delay_ms ( 1000 );
}
int main ( void )
{
/* Do not remove this line or clock might not be set correctly. */
#ifdef PREINIT_SUPPORTED
preinit();
#endif
application_init( );
for ( ; ; )
{
application_task( );
}
return 0;
}
// ------------------------------------------------------------------------ END
Additional Support
Resources
Category:ADC