hallcurrent7 2.0.0.0
|
Hall Current 7 Click is a compact add-on board that provides economical and precise solutions for AC or DC current sensing. This board features the ACS770, a thermally enhanced, fully integrated, Hall effect-based high precision linear current sensor with 100µΩ current conductor from Allegro MicroSystems. Applied current flows directly into the integrated conductor generating a magnetic field, and an integrated low-hysteresis core concentrates the magnetic field sensed by the Hall element with a typical accuracy of ±1% and 120 kHz bandwidth.
We provide a library for the HallCurrent7 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 HallCurrent7 Click driver.
hallcurrent7_cfg_setup
Config Object Initialization function. hallcurrent7_init
Initialization function. hallcurrent7_read_voltage
Read voltage function. hallcurrent7_calc_current
Calculate current function. hallcurrent7_avg_current
Calculate Average current function. This example shows the capabilities of the Hall Current 7 click board.
The demo application is composed of two sections :
Initalizes I2C driver and makes an initial log.
Measuring current passing through the on board Hall Effect Sensor and displaying data every two seconds.
In order to get correct calculations user should change "v_ref" value to his own power supply voltage.
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.