Skip to content
BME280 and Adruino ProMini based enviromental node with LMIC ABP.
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
BME280.cpp Add files via upload Aug 28, 2017
BME280.h Add files via upload Aug 28, 2017
BME280I2C.cpp Add files via upload Aug 28, 2017
BME280I2C.h Add files via upload Aug 28, 2017
LoRaWAN_TTN_Env_Node.ino Added BrownOut reset detection Jan 4, 2018
README.md Update README.md Aug 28, 2017
adcvcc.cpp Add files via upload Aug 28, 2017
adcvcc.h

README.md

LoRaWAN_TTN_Env_Node

Description :

Revision :

  • 2017-jul-17 1.0 first "beta"

Hardware used :

  • Arduino Pro-Mini 3.3V
  • RFM95W
  • BME280 sensor.

Software and libraries used :

For licenses of the used libraries, check the links above.

Aditional note :

I use a HTTP integration on the TTN with the decoder / payload function below. :

function Decoder(bytes, port) 
{
  var retValue =   { 
    bytes: bytes
  };
  
  retValue.batt = bytes[0] / 10.0;
  if (retValue.batt === 0)
     delete retValue.batt; 
 
  if (bytes.length >= 2)
  {
    retValue.humidity = bytes[1];
    if (retValue.humidity === 0)
      delete retValue.humidity; 
  } 
  if (bytes.length >= 3)
  {
    retValue.temperature = (((bytes[2] << 8) | bytes[3]) / 10.0) - 40.0;
  } 
  if (bytes.length >= 5)
  { 
    retValue.pressure = ((bytes[4] << 8) | bytes[5]); 
    if (retValue.pressure === 0)
      delete retValue.pressure; 
  }
   
  return retValue; 
} 
You can’t perform that action at this time.