WeatherPiArdinuo w/Grove - Interface board for Weather Instruments for Raspberry Pi / Arudino
WeatherPiArdinuo w/Grove - Interface board for Weather Instruments for Raspberry Pi / Arudino
WeatherPiArdinuo w/Grove - Interface board for Weather Instruments for Raspberry Pi / Arudino
WeatherPiArdinuo w/Grove - Interface board for Weather Instruments for Raspberry Pi / Arudino
WeatherPiArdinuo w/Grove - Interface board for Weather Instruments for Raspberry Pi / Arudino
WeatherPiArdinuo w/Grove - Interface board for Weather Instruments for Raspberry Pi / Arudino
WeatherPiArdinuo w/Grove - Interface board for Weather Instruments for Raspberry Pi / Arudino
WeatherPiArdinuo w/Grove - Interface board for Weather Instruments for Raspberry Pi / Arudino

WeatherPiArdinuo w/Grove - Interface board for Weather Instruments for Raspberry Pi / Arudino

Regular price
Sold out
Sale price
$25.99
Unit price
per 

WeatherPiArduino Weather Board - Version 2

 

Note: This board has been replaced by the Weather Board. The Weather Board is backwardly compatible with the Version 2 WeatherPiArduino Board.

Find the new Weather Board here: https://store.switchdoc.com/the-weather-board-w-grove-interface-board-for-weather-instruments-for-raspberry-pi-arudino/

 

The WeatherPiArduino Weather board is now available and in stock! WeatherRack Weather Sensors now available. Outdoor Temperature and Humidity Sensors now available.

IMG_9861

WeatherPiArduino is a weather station controller board designed to interface to Arduino and Raspberry Pi computers. It is an interface board developed by SwitchDoc Labs to allow the user to easily build a fully functioned Weather Station while allowing customization of functions. WeatherPiArduino is derived from Project Curacao. Generation 1 of this board was deployed and tested in Curacao before Generation 2 was released to production. The full WeatherPiArduino article was published in Raspberry Pi Geek magazine in September, 2014 and a follow up article has been published in April, 2015 (including the new lightning detector). The WeatherPiArduino comes with a SwitchDoc Labs DS3231/EEPROM board.

WeatherPiArduino with Included DS3231/EEPROM

Combine the WeatherPiArduino with a SunAir or SunAirPlus board to create a solar powered weather station.

Raspberry Pi Instructable for Version 1 (but very helpful for Version 2 also)

http://www.instructables.com/id/Create-Your-Own-Solar-Powered-Raspberry-Pi-Weather/

Specification


Software for WeatherPiArduino Board (V2 - With Grove Connectors)

Software for WeatherPiArduino Board (V1 without Grove Connectors)

 

  • Arduino Software is here.
  • Arduino Software for the WeatherRack and WeatherPiArduino is here.
  • Raspberry Pi Software is here.
  • WeatherRack Software is here.

 

Interfaces on WeatherPiArduino Board

  • I2C for Raspberry Pi
  • I2C for Arduino
  • RJ11 Plugs installed for SwitchDoc Labs WeatherRack, etc.
  • Wind Vane, Rain Bucket, Anemometer computer connections for Raspberry Pi and Arduino

I2C devices Included with the WeatherPiArduino Board

Plug in I2C Interfaces provided

  • Embedded Adventures I2C Lightning Detector MOD-1016 board
  • Adafruit HTU21D-F Temperature/Humidity breakout board
  • Adafruit 32KB FRAM I2C breakout board
  • Adafruit ADS1015 4 Channel A/D I2C board

I2C Device Specifications

BMP180 (Barometer / Temperature)

DS3231 (Real Time Clock)

AT24C32 (EEPROM)

ADS1015 (12 bit ADC)

AS3935 (MOD-1016 - Lightning Detector)

HTU21D-F (Humidity)

FRAM (32KB Fast Non-Volatile Storage)

What are Grove Connectors?

Grove connectors are standardized plugs for connecting devices together easily and without soldering. See our Full Grove Tutorial here.

 

 

Grove Connectors

IMG_9861 copy

]WeatherPiArduino Fully Populated

WeatherPiArduino Fully Populated

Block Diagram

SDL Grove

It was specifically designed to interface with the SwitchDoc WeatherRack, ArgentData Weather Sensors, SparkFun Weather Meters SEN-08942 along with auxiliary I2C units.

More Software

