OFF
MIKROE-2690
30 g
Status:
ADAC Click is a compact add-on board that provides the ADC/DAC combo solution. This board features the AD5593R, an 8-channel configurable ADC/DAC with an on-chip reference from Analog Device. Each of the eight channels can be set individually as analog-to-digital converters (ADC), digital-to-analog converters (DAC), digital inputs, or digital outputs. The AD5593R has an integrated 2.5V, 20ppm/°C reference that is turned off by default, as you can use an external reference over the dedicated terminal pin. This Click board™ makes the perfect solution for the development of control and monitoring applications, general-purpose analog and digital IO, and more.
ADAC Click is supported by a mikroSDK compliant library, which includes functions that simplify software development. This Click board™ comes as a fully tested product, ready to be used on a system equipped with the mikroBUS™ socket.
This product is no longer in stock
Availability date:
ADAC Click is based on the AD5593R, an 8-channel configurable ADC/DAC with an on-chip reference from Analog Device. You can enable internal reference voltage (2.5V internal) or apply your own reference voltage over the VREF pin of the terminal in a range from 1 to 5V (VCC SEL placed on 5V position). An integrated temperature indicator indicates the die temperature and can be read as part of the ADC read sequence. Depending on the configuration, the IO pin can be set as analog output and connected to a 12-bit DAC with an output range from 0V up to VREF or 0V up to 2x VREF. It can also be set as analog input and connected to a 12-bit ADC via an analog multiplexer with the same input range as DAC output. When using pins as general-purpose IO, you can read the states of the pins and write logic states over the I2C interface.
ADAC Click uses a standard 2-Wire I2C interface to communicate with the host MCU, supporting standard and fast modes of up to 400KHz. The I2C address can be selected over the ADD SEL jumper, with 0 selected by default. The AD5593R features a reset function that resets all to its default conditions by software or over the RST pin, which triggers the same function as the software. Resetting the device takes as much as 250μs.
This Click board™ can operate with either 3.3V or 5V logic voltage levels selected via the LOG SEL jumper. This way, both 3.3V and 5V capable MCUs can use the communication lines properly. You can set the operating voltage over the VCC SEL jumper independently. 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.
Type
ADC-DAC
Applications
Can be used for the development of control and monitoring applications, general-purpose analog and digital IO, and more
On-board modules
AD5593R - 8-channel configurable ADC/DAC with an on-chip reference from Analog Device
Key Features
Eight channels configurable as 12-bit DAC, 12-bit ADC, or general-purpose IO, integrated temperature sensor, integrated on-chip voltage reference, external voltage reference, and more
Interface
I2C
Feature
No ClickID
Compatibility
mikroBUS™
Click board size
M (42.9 x 25.4 mm)
Input Voltage
3.3V or 5V
This table shows how the pinout on ADAC Click corresponds to the pinout on the mikroBUS™ socket (the latter shown in the two middle columns).
Label | Name | Default | Description |
---|---|---|---|
LD1 | PWR | - | Power LED Indicator |
JP1 | LOG SEL | Left | Logic Level Voltage Selection 3V3/5V: Left position 3V3, Right position 5V |
JP2 | VCC SEL | Left | Power Level Voltage Selection 3V3/5V: Left position 3V3, Right position 5V |
JP3 | ADDR SEL | Right | I2C Address Selection 1/0: Left position 1, Right position 0 |
Description | Min | Typ | Max | Unit |
---|---|---|---|---|
Supply Voltage | 3.3 | - | 5 | V |
Voltage Reference | 1 | 2.5 | 5 | V |
DAC Output Range | 0 | - | 5 / 10 | V |
ADC Input Range | 0 | - | 5 / 10 | V |
ADC/DAC Resolution | - | - | 12 | bit |
ADAC 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 showcases how to initialize, configure and use the ADAC Click module. The Click has an ADC and a DAC. An external power supply sets the maximum voltage of the input analog signal, which is bound to 2.5 V by default. For the input any external analog signal will suffice and a multimeter is needed to read the output on one of the channels.
Key Functions
adac_cfg_setup
Config Object Initialization function.adac_init
Initialization function.adac_default_cfg
Click Default Configuration function.adac_write_dac
This function writes DAC using the I2C serial interface.adac_read_adc
This function reads ADC data using the I2C serial interface.adac_set_configuration
This function sets the configuration for the Click module.Application Init
This function initializes and configures the Click and logger modules. It does a hardware reset first and after that configures the Click module using default settings.
Application Task
This function first writes digital values ranging from 0 to 256 to output channel 3 with a 10 millisecond delay between iterations and after that reads analog values from channel 4 10 times and displays results in the UART console.
Application Output
This Click board can be interfaced and monitored in two ways:
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.
NOTE: Please be advised that any peripheral devices or accessories shown connected to the Click board™ are not included in the package. Check their availability in our shop or in the YMAN section below.