This arduino library supports radio communication with Semtech compatible radios using the Helium LongFi Protocol.
Arduino IDE:
- Sketch -> Include Libraries -> Manage Libraries
- Search for
LongFi
- Install Latest version
-
Clone this repo in the following directory:
linux: /home/{user}/Arduino/libraries
windows: Documents/Arduino/libraries
mac os: Documents/Arduino/libraries -
Restart Arduino IDE
Arduino IDE:
File -> Examples -> LongFi -> TransmitPacket
File -> Examples -> LongFi -> ButtonTransmit (Only supported on B-L072Z-LRWAN1 and Heltec ESP32 boards)
Install board support package, find instructions here.
Arduino IDE:
- Select Tools -> Board: -> Discovery
- Select Tools -> Board part number: -> Discovery L072Z-LRWAN1
B-L072Z-LRWAN1 Product Page
B-L072Z-LRWAN1 User Manual
Install board support package, find instructions here.
Arduino IDE:
Select Tools -> Board: -> MCCI Catena 4610.
Catena 4610 Product Page
Catena 4610 Pin Mapping Diagram
- Add Adafruit package index, instructions here.
- Install both Arduino and Adafruit SAMD board support, instructions here.
- (Windows Only) Install drivers, instructions here
Adafruit Feather M0 with RFM95 Product Page
Adafruit Feather M0 with RFM95 Datasheets & Files
Install Heltec ESP32 board support package, instructions here here
Important
Next, until this issue is resolved, follow these instructions to enable support for ldflags.
Arduino IDE:
Select Tools -> Board: -> ESP32 Arduino
ESP32 Arduino
is currently one of
Wireless_Stick
Wireless_Stick_Lite
WIFI_Lora_32
WIFI_LoRa_32_V2
Heltec Wireless Stick Lite Product Page
Heltec Wireless Stick Product Page
Heltec WiFi LoRa 32 (V2) Product Page
Will use onboard ST-Link(Flasher/Debugger) to upload sketch.
Download and Install required utility from ST here.
Arduino IDE:
Select Tools -> Upload Method -> STM32CubeProgrammer(SWD)
Arduino IDE:
Select Tools -> Upload Method -> DFU
To put the board in DFU mode, hold down the boot button while pressing and releasing the reset button.
Arduino IDE:
Select Tools -> Upload Method -> STLink
Requires an ST-Link debugger connected to SWCLK, SWDIO, Vref, and GND, refer to pin mapping diagram.
No special instructions are needed, the defaults are fine.