發表文章

目前顯示的是 9月, 2020的文章

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

Heltec cube cell PSoc+Lora

圖片
  The board is on  ASR605x (ASR6501, ASR6502(has more pins, including a second SPI )), which included a PSoc 4000(M0) and SX1262(new lora chip). also integrated a solar panel(5.5-7V) control system and lipo battery management. Clam to have 3.5uA in deep sleep with 3.3V direct connect to the board. 11uA with battery. I have been using heltec for quite a while, this time they seems to have a better documentation. https://heltec.org/project/htcc-ab01/ The Git seems better documented. https://github.com/HelTecAutomation/ASR650x-Arduino I hook up a BME280 and test with 3rd parties example... it does not work.... I did a IIC scan, the address is 0x76 it failed when reading BME280_REG_CHIPID  if chipID does not match 0x60, then it will fail. I try to read out the chipID of my board, it shows as 88, which is 0x58 and it's a BMP280...correct ID should as follow:  BMP280 Chip ID is 0x58 and BME280 Chip ID is 0x60. So this one is a BMP280 If I remove the checking of chip I...