Do you want to build an IoT-enabled home monitoring system that can measure environmental parameters and also detect intrusion but don't know where to start? This easy tutorial will deliver everything you need with only two major components: a Raspberry Pi and a Sparrow Wireless Sensor Node kit. No soldering, and minimal wiring needed!
With this system, you will be able to remotely monitor and log temperature, humidity, pressure, luminosity, IR and UV indexes and also detect intrusion. The system is also extensible, you will be able to add multiple wireless sensors to your home, monitoring every room in your house or outdoor parameters.
For this project you will need a Raspberry Pi, two Sparrow Wireless Sensor Nodes and two Sparrow Nest programming boards. Also, if you want intrusion detection to work, you will need a PIR sensor.
First, you will need to install the Arduino IDE and also the patch to make it work with the Sparrow nodes. You will find everything you need in this tutorial.
Each Sparrow node has integrated sensors for temperature, pressure, humidity and light levels, so we will need to write a small program that periodically reads these values and sends them through the serial port. While it's not mandatory, it would be a good idea to check out the basic tutorials here in order to get accustomed to the sensor node.
For this project, you will need to install the following libraries for the Arduino IDE: SHT2x for the temperature/humidity sensor, Adafruit's Si1145 for the light sensor and MS5637 for the barometer/altimeter.
The project configuration will be the following:
- A remote sensor node with the PIR attached to it, sending presence data.
- A receiver node, measuring also environmental parameters (temperature, humidity, light etc.) connected to the Raspberry Pi.
- Raspberry Pi connected to the Internet and sending all sensor data to
Read More: Home Monitoring With Wireless Sensor Nodes