current6 2.0.0.0
|
Current 6 Click is a compact add-on board providing a precise and accurate current sensing solution. This board features the MAX40080, a fast-response bi-directional current-sense amplifier from Analog Devices. The device features ultra-low 5uV input offset voltage, very-low 0.2% gain error, and includes an analog-to-digital converter with programmable sample rate and 12-bit resolution featuring I2C compatible interface. It also features a wake-up current-threshold and auto-shutdown mode when the I2C is inactive, both designed to minimize power consumption. The current-shunt monitor can measure voltage signals on common-mode voltages ranging from -0.1V (ground sensing) to 36V, independent of the supply voltage. This Click boardâ„¢ delivers higher performance to industrial control and automation applications, load and power supplies monitoring, telecom equipment, and many more.
We provide a library for the Current 6 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 Current 6 Click driver.
current6_cfg_setup
Config Object Initialization function. current6_init
Initialization function. current6_default_cfg
Click Default Configuration function. current6_get_alert_pin
This function returns the alert pin logic state. current6_read_data
This function reads the input voltage and current measurement values. current6_get_status
This function reads and clears the status register. This example demonstrates the use of Current 6 click board by reading the input voltage and current measurements.
The demo application is composed of two sections :
Initializes the driver and performs the click default configuration.
Waits for the FIFO data interrupt and then reads the measurements of the input voltage and current and displays the results on the USB UART approximately once per second.
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.