INTERNAL	USE	
Vincent	Hsu	
Developer	Product	Manager	
LinkIt	Smart	7688	
-	a	more	connected	world
INTERNAL	USE	
DEMO	
2
INTERNAL	USE	
Hexapod	by	LinkIt	Smart	7688	
▪  h7ps://youtu.be/70pN0Rd0ca4	
▪  h7ps://github.com/SmallpTsai/7688-hexapod
INTERNAL	USE	
What’s	inside	?	
4
INTERNAL	USE	
What’s	inside	?	
5	
LinkIt	Smart	7688
INTERNAL	USE	
What’s	inside	?	
6	
LinkIt	Smart	7688	
18	servo	motors	
(3	joints	x	6	legs)
INTERNAL	USE	
What’s	inside	?	
7	
LinkIt	Smart	7688	
Talk	through	Wi-Fi	
(WebSocket)	
18	servo	motors	
(3	joints	x	6	legs)
INTERNAL	USE	
What’s	inside	?	
8	
LinkIt	Smart	7688	
Talk	through	Wi-Fi	
(WebSocket)	
Client	side:	JavaScript	
18	servo	motors	
(3	joints	x	6	legs)
INTERNAL	USE	
What’s	inside	?	
9	
LinkIt	Smart	7688	
Talk	through	Wi-Fi	
(WebSocket)	
Client	side:	JavaScript	
18	servo	motors	
(3	joints	x	6	legs)	
Web	server
INTERNAL	USE	
What’s	inside	?	
10	
LinkIt	Smart	7688	
Talk	through	Wi-Fi	
(WebSocket)	
Client	side:	JavaScript	
18	servo	motors	
(3	joints	x	6	legs)	
Web	server	Node.js	backend
INTERNAL	USE	
What’s	inside	?	
11	
LinkIt	Smart	7688	
Talk	through	Wi-Fi	
(WebSocket)	
Client	side:	JavaScript	
18	servo	motors	
(3	joints	x	6	legs)	
Web	server	Node.js	backend	
Libmraa	to	control	I2C	&	PWM
INTERNAL	USE	 12
INTERNAL	USE	
LinkIt	Smart	7688	
13
INTERNAL	USE	
Why	IoT	?	Why	LinkIt	?	
14
INTERNAL	USE	 15	
MediaTek	market	posiPons	
Source	(ranking	by	revenue	of	2014):Strategy	AnalyYcs,	Gartner,	IDC,	IC	Insight,	iSuppli	and	MediaTek	company	data	
*	Combined	with	MStar.	Source	(Rankings	by	volume):Strategy	AnalyYcs,	Displaysearch,	iSuppli	,	MediaTek	company	data	
1	
2	
3	
Smartphone	Digital	TV(*)	 DVD/BD	Player	 Tablets	 Wi-Fi	Feature	Phone	 OpPcal	Disc	Drive	
Copyright	©	MediaTek	Inc.	All	rights	reserved.
INTERNAL	USE	
Fundamental	shi	in	scope	&	scale	
16	
PC	
Home	as	unit	
Mobile	internet	
Person	as	unit	
IoT	
Thing	as	unit	
1x	 10x	 100x	 1000x
INTERNAL	USE	
IoT:	connecPng	the	world	
17	
More	
•  Connected	things	
•  ApplicaYons	
•  System	integraYons	
•  InteracYons	
•  Data	
•  Services	
•  AnalyYcs	
New	devices	 New	apps	 New	services
INTERNAL	USE	
Growth	of	IoT	developers	
18	
Ecosystem	approach	taps	creaYvity,	innovaYon	&	skills	coming	from	
global	network	of	developers	&	partners	
Source:	VisionMobile:	"IoT	Report	Series:	IoT	Developer	Popula:on	2015-2020,"	September	2015	
By	2020	
̶  2020	5	Million	more	IOT	developers	
̶  CAGR	17%	
300K
4.5M
5.3M
6.2M
7.3M
8.4M
9.7M
2014
 2015
 2016
 2017
 2018
 2019
 2020