The SDL_Weather_80422 class library for Arduino is located on github at https://github.com/switchdoclabs/SDL_Weather_80422 Want to build a control panel for the WeatherPiArduino? Look at this post and the picture below., the

WeatherPiArduino RasPiConnectWeatherPiArduino RasPiConnect Control Panel.

 

The SDL_Weather_80422 class library is designed to provide all the functions of the SwitchDoc WeatherRack, ArgentData Weather Sensors, SparkFun Weather Meters SEN-08942 in one C++ class. The library is easy to use and hides the complexity of the interface to the sensors. The C++ class has two Interrupt Service Routines (ISR), one each for the anemometer and the rain bucket. The wind vane is connected to an Analog to Digital Converter (ADC) input pin on the Arduino. Note that the C++ class is designed to be a singleton, in other words, you only can interface one sensor package without some additional work (mostly involving Interrupts). The article in Raspberry Pi Geek magazine discusses this in detail. There are two main modes for the class.

SDL_MODE_SAMPLE

SDL_MODE_SAMPLE mode means return immediately after asking for the wind speed. The wind speed is averaged at sampleTime or since you last asked, whichever is longer. If the sample time has not passed since the last call, the class returns the last calculated wind speed. That means that you will never see changes faster than the specified sample time. This allows you to not wait for the wind speed, you can just grab the last valid reading.

SDL_MODE_DELAY

SDL_MODE_DELAY mode means to wait for the set sample time to expire and return the average wind speed at the expiration. You would use this if you want to make sure you have the latest value and your program architecture allows you to pause for the sample time before continuing. Which mode you use depends on the specific software architecture of your Arduino application. Typically, I use SDL_MODE_SAMPLE because I can tolerate not having a current value of wind speed. The example code for the SDL_Weather_80422 library is shown below:

/*
SDL_Weather_80422_Library.ino - Example for using SDL_Weather_80422 Library
For SwitchDoc Labs WeatherRack 
Weather Sensor Assembly 80422 Argent Data Systems
SparkFun
Created by SwitchDoc Labs July 27, 2014.
Released into the public domain.
*/
#include 
#include

#include "SDL_Weather_80422.h"

#define pinLED 13 // LED connected to digital pin 13
#define pinAnem 18 // Anenometer connected to pin 18 - Int 5
#define pinRain 2 
#define intAnem 5
#define intRain 0

// for mega, have to use Port B - only Port B works.
/*
Arduino Pins PORT
------------ ----
Digital 0-7 D
Digital 8-13 B
Analog 0-5 C
*/


// initialize SDL_Weather_80422 library
SDL_Weather_80422 weatherStation(pinAnem, pinRain, intAnem, intRain, A0, SDL_MODE_INTERNAL_AD);


uint8_t i;


float currentWindSpeed;
float currentWindGust;
float totalRain;
void setup()
{ 
Serial.begin(57600); 

Serial.println("-----------");
Serial.println("WeatherPiArduino SDL_Weather_80422 Class Test");
Serial.println("Version 1.0");
Serial.println("-----------");


weatherStation.setWindMode(SDL_MODE_SAMPLE, 5.0);
//weatherStation.setWindMode(SDL_MODE_DELAY, 5.0);
totalRain = 0.0;
}


void loop()
{
Serial.println("----------------");

currentWindSpeed = weatherStation.current_wind_speed()/1.6;
currentWindGust = weatherStation.get_wind_gust()/1.6;
totalRain = totalRain + weatherStation.get_current_rain_total()/25.4;
Serial.print("rain_total=");
Serial.print(totalRain);
Serial.print(""" wind_speed=");
Serial.print(currentWindSpeed);
Serial.print("MPH wind_gust=");
Serial.print(currentWindGust);
Serial.print("MPH wind_direction=");
Serial.println(weatherStation.current_wind_direction());


delay(1000);


}

When you run this, you should get a result similar to this:

-----------

WeatherArduino SDL_Weather_80422 Class Test
Version 1.0

-----------
----------------
rain_total=0.00 wind_speed=13.20MPH wind_gust=12.40MPH wind_direction=90.00
----------------
rain_total=0.00 wind_speed=9.60MPH wind_gust=9.48MPH wind_direction=90.00
----------------
rain_total=0.00 wind_speed=10.20MPH wind_gust=9.23MPH wind_direction=90.00
----------------
rain_total=0.00 wind_speed=11.10MPH wind_gust=9.84MPH wind_direction=90.00