Connecting a weather station to your Arduino

Conclusion

In this article, I have shown how to implement an inexpensive system for measuring wind speed, rainfall, and wind direction using the SparkFun weather station meter system and the Arduino board. For me, it was a great experience learning how to build a PC board, having it fabricated, and then building the software around the board. What a great prototyping experience! I have joined the 21st Century.

Starting in late October 2014, you will be able to see the graphs and data from WeatherArduino installed in Project Curaçao in the Caribbean [23]. Thank you MiloCreek for hosting that site.

Aside from me, you will NOT be able to use the control panel because the Project Curaçao web server is based on a Raspberry Pi Model A, and any significant traffic will kill the poor little guy. I've got some ideas on how to replicate the data to a cloud server on Amazon, so this might change in the future!

The use of the WeatherArduino board to measure vibration, use the real-time clock, and add some additional nonvolatile storage to the Arduino will be covered in an upcoming SwitchDoc Labs column here in Raspberry Pi Geek magazine.

Infos

  1. SparkFun weather station meters: https://www.sparkfun.com/products/8942
  2. "Pi on Wind" by John C. Shovic, Raspberry Pi Geek, issue 05, pg. 60, http://www.raspberry-pi-geek.com/Archive/2014/05/Mixing-wind-turbines-with-the-tropics
  3. DS3231 libraries: http://playground.arduino.cc
  4. "SwitchDoc Labs: Real-Time Clock" by John Shovic, Raspberry Pi Geek, Issue 07, pg. 86
  5. Arduino libraries for 32KB FRAM: https://github.com/adafruit/Adafruit_FRAM_I2C
  6. Python library for Rasp Pi: http://www.switchdoc.com/?p=599
  7. Arduino libraries for ADS1115: https://github.com/adafruit/Adafruit_ADS1X15
  8. Eagle PCB software: http://www.cadsoftusa.com/download-eagle/
  9. DFRobot: http://dfrobot.com
  10. TinySine: http://tinysine.com
  11. WeatherArduino assembly manual: http://www.switchdoc.com/?p=633
  12. On Amazon.com, search for "WeatherArduino PCB"
  13. SDL_Weather_80422 class: http://github/switchdoclabs/SDL_Weather_80422
  14. Utopia Mechanicus: http://www.utopiamechanicus.com/article/handling-arduino-microsecond-overflow/
  15. ArduinoConnect: http://www.milocreek.com
  16. "iBeacons" by John Shovic, Raspberry Pi Geek, Issue 06, pg. 76, http://www.raspberry-pi-geek.com/Archive/2014/06/BeaconAir-Track-your-Pi
  17. SwitchDoc Labs: http://www.switchdoc.com
  18. Simple Graph LIVE input and response: http://www.milocreek.com/wiki/index.php/ControlsInputAndResponse#Simple_Graph_LIVE
  19. SDL_RasPiGraphLibrary: http://github.com/switchdoclabs/SDL_RasPiGraphLibrary
  20. ArduinoConnect code: http://github.com/WeatherArduino
  21. Project Curaçao: http://www.switchdoc.com/project-curacao-introduction-part-1/
  22. Project upgrade: http://www.switchdoc.com/2014/04/planned-upgrades-for-project-curacao/
  23. WeatherArduino data: http://www.milocreek.com/projectcuracaographs

Buy this article as PDF

Express-Checkout as PDF
Price $2.95
(incl. VAT)

Buy Raspberry Pi Geek

SINGLE ISSUES
 
SUBSCRIPTIONS
 
TABLET & SMARTPHONE APPS
Get it on Google Play

US / Canada

Get it on Google Play

UK / Australia

Related content