/WX-station-LoRa-WiFi

An APRS LoRa weather station with a TTGO module.

Primary LanguageC++

WX-station-LoRa-WiFi

⚠️ Latest software version 2024-04-08 (Added APRS LoRa fallback & NTP DST bug correction)

An APRS LoRa weather station with a TTGO T3 module.

Link Text

More details in the Wiki : https://github.com/tk5ep/WX-station-LoRa-WiFi/wiki

This is the description of a Weather station build with a TTGO T3 module that can :

  • measure pressure, temperature, humidity, wind speed, wind direction, wind gust speed & direction, rain fall.
  • transmit datas to APRS in LoRa or APRS-IS, to Wunderground & MQTT broker via WiFi.
  • display datas on the OLED screen.
  • display a Web page with data display.
  • upgrade via OTA.

The pressure, temperature & humidity are measured with a BME280 or SHT31 sensor multi-sensor on the i2C bus. The wind direction and speed are measured in ModBus mode via RS485, allowing long distance measurements. The rain fall is measured with a rain bucket gauge.

Hardware :

The used module is a TTGO T3 v1.6.1 bought on Aliexpress at the LilyGo shop, i can only recommend.

The wind speed and direction sensors are a ModBus RS485 version that can be found here on Aliexpress
There are different models for RS485 sensors. Be aware that the library used here has been written by me for the above sensors.
The main difference is that the ModBus address is set by writing into a register, not sending a ModBus command.

The temperature, humidity and pressure sensor is a very classical BME280 board found on Aliexpress.The SHT31 works also.

Sofware :

The software has been written for PlatformIO using the Arduino framework.
The libraries are common, except for the wind sensors which has been written by me.

All settings are done in editing the settings.h file.

More details on my Web page