HelTecAutomation / platform-heltec-cubecell

Heltec Cubecell: development platform for PlatformIO

Home Page:https://registry.platformio.org/platforms/heltecautomation/heltec-cubecell

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Heltec CubeCell: development platform for PlatformIO

Build Status

Heltec CubeCell is an easy-to-use LoRa Node series brand based on a highly integrated and ultra low power SoC and the LoRa SX1262 transceiver.

  • Home (home page in the PlatformIO Registry)
  • Documentation (advanced usage, packages, boards, frameworks, etc.)

Usage

  1. Install PlatformIO
  2. Create PlatformIO project and configure a platform option in platformio.ini file:

Stable version

[env:stable]
platform = heltec-cubecell
board = ...
...

Development version

[env:development]
platform = https://github.com/HelTecAutomation/heltec-cubecell.git
board = ...
...

Configuration

LoRaWAN

LoRaWAN protocol can be configured in https://docs.platformio.org/en/latest/projectconf/index.html using the following syntax board_build.arduino.lorawan.* where * is an option from the following list:

Option Description Possible values Default
region Region definition AS923_AS1, AS923_AS2, AU915, CN470, CN779, EU433, EU868, KR920, IN865, US915, US915_HYBRID US915
class Device class CLASS_A, CLASS_C CLASS_A
netmode Activation method OTAA, ABP OTAA
adr Adaptive Data Rate ON, OFF ON
uplinkmode Uplink confirmed/unconfirmed messages CONFIRMED, UNCONFIRMED CONFIRMED
net_reserve Don't rejoin after reset ON, OFF OFF
at_support AT commands support ON, OFF ON
rgb RGB light for LoRaWAN status ACTIVE, DEACTIVE ACTIVE
preamble_length Preamble length 8, 16 (For M00 and M00L) 8
debug_level Print LoRaWAN relevant messages print to serial port NONE, FREQ (Sending/receiving frequency), FREQ_AND_DIO (Sending/receiving frequency and DIO pin interrupt information) NONE

Example

[env:cubecell_board]
platform = heltec-cubecell
framework = arduino
board = cubecell_board
board_build.arduino.lorawan.region = EU433
board_build.arduino.lorawan.adr = OFF
board_build.arduino.lorawan.debug_level = FREQ_AND_DIO

More information about LoRaWAN configuration can be found in the official CubeCell documentation.

About

Heltec Cubecell: development platform for PlatformIO

https://registry.platformio.org/platforms/heltecautomation/heltec-cubecell

License:Apache License 2.0


Languages

Language:Python 100.0%