Project tutorial
Energy Alerter: a Power Monitoring System

Energy Alerter: a Power Monitoring System © GPL3+

How to measure the instantaneous power absorbed by the electrical system and send it to a display & sound a buzzer if max power is reached.

  • 2,990 views
  • 1 comment
  • 7 respects

Components and supplies

About this project

Introduction

Some of us may have too many electric appliances operating at the same time so to pass the electrical power limit provided by our contract with the electric supplier. This leads to unpleasant "travels" to the energy meter to reattach the breaker. At least this is what happens in Italy. The last time I made up and down the stairs (I live at the second floor), I thought it would be really useful to have some device that would allow me to display the instantaneous power supplied to the household electric plant. So I would have been warned when the meter is going to "break away".

From this idea the Energy Alerter was born. The project consists of two parts, a server and a client, both made with an Arduino, and a couple of ethernet shields. It is inspired to Open Energy Monitor of which uses a slightly modified version of EmonTx V2.

Part 1

The purpose is to measure the instantaneous power absorbed by the domestic electrical system and send it via a simple socket server, to a client, that has the purpose to display it. The client also has a buzzer that warns if the maximum power is exceeded. This version of the client is connected via an ethernet shield to the home LAN and must be located close to an available Ethernet port (for example, those behind the wifi router). The client is built with:

  • a "sandwich" consisting of an Arduino One and a shield with a LCD panel
  • a mini Ethernet board with ENC28J60
  • a piezo buzzer

A wireless version of the client could be equipped with a ESP8266 form instead of ethernet board that can be really placed anywhere in the house.

Part 2

The server, near the meter, is put into the LAN and communicates with the client via a pair of powerline adapters, so it uses the same power line to transmit data and it doesn't have to lay any new cables or wireless repeaters. The server is assembled inside a IP55 watertight box and is composed of:

  • a module EmonTx V2, assembled with the only components necessary for the operation (top)
  • one ethernet shield from Seeedstudio
  • a 5V 1A power supply (bottom left)
  • a powerline adapter (bottom right, outside of the box)
  • a current transformer connected to the electrical network cable that comes out from the power meter.

As seen from the photos, the ethernet shield is used in an unusual way because the EmonTx is not designed to accommodate the Arduino classic shields. The SPI bus of the microcontroller is connected using flying leads to the ethernet shield, according to the classical scheme. No sandwich here, but it works. You can find the Arduino sketch of Client and Server on Github. The project is suitable for various extensions and improvements, which may be the subject of a future post.

Code

Energy Alerter, Client and Server code

Schematics

Client
energymonclt_2_U8bV3Sc6ex.fzz

Comments

Similar projects you might like

Home Monitoring System and Smart Home Solution

Project showcase by Akash Kumar

  • 5,471 views
  • 0 comments
  • 21 respects

Entry Level Door Monitoring Alarm System

Project tutorial by Team Robodia Technology Solutions

  • 5,432 views
  • 1 comment
  • 16 respects

RFID Based Automatic Door System

Project showcase by Robodia Technology

  • 35,760 views
  • 20 comments
  • 97 respects

Android App-Based Home Automation System Using IOT

Project tutorial by Team Autoshack

  • 24,849 views
  • 17 comments
  • 75 respects

Arduino-based Obstacle Monitoring System

Project showcase by Boaz Lawnce

  • 2,237 views
  • 0 comments
  • 4 respects

WaterPi: Houseplant Remote Watering and Monitoring System

Project tutorial by Demirhan Aydin

  • 29,483 views
  • 14 comments
  • 128 respects
Add projectSign up / Login