vcpmonitor4
2.0.0.0
|
VCP Monitor 4 Click is a compact add-on board that represents a high-precision power monitoring system. This board features the INA239, ultra-precise digital power monitor with a 16-bit delta-sigma ADC specifically designed for current-sensing applications from Texas Instruments.
We provide a library for the VCPMonitor4 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 VCPMonitor4 Click driver.
vcpmonitor4_cfg_setup
Config Object Initialization function. vcpmonitor4_init
Initialization function. vcpmonitor4_default_cfg
Click Default Configuration function. vcpmonitor4_get_vbus
Get BUS voltage. vcpmonitor4_get_current
Get Current. vcpmonitor4_get_power
Get Shunt voltage. This example application showcases ability of Click board
to be configured for different readings and read temperature, voltage, current and power.
The demo application is composed of two sections :
Initialization of communication modules (SPI, UART) and
additional alert pin. Reads Manufacturer and Device ID, Configurates device for reading all device measurements.
In span of 500ms reads and calculates data for IC temperature,
Bus voltage in V, Shunt voltage in mV, and current and power for 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. The terminal available in all MikroElektronika compilers, or any other terminal application of your choice, can be used to read the message.