Wireless communication is very a interesting yet challenging topic. You can buy inexpensive pair of transmitter/receiver working on 433 MHz, but the working range of this adapters is very short, less than one meter. It seems they are useless, but using 433 MHz superheterodyne RXB6 receiver you can significantly increase the working range of the inexpensive wireless equipment up to 30 meters. With this adapter you can receive the signal from remote Oregon weather sensor. This project is dealing with the signal receiving from such a sensor using the library that supports the Oregon protocol v2.1.
To receive the signal, interrupt is implemented. The callback routine is built into the library to simplify the user interface. This callback just saves the time in microseconds between two interruptions into the internal variable. The main library call, that receives the data, should be invoked in the main loop very often to check the received signal. In case the complete packet was received, the function returns the useful data to the program sketch: channel number, sensor id, temperature (degree of Celsius times 10), relative humidity and battery status. Here you can find a documentation of Oregon weather station protocol V2.1 in deep details. And Domonique Pierre has published own implementation library of this protocol. In this project renewed version of the library is used. Please, download the library from this repository. The good news is this library correctly decodes an oregon thermo-humidity sensor data.
Furthermore, you can build your own sensor based on arduino that send the data using this protocol. The library is proven to work in energy efficient variant of arduino controller running at 1 MHz.
Build and enjoy!
Comments
Please log in or sign up to comment.