Over here,we will show how to use the Dragino LoRa IoT Kit to collect the temperature and humidity and send the data to the ThingSpeak server.
The things we need to prepare:
- LoRa Gateway -- LG01-P
- LoRa Node -- LoRa Shield
- Sensor -- DHT11
Complete following operations:
Set up hardware
Set up the hardware as below, the LoRa node will get sensor data from DHT11 and send these data to LoRa Gateway, when the Gateway get the data, it will pass the data to the IoT server.
Set up IoT Server account
We choose ThingSpeak as the IoT server here, first sign up an account in ThingSpeak, then goto the Channels and create a Channel with Temperature and Humidity field.
After create the channel, user can see the Channel ID and API key in the Channel Page. They are needed for upgrade data to this channel.
Step 1: Download the ThingSpeak Library and put it in the Arduino library directory.
Step 2: Select the example from:
IDE --> File --> Examples --> Dragino --> IoTServer --> ThingSpeak --> dht11_client
And upload this sketch to the LoRa Node
Step 3: Select the example from
IDE --> File --> Examples --> Dragino --> IoTServer --> ThingSpeak --> dht11_server
Replace the myChannelNumber & myWriteAPIKey to your info
And upload this sketch to the LoRa Gateway.
Check Result in ThingSpeak as below:
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!
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.
The link of the Dragino LoRa KiT campaign is:https://www.indiegogo.com/projects/lora-kit-for-iot-applications/x/15237796#/
Please help us to promote this LoRa Kit,and let more people know the LoRa wireless technology !
Most Users Ever Online: 114
Currently Browsing this Page:
Guest Posters: 1
Administrators: Hans, lee