Home monitoring system

Nowdays, an inexpensive hardware (Arduino boards, Raspberry Pi and similar boards, sensors, actuators, etc.) and a huge amount of available information on the Internet gives you a possibility to develop interesting systems with a limited knowledge about electronics, Web and other technologies. These systems are usually part of the global network too which brings us toward Internet of Things (IoT). One of the endless IoT possibilities is definitely home system monitoring. Such systems can provide you the constant information about state of your home (for example insight into past and current values of the physical variables in your home like temperatures and humidity) and consequently advanced control of your everyday life quality (comfort, energy consumption and security).

In this article, a simple home monitoring system is presented which provides you the constant information about values of physical variables around your house or flat. The figure below shows the current setup around my flat. I have two nodes that periodically measure temperature and humidity and send measured data via radio transceiver to the main node. The nodes are based upon Arduino Nano boards with nRF24L01 chips for wireless communication. The main node, based on Arduino Uno, is connected with a serial link to a Raspberry Pi. The Raspberry Pi stores the received data to MySQL database. Since the Raspberry Pi is connected to the home router, the data can be accessed from everywhere (e.g. work PC, your mobile phone and so on). Appropriate Web site for measurement visualization is also developed which is based on a javascript library Rgraph for data visualization.

The article is divided into three parts. The first part gives the information about nodes (software and hardware aspects), the second one deals with the Raspberry Pi setup and in the third one data visualization is presented.

Part I: Nodes

Part II: Raspberry Pi setup

Part III: Data visualization

Share:  Add to Facebook Tweet This Add to Delicious Submit to Digg Stumble This