Skip to content

Latest commit

 

History

History

WirelessGateway_LoRaBall

WirelessGateway_LoRaBall

This example transmits accelerometer data from an Arduino Feather with a LoRa RH_RF95 to an impAccelerator Wireless Gateway with a LoRa RN2903 radio.

Hardware

Software Dependencies

Device Code

The device listens for messages from the LoRa radio attached to the Arduino. The imp filters the incoming accelerometer data for ball movement or freefall and sends these events to the agent.

Agent Code

The agent receives events from the device and sends them to IBM Watson and Dweet.io.

Note: Dweet.io uses the Imp's Device ID as a unique identifier. IBM Watson requires an account and keys to push data. The keys have been removed from this example code, and so will have to be configured and pasted into the appropriate variables before the agent can push data.