Getting started with LinkIt ONE board
MediaTek LinkIt ONE development platform enables you to design and prototype Wearables and Internet of Things (IoT) devices, using hardware and an API that are similar to those offered for Arduino boards.
- Select the below link to see step by step guide to set up the LinkIt ONE development environment on Microsoft Windows PC or Apple OSX Computer.
Register here to get Mediatek Lab’s SDK & HDK and create wearable and IoT products.
Optimized performance and power consumption to offer consumers appealing, functional Wearables and IoT devices
Based on MediaTek MT2502 (Aster) SOC, board offers comprehensive communications and media options, with support for GSM, GPRS, Bluetooth 2.1 and 4.0, SD Cards, and MP3/AAC Audio, as well as Wi-Fi and GNSS (hardware dependent)
Connect LinkIt ONE board to WiFi Access Point
Now let’s try to connect LinkIt ONE board to your WiFi Access point.
For that let’s try to run a simple WiFi Example sketch on LinkIt ONE board and verify it is connected to your WiFi Access Point
- Open the LinkIt ONE developer guide from the link http://labs.mediatek.com/fileMedia/download/5fed7907-b2ba-4000-bcb2-016a332a49fd
- Follow the instructions mentioned in the section “5.3. Connecting to the web using Wi-Fi” of the adove document, to connect to WiFi access point and run the example. This verifies that LinkIt ONE board is connected to your WiFi access point and can access internet.
Download the LinkItONE-IBMBluemix example code & modify
1. Download the example sketches from the link : https://github.com/iotgeek/LinkItONE-IBMBluemix
2. Follow the instructions mentioned in the readme.md file https://github.com/iotgeek/LinkItONE-IBMBluemix/blob/master/README.md
3. If you have Grove base shield, connect the shield to the LinkIt ONE board first and then the temperature sensor to the D2 pin of the Grove Connect.
4. Open the quickstart.ino ( from the downloaded zip file) sketch in Arduino IDE , modify the sketch with your WiFi Access point details.
- #define WIFI_AP “your_ap_ssid” // Enter your Access point name
- #define WIFI_PASSWORD “your_password” // Enter your Access point password
- #define WIFI_AUTH LWIFI_WPA // choose from LWIFI_OPEN, LWIFI_WPA, or LWIFI_WEP, depending on security type of your WiFi access point.
- char macstr = “aabbccddeeff”; // Enter the device mac address here. You can see the WiFi MAC address printed on the backside of the LinkIt ONE board.
Compile, Upload, Run & View !
- Compile the sketch and upload to the LinkIt ONE board. Once the upload is completed the board will connect to the WiFi Access Point and start sending the temperature and humidity values as MQTT messages to the IBM Bluemix cloud.
- From the PC web browser, Go to https://quickstart.internetofthings.ibmcloud.com/#/ , enter the same MAC Address which you have added in the quickstart.ino sketch.
- Press Go to view the temperature and humidity values coming from the LinkIt ONE board.
- You should be able to view the live temperature and humidty values from the LinkIt ONE board now !!