chrisys / mini-lora-weatherstation

A mini battery powered LoRa weather station to measure temperature, humidity and barometric pressure.
MIT License
34 stars 17 forks source link

Mini LoRa weatherstation

This is a basic battery powered LoRa weather station based around a Bosch BME280 and Heltec CubeCell HTCC-AB01 development board. Data is sent via The Things Network (TTN) to your choice of dashboard!

Thanks to the built in battery management and solar charging functionality of this board, as well as ultra low power consumption, we're finally able to put LoRa-connected sensors almost anywhere we want! I started out with this board building a simple weather station based on a BME280 sensor to record temperature, humidity and barometric pressure and test how long a battery will last using this board.

For a more deep dive into the build, check out my blog posts:

Hardware required

Other requirements

TTN configuration

To decode the data on the TTN side, a custom payload format decoder function is required. This is included in payload-decode.txt. Simply paste the contents of this file into the Decoder input area under Payload Formats within the TTN console.

For the case

I used a Creality Ender 3 loaded with white PETG filament to print this case. Word has it that PETG is a good material to use for outdoor items that are going to be exposed to weather and UV. Time will tell.

The holes in the top of the posts and in the upright stand for the CubeCell board on the base are tapping size for M4 and M2 respectively. This means that after it is printed you can run a standard tap into the hole and get some decent quality threads.

Assembly

Once you've printed the parts they should fit together - tolerances should be large enough to cater for minor variations in prints but you may need to clean up the edges of the holes in the layers if your first layer is a bit squashed.

parts

assembly

If you're adding a solar panel that layer can be placed between the top layer and the bracket.

finished