Howard Weng/ 5 十二月, 2016/ IoT, TRRAK/ 0 comments

Linkit-One LoRA Introduction

This section, we will look at the Arduino code for Linkit-It One tracker.

We want the tracker to send data to GIOT MQTT broker through LoRA module and service. Again, the service is not available worldwide. I assume that you have in the service covered area, so the LoRA GIOT MQTT broker can receive my data.

I would assume that you have basic Arduino development skills, if you do not know what I am doing, please study this topic from other resources.

If the GPS tracker data has to be received, then the board has to receive GPS signal correctly. But the GPS has to be delivered to broker through LoRA.

We better make sure it works separately first before we combine both functions code for official release.

 

So, we will test LoRA module to work correctly first on section 5.2.1.

Then we test GPS code to make sure the board can receive data on section 5.2.2.

Finally, we will put official tracker code on device on section 5.2.3

Let us go test our device now.

 

Test LoRA device process

 

5.2.1 Testing with LoRA simple test code

Get a GIoT MQTT account from vendor
Binding module with MQTT broker, note the credentials
Download code from http://GitHub.com     Search:  "Linkit_One_LoRA_Test, and put it on your device" under howardweng folder

Current download URL:  https://github.com/howardweng/Linkit_One_LoRA_Test

Taipei LoRA MQTT broker test code, test data with MQTT.fx

 

5.2.2 Testing with GPS simple code

Download code from http://GitHub.com

Search:  "linkit_One_GPS_Test"   under howardweng folder
Test Linkit-One GPS test code

Current download URL:  https://github.com/howardweng/linkit_One_GPS_Test

 

5.2.3 GPS+LoRA Tracker code on device

Download code from http://GitHub.com

Search  "Linkit_One_LoRA_GPS_Tracker"  under howardweng folder

Current download URL: https://github.com/howardweng/Linkit_One_LoRA_GPS_Tracker

Current code download site:
Upload to Linkit-One, test the code
Receive data with MQTT.fx
Remove cable and run independently

 

分享到:
Share this Post

About Howard Weng

More than 15 years of experience in electronics companies as Sales marketer and Product Manager. Currently I invest resources on open source and industry IoT system research, and provide data analytics service mainly for factory and retain business.

Leave a Comment

你的電子郵件位址並不會被公開。 必要欄位標記為 *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>
*
*