<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://w.electrodragon.com/w/index.php?action=history&amp;feed=atom&amp;title=Enery_Monitoring_Shield</id>
	<title>Enery Monitoring Shield - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://w.electrodragon.com/w/index.php?action=history&amp;feed=atom&amp;title=Enery_Monitoring_Shield"/>
	<link rel="alternate" type="text/html" href="https://w.electrodragon.com/w/index.php?title=Enery_Monitoring_Shield&amp;action=history"/>
	<updated>2026-07-22T06:50:29Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.37.2</generator>
	<entry>
		<id>https://w.electrodragon.com/w/index.php?title=Enery_Monitoring_Shield&amp;diff=32373&amp;oldid=prev</id>
		<title>Chao: /* Quick Start */</title>
		<link rel="alternate" type="text/html" href="https://w.electrodragon.com/w/index.php?title=Enery_Monitoring_Shield&amp;diff=32373&amp;oldid=prev"/>
		<updated>2021-10-25T06:48:05Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Quick Start&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Energy Monitor Shield is an Arduino-compatible expansion card designed for building energy monitoring system with LCD screen and an interface for connecting the wireless transceiver nRF24L01 +.&lt;br /&gt;
&lt;br /&gt;
== HDK == &lt;br /&gt;
&lt;br /&gt;
=== Pin Definition ===&lt;br /&gt;
&lt;br /&gt;
[[File:Em-top.jpg|thumbnail]]&lt;br /&gt;
{| class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Pins !! Arduino !! Description&lt;br /&gt;
|-&lt;br /&gt;
| SCK || D13 || Common&lt;br /&gt;
|-&lt;br /&gt;
| MISO || D12 || Common&lt;br /&gt;
|-&lt;br /&gt;
| MOSI || D11 | DIN || Common&lt;br /&gt;
|-&lt;br /&gt;
| SPI LCD Reset || D10 || SPI_LCD&lt;br /&gt;
|-&lt;br /&gt;
| SPI LCD CS || D9 || SPI_LCD&lt;br /&gt;
|-&lt;br /&gt;
| NRF24L01 CS || D8 || NRF24L01 &lt;br /&gt;
|-&lt;br /&gt;
| NRF24L01 CE || D7 || NRF24L01 &lt;br /&gt;
|-&lt;br /&gt;
| LCD 5110 Reset || D6 || 5110&lt;br /&gt;
|-&lt;br /&gt;
| LCD 5110 CS || D5 || 5110&lt;br /&gt;
|-&lt;br /&gt;
| SD Card CS || D4 || SD&lt;br /&gt;
|-&lt;br /&gt;
| LCD 5110 CE, SPI LCD DC/A0 || D3 || 5110&lt;br /&gt;
|-&lt;br /&gt;
| NRF24L01 IRQ || D2 || NRF24L01 &lt;br /&gt;
|-&lt;br /&gt;
| Current Sensor || A0, A1, A2 || Current Sensor&lt;br /&gt;
|-&lt;br /&gt;
| Button || A3 || Button&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Schematic ===&lt;br /&gt;
&amp;lt;gallery&amp;gt;&lt;br /&gt;
File:Arduino_energy_sch_01.png | Arduino energy shield schematic &lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Basic functionality ==&lt;br /&gt;
&lt;br /&gt;
In the basic version (without using Ethernet Shield) may organize monitoring of energy consumption in three different circuits using current sensors.&lt;br /&gt;
&lt;br /&gt;
Information about the current level of consumption can be displayed on the LCD screen.&lt;br /&gt;
&lt;br /&gt;
Device Management can be organized using two buttons on the Shield.&lt;br /&gt;
&lt;br /&gt;
The obtained data can be transmitted by the transceiver nRF24L01 +.&lt;br /&gt;
&lt;br /&gt;
Expansion Capabilities&lt;br /&gt;
* Additionally EM Shield can connect any device using i2c Grove-compatible connector (sensors, displays, etc.). &lt;br /&gt;
* EM Shield was designed to be fully compatible with the Ethernet Shield (Wiznet 5100 + SD) - so you can use these two Schild together to create even more advanced device monitoring electricity (logging on SD-card and presenting data on a web page).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== SDK ==&lt;br /&gt;
=== Quick Start ===&lt;br /&gt;
Arduino Library &lt;br /&gt;
* please find it here: https://github.com/Edragon/Arduino-main/tree/master/Sketchbook/Board/09-Arduino%20shield/EMS&lt;br /&gt;
Analog read &lt;br /&gt;
&lt;br /&gt;
* Demo code read A0-A2 analog value, button value from current sensor and print on 5110 LCDs.&lt;br /&gt;
 * This demo code only demostrate it is working by read analog value, not able to get correct current value&lt;br /&gt;
 * read a hair dry will get 2.4V~2.55V varying voltage, the amplification Irms should be used for calculation.&lt;br /&gt;
&lt;br /&gt;
Read current &lt;br /&gt;
* [https://github.com/openenergymonitor/EmonLib Download install Emonlib library from here]&lt;br /&gt;
* Connect YHDC 100A SCT-013-000 sensor to the board top jack&lt;br /&gt;
* For a small lamp you can only read little difference on the serial monitor first value Irms, about from 40 to 55, because the sensor has a large sensing range.&lt;br /&gt;
&lt;br /&gt;
===Libraries===&lt;br /&gt;
==== Necessary libraries ====&lt;br /&gt;
&lt;br /&gt;
To use EM Shield requires the following libraries:&lt;br /&gt;
* Working with the transceiver nRF24L01+ - [https://github.com/maniacbug/RF24/archive/master.zip RF24]&lt;br /&gt;
* Using the display LCD 51110 (supporting SPI) - [https://github.com/stepanovalex/LCD5110_Graph_SPI/archive/master.zip LCD5110_Graph_SPI]&lt;br /&gt;
* Work with current sensors - [https://github.com/openenergymonitor/EmonLib/archive/master.zip EmonLib]&lt;br /&gt;
&lt;br /&gt;
Requires the libraries that are used when working RF24 and LCD-display:&lt;br /&gt;
* SPI&lt;br /&gt;
&lt;br /&gt;
==== Features using libraries ====&lt;br /&gt;
Library has used examples of them just to understand how they work.&lt;br /&gt;
&lt;br /&gt;
Initialization RF-module as follows:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;...&lt;br /&gt;
&lt;br /&gt;
//RF24 radio(CE,CSN);&lt;br /&gt;
RF24 radio(7,8);&lt;br /&gt;
&lt;br /&gt;
...&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Initialize LCD-display is as follows:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;...&lt;br /&gt;
&lt;br /&gt;
//LCD5110 myGLCD(DC,RST,CS);&lt;br /&gt;
LCD5110 myGLCD(5,6,3);&lt;br /&gt;
&lt;br /&gt;
...&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[category: Arduino Shields]]&lt;/div&gt;</summary>
		<author><name>Chao</name></author>
	</entry>
</feed>