INTERNAL	USE	
labs.mediatek.com	 SDKs	 Technical	docs	 HDKs	
Discussion	Forums,	
FAQ	&	Dev	Support	
Newslefer	 SoluPons	
Catalog	
Business	Support	
and	Matchmaking	
19
INTERNAL	USE	
MediaTek	LinkIt	
Development	plagorms	
20
INTERNAL	USE	 21
INTERNAL	USE	
LinkIt	Smart	7688	
22	
•  MT7688AN	
•  128MB	DDR2	
•  32MB	Flash	
•  Chip	Antenna	(default)	
•  IPEX	Ext	Antenna		
•  microSD	
•  USB	Host	
•  JTAG
INTERNAL	USE	
MT7688AN	
23	
▪  SpecificaYon	
▪  1T1R	802.11n	Wi-Fi	radio,	10/100M	Ethernet	
▪  580MHz	MIPS®	24KEcTM	CPU	
▪  USB2.0	host,	SD-XC,	I2S	/	PCM,	I2C,	PWM,	UART,	GPIO,	SPI	
▪  Also	featured	5-port	router,	eMMC,	PCIe	support
INTERNAL	USE	
Pin-out	diagram	
24
INTERNAL	USE	
LinkIt	Smart	7688	Duo	
25	
•  MT7688	+	ATmega32U4	
•  128MB	DDR2	
•  32MB	Flash	
•  Chip	Antenna	(default)	
•  IPEX	Ext	Antenna		
•  microSD	
•  USB	Host	
•  JTAG
INTERNAL	USE	
Pin-out	diagram	
26
INTERNAL	USE	
Soware	architecture	
27	
Python	 Node.js	
Sensors	
Firmata		
Python	 Node.js	
Sensors	
UART	port	
Sensor	Drivers	
UART	Library	
App	Logic	 App	Logic	
Sensors	
Bridge	Library	
Sensor	Drivers	
Bridge	Library	
App	Logic	
(MPU	provides	Wi-Fi	&	USB	Host)	
libmraa	
Python	 Node.js	
upm	
Sensors	
App	Logic	
Sensors	
USB	Device/SD	
LinkIt	Smart	7688	
Wi-Fi	
MT7688	 MT7688	
ATMega32U4	
UART	
USB	Device/SD	
Sensors		
LinkIt	Smart	7688	Duo	
OpenWrt		 OpenWrt	 OpenWrt	
OpenWrt	
Arduino	 Arduino	 Arduino	
Wi-Fi	
MPU	(MT7688)	with	OpenWrt	as	Host	
(default)	
C	 C	 C	
Firmata
INTERNAL	USE	
LinkIt	Smart	7688	
28	
libmraa	
Python	 Node.js	
upm	
App	Logic	
Wi-Fi	
MT7688	
OpenWrt		
Hardware	Solware	
Sensors	
USB	Device/SD	
Sensors	
C
INTERNAL	USE	
OpenWrt	
▪  Linux	distribuYon	focus	on	embedded	devices	
•  Started	from	2004	
•  Typically	wireless	router	
•  Full-featured,	easily	modifiable	OS	for	routers	
▪  A	framework	to	build	network	applicaYons	
•  Free	from	the	restricYon	and	configuraYon	
provided	by	the	vendor	
29
INTERNAL	USE	
MRAA	
30	
▪  Abstract	the	I/O	interface	under	Linux	
•  GPIO	/	I2C	/	PWM	/	SPI	/	UART	
▪  C	/	Python	/	Node.js	
•  h7p://c.mraa.io/	
•  h7p://py.mraa.io	
•  h7p://js.mraa.io	
•  GitHub	
•  h7ps://github.com/intel-iot-devkit/mraa
INTERNAL	USE	
UPM	
31	
▪  Repository	for	sensor	/	module	driver	
implemented	by	MRAA	
▪  Support	various	devices	and	vendors	
•  Accelerometer	/	pressure	/	display	/	gps	/	led	/	motor…	
etc.	
•  Adafruit	/	SeeedStudio	/	Sparkfun...	etc.	
•  Complete	supported	device	list	
•  http://iotdk.intel.com/docs/master/upm/modules.html	
•  GitHub	
•  https://github.com/intel-iot-devkit/upm
INTERNAL	USE	
Soware	architecture	
32	
Python	 Node.js	
Sensors	
Firmata		
Python	 Node.js	
Sensors	
UART	port	
Sensor	Drivers	
UART	Library	
App	Logic	 App	Logic	
Sensors	
Bridge	Library	
Sensor	Drivers	
Bridge	Library	
App	Logic	
(MPU	provides	Wi-Fi	&	USB	Host)	
libmraa	
Python	 Node.js	
upm	
Sensors	
App	Logic	
Sensors	
USB	Device/SD	
LinkIt	Smart	7688	
Wi-Fi	
MT7688	 MT7688	
ATMega32U4	
UART	
USB	Device/SD	
Sensors		
LinkIt	Smart	7688	Duo	
OpenWrt		 OpenWrt	 OpenWrt	
OpenWrt	
Arduino	 Arduino	 Arduino	
Wi-Fi	
MPU	(MT7688)	with	OpenWrt	as	Host	
(default)	
C	 C	 C	
Firmata
INTERNAL	USE	
LinkIt	Smart	7688	Duo	
Scenario	#1	
33	
MT7688	
ATMega32U4	
UART	
USB	Device/SD	
Sensors		
Wi-Fi	
Hardware	Solware	
Python	 Node.js	
UART	port	
Sensor	Drivers	
UART	Library	
App	Logic	
OpenWrt	
Arduino	
Sensors	
C
INTERNAL	USE	
LinkIt	Smart	7688	Duo	
Scenario	#2	
34	
MT7688	
ATMega32U4	
UART	
USB	Device/SD	
Sensors		
Wi-Fi	
Hardware	Solware	
Firmata	
Python	 Node.js	
Sensors	
Firmata		
App	Logic	
OpenWrt	
Arduino	
C
INTERNAL	USE	
Firmata	
35	
▪  A	generic	protocol	from	communicaYon	
between	MCU	and	a	host	MPU	
•  h7p://firmata.org/wiki/Main_Page	
▪  ImplementaYons	in	Python,	Node.js,	C…	etc.
INTERNAL	USE	
LinkIt	Smart	7688	Duo	
Scenario	#3	
36	
MT7688	
ATMega32U4	
UART	
USB	Device/SD	
Sensors		
Wi-Fi	
Hardware	Solware	
Sensors	
Bridge	Library	
Sensor	Drivers	
Bridge	Library	
App	Logic	
(MPU	provides	Wi-Fi	&	USB	Host	/	SD)	
OpenWrt	
Arduino
INTERNAL	USE	
Bridge	library	
from	Arduino	Yun	
37	
▪  Use	UART	(serial	port)	as	the	physical	connecYon	
•  Bridge	commands	from	MCU	are	interpreted	by	Python	on	
MPU	
•  h7ps://github.com/arduino-libraries/Bridge	
MCU	 MPU
INTERNAL	USE	
Soware	architecture	
38	
Python	 Node.js	
Sensors	
Firmata		
Python	 Node.js	
Sensors	
UART	port	
Sensor	Drivers	
UART	Library	
App	Logic	 App	Logic	
Sensors	
Bridge	Library	
Sensor	Drivers	
Bridge	Library	
App	Logic	
(MPU	provides	Wi-Fi	&	USB	Host)	
libmraa	
Python	 Node.js	
upm	
Sensors	
App	Logic	
Sensors	
USB	Device/SD	
LinkIt	Smart	7688	
Wi-Fi	
MT7688	 MT7688	
ATMega32U4	
UART	
USB	Device/SD	
Sensors		
LinkIt	Smart	7688	Duo	
OpenWrt		 OpenWrt	 OpenWrt	
OpenWrt	
Arduino	 Arduino	 Arduino	
Wi-Fi	
MPU	(MT7688)	with	OpenWrt	as	Host	
(default)	
C	 C	 C	
Firmata
INTERNAL	USE	 39	
A	cloud	based	data	service	plaoorm	for	Internet	of	Things	devices.	
MediaTek	Cloud	Sandbox	(MCS)
INTERNAL	USE	 40	
Quickly	prototype	your	ideas
INTERNAL	USE	
MCS	–	CreaPng	an	end-to-end	
development	support	for	makers	
41	
Push	data	points		
into	clouds
Retrieve	data	generated		
from	device	
Send	noYficaYon	
for	specific	event	
Remote	switching		
and	control
INTERNAL	USE	
Benefits	to	Makers
Fast	Prototype
Ease	of	Demo
Free	Access	&	Support
INTERNAL	USE	 43	
MCS	Key	Features
INTERNAL	USE	
MCS	Service	Architecture
Common	Services	
Trigger	&	acYon	
Remote	Control	
Data	Storage	
Data	VisualizaYon	
Beta	Release	
	
	
	
	
	
