December 28, 2014

Arduino Weather Decoding

I have been working on making a nice OO interface with interrupt callbacks to the popular DecodeOOK (on-off-keying) class for Arduino. This is used to receive wireless data from various weather station sensors.

The changes make it easy to receive weather data in your project. You tell it what decoders you are using, and what sensors talk to those protocols, and then give it a callback to call when some weather data has been received.

The library handles all the interrupt stuff, and then determining which of your decoders and sensors can understand the data received. Your callback gets sent an object that can tell you what kind of data was received (temperature, humidity, wind direction etc) and what the values were.

Anyway, the library is called WeatherOrNot and code is on github at https://github.com/eb3nezer/WeatherOrNot

No comments: