Intro: LinkIt ONE GPS Tracker
LinkIt ONE contains complete communication ability such as Wifi, Bluetooth, GPS and GPRS, I think these are most needed by IoT developers.
This project will show how to upload LinkIt ONE's GPS to MediaTek Cloud Sandboxserver (MCS), you can view this data through web browser or Android app. MCS is the exclusive cloud service for LinkIt ONE. By the Device ID and Device Key, the board can connect to MCS everywhere, not just be constrained in the LAN.
Step 1: LinkIt ONE: Front View
As you can see, the layout of LinkIt ONE is just like Arduino UNO, which means you can add almost every shield onto LinkIt ONE.
On the left hand is the micro USB port, just connect it to your PC and it will be assigned two COM ports.
LinkIt ONE has an audio I/O jack on the top-left, you can listen to music or even make a phone call (SIM card needed, of course).
At the bottom-left is the battery jack. Just connect the rechargeable battery and your LinkIt ONE becomes a standalone system.
Step 2: LinkIt ONE: Back View
At the back side, you can see three antenna connectors, don't get confused! They had clearly stated on the board also the words are pretty small.
At the left hand side is the SD/ SIM card slot.
Step 3: Wifi/ Bluetooth Antenna
LinkIt ONE got its Wifi and Bluetooth feature into one single antenna.
For Wifi, you simply enter the AP name and password into the sketch, LinkIt ONE will try to connect to this AP automatically, easy~
For bluetooth, LinkIt ONE surpport Bluetooth 2.1 and 4.0(BLE).
Step 4: GPS Antenna
Just connect it to your LinkIt ONE, your board will have GPS positioning ability.
Step 5: GPRS Antenna
This is the GPRS antenna, you must get a SIM card to use these features: phonecall, SMS and 3G network.
Notice: LinkIt ONE supports 2G network only, but you can always get a 3G SIM card which also supports 2G network.
Step 6: Rechargeable Battery
LinkIt ONE has a 1000 mAh Li-ion battery, you can plug it to LinkIt ONE to provide power.
Step 7: MediaTek Cloud Sandbox
Please register an account (free, of course!) MediaTek Cloud Sandbox website, then create one prototype. In a prototype you can define data channels, configure notification user privilege, and firmware. Then create data channels for the test device. You can have as many prototypes and test devices as you like for different purposes.
For this project, we have three data channels for GPS (Google Map embedded), lattitude (float) and longitude (float).
You can follow MediaTek Lab's tutorial for more details.
Upload the code at STEP 1. You can open your MCS page by browser.
After about tow minutes, you can see the GPS data is uploaded to your MCS. Come on and get a LinkIt ONE!
More interesting topics: http://www.cavedu.com
元傑鄭 made it!