Close

Weather Station firmware

A project log for Long Range Weather Station (65€)

A cheap but precise Weather Station (Lora transmission)

jp-gleyzesJP Gleyzes 07/17/2023 at 14:310 Comments

Firmware for the weather station is available on my Github project.

You will find there everything needed to compile and configure your weather Station.

Arduino installation

You will need to install Aduino IDE : https://www.arduino.cc/en/software

Then you should add a reference to your ESP32 board. Simply open preferences and add this link to the "Additionnal Boards Manager URLs" : https://espressif.github.io/arduino-esp32/package_esp32_index.json

 Then you should see your ESP32 board into the board Manager menu

For the Lolin32 lite be sure to select version 1.0.6

Libraires installation

You will need to install a few libraries before compiling your Weather Station... Most of them are installed via the Libraries Manager.

But the Farm Data Relay System one has been patched for my own needs. I strongly recommand that you take a while reading these detailled explainations why I made these modifications. Read the Rezodo project log devoted to this topic.

To facilitate your life I have packaged the modded library into a zip file available on my github project.

Simply install this library via the "add zip Library" menu.


Now you will need to install the following libraries via the "Manage libraries" menu

Radiolib for Lora communications

WifiManager to configure your Wifi Credentials

Telnet Stream for (optionnal) Telnet debugging

Time for NTP time synchro

DS1302 for RTC chip

SolarCalculator to know Sun hours for your location

All this being done you should be able to compile your Weather Station without error !

But still missing to configure it !

Discussions