Sample plug-and-play Arduino MKR WAN 1300 client for my LoRa field gateway projects (Microsoft Azure & AdaFruit.IO). The design goal was a simple demo sketch that students could use as a basis for their projects.
In future iterations I'm planning to improve the power consumption, implement basic OTA provisioning, sign the message payloads, encrypt the messages and support in field configuration.
This clients uses:
- Arduino MKR 1300
- Arduino MKR Connector Carrier
- SeeedStudio Grove-Temperature & Humidity Sensor
- SeeedStudio Grove-Universal 4 Pin Buckled 5cm Cable
You may (Nov 2018) need to update the firmware on the MKR WAN 1300 and this covered in my blog.
Download the code, then build and deploy to device.
Ensure the case of your sensor identifiers is consistent with the IoT Cloud Service configuration .
Ensure the FieldGatewayAddress, Frequency and FieldGatewaySyncWord match the configuration of your field gateway.