Tiny sketch to send/receive messages with the Arduino MKR WAN 1310 using LoRa
- C++ 100%
|
|
||
|---|---|---|
| cli.h | ||
| constants.h | ||
| log.h | ||
| message.h | ||
| mkr1310-beacon.ino | ||
| payload.h | ||
| README.md | ||
| types.h | ||
| user.h | ||
| util.h | ||
BEACON for Arduino MKR 1310 WAN
This is a tiny sketch to load software to send/receive messages with the Arduino MKR 1310 WAN board using LoRa frequencies. It is experimental and not meant for production or commericial use. Development is done with Arduino IDE 2.
Getting Started
- Clone the repository.
git clone https://github.com/davidallendj/mkr1310-beacon && cd mkr1310-beacon
- Install and set up Arduino IDE. On ArchLinux, I install the packages via an AUR helper like
yay.
yay -S arduino-cli arduino-language-server arduino-ide-bin
-
Open the
mkr1310-beacon.inosketch. -
Install board software and libraries:
- Boards
- Arduino AVR Boards (maybe unnecessary?)
- Arduino SAMB Boards
- Libraries
- MKRWAN
- MKRWAN_v2
- ArduinoJson
- LoRa
- UUID
- Arduino_AVRSTL
- Boards
-
Select board, compile sketch, and upload (probably on
/dev/ttyACM0) -
While connected to a PC via USB, open the serial monitor. You should see some output:
Arduino MKR 1310 WAN - Experimental Thin Client
Software written by David J. Allen (davidallendj@gmail.com)
GitHub: https://github.com/davidallendj
© 2026 David J. Allen. All rights reserved
User:
ID: 642e9e60-b9ee-4d3b-9903-190c91e250ae
Name: lora
For help getting started, try '/help' and press enter.