kopia lustrzana https://github.com/helium/longfi-arduino
1.9 KiB
1.9 KiB
Heltec CubeCell Board
This example demonstrates sending a simple data packet using a Heltec CubeCell Board . Please follow every instruction step below from top to bottom.
Quickstart Guide
Heltec CubeCell Board Product Page
Heltec CubeCell Board Docs
Install Serial Driver
Find Directions here.
Install CubeCell Board Support
Find Directions here
Select Board
Arduino IDE:
- Select Tools -> Board: -> CubeCell-Board
Select Region
Arduino IDE:
- Select Tools -> LoRaWAN Region: -> REGION_US915
Upload LoRaWAN
example
Arduino IDE:
- Select File -> Open -> longfi-arduino/Heltec-CubeCell-Boardc/longfi-us915.ino
- Select Tools -> Port: "COM# or ttyACM#"
- Enter DevEUI(msb), AppEUI(msb), and AppKey(msb) from Helium Console, at lines 14, 15, 16.
uint8_t DevEui[] = { FILL_ME_IN };
uint8_t AppEui[] = { FILL_ME_IN };
uint8_t AppKey[] = { FILL_ME_IN };
- Select Sketch -> Upload.
- Wait for Done uploading message
- Select Tools -> Serial Monitor Serial Monitor Window
- Select 115200 baud from bottom right dropdown.
- Wait for device to successfully join, may take 1-3 min, and show several failures. Do not be alarmed by the failures, it is expected.
Sample Decoder
- In the console-decoders directory you will find a simple sample decoder that goes along with this sample code. It is intended to be used as a Helium Console "Function". This will allow one to view the decoded payload within the Helium Console device debug view.