Introduction: Smart Metering and Controlling System

The project will develop a smart monitoring and control system for a residential house. Nowadays modern society brings a lot of needs for a living person while the time to look for, to repair and to check everything is becoming insufficient. Power or water breakdown can bring a lot of problems: water leaks, devices failures, increased power or water consumption, expensive bills, house or furniture damage. The present project is intended for monitoring power outlets, light switches, water pipes, room’s floor, room environment, etc. and for providing to the owner the recorded information via a cloud database and statistics and graphs.

Step 1: Zybo Board Setup

First we have installed Xilinux, on the Zybo Board using the tutorial from their website:

- http://xillybus.com/xillinux

- http://xillybus.com/downloads/doc/xillybus_getting...

Required hardware:

  • The board itself (Zybo)
  • A monitor capable of displaying VESA-compliant 1024x768 @ 60Hz with an analog VGA input (i.e. virtually any PC monitor).
  • An analog VGA cable for the monitor
  • A USB keyboardA USB mouse
  • A USB hub recognized by Linux 3.12.0, if the keyboard and mouse are not combined in a single USB plug
  • A reliable MicroSD card with 4GB or more, preferably Sandisk.Recommended: A USB adapter between an SD/MicroSD card and PC, for writing the image and boot file to the card.

Downloads required (can be found on their website):

  • Download the boot partition kit for your board(Zybo).
  • Download the SD card image.

After the installation the board can be connected to the internet and it can be used as a stand-alone PC with a mouse and keyboard with the Xilinux graphical interface. The code can be written and compiled right on the board without the usage of another PC.

Step 2: The C Program

We used Putty to link the board to a laptop to make it easier to build and compile C programs created to control the Zybo. We have created a C program to make the communication between the Zybo Board and the control and monitoring nodes. The program is implemented on the Zybo Board and it controls the MIO Pmod pins, where the PmodRF2 transceiver is connected. The program is still in development but these are the waveforms from the CLK, MISO and MOSI pins.

Step 3: The Nodes

The nodes implemented are:

1. Energy measurement node:

  • This node is built with a Cerebot Nano module, a PmodRf2 transceiver, AD7753 energy meter and a relay.
  • It turns on/off the power when is manually controlled from the web application or from a physical button.
  • It is embedded in the power outlet.
  • This node is similar to the ES but its main purpose is to monitor the energy consumption and to send the data to the cloud database through the Zybo.

2. Temperature and Humidity monitoring node:

  • This node is built with a Cerebot Nano module, a PmodRf2 transceiver and a SYH-2RS sensor.
  • It monitors the room temperature and humidity.

3. Water flow measurement node:

  • This node is built with a Cerebot Nano module, a PmodRf2 transceiver and a flow measurement PRZ-1800/L that is installed on the pipe.
  • It records the pulses from the flow sensor and integrates the water consumption to be sent to the MG.

Step 4: The Web Application

The web application is used by the customer to search different information about collected data. First of all, the Zybo Board collects the data and sends them to a database (local or a cloud). The web application has a login/register panel and the customer can register and sign in into the system with the Zybo code.

After the log in, the customer has a search panel which can be used to find different information about collected data. He has to set the time stamp and to select what information he wants to view. Moreover, the customer would be able to monitor and control all the systems in real time.

Our application access the database and filter all the data according to customer preferences. The information is processed and presented in a final table to the customer.

In conclusion, nowadays modern society brings a lot of needs for a living people so with our application we would like to increase the quality of life.