EV-ADE9153ASHIELDZ User Guide
UG-1253
One Technology Way P. O. Box 9106 Norwood, MA 02062-9106, U.S.A. Tel: 781.329.4700 Fax: 781.461.3113 www.analog.com
ADE9153A Energy Measurement Shield with mSure Autocalibration
PLEASE SEE THE LAST PAGE FOR AN IMPORTANT
WARNING AND LEGAL TERMS AND CONDITIONS. Rev. 0 | Page 1 of 8
FEATURES
Arduino-compatible, single-phase energy measurement
shield with the ADE9153A
Onboard shunt for line current measurement
Nominal current: 5 A
Maximum current: 10 A
Up to 240 V rms nominal line neutral voltage measurement
Arduino software library
mSure autocalibration and example application sketches
ADDITIONAL EQUIPMENT NEEDED
Arduino Uno, Arduino Zero, or equivalent
Voltage quick connect leads
USB micro cable
0.250 inch quick connect female connector
DOCUMENTS
ADE9153A data sheet
ADE9153A Technical Reference Manual
SOFTWARE
Arduino IDE 1.8.4 or later
ADE9153A library files
GENERAL DESCRIPTION
The EV-ADE9153ASHIELDZ is an Arduino shield compatible
with Arduino Uno, Arduino Zero, or ESP8266. The shield has
an on-board shunt resistor for line current measurement and
enables quick evaluation and prototyping of energy measurement
systems that use the ADE9153A. Arduino library and application
examples are provided on the ADE9153A product page to simplify
implementation of larger systems. Using mSure® autocalibration,
the shield can be calibrated to measure energy with 1% accuracy
over the dynamic range without the need for expensive calibration
equipment.
HAZARDOUS HIGH VOLTAGE CAUTION
The equipment described in this user guide is connected to
hazardous line voltages. Use proper caution when connecting the
sensors and voltage leads. Ensure that the system is enclosed in
a protective casing.
UG-1253 EV-ADE9153ASHIELDZ User Guide
Rev. 0 | Page 2 of 8
TABLE OF CONTENTS
Features .............................................................................................. 1
Additional Equipment Needed ....................................................... 1
Documents ........................................................................................ 1
Software ............................................................................................. 1
General Description ......................................................................... 1
Hazardous High Voltage Caution ................................................... 1
Revision History ............................................................................... 2
Conection Diagram .......................................................................... 3
Module Hardware ............................................................................. 4
Powering the ADE9153A Shield ................................................ 4
Arduino Uno and Arduino Zero ................................................ 4
ESP8266 WiFi System on Chip (SOC) .......................................4
Current Sensors .............................................................................4
Voltage Sensors ..............................................................................4
Libraries ..............................................................................................5
Installing the Libraries ..................................................................5
ADE9153A Arduino Library .......................................................5
Line Voltage Connections ................................................................6
Hazardous High Voltage ...............................................................6
Single-Phase Line and Neutral Connections .................................6
Evaluation Board Schematic ............................................................7
REVISION HISTORY
2/2018—Revision 0: Initial Version
EV-ADE9153ASHIELDZ User Guide UG-1253
Rev. 0 | Page 3 of 8
CONECTION DIAGRAM
16584-001
LIVE IN
NEUTRAL
LIVE LOAD
ADE9153A
ISOL
A
TION
BARRIE R
Figure 1. EV-ADE9153ASHIELDZ Connection Diagram
UG-1253 EV-ADE9153ASHIELDZ User Guide
Rev. 0 | Page 4 of 8
MODULE HARDWARE
POWERING THE ADE9153A SHIELD
The EV-ADE9153ASHIELDZ is powered from 5 V coming from
Arduino. By default, the 5 V SPI jumper is connected and the board
can be directly connected to Arduino Uno. To use Arduino Zero or
any 3.3 V microcontroller unit (MCU), disconnect the 5 V SPI
jumper and connect a 3 V SPI jumper to ensure that the correct
voltage is applied on the Arduino pins.
16584-002
Figure 2. DC Power Supply Selection
ARDUINO UNO AND ARDUINO ZERO
The ADE9153A shield has Arduino R3 headers directly compatible
with Arduino Uno and Arduino Zero. The Arduino pins used
by the ADE9153A shield are described in Table 1.
Table 1. Arduino General-Purpose Input/Output (GPIO)
Connections
Arduino Pin ADE9153A Signal Type
ICSP-SCK SCLK Serial peripheral
interface (SPI)
ICSP-MISO MISO SPI
ICSP-MOSI MOSI SPI
GPIO 8 SS (pulled up) SPI output
GPIO 4 RESET Output
GPIO 5 User button input Input
GPIO 2 ZX/DREADY/CF2 Input (interrupt)
GPIO 3 IRQ Input (interrupt)
5 V Not applicable Power
3.3 V Not applicable Power
ESP8266 WIFI SYSTEM ON CHIP (SOC)
The shield can also be used with the ESP8266 WiFi SOC. The
on-board header makes the shield compatible with the ESP8266
ESP-12E Node MCU. To use the ESP8266, perform the following
actions (note that these actions do not need to be performed in
order):
Populate the 15-pin headers, SV1 and SV2.
Disconnect the 5 V SPI jumper and connect a 3 V SPI
jumper to ensure that the correct voltage is applied, as
shown in Figure 2.
Populate 0 Ω resistors on R49, R51, R67, and R68 to establish
the SPI connection. Populate R14 to establish the RESET
connection
The ESP8266 pins used by the EV-ADE9153ASHIELDZ are
described in Table 2.
Table 2. ESP8266 GPIO Connections
ESP8266 Pin ADE9153A Signal Type
D5 (GPIO 14) SCLK SPI
D6 (GPIO 12) MISO SPI
D7 (GPIO 13) MOSI SPI
D0 (GPIO 16) SS (pulled up) SPI output
D4 (GPIO 2) RESET Output
D1 (GPIO 5) IRQ Input
D2 (GPIO 4) ZX/DREADY/CF2 Input
D3 (GPIO 0) User button input Input
5 V Not applicable Power
3.3 V Not applicable Power
CURRENT SENSORS
The EV-ADE9153ASHIELDZ has an on-board, 1 mΩ shunt
resistor. The nominal current through the shunt is 5 A rms and
the maximum allowed current is 10 A rms with a programmable
gain amplifier (PGA) gain value of 16.
VOLTAGE SENSORS
The EV-ADE9153ASHIELDZ has on-board resistor dividers to
attenuate the incoming input voltage. The attenuation factor is
1001. Do not exceed a 240 V rms nominal line to neutral voltage.
EV-ADE9153ASHIELDZ User Guide UG-1253
Rev. 0 | Page 5 of 8
LIBRARIES
The EVAL-ADE9153ASHIELD Arduino libraries provide basic
functions to access the ADE9153A. Use the calibration sketch to
calibrate the ADE9153A using an accurate source.
INSTALLING THE LIBRARIES
To i nst al l th e l ibraries ,
1. Download ADE9153AAPI.zip.
2. Install the ADE9153A Arduino library as shown in Figure 3.
16584-003
Figure 3. Installing the Arduino Library
ADE9153A 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 ADE9153A function.
ADE9153A 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 ADE9153A. Connect
Arduino Zero and compile and load the application examples to
start energy and power quality measurements.
UG-1253 EV-ADE9153ASHIELDZ User Guide
Rev. 0 | Page 6 of 8
LINE VOLTAGE CONNECTIONS
HAZARDOUS HIGH VOLTAGE
The equipment described in this user guide is connected to
hazardous line voltages. Exercise proper caution when connecting
the sensors and voltage leads. Ensure that the system is enclosed
in a protective casing.
SINGLE-PHASE LINE AND NEUTRAL CONNECTIONS
The single-phase connection is shown in Figure 4. Do not
exceed a nominal voltage of 240 V rms (line to neutral) in this
configuration.
EV-ADE9153ASHIELDZ User Guide UG-1253
Rev. 0 | Page 7 of 8
EVALUATION BOARD SCHEMATIC
16584-005
ARDUINO HEADERS ESP8266 CONNECTIONS
ARDUINO/SAFE SIDE HOT SIDE
3V3 FOR ESP8266
5 FOR ARDUINO
L-IN
L-OUT
WSK12161L000FEA
0.1µF
250k
1k
15nF
4.7µF4.7µF 100nF 4.7µF
0.47µF
ADE9153
12.288MHz ±30ppm
0
+3V3_ADE
GNDA
0.1µF
10µF 0.F
GNDA
GNDA
GNDA
GNDA
+5V_ARDUINO
+5V_ARDUINO
10µF
0.1µF
10µF0.1µF
0.1µF
0.1µF
GND
ADP122AUJZ-3.3-R7
+3V3_ADE
10µF 0.1µF
0.1µF
+5V_ARDUINO
10µF
GND
GND
APT1608LSECK/J3-PRV
+3V3_ADE
+3V3_ISO
APT1608LSECK/J3-PRV
+3V3_ ADE
+3V3_ADE
10k
10k
GND
GND
GND
GND
GND
GNDA GNDA
GNDA
GND
GND
GND
GND
APT16 08L ZGC K
+3V3_ ADE
10k
1µF
10k
GNDA
10k
0
0
0
0
+5V_ARDUINO
GNDA
3V3_ISO
10µF 0.F 10µF 0.F
+5V_ARDUINO 3V3_ISO
DNP DNP
3V3_ISO
10µF 0.1µF
GND
GND
GND
GNDGND
GNDGNDGND
GNDA
GNDA
S1S2
GNDA
GNDA GNDA
GNDA
GNDA
GNDA
GND
DNP
0
+5V_ARDUINO
3V3_ISO
N
250k
150k
150k
250k250k
3k
3k
3k
3k
APT1608LSECK/J3-PRV
3k
APT1608LSECK/J3-PRV
0
10k
J2
J3
SH1
R2
R9
C7
0.1µF
C8
0.1µF
C29
R10 R12 R13
R16
C9
C10 C11
100nF
C12
4.7µF
C13
100nF
C14
0.47µF
C15
100nF
C16 C17 C18 C19
100nF
C20
C21
4.7µF
C22
100nF
C23
4.7µF
C24
100nF
C25
22pF
C26
22pF
C30
1µF
IC3
1
2
3
4
10_VDDOUT2P5 10
17
20
6
22_FA1 22
23_FA0 23
24
25
26
27
28
9_AGND
9
5_VDD 5
7
8
7_IAN
11
29
30
31
32
0_PAD PAD
Y2
R21 TP14
TP1
TP5
C3 C1
11_GND2 11
VOC
9VOB
8VIA
7
10_GND1
10 2_GND1
2
MO
4
19_GND2 19
VIC 12
VIB 13
VOA 14
VDD1
1
MCLK
3
MI
5
*MSS
6*SSS 15
SO 16
SI 17
SCLK 18
VDD2 20
1
7
14
13
12
11
16
10
3
4
5
6
9
16_VISO
15
8
1_VDD1
2
C6
C48 C49
C50C51
EN
3GND 2
NC 4
VIN
1
VOUT
5
U4
C4 C5 C27
C28
LED 1
R44
R46
R50
LED 2
R1
R3
LED 5
R53
C56
D1
D2
R4
12
34
56
J10
J4
J1
J5
J6
1
2
3
4
5
6
7
8
9
10
R56
1
2
3
4
5
6
7
8
R63
R64
R65
R66
1
2
3
4
5
6
7
8
1
2
3
4
5
6
C57 C58C59 C60
SV1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
R49
R51
R68
R67
SV2
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
C33
10µF
C31
C34
0.1µF
C32
C35C36
R5
R6
J7
R11
R14
R7
LED 3
R8
LED 4
R15
R17
NEUTRAL
CF1_ADE
CF1_ADE
IRQ_ADE
IRQ_ADE
MISO_ADE
MOSI_ADE
SCLK_ADE
SCLK_IS MOSI_ISO
MISO_ISO
SS_ISO
SS_ADE
RESET_ADE
SCLK_IS
RESET_ISO
SCLK_ADE
CF2_ADE
CF2_ADE
5V_ADE
5V_ADE
5V_ADE
RESET_ARD
DRA_2FC
DRA_QRI
USERIN_ARD
SS_ISO
USERIN_ISO
VDD_1
VDD_1
VDD_1
VDD_1
USEROUT_ISO
USEROUT_ISOUSEROUT_ARD
32_SS
31_SCLK
30_MISO
29_MOSI
28_RESET
27_IRQ
26_CF1
25_ZX/CF2
4_CLKIN
3_CLKOUT
2_DVDDOUT
17_AGND
20_DGND
1_DGND
8_IAP
6_IAMS
11_IBN
12_IBP
15_VAN
14_VAP
13_VAMS
19_IBMS
16_AVDDOUT
18_REFIN
21_MSH
12
15
14
13
19
16
18
21
5V_ADE
5V_ADE
IRQ_ARD
CF2_ARD
USERIN_ARD
RESET_ARD
GNDA SCLK_IS
MISO_ISO
MOSI_ISO
DNP
DNP
DNP
DNP
DNP
7_VDD1
3_NC
RCIN
RCOUT
RCSEL
2_GND1
8_GND1
10_VISO
14_NC
VSEL
12_NC
11_NC
15_GNDISO
9_GNDISO
MOSI_ISO
MISO_ISO
SS_ISO
RESET_ISO
IRQ_ISO
CF2_ISO
MOSI_ADE
MISO_ADE
SS_ADE
RESET_ADE
IRQ_ADE
CF2_ADE
USERIN_ISO
RESET_ARD
IRQ_ISO
CF2_ISO
U1
ADuM4152BRIZ
ADuM6000ARIZ
U2
Figure 4. EV-ADE9153ASHIELDZ Schematic
UG-1253 EV-ADE9153ASHIELDZ User Guide
Rev. 0 | Page 8 of 8
NOTES
ESD Caution
ESD (electrostatic discharge) sensitive device. Charged devices and circuit boards can discharge without detection. Although this product features patented or proprietary protection
circuitry, damage may occur on devices subjected to high energy ESD. Therefore, proper ESD precautions should be taken to avoid performance degradation or loss of functionality.
Legal Terms and Conditions
By using the evaluation board discussed herein (together with any tools, components documentation or support materials, the “Evaluation Board”), you are agreeing to be bound by the terms and conditions
set forth below (“Agreement”) unless you have purchased the Evaluation Board, in which case the Analog Devices Standard Terms and Conditions of Sale shall govern. Do not use the Evaluation Board until you
have read and agreed to the Agreement. Your use of the Evaluation Board shall signify your acceptance of the Agreement. This Agreement is made by and between you (“Customer”) and Analog Devices, Inc.
(“ADI”), with its principal place of business at One Technology Way, Norwood, MA 02062, USA. Subject to the terms and conditions of the Agreement, ADI hereby grants to Customer a free, limited, personal,
temporary, non-exclusive, non-sublicensable, non-transferable license to use the Evaluation Board FOR EVALUATION PURPOSES ONLY. Customer understands and agrees that the Evaluation Board is provided
for the sole and exclusive purpose referenced above, and agrees not to use the Evaluation Board for any other purpose. Furthermore, the license granted is expressly made subject to the following additional
limitations: Customer shall not (i) rent, lease, display, sell, transfer, assign, sublicense, or distribute the Evaluation Board; and (ii) permit any Third Party to access the Evaluation Board. As used herein, the term
“Third Party includes any entity other than ADI, Customer, their employees, affiliates and in-house consultants. The Evaluation Board is NOT sold to Customer; all rights not expressly granted herein, including
ownership of the Evaluation Board, are reserved by ADI. CONFIDENTIALITY. This Agreement and the Evaluation Board shall all be considered the confidential and proprietary information of ADI. Customer may
not disclose or transfer any portion of the Evaluation Board to any other party for any reason. Upon discontinuation of use of the Evaluation Board or termination of this Agreement, Customer agrees to
promptly return the Evaluation Board to ADI. ADDITIONAL RESTRICTIONS. Customer may not disassemble, decompile or reverse engineer chips on the Evaluation Board. Customer shall inform ADI of any
occurred damages or any modifications or alterations it makes to the Evaluation Board, including but not limited to soldering or any other activity that affects the material content of the Evaluation Board.
Modifications to the Evaluation Board must comply with applicable law, including but not limited to the RoHS Directive. TERMINATION. ADI may terminate this Agreement at any time upon giving written notice
to Customer. Customer agrees to return to ADI the Evaluation Board at that time. LIMITATION OF LIABILITY. THE EVALUATION BOARD PROVIDED HEREUNDER IS PROVIDED AS IS AND ADI MAKES NO
WARRANTIES OR REPRESENTATIONS OF ANY KIND WITH RESPECT TO IT. ADI SPECIFICALLY DISCLAIMS ANY REPRESENTATIONS, ENDORSEMENTS, GUARANTEES, OR WARRANTIES, EXPRESS OR IMPLIED, RELATED
TO THE EVALUATION BOARD INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTY OF MERCHANTABILITY, TITLE, FITNESS FOR A PARTICULAR PURPOSE OR NONINFRINGEMENT OF INTELLECTUAL
PROPERTY RIGHTS. IN NO EVENT WILL ADI AND ITS LICENSORS BE LIABLE FOR ANY INCIDENTAL, SPECIAL, INDIRECT, OR CONSEQUENTIAL DAMAGES RESULTING FROM CUSTOMER’S POSSESSION OR USE OF
THE EVALUATION BOARD, INCLUDING BUT NOT LIMITED TO LOST PROFITS, DELAY COSTS, LABOR COSTS OR LOSS OF GOODWILL. ADI’S TOTAL LIABILITY FROM ANY AND ALL CAUSES SHALL BE LIMITED TO THE
AMOUNT OF ONE HUNDRED US DOLLARS ($100.00). EXPORT. Customer agrees that it will not directly or indirectly export the Evaluation Board to another country, and that it will comply with all applicable
United States federal laws and regulations relating to exports. GOVERNING LAW. This Agreement shall be governed by and construed in accordance with the substantive laws of the Commonwealth of
Massachusetts (excluding conflict of law rules). Any legal action regarding this Agreement will be heard in the state or federal courts having jurisdiction in Suffolk County, Massachusetts, and Customer hereby
submits to the personal jurisdiction and venue of such courts. The United Nations Convention on Contracts for the International Sale of Goods shall not apply to this Agreement and is expressly disclaimed.
©2018 Analog Devices, Inc. All rights reserved. Trademarks and
registered trademarks are the property of their respective owners.
UG16584-0-2/18(0)