theBOX

An Arduino based weather / home automation project.

Introduction

This is a weather/home automation oriented project based on Arduinos.
It consists of main unit (Arduino Mega 2560) and remote unit (Arduino Pro Mini).
Remote unit is just battery/solar powered box with some sensors and radio module which sends sensor readings to main unit. Main unit consists of some sensors as well as some relays.

Features

Realtime environment monitoring

Monitor variety of environmental variables such as temperature, humidity, rainfall, ligh etc.
You can get actual sensor readings and relay states from main unit's LCD or web interface.

Sensor graphing

Graph sensor readings using ThingSpeak, and evaluate how is your environment changing over time.

Automatic relay control

Control main unit's relays directly from web interface, or schedule automatic rules based on sensor readings. You can also measure and graph power consumption of attached appliances.

  • Intuitive web interface

    Majority of features is accessible from web interface.

    You can observe actual sensor readings, view historical graphs, schedule relay behaviour and configure some parts of the system.

    Here is demo of the web interface.



ModulesPart list

  • Ethernet Shield W5100

    Run webserver and have convenient SD storage in one place.

    LB-LINK

    Who needs wifi shiled when there is plenty of these!

    LCD 20x4 I2C

    Get the most important info directly on main unit's display.

    4x Relay module

    Control up to 4 high power appliances.

    NRF24L01+ PA+LNA

    Establish long range radio link between the units in the 2.4GHz band.

    DS1307

    Always have precise local time synchronised with NTP server.

  • DHT22

    Read air temperature and humidity at once.

    BMP180

    Get atmospheric pressure and calculate approximate weather forecast for the next few hours.

    DS18b20

    Get precise temperature readings in waterproof casing.

    ACS712 + Voltage sensor

    Measure power consumption of attached appliances.

    HC-SR501

    Enable motion detection capabilty (PIR).

    Soil humidity sensor

    Never leave your plants strive for water.

  • Tipping bucket WH1080

    Measure rainfall over time.

    Photoresistor

    Observe time of sunrise and sunset.

Some photos of the actual thing





More photos is available on my G+
Reference

Full source code is available on GitHub Some customized libraries are needed to compile

Drop me a line