adc26 2.1.0.0
|
ADC 26 Click is a compact add-on board for precise analog-to-digital signal conversion. This board features the ADS1015L, a low-power 12-bit ADC with an I2C-compatible interface from Texas Instruments. The ADS1015L features a ΔΣ ADC core with an internal voltage reference, programmable gain amplifier (PGA), and digital comparator, capable of measuring differential signals with a flexible input range from ±0.256V to ±6.144V at up to 3300 samples per second (SPS). It supports single-shot and continuous-conversion modes, offering both energy efficiency and real-time performance.
We provide a library for the ADC 26 Click as well as a demo application (example), developed using MikroElektronika compilers. The demo can run on all the main MikroElektronika development boards.
Package can be downloaded/installed directly from NECTO Studio Package Manager(recommended way), downloaded from our LibStock™ or found on Mikroe github account.
This library contains API for ADC 26 Click driver.
adc26_cfg_setup
Config Object Initialization function. adc26_init
Initialization function. adc26_default_cfg
Click Default Configuration function. adc26_start_conversion
This function starts a single-shot conversion for the selected MUX channel and gain level (full-scale range). adc26_get_alert_pin
This function returns the ALERT (data ready) pin logic state. adc26_read_voltage
This function reads the RAW ADC measurement and converts it to a voltage level. This example demonstrates the use of ADC 26 Click board by reading and displaying the voltage levels from IN0-IN1 differential and IN2-IN3 single-ended analog input channels.
The demo application is composed of two sections :
Initializes the driver and performs the Click default configuration.
Reads the voltage levels from IN0-IN1 differential (+/- 2.048V) and IN2-IN3 single-ended (+/- 4.096V) analog input channels and displays the results on the USB UART once per second approximately.
Do not apply more than VCC + 0.3 V to the analog inputs of the device.
The full application code, and ready to use projects can be installed directly from NECTO Studio Package Manager(recommended way), downloaded from our LibStock™ or found on Mikroe github account.
Other Mikroe Libraries used in the example:
Additional notes and informations
Depending on the development board you are using, you may need USB UART Click, 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 MikroElektronika compilers.