Fork me on GitHub

Arduino WeatherShield

Submitted by Mauro Cicolella on 2012, January 24 - 17:24
5
Average: 5 (1 vote)
Arduino Weather Shield
Driver
Development Status: 
Prototype
Developer: 
Mauro Cicolella
Tested on: 
Linux
Windows
Download Link: 
Short Description: 

With this plugin Freedomotic can communicate with Arduino WeatherShield by Ethermania.com.

Supported Hardware: 
Arduino 2009
Supported Hardware: 
Arduino Uno
Supported Hardware: 
WeatherShield

Overview

The WeatherShield, created by Ethermania.com, is a unit that lets Arduino able to read Pressure, Temperature and Relative Humidity. The shield is equipped with three sensors and a PIC12F683 microcontroller programmed with a specific firmware that interfaces with Arduino through a two line bidirectional synchronous serial connection. The microcontroller is responsible for sampling and averaging the last 8 humidity, pressure and temperature values, providing it to the Arduino in an ASCII readable format expressed in Celsius, hPa and relative % units. More details can be found here.

Board protocol

The proposed solution uses an ethernet shield to connect Arduino board to your lan. On Arduino you have to upload this sketch  for interacting with the WeatherShield to retrieve sensors values and shows them as a string with ":" char as delimiter. The default address is 192.168.0.150 on port 80. If you desire to change it you must edit the sketch, recompile and upload to Arduino board. To verify if it works open your browser and digit the board address "http://192.168.0.150". You would see a string reporting the sensors values.

How to read values from an object

With this board you can read the temperature behavior of any thermostat device in your environment.

For this example we use a thermostat  object:

  1. Right click on the thermostat object in the environment to show its configuration panel
  2. Change the property "protocol" to "ArduinoWeatherShield"
  3. Change the property "address" to a string composed of HTTP_BOARD_ADDRESS:HTTP_PORT  where HTTP_ADDRESS is the http URL on which the Arduino board is listen to. An example address can be "192.168.0.150:80:1" this identifies the board listening on port 80 of the http URL 192.168.0.150
  4. Under "temperature" (in Triggers Configuration) select the trigger called "Arduino WeatherShield reads temperature change"

 The plugin is also able to read any humidity and pressure change.

Screenshots

You can find some screenshots at this link

Source code

Hosted here

Open Source Internet of Things Framework Drupal theme by Kiwi Themes.