[LinkIt ONE] GPS Tracker + MediaTek Cloud Sandbox Tutorial

by cavedu in Circuits > Arduino

7425 Views, 20 Favorites, 0 Comments

[LinkIt ONE] GPS Tracker + MediaTek Cloud Sandbox Tutorial

Screen Shot 2015-10-14 at 3.11.05 PM.png

This tutorial is to show how to build a wifi-based GPS tracker with MediaTek Cloud Sandbox and even on mobile app.

Prerequisite: Register a Free Account of MCS(MediaTek Cloud Sandbox)

Screen Shot 2015-10-14 at 3.35.24 PM.png

Go to the official website: https://mcs.mediatek.com/

Register a free count https://mcs.mediatek.com/oauth/en/login

Create a New Prototype for GPS

Screen Shot 2015-10-14 at 3.43.31 PM.png

Sign into MCS and click "Development", and then click "Create".

Input the Name, Version As Indicated Below, Click “Save” to Complete

Screen Shot 2015-10-14 at 3.48.30 PM.png

After the Prototype Be Finished, Click "detail" to Edit the Prototype

Screen Shot 2015-10-17 at 12.25.14 AM.png

You Will Be Brought to a Fly-through Tutorial to Understand Basic Functions, You May Click “Exit” Should You Wish to Skip Through This Step.

Screen Shot 2015-10-17 at 12.28.13 AM.png

Now Let's Create the Following Data Channels Summarize As Below

Screen Shot 2015-10-17 at 12.31.19 AM.png

Click “Add” to Create First Data Channel

Screen Shot 2015-10-17 at 12.32.08 AM.png

Click “Add” Under the Display Data Channel

Screen Shot 2015-10-17 at 12.35.19 AM.png

Filling in the Data Channel Detail As Below, Click “Save” to Complete.

Screen Shot 2015-10-17 at 12.36.24 AM.png

And Then You Will See a Data Channel Is Created As Shown

Screen Shot 2015-10-17 at 12.37.34 AM.png

Repeat Step 7~10 to Complete LATITDUE, LONGITUDE, LED_DISPLAY Data Channel Create.

Screen Shot 2015-10-17 at 12.40.08 AM.png
Screen Shot 2015-10-17 at 12.40.18 AM.png
Screen Shot 2015-10-17 at 12.40.41 AM.png

Create LED_CONTROL Controller Data Channel by Selecting Controller Type Data Channel

Screen Shot 2015-10-17 at 12.41.33 AM.png
Screen Shot 2015-10-17 at 12.41.41 AM.png

Click “Create Test Device” Button, Fill in the Name, and Then Click “Go to Detail”

Screen Shot 2015-10-17 at 12.52.36 AM.png
Screen Shot 2015-10-17 at 12.53.14 AM.png
Screen Shot 2015-10-17 at 12.55.08 AM.png

Here Is the Detail Page of the Created Test Device, and Copy the DeviceId and DeviceKey

Screen Shot 2015-10-17 at 1.05.14 AM.png
Screen Shot 2015-10-17 at 1.05.25 AM.png

Download the GPS Tracker Arduino Code, And

If you don't have the arduino http client library, please download it and import.

https://github.com/amcewen/HttpClient

Edit the GPS tracker code as below:

#define WIFI_AP "YOUR_AP_NAME"
#define WIFI_PASSWORD "YOUR_AP_PASSWORD"

#define DEVICEID "YOUR_DEVICEID"
#define DEVICEKEY "YOUR_DEVICEKEY"

After the Code Is Compile and Uploaded to the Board Correctly, the Board Will Send GPS Data to the Test Device You Have Created As in the Screen Shot Below:

Screen Shot 2015-10-17 at 1.24.04 AM.png

You Can Also Use MCS Mobile Application to View the GPS Data on Mobile

Screen Shot 2015-10-17 at 1.26.32 AM.png

Download the MCS Mobile Application: