UG-1253
Rev. 0 | Page 5 of 8
LIBRARIES
The EVAL-ADE9153ASHIELD Arduino libraries provide basic
functions to access the
. Use the calibration sketch to
calibrate the
using an accurate source.
INSTALLING THE LIBRARIES
To install the libraries,
1.
Download
ADE9153AAPI.zip
.
2.
Install the
Arduino library as shown in Figure 3.
1658
4-
003
Figure 3. Installing the Arduino Library
ADE9153AAPI.cpp
The
ADE9153AAPI.cpp
file contains functions to communicate,
initialize, and read calculated parameters from the chip.
ADE9153AAPI.h
The
ADE9153AAPI.h
file contains register constants that are
written into the device by the set up
function.
Application Examples
The application examples demonstrate the use of functions in
the
ADE9153AAPI.cpp
and
ADE9153AAPI.h
library files to
obtain the parameters calculated by the
. Connect
Arduino Zero and compile and load the application examples to
start energy and power quality measurements.