Skip to content

LoRaWAN TTN end node based on famous and cheap SeeedStudio's LoRa-E5 STM32WLE5JC Module

License

Notifications You must be signed in to change notification settings

WeSpeakEnglish/LoRa-E5_weather_and_pollution

Repository files navigation

This PolluTAG based on LoRa E5 mini modules from seed.

It is custom FW, so you need to erase the STM32 chip first Erase Factory AT Firmware, you may need to retrieve and save the Device EUI before erasing of the Factory AT Firmware before we program with SDK

Sensors for this custom build

  1. SHT40 for humidity and temperature over I2C2
  2. ZE27-O3 Ozone sensor over USART2
  3. SN-GCJA5 PM sensor over I2C2

Whole PRJ is ready to compile in CubeIDE

LoRa-E5_weather_and_pollution.ioc is configuration file for CubeMX decoder.js - is decoder for payload for datacake - just copy this JS code into decoder section

It is sending the payload over LoRaWAN appx. every 2.5 mins

Usually it takes up to 10 min. to react on downlink command (depend of communication stability)

Downlink port #2

Encoder for downlink (measurements.LED_ON is interface fild on datacake):

function Encoder(measurements, port) {
    if(measurements.LED_ON.value) return [1];
    else return [0];
}

About

LoRaWAN TTN end node based on famous and cheap SeeedStudio's LoRa-E5 STM32WLE5JC Module

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages