My favorites | Sign in
Project Home Wiki Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
ClientWeather  
Partlist, schemantics and configuration of the weather-client.
Updated Feb 24, 2015 by karuna.s...@gmail.com

Introduction

Here is a list of used parts for the weather-client along with a short description and the wiring diagramm.

Details

Partlist

We bought the parts mostly from http://www.watterott.com/, but you will find them also at the dealer of your confidence ;) !

Raspberry Pi B+ (for the clients), Pi2 (for he server):

B+: http://www.watterott.com/index.php?page=product&info=3830 Pi2: http://www.watterott.com/index.php?page=product&info=4157

The Raspberry Pi is a small ARM-based computer that plugs into your keyboard and TV or monitor. It can be used for many things that your desktop PC does, e.g. spreadsheets, word-processing and games.

MCP3008:

http://www.watterott.com/en/MCP3008-ADC-with-SPI-Interface

This chip will add 8 channels of 10-bit analog input to your microcontroller or microcomputer project. It's super easy to use, and uses SPI so only 4 pins are required. We chose this chip as a great accompaniment to the Raspberry Pi computer, because its fun to have analog inputs but the Pi does not have an ADC.

DHT22

http://www.watterott.com/index.php?page=product&info=3136

The DHT22 is a basic, low-cost digital temperature and humidity sensor. It uses a capacitive humidity sensor and a thermistor to measure the surrounding air, and spits out a digital signal on the data pin (no analog input pins needed).

TSL45315

http://www.watterott.com/index.php?page=product&info=2860

Breakout with TSL45315 digital ambient light sensor from AMS-TAOS. The sensor has a direct Lux output via I2C.

BMP180

http://www.watterott.com/index.php?page=product&info=3620

This is a breakout board for the Bosch BMP180 high-precision, low-power digital barometer. The BMP180 offers a pressure measuring range of 300 to 1100 hPa with an accuracy down to 0.02 hPa in advanced resolution mode.

It connects to a microcontroller via I²C bus.

Weather Meters:

http://www.watterott.com/index.php?page=product&info=1548

This kit represents the three core components of weather measurement: wind speed, wind direction and rainfall. None of the sensors in this kit contain active electronics, instead they use sealed magnetic reed switches and magnets so you’ll need to source a voltage to take any measurements. The positive side of this is that the sensors are easy to interpret:

The rain gauge is a self-emptying bucket-type rain gauge which activates a momentary button closure for each 0.011" of rain that are collected. The anemometer (wind speed meter) encodes the wind speed by simply closing a switch which each rotation. A wind speed of 1.492 MPH produces a switch closure once per second. Finally, the wind vane reports wind direction as a voltage which is produced by the combination of resistors inside the sensor. The vane’s magnet may close two switches at once, allowing up to 16 different positions to be indicated. For more information on how this works, as well as a table of voltage and resistance values for each position, refer to the manual at:

https://www.sparkfun.com/datasheets/Sensors/Weather/Weather%20Sensor%20Assembly..pdf

Wiring diagram

Configuration files

HPCClient.ini example

[connection]
clientname=Weatherunit
hpcserver=192.168.0.201
hpcport=51000

[logger]
screen=disabled
file=info
database=fatal

HPCServer.ini example

Add following lines to the server configuration:

[timer]
Weatherunit.Anemometer=30
Weatherunit.RainGauge=120
Powered by Google Project Hosting