Sample plug-and-play Arduino Nano client for my LoRa field gateway projects (see my profile for these). The design goal was a really small device with 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 client uses:
- Arduino Nano Pro clone
- Arduino Nano radio shield RFM95
- SeeedStudio Grove-Temperature & Humidity Sensor
- SeeedStudio Grove - 4 pin Male Jumper to Grove 4 pin Conversion Cable
Download the code, then build and deploy to device.Ensure the case of your sensor identifiers is consistent with the IoT Cloud Service configuration.
The sketch uses the onboard Microchip ATSHA204 Crypto Authentication chip's 72 bit unique identifier to make large scale deployments less likely to get messed up.
The use of this chip drove the adoption of BCD addresses in the field gateways as the 72bit identifiers were not user friendly.
Ensure the FieldGatewayAddress, Frequency and FieldGatewaySyncWord match the configuration of your field gateway.