Download - Geek Pic-Nic Master Class
![Page 1: Geek Pic-Nic Master Class](https://reader033.vdocument.in/reader033/viewer/2022042702/55d0fc08bb61eb7c5f8b4834/html5/thumbnails/1.jpg)
labs.mediatek.com
Philip HandschinMediaTek Labs
Geek Pic-Nic Master Class
MediaTek LinkIt™ ONE Development Platform
![Page 2: Geek Pic-Nic Master Class](https://reader033.vdocument.in/reader033/viewer/2022042702/55d0fc08bb61eb7c5f8b4834/html5/thumbnails/2.jpg)
Topics
2
▪ Intro to MediaTek▪ What is MediaTek Labs▪ LinkIt ONE HDK▪ LinkIt ONE SDK▪ MediaTek Cloud Sandbox ▪ Demo▪ Other HDK’s▪ Questions
![Page 3: Geek Pic-Nic Master Class](https://reader033.vdocument.in/reader033/viewer/2022042702/55d0fc08bb61eb7c5f8b4834/html5/thumbnails/3.jpg)
USAUK Denmark
Sweden
Dubai
IndiaSingapore
Mainland China
Korea
Japan
Finland
>12,000 employees worldwide*27 offices located across 12 countries
A global company
Taiwan Hsinchu HQ
3
*including employees of MStar Semiconductor Inc.
![Page 4: Geek Pic-Nic Master Class](https://reader033.vdocument.in/reader033/viewer/2022042702/55d0fc08bb61eb7c5f8b4834/html5/thumbnails/4.jpg)
MediaTek SOCs are all around us
Wearables
TVsBlu-ray disc players
GPS
Tablets
Smartphones Game station
2015-08-11Copyright © MediaTek Inc. All rights reserved. 4
![Page 5: Geek Pic-Nic Master Class](https://reader033.vdocument.in/reader033/viewer/2022042702/55d0fc08bb61eb7c5f8b4834/html5/thumbnails/5.jpg)
Source (ranking by revenue of 2014): Strategy Analytics, Gartner, IDC, IC Insight, iSuppli and MediaTek company data* Combined with MStar. Source (Rankings by volume): Strategy Analytics, Displaysearch, iSuppli , MediaTek company data
Feature phone
#1
Digital TV*
#1
Optical disc drive
#1
DVD/BD player
#1
Smartphone
#2
Tablets
#2
Connectivity network
#3
Global company with leading market position
Copyright © MediaTek Inc. All rights reserved.5
![Page 6: Geek Pic-Nic Master Class](https://reader033.vdocument.in/reader033/viewer/2022042702/55d0fc08bb61eb7c5f8b4834/html5/thumbnails/6.jpg)
MediaTek powered products
6
▪ Sony Android TV
![Page 7: Geek Pic-Nic Master Class](https://reader033.vdocument.in/reader033/viewer/2022042702/55d0fc08bb61eb7c5f8b4834/html5/thumbnails/7.jpg)
MediaTek powered products
6
▪ Amazon Kindle Fire Tablet
![Page 8: Geek Pic-Nic Master Class](https://reader033.vdocument.in/reader033/viewer/2022042702/55d0fc08bb61eb7c5f8b4834/html5/thumbnails/8.jpg)
MediaTek powered products
6
Smartphone HTC M9+ / Google Android One
![Page 9: Geek Pic-Nic Master Class](https://reader033.vdocument.in/reader033/viewer/2022042702/55d0fc08bb61eb7c5f8b4834/html5/thumbnails/9.jpg)
Topics
7
▪ Intro to MediaTek▪ What is MediaTek Labs▪ LinkIt ONE HDK▪ LinkIt ONE SDK▪ MediaTek Cloud Sandbox ▪ Demo▪ Other HDK’s▪ Questions
![Page 10: Geek Pic-Nic Master Class](https://reader033.vdocument.in/reader033/viewer/2022042702/55d0fc08bb61eb7c5f8b4834/html5/thumbnails/10.jpg)
MediaTek Labs™A Developer Centric Ecosystem
▪ Free global program▪ Supporting developers:
• Device creation• App development• Services
▪ labs.mediatek.com
![Page 11: Geek Pic-Nic Master Class](https://reader033.vdocument.in/reader033/viewer/2022042702/55d0fc08bb61eb7c5f8b4834/html5/thumbnails/11.jpg)
Enabling Developer & Maker Success
labs.mediatek.com SDKs Technical docs HDKs
Discussion Forums, FAQ & Dev Support
Newsletter Solutions Catalog
Business Support and Matchmaking
9
![Page 12: Geek Pic-Nic Master Class](https://reader033.vdocument.in/reader033/viewer/2022042702/55d0fc08bb61eb7c5f8b4834/html5/thumbnails/12.jpg)
Optional help to find partners• Designers and developers• Manufacturers• MediaTek distributors• Component suppliers
10
Idea Platform Prototype Productize Launch
MediaTek Labs Partner Connect
labs.mediatek.com/partners
![Page 13: Geek Pic-Nic Master Class](https://reader033.vdocument.in/reader033/viewer/2022042702/55d0fc08bb61eb7c5f8b4834/html5/thumbnails/13.jpg)
Teaming up with MediaTek allowed us to focus on industrial and mechanical designs as well as fashion rather than technology.
Omate SmartWatch – Powered by MT2502
“
- Laurent Le Pen, CEO, Omate”
![Page 14: Geek Pic-Nic Master Class](https://reader033.vdocument.in/reader033/viewer/2022042702/55d0fc08bb61eb7c5f8b4834/html5/thumbnails/14.jpg)
Topics
12
▪ Intro to MediaTek▪ What is MediaTek Labs▪ LinkIt ONE HDK▪ LinkIt ONE SDK▪ MediaTek Cloud Sandbox ▪ Demo▪ Other HDK’s▪ Questions
![Page 15: Geek Pic-Nic Master Class](https://reader033.vdocument.in/reader033/viewer/2022042702/55d0fc08bb61eb7c5f8b4834/html5/thumbnails/15.jpg)
MediaTek LinkIt™ ONE platform
13
System-on-Chip
Aster (MT2502) – the world’s smallest SoC for Wearables
Companion chipsets for Wi-Fi and GPS
LinkIt ONE HDK
Hardware board based on reference design by MediaTek
Co-design with:
Rich APIs
Feature rich OS to power Wearables and IoT devices
+ ++
LinkIt ONE SDK
Plug-ins for Arduino, libraries for the LinkIt APIs, and board firmware update tool
First offering: SDK for Arduino
labs.mediatek.com/linkit
![Page 16: Geek Pic-Nic Master Class](https://reader033.vdocument.in/reader033/viewer/2022042702/55d0fc08bb61eb7c5f8b4834/html5/thumbnails/16.jpg)
LinkIt ONE Hardware Dev Kit (HDK)(Front View)
Headphone Jack
USB Jack
Battery Jack
Reset
GPIO
SPI
Seeed “GROVE” system
labs.mediatek.com/linkithdkA/D & GPIOPower Out
SD / SPI Switch
Mass Storage / Normal mode
switch
USB / Battery Power switch
![Page 17: Geek Pic-Nic Master Class](https://reader033.vdocument.in/reader033/viewer/2022042702/55d0fc08bb61eb7c5f8b4834/html5/thumbnails/17.jpg)
LinkIt ONE HDK (Back View)
GPS Antenna
Wi-Fi / BTAntenna
GSM Antenna
![Page 18: Geek Pic-Nic Master Class](https://reader033.vdocument.in/reader033/viewer/2022042702/55d0fc08bb61eb7c5f8b4834/html5/thumbnails/18.jpg)
LinkIt ONE HDK (Back View)
GPS Antenna
Wi-Fi / BTAntenna
GSM Antenna
GPS+GLONASS Antenna
Wi-Fi / BTAntenna
GSM Antenna
![Page 19: Geek Pic-Nic Master Class](https://reader033.vdocument.in/reader033/viewer/2022042702/55d0fc08bb61eb7c5f8b4834/html5/thumbnails/19.jpg)
LinkIt ONE HDK (Back View)
GPS Antenna
Wi-Fi / BTAntenna
GSM Antenna
SIM/SD Slot
Main ProcessorBT GSMMT2502
Wi-FiMT5931
GNSS MT3332
GPS/GLONASS/BEIDOU
![Page 20: Geek Pic-Nic Master Class](https://reader033.vdocument.in/reader033/viewer/2022042702/55d0fc08bb61eb7c5f8b4834/html5/thumbnails/20.jpg)
Hardware Spec▪ Microcontroller
• MT2502A (Aster) ARM7 EJ-S 260MHz▪ Memory
• Flash 16MB RAM 4MB• SD card: up to 32GB (class 10)
▪ Power• 3.7V~4.2V Lithium battery jack recharge through USB
▪ Digital I/O• 16 pins (D0~D13 SDA SCL) 3.3V 0.3mA~3mA
▪ Analog Input• 3 pins (A0 A1 A2) 0~5V fixed reference voltage
▪ Pulse Width Modulation• 2 sets • Max Resolution: 13bit• Max Frequency@Resolution: 1.6kHz@13bit 50.8kHz@8bit 800kHz@4bit
![Page 21: Geek Pic-Nic Master Class](https://reader033.vdocument.in/reader033/viewer/2022042702/55d0fc08bb61eb7c5f8b4834/html5/thumbnails/21.jpg)
Hardware Spec
External Interrupts• 2 pins D2 D3
I2C• 1 set Master only
SPI• 1 set Master only
UART• 1x UART on USB
mapped to “Serial”• 1x UART
D0 D1 3.3V mapped to “Serial1”
GSM/GPRS• 850/900/1800/1900 MHz• GPRS Class 12
Bluetooth• EDR BLE (Dual Mode)
Wi-Fi• 802.11 b/g/n (150Mbit/s)
GPS• GPS/GLONASS/BEIDOU
![Page 22: Geek Pic-Nic Master Class](https://reader033.vdocument.in/reader033/viewer/2022042702/55d0fc08bb61eb7c5f8b4834/html5/thumbnails/22.jpg)
![Page 23: Geek Pic-Nic Master Class](https://reader033.vdocument.in/reader033/viewer/2022042702/55d0fc08bb61eb7c5f8b4834/html5/thumbnails/23.jpg)
Topics
19
▪ Intro to MediaTek▪ What is MediaTek Labs▪ LinkIt ONE HDK▪ LinkIt ONE SDK▪ MediaTek Cloud Sandbox ▪ Demo▪ Other HDK’s▪ Questions
![Page 24: Geek Pic-Nic Master Class](https://reader033.vdocument.in/reader033/viewer/2022042702/55d0fc08bb61eb7c5f8b4834/html5/thumbnails/24.jpg)
LinkIt ONE Software Development Kit
An extension of Arduino IDE
20
+
![Page 25: Geek Pic-Nic Master Class](https://reader033.vdocument.in/reader033/viewer/2022042702/55d0fc08bb61eb7c5f8b4834/html5/thumbnails/25.jpg)
Setup
21
Download Arduino
RegisterWith Labs
DownloadSDK
Install SDK
Plug-in to Arduino IDE
![Page 26: Geek Pic-Nic Master Class](https://reader033.vdocument.in/reader033/viewer/2022042702/55d0fc08bb61eb7c5f8b4834/html5/thumbnails/26.jpg)
Setup
21
Download Arduino
RegisterWith Labs
DownloadSDK
Install SDK
Plug-in to Arduino IDE
![Page 27: Geek Pic-Nic Master Class](https://reader033.vdocument.in/reader033/viewer/2022042702/55d0fc08bb61eb7c5f8b4834/html5/thumbnails/27.jpg)
Setup
21
Download Arduino
RegisterWith Labs
DownloadSDK
Install SDK
Plug-in to Arduino IDE
![Page 28: Geek Pic-Nic Master Class](https://reader033.vdocument.in/reader033/viewer/2022042702/55d0fc08bb61eb7c5f8b4834/html5/thumbnails/28.jpg)
Setup
21
Download Arduino
RegisterWith Labs
DownloadSDK
Install SDK
Plug-in to Arduino IDE
![Page 29: Geek Pic-Nic Master Class](https://reader033.vdocument.in/reader033/viewer/2022042702/55d0fc08bb61eb7c5f8b4834/html5/thumbnails/29.jpg)
Setup
21
Download Arduino
RegisterWith Labs
DownloadSDK
Install SDK
Plug-in to Arduino IDE
![Page 30: Geek Pic-Nic Master Class](https://reader033.vdocument.in/reader033/viewer/2022042702/55d0fc08bb61eb7c5f8b4834/html5/thumbnails/30.jpg)
Setup continued
22labs.mediatek.com/linkitsdk
Plug-in to Arduino IDE
Setup Board
Create Sketches
Load to LinkIt ONE Run
![Page 31: Geek Pic-Nic Master Class](https://reader033.vdocument.in/reader033/viewer/2022042702/55d0fc08bb61eb7c5f8b4834/html5/thumbnails/31.jpg)
Setup continued
22labs.mediatek.com/linkitsdk
Plug-in to Arduino IDE
Setup Board
Create Sketches
Load to LinkIt ONE Run
![Page 32: Geek Pic-Nic Master Class](https://reader033.vdocument.in/reader033/viewer/2022042702/55d0fc08bb61eb7c5f8b4834/html5/thumbnails/32.jpg)
Setup continued
22labs.mediatek.com/linkitsdk
Plug-in to Arduino IDE
Setup Board
Create Sketches
Load to LinkIt ONE Run
![Page 33: Geek Pic-Nic Master Class](https://reader033.vdocument.in/reader033/viewer/2022042702/55d0fc08bb61eb7c5f8b4834/html5/thumbnails/33.jpg)
Setup continued
22labs.mediatek.com/linkitsdk
Plug-in to Arduino IDE
Setup Board
Create Sketches
Load to LinkIt ONE Run
![Page 34: Geek Pic-Nic Master Class](https://reader033.vdocument.in/reader033/viewer/2022042702/55d0fc08bb61eb7c5f8b4834/html5/thumbnails/34.jpg)
Setup continued
22labs.mediatek.com/linkitsdk
Plug-in to Arduino IDE
Setup Board
Create Sketches
Load to LinkIt ONE Run
![Page 35: Geek Pic-Nic Master Class](https://reader033.vdocument.in/reader033/viewer/2022042702/55d0fc08bb61eb7c5f8b4834/html5/thumbnails/35.jpg)
SDK Features
Arduino Core Functions Digital I/O Pulse-Shift I/O Analog Input Serial Time and delay Interrupts Math Servo Stepper SPI I2C
LinkIt ONE Functions (prefixed with L, e.g. LGPS)
GSM GPRS Wi-Fi Bluetooth GPS Audio SD/Flash EEPROM
SMS & Telephony
TCP and UDP socket
TCP and UDP socket
Serial Port Profile / GATT
NMEA Format
MP3 AAC AMR
FAT32
labs.mediatek.com/linkitguide
![Page 36: Geek Pic-Nic Master Class](https://reader033.vdocument.in/reader033/viewer/2022042702/55d0fc08bb61eb7c5f8b4834/html5/thumbnails/36.jpg)
SMS
Sending and receiving SMS
Classes prefixed with L Waiting for module ready Begin composing SMS to
remote number Finish and send the
message
while(!LSMS.ready()){delay(100);
}
LSMS.beginSMS(“07701234123”); LSMS.print(“Hello world!”);LSMS.endSMS();
24
![Page 37: Geek Pic-Nic Master Class](https://reader033.vdocument.in/reader033/viewer/2022042702/55d0fc08bb61eb7c5f8b4834/html5/thumbnails/37.jpg)
GPS
Switch GPS on Reports NMEA strings A parsing example in SDK
• Fix• # Satelites• Date stamp• Position
void setup() {Serial.begin(115200);LGPS.powerOn();
}
void loop() {LGPS.getData(&info);Serial.println(info.GPGGA); parseGPGGA(info.GPGGA);
}
25
![Page 38: Geek Pic-Nic Master Class](https://reader033.vdocument.in/reader033/viewer/2022042702/55d0fc08bb61eb7c5f8b4834/html5/thumbnails/38.jpg)
Audio
Play audio files Stored on SD-Card Set volume Stop playback
LAudio.begin();LAudio.playFile(storageFl
ash,”a.wav”);LAudio.setVolume(6);delay(10000);Laudio.stop();
26
![Page 39: Geek Pic-Nic Master Class](https://reader033.vdocument.in/reader033/viewer/2022042702/55d0fc08bb61eb7c5f8b4834/html5/thumbnails/39.jpg)
Topics
27
▪ Intro to MediaTek▪ What is MediaTek Labs▪ LinkIt ONE HDK▪ LinkIt ONE SDK▪ MediaTek Cloud Sandbox ▪ Demo▪ Other HDK’s▪ Questions
![Page 40: Geek Pic-Nic Master Class](https://reader033.vdocument.in/reader033/viewer/2022042702/55d0fc08bb61eb7c5f8b4834/html5/thumbnails/40.jpg)
MediaTek Cloud Sandbox
RESTful API’s Visualize Data FOTA
Data monitoring with notifications
Device remote control Web or mobile app
28labs.mediatek.com/mcs
![Page 41: Geek Pic-Nic Master Class](https://reader033.vdocument.in/reader033/viewer/2022042702/55d0fc08bb61eb7c5f8b4834/html5/thumbnails/41.jpg)
Controller
Visualize Data
Data types• Controller• Display• Hybrid (coming soon)
29
Display
Hybrid
![Page 42: Geek Pic-Nic Master Class](https://reader033.vdocument.in/reader033/viewer/2022042702/55d0fc08bb61eb7c5f8b4834/html5/thumbnails/42.jpg)
Visualize Data
Visualize• GPS Position• Double values• String values• Control states• Etc...
30
![Page 43: Geek Pic-Nic Master Class](https://reader033.vdocument.in/reader033/viewer/2022042702/55d0fc08bb61eb7c5f8b4834/html5/thumbnails/43.jpg)
Demo
Upload Temperature to Cloud via Wi-Fi
31
![Page 44: Geek Pic-Nic Master Class](https://reader033.vdocument.in/reader033/viewer/2022042702/55d0fc08bb61eb7c5f8b4834/html5/thumbnails/44.jpg)
#include "DHT.h"#define DHTPIN 0#define DHTTYPE DHT22
void setup(){
Serial.begin(9600);Serial.println("Geek Pic Nic demo!");dht.begin();
}
32
![Page 45: Geek Pic-Nic Master Class](https://reader033.vdocument.in/reader033/viewer/2022042702/55d0fc08bb61eb7c5f8b4834/html5/thumbnails/45.jpg)
void loop(){
float t = 0.0;float h = 0.0;if (dht.readHT(&t, &h)){
Serial.println("------------------------------");Serial.print("temperature = ");Serial.println(t);
Serial.print("humidity = ");Serial.println(h);
}delay(2000);
}33
![Page 46: Geek Pic-Nic Master Class](https://reader033.vdocument.in/reader033/viewer/2022042702/55d0fc08bb61eb7c5f8b4834/html5/thumbnails/46.jpg)
Connect it to the Cloud
34
![Page 47: Geek Pic-Nic Master Class](https://reader033.vdocument.in/reader033/viewer/2022042702/55d0fc08bb61eb7c5f8b4834/html5/thumbnails/47.jpg)
#include "LGPRS.h"#include "LGPRSClient.h"#include "HttpClient.h"#define SITE_URL "api.mediatek.com"LGPRSClient content;HttpClient http(content);
void setup(){
…while (!LGPRS.attachGPRS("internet", "", "")){
delay(500);}
}
35
![Page 48: Geek Pic-Nic Master Class](https://reader033.vdocument.in/reader033/viewer/2022042702/55d0fc08bb61eb7c5f8b4834/html5/thumbnails/48.jpg)
36
![Page 49: Geek Pic-Nic Master Class](https://reader033.vdocument.in/reader033/viewer/2022042702/55d0fc08bb61eb7c5f8b4834/html5/thumbnails/49.jpg)
void upload(float t){
while (!content.connect(SITE_URL, 80)){
Serial.print(".");delay(500);
}
content.println("POST /mcs/v2/devices/Du0VaaVH/datapoints.csv HTT
String data = "temp,," + String(t);
int dataLength = data.length();
content.println("Host: api.mediatek.com");content.println("deviceKey: ZzSJG9PGnNBeOxL6");content.print("Content-Length: ");content.println(dataLength);content.println("Content-Type: text/csv");content.println("Connection: close");content.println();content.println(data);
}37
![Page 50: Geek Pic-Nic Master Class](https://reader033.vdocument.in/reader033/viewer/2022042702/55d0fc08bb61eb7c5f8b4834/html5/thumbnails/50.jpg)
Topics
38
▪ Intro to MediaTek▪ What is MediaTek Labs▪ LinkIt ONE HDK▪ LinkIt ONE SDK▪ MediaTek Cloud Sandbox▪ Demo ▪ Other HDK’s▪ Questions
![Page 51: Geek Pic-Nic Master Class](https://reader033.vdocument.in/reader033/viewer/2022042702/55d0fc08bb61eb7c5f8b4834/html5/thumbnails/51.jpg)
LinkIt Connect 7681
39
▪ Wi-Fi station and access point (AP) modes
▪ TCP/IP stack▪ 5 GPIO’s / 1 UART port
![Page 52: Geek Pic-Nic Master Class](https://reader033.vdocument.in/reader033/viewer/2022042702/55d0fc08bb61eb7c5f8b4834/html5/thumbnails/52.jpg)
LinkIt Assist 2502
Based on modules Capacitive touch screen SDK for Eclipse
• Compatible with LinkIt ONE
40
![Page 53: Geek Pic-Nic Master Class](https://reader033.vdocument.in/reader033/viewer/2022042702/55d0fc08bb61eb7c5f8b4834/html5/thumbnails/53.jpg)
Technical Questions?
41
Download Resources:labs.mediatek.com/linkit
MediaTek Cloud Sandbox:labs.mediatek.com/mcs
Check the Forum:labs.mediatek.com/forums
Technical Consultant at booth:Phil
Start by registering as
member of MediaTek Labs –this allows you
to download SDK and use Cloud
Sandbox
![Page 54: Geek Pic-Nic Master Class](https://reader033.vdocument.in/reader033/viewer/2022042702/55d0fc08bb61eb7c5f8b4834/html5/thumbnails/54.jpg)
Next Steps
42
▪ Fill out feedback form▪ Come to booth
• See demos• Wearables• Win a board• Get a t-shirt• @MediaTekLabs
▪ Join labs – It’s free - labs.mediatek.com
labs.mediatek.com
![Page 55: Geek Pic-Nic Master Class](https://reader033.vdocument.in/reader033/viewer/2022042702/55d0fc08bb61eb7c5f8b4834/html5/thumbnails/55.jpg)
Copyright © MediaTek Inc. All rights reserved.