Skip to content

Heltec CubeCell HTCC-AB01 Dev-Board for LoraWan TTN V3 with DS18B20. Arduino.

Notifications You must be signed in to change notification settings

schroepfer/CubeCell-LoraWan-DS18B20

Repository files navigation

Update: V1.3

CubeCell-LoraWan-DS18B20

Heltec CubeCell HTCC-AB01 Dev-Board for LoraWan TTN V3 with DS18B20

You must edit the OTAA parameter for TTN V3!

In the code you can change the transmit cycletime. Default is 15 minutes. "uint32_t appTxDutyCycle = 15 601000; // = 15 min."

The Input-Pin for the DS18B20 is GPIO5 on the CubeCell, Vext of the CubeCell ist VCC for the DS18B20. Add a resistor 4.7k between Out and Vcc of the DS18B20. (see schematic "CubeCell DS18B20.jpg")

Here is a 3D-case: https://www.thingiverse.com/thing:5020697

Here the Payload formatter for TTN: (it includes fields for output to ThinSpeak)

function decodeUplink(input) { var bytes = input.bytes; var BatVolt = (bytes[0]<<8 | bytes[1]); var tmp = (bytes[2]<<8 | bytes[3]); return { data: { Temperatur: ((tmp-5000)/100), Batterie: BatVolt/1000, field1: ((tmp-5000)/100), field2: BatVolt/1000, }, warnings: [], errors: [] }; }

About

Heltec CubeCell HTCC-AB01 Dev-Board for LoraWan TTN V3 with DS18B20. Arduino.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages