發表文章

目前顯示的是有「asia freqnency plan」標籤的文章

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/HelTec...

LoraWan gateway part1 with RAK831 and RPi 3 for AS1/AS2

圖片
 I have purchased rak831 from the company few years ago, it was a whole set including Pi3 and a premade SD card. But it did not work at all. Not enough documentation nor reply from the company, I just put it aside and work on 1ch gateway... As documentations of TTN is getting better, in terms of HW and frequency plan support, I decided to give it a try...again... I followed these 2 links, which are very similar.. https://www.hackster.io/naresh-krish/getting-started-with-the-rak831-lora-gateway-and-rpi3-e3351d https://learn.pi-supply.com/make/getting-started-with-the-rak831-lora-gateway-and-raspberry-pi/ 1st. make a fresh sd card connect to wifi, and do the update and up grade of apt-get, install git.. 2nd enable the SPI and the serial shell... 3rd install the forwarder from ttn git clone https://github.com/ttn-zh/ic880a-gateway.git cd ~/ic880a-gateway sudo ./install.sh During the installation, your will see a 8bytes stuff, it's your gateway EUI which you need to use it when regis...

LoraWan gateway part 2:1CH gateway V6 with helteclora32 platformIO

圖片
https://github.com/things4u/ESP-1ch-Gateway  is a very updated library, this is one of those TTN 1ch forwarders, the most updated as today(2020/09/22). The writer is making the V6 on PlatformIO.  One good thing is that in platformIO the project files will include all the libraries in the project. So that you don't need to take care of the dependency of libs. I used to use arduino, when making larger projects, you will use a lot of libs,  it's not a big problem when you start the project and make it work. But as time gose by, libs would be updated or renewed and get yourself into  troubles of compatibility between libraries. and it's not done yet, some times when arduino board profiles make large change, some libs can fail...especially on newer boards, such esp32/8266... With PlatformIO, we get ride of the compatibility problem, since you include the need libs with correct version into the project, I'm not sure if the board definitions of platfromIO have impact on lib...