In this project,we will show how to use the Dragino LoRa Kit to get data from the ThingSpeak and send to LoRa node.
Hardware preparation
- LoRa Gateway -- LG01-P
- LoRa Node -- LoRa Shield+Arduino Uno
- Relay
Set up Hardware
Set up the hardware as below, the LoRa Gateway will get command from IoT Server and then send the command to LoRa node, the node control the relay state according to the receive command.
Set up talkback command
Create a talkback command in ThingSpeak Apps. We can then find the talkback ID and talkback API key here:
Upload sketches
Step 1: Select the example from:
IDE --> File --> Examples --> Dragino --> IoTServer --> ThingSpeak --> DownstreamClient
And upload this sketch to the LoRa Node
Step 2: Select the example from
IDE --> File --> Examples --> Dragino --> IoTServer --> ThingSpeak --> DownstreamServer
Replace the talkback ID & talkbackAPIKey with your info
And upload this sketch to the LoRa Gateway.
Check Result
In the talkback APP page, send a command 1 or 0 to trigger the relay. You can see the result from the console.
What is LoRa KiT?
Dragino Lora IoT Kit is designed to facilitate beginners and developers to quickly learn LoRa and IoT technology. It help users to turn the idea into a practical application and make the Internet of Things a reality. It is easy to program, create and connect your things everywhere. A number of telecom operators are currently rolling out networks, but because LoRa operates in the open spectrum you can also set up your own network. The LoRa IoT kit will show how to build LoRa network, and how to use the network to send data from a LoRa sensor node to the cloud server. When used as a private LoRa network, the LoRa gateway will connect your other LoRa nodes up to 5km however expect up to 10km range (when in line of sight) when connecting your LoRa node to a LoRa gateway!
Support us!
To make the final step and start mass-production, we are rasing funds via a Indiegogo campaign,we need your help!!! If you back us, you will speed up the LoRa IoT Kit production and receive one of it in 01/2017, but you'll also receive one yourself in 03/2017. So to start to build your own LoRa Network and examine the IoT technology, we are trying to provide a full solution to connect LoRa to different cloud server there’s nothing like what Dragino LoRa IoT Kit can provide.