weatherstation

Arduino FIO, DHT22, BMP085 and XBee based outdoor weather station.

GPL-3.0 License

Stars
10

Moteino Weather Station

This is a weather station based on Moteino WeatherShield R2 with a BME260 Bosch sensor. The whole project has an average power consumption of 26uA and thus can be powered by a small LiPo battery for months or years. Check my Low Power Weather Station with BME280 and Moteino post for further information about this project, including power consumption data and hardware modifications.

Hardware

Firmware

The code is very straight forward and there are comments where I thought it was important. It uses the following libraries:

It also relies on my RFM69Manager library to wrap RFM69_ATC. This library manages radio setup and also message sending protocol. Messages from this node have the following format: <key>:<value>:<packetID>. Packet ID is then used in the gateway to detect duplicates or missing packets from a node. If you don't want to send the packetID change the SEND_PACKET_ID value in RFM69Manager.h to 0.

Configuration

Rename or copy the settings.h.sample file to settings.h and change its values to fit your needs. Check the descriptions for each value.

Flashing

The project is ready to be build using PlatformIO. Please refer to their web page for instructions on how to install the builder. Once installed connect the Moteino to your favourite FTDI-like programmer and:

> platformio run --target upload