PwrMeter Click example.
Description
This click is capable of measuring voltage and current through the load, connected to either AC or DC power source. It is used to calculate all the measurement parameters, returning values of multiple power parameters directly, over the UART interface, reducing the processing load on the host MCU. These parameters include active, reactive, and apparent power, current and voltage RMS, line frequency, and power factor.
The demo application is composed of two sections :
Application Init
Initializes UART interface, puts output of regulator in active state and configures gain channel and uart baud rate.
Application Task
Reads voltage, current and power measurements from data registers, then converts this values to determined units and logs all results on uart terminal each second.
Additional Function
- void check_response ( ) - Displays an appropriate message on USB UART if there's an error occurred in the last response from the module.
Note
Do not apply higher voltage than 60V to this board! This click is designed for lower voltage monitoring and evaluation of the MCP39F511A and its basic functionalities.
- Author
- MikroE Team