WeatherStationMan

Wireless outdoor weather station that logs and graphs data.

The WeatherStationMan is a wireless outdoor Arduino weather station that logs and graphs humidity, temperature, and pressure. This project requires no external power for outdoor sensors (it's solar powered), wirelessly communicates between sensors and computer (either Mac or PC), logs the data, and is relatively inexpensive and easy to build.

Building Materials:

Software:

Other Tools:

Disclaimer: I built this project as something to do in my spare time and not as a product. I did not include any other languages support besides English. I used only Celsius temperatures (it can modified to record Fahrenheit temperature if need be), and once again this a recreational project and NOT a product.

Overview to build the WeatherStationMan

  1. Connect all the sensors to the Stalker/Arduino board
  2. Configure the XBee modules
  3. Load Arduino code onto the Stalker
  4. Run graphing program on the computer
  5. Last-minute modifications
Connecting the Sensors:
  1. Connect the DHT22 sensor to breadboard, which is connected via Jumper wires to the Stalker Board
    • DHT22 is connected to digital pin 2 of Stalker board
    • DHT22 Pin 1 to 3.3 Volt of Stalker board
    • DHT22 Pin 4 to GND of Stalker board
    • DHT22 Pin 2 to digital pin 2 of Stalker board
    • 10K resistor between pin 1 (Vcc) to pin 2 (data) of the sensor
    • DHT22 Pin 3 is left not connected.
  2. Connect the BMP085 sensor to the breadboard, which is connected via Jumper wires to the Stalker Board
    • BMP085 is connected to the I2C interface (analog pins 4 and 5 of the Stalker Board).
    • Vcc from sensor breakout board to 3.3V of Stalker board
    • GND from sensor breakout board to GND of Stalker board
    • SDA from sensor breakout board to Stalker board analog pin 4
    • SCL from sensor breakout board to Stalker board analog pin 5
Configuring the XBee modules:
  1. Install the X-CTU utility (or CoolTerm if you're using Mac) and Drivers
  2. Connect XBee with USB to computer and run CoolTerm
  3. Configure one unit to be coordinator and another to be endpoint
  4. Place the XBee module configured as endpoint into the Stalker socket
  5. Place the XBee module configured as coordinator into the XBeeExplorer and connect it to the computer
  6. Optional: Do firmware upgrade to the XBee Modules More information for Mac More information for PC
Loading Arduino code onto the Stalker board:
  1. Copy the Boards code into the Boards notepad/textEdit document, which is located inside the arduino folder (inside hardware folder) in the Arduino program (arduino folder is located in users/ "your username" /Arduino/Contents/Resources/Java/hardware/arduino/)
  2. Connect FTDI board on the Stalker (for debugging purposes)
  3. Connect the USB Cable from the FTDI board to the computer
  4. Add the Libraries DHT22 and BMP085 into the user libraries of your Arduino (libraries folder is located in users/ "your username" /Arduino/Contents/Resources/Java/libraries)
  5. Place the code for the Stalker into your development area
  6. Compile and load the program onto the Stalker
  7. Remove USB cable and connect XBee module
Running graphing program on the computer:
  1. (For Mac) Copy certain libraries from the Arduino program into Processing (Copy RXTXcomm.jar and librxtxSerial.jnilib from Arduino (found in users/ "your username" /Arduino/Contents/Resources/Java) into Processing (where to place the RXTXcomm.jar copy: users/ "your username" /Processing/Contents/Resources/Java/modes/java/libraries/serial/library/) (where to place the librxtxSerial.jnilib copy: users/ "your username" /Processing/Contents/Resources/Java/modes/java/libraries/serial/library/macosx)
  2. Place the code for the graph into the development area
  3. Connect battery and solar charger to the Stalker
  4. Plug the other XBee module into the computer with the USB cable
  5. Run the program and graph
Last-minute modifications:
  1. Remove the bread board and solder the jumpers wire through a proto board
  2. Put an enclosure around weather station

Last, but not least, enjoy the weather!

Notes: