LoraWan TTN deice part1: Heltec cube cell for AS2 frequency plan with OTAA

 Heltec has an arduino lib for their cube cell, which works, but the location of library is quite different from other lib. it will goes with board definition.

And their also put some lora definition in the menu of arduino, such as region, mode,Class...etc https://github.com/HelTecAutomation/ASR650x-Arduino/issues/81


I firstly install https://github.com/HelTecAutomation/ASR650x-Arduino  with board manager, version 1.1, sensor, Lora, lorawan work fine, I can use it in my AS2 frequency plan. 

on the day of writting this blog, heltec do note on the git that there is a AS2 frequency plan support. But it would be available form arduino board manager until their next release. But there is a  way to install it through git, which should work. https://github.com/HelTecAutomation/ASR650x-Arduino/issues/145

To install via git in windows, they do provide good step by step tutorial.(I first uninstall cubecell from board manager)

 https://github.com/HelTecAutomation/ASR650x-Arduino/blob/master/InstallGuide/windows.md

the trick is where you git clone the code..

it says it must be this path: \Documents\Arduino\hardware\CubeCell

the arduino here is where the arduino.exe is, which could be different if you install arduino in a specified place, for example mine is D:\Arduino

Then you go in to D:\Arduino\hardware and md CubeCell

then go into it and start the git clone command. follow the instruction in to D:\Arduino\hardware\Cebecell\ASR650x-Arduino\tools 

then execute the get.exe 

after installation, restart arduino, select cubecell board, then I got my AS2 frequency plan. I tested it and get data from TTN 



It works, but this kind of arrangement seems not easy to keep things updated.
the document of the board should be more clear on power circuit regarding solar connection, battery connection and Vext capability.

More documents are also welcome on the lib.











留言

這個網誌中的熱門文章

Heltec ESP32+OLED+Lora, hardware testing

micro SD card for ESP32, on lolin32 with OLED and heltec 32 lora oled

Install Network Time Protocol(NTP) on BeagleBone with Angstrom linux and set local time zone