36e6132348 | ||
---|---|---|
.. | ||
README.md | ||
longfi-us915-cargo-gps.ino |
README.md
LongFi Arduino GPS Example
This example sketch demonstrates sending GPS coordinates, using the Helium network.
Compatible Development Boards
- Catena 4610 - MCCI + Adafruit Ultimate GPS Featherwing
- Feather M0 RFM95 - Adafruit + + Adafruit Ultimate GPS Featherwing
- B-L072Z-LRWAN1 - ST STM32L0 Discovery kit + Adafruit Ultimate GPS Logger Shield
Required Arduino Libraries
MCCI LMIC Library
From the Arduino IDE, open the Library Manager (Sketch->Include Library->Manage Libraries). In the search box, type MCCI and select the MCCI LoRaWAN LMIC library should be the first result.
Adafruit GPS Library
From the Arduino IDE, open the Library Manager (Sketch->Include Library->Manage Libraries). In the search box, type Adafruit GPS Library.
Board Support
B-L072Z-LRWAN1 - ST STM32L0 Discovery kit
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
Catena 4610 - MCCI
Install board support package, find instructions here.
Arduino IDE:
Select Tools -> Board: -> MCCI Catena 4610.
For the GPS sketch: Select Tools -> Serial Interface -> USB + HW Serial
Catena 4610 Product Page
Catena 4610 Pin Mapping Diagram
Feather M0 RFM95 - Adafruit
- 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
Programming (Uploading Method):
B-L072Z-LRWAN1 - ST STM32L0 Discovery kit
STM32CubeProgrammer(SWD)
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)
Catena 4610 - MCCI
DFU
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.
ST-Link
Arduino IDE:
Select Tools -> Upload Method -> STLink
Requires an ST-Link debugger connected to SWCLK, SWDIO, Vref, and GND, refer to pin mapping diagram.