restructure, create overview

This commit is contained in:
2023-11-25 12:26:42 -05:00
parent f06eaf142c
commit 1c1e22d885
12 changed files with 120 additions and 21 deletions

23
doc/2-device/0-device.md Normal file
View File

@@ -0,0 +1,23 @@
# LoRA Device Setup
Get a CubeCell. Plug it in.
Add yourself to the `dialout` group: `sudo usermod -aG dialout jon`. Log out and back in.
Install the Arduino IDE v2 from Flathub: `flatpak install flathub cc.arduino.IDE2`.
Add the Heltec Cubecell URL to the board manager: <https://docs.heltec.org/en/node/asr650x/htcc_am02/quick_start.html#use-arduino-board-manager>
Install the CubeCell Development Framework in the board manager.
Under Tools, make sure the region is set to US915.
Pick an example sketch (CayenneLPP is fine) and enter the devEui and appKey. Both can be copied as hex array from the web UI. Upload to device.
Frequency band settings:
```c
uint16_t userChannelsMask[6]={ 0x00FF,0x0000,0x0000,0x0000,0x0000,0x0000 }; // US915_0
uint16_t userChannelsMask[6]={ 0xFF00,0x0000,0x0000,0x0000,0x0000,0x0000 }; // US915_1
uint16_t userChannelsMask[6]={ 0x0000,0x00FF,0x0000,0x0000,0x0000,0x0000 }; // US915_2, etc.
```