Device		RegistraYon	
Device	Status	&	Usage	Report	
Prototyping	
	
	
	
	
	
Firmware	Update	
HTTP	/	HTTPS	Resoul	
API
TCP	Socket
Protocol	
MCS	Console	 MCS	App	
Developing	Tool	 Support	
API	reference
API	hint
Tutorial
FAQ
Forum
Data	Channel	Design	
Test	Device	Management	
User	Privilege	 IntegraYon	
Service	
Oauth
INTERNAL	USE	 45	
Development	Progress	
Device	management
Test	device
Prototype
•  Data	Channel	
•  Trigger	&	AcYon	
•  User	Privileges	
•  API	Hint	
•  Data	VisualizaYon	
•  Remote	Control	
•  NoYficaYon	
•  FOTA	
•  Device	AcYvaYon	
Support
MulY	Language	
Forum	
System	Monitor	API	Document	
Tutorial
INTERNAL	USE	
Device	management
Test	device
Prototype
•  Data	Channel	
•  Trigger	&	AcYon	
•  User	Privileges	
•  API	Hint	
•  Data	VisualizaYon	
•  Remote	Control	
•  NoYficaYon	
•  FOTA	
•  Device	AcYvaYon	
Support
VisualizaPon	Data	Channels
INTERNAL	USE	
Gamepad Controller
Device	management
Test	device
Prototype
•  Data	Channel	
•  Trigger		AcYon	
•  User	Privileges	
•  API	Hint	
•  Data	VisualizaYon	
•  Remote	Control	
•  NoYficaYon	
•  FOTA	
•  Device	AcYvaYon	
Support
INTERNAL	USE	
Image Display Video Streaming
Device	management
Test	device
Prototype
•  Data	Channel	
•  Trigger		AcYon	
•  User	Privileges	
•  API	Hint	
•  Data	VisualizaYon	
•  Remote	Control	
•  NoYficaYon	
•  FOTA	
•  Device	AcYvaYon	
Support
INTERNAL	USE	
Device	management
Test	device
Prototype
•  Data	Channel	
•  Trigger		AcYon	
•  User	Privileges	
•  API	Hint	
•  Data	VisualizaYon	
•  Remote	Control	
•  NoYficaYon	
•  FOTA	
•  Device	AcYvaYon	
Support
INTERNAL	USE	
Device	management
Test	device
Prototype
•  Data	Channel	
•  Trigger		AcYon	
•  User	Privileges	
•  API	Hint	
•  Data	VisualizaYon	
•  Remote	Control	
•  NoYficaYon	
•  FOTA	
•  Device	AcYvaYon	
Support
INTERNAL	USE	
Device	management
Test	device
Prototype
•  Data	Channel	
•  Trigger		AcYon	
•  User	Privileges	
•  API	Hint	
•  Data	VisualizaYon	
•  Remote	Control	
•  NoYficaYon	
•  FOTA	
•  Device	AcYvaYon	
Support
INTERNAL	USE	
Device	management
Test	device
Prototype
•  Data	Channel	
•  Trigger		AcYon	
•  User	Privileges	
•  API	Hint	
•  Data	VisualizaYon	
•  Remote	Control	
•  NoYficaYon	
•  FOTA	
•  Device	AcYvaYon	
Support
INTERNAL	USE	 53	
hfps://mcs.mediatek.com
Complimentary	Service			
Sign	up	today!
INTERNAL	USE	 54

LinkIt Smart 7688 - a more connected world