54
Vincent Hsu Developer Product Manager LinkIt Smart 7688 - a more connected world

LinkIt Smart 7688 - a more connected world

Embed Size (px)

Citation preview

INTERNALUSE

VincentHsuDeveloperProductManager

LinkItSmart7688-amoreconnectedworld

INTERNALUSE

DEMO

2

INTERNALUSE

HexapodbyLinkItSmart7688

▪  h7ps://youtu.be/70pN0Rd0ca4▪  h7ps://github.com/SmallpTsai/7688-hexapod

INTERNALUSE

What’sinside?

4

INTERNALUSE

What’sinside?

5

LinkItSmart7688

INTERNALUSE

What’sinside?

6

LinkItSmart7688

18servomotors(3jointsx6legs)

INTERNALUSE

What’sinside?

7

LinkItSmart7688

TalkthroughWi-Fi(WebSocket)

18servomotors(3jointsx6legs)

INTERNALUSE

What’sinside?

8

LinkItSmart7688

TalkthroughWi-Fi(WebSocket)

Clientside:JavaScript

18servomotors(3jointsx6legs)

INTERNALUSE

What’sinside?

9

LinkItSmart7688

TalkthroughWi-Fi(WebSocket)

Clientside:JavaScript

18servomotors(3jointsx6legs)

Webserver

INTERNALUSE

What’sinside?

10

LinkItSmart7688

TalkthroughWi-Fi(WebSocket)

Clientside:JavaScript

18servomotors(3jointsx6legs)

WebserverNode.jsbackend

INTERNALUSE

What’sinside?

11

LinkItSmart7688

TalkthroughWi-Fi(WebSocket)

Clientside:JavaScript

18servomotors(3jointsx6legs)

WebserverNode.jsbackend

LibmraatocontrolI2C&PWM

INTERNALUSE 12

INTERNALUSE

LinkItSmart7688

13

INTERNALUSE

WhyIoT?WhyLinkIt?

14

INTERNALUSE 15

MediaTekmarketposiPons

Source(rankingbyrevenueof2014):StrategyAnalyYcs,Gartner,IDC,ICInsight,iSuppliandMediaTekcompanydata*CombinedwithMStar.Source(Rankingsbyvolume):StrategyAnalyYcs,Displaysearch,iSuppli,MediaTekcompanydata

1

2

3SmartphoneDigitalTV(*) DVD/BDPlayer Tablets Wi-FiFeaturePhone OpPcalDiscDrive

Copyright©MediaTekInc.Allrightsreserved.

INTERNALUSE

Fundamentalshi\inscope&scale

16

PCHomeasunit

MobileinternetPersonasunit

IoTThingasunit

1x 10x 100x 1000x

INTERNALUSE

IoT:connecPngtheworld

17

More•  Connectedthings•  ApplicaYons•  SystemintegraYons•  InteracYons•  Data•  Services•  AnalyYcs

Newdevices Newapps Newservices

INTERNALUSE

GrowthofIoTdevelopers

18

EcosystemapproachtapscreaYvity,innovaYon&skillscomingfromglobalnetworkofdevelopers&partners

Source:VisionMobile:"IoTReportSeries:IoTDeveloperPopula:on2015-2020,"September2015

By2020̶  20205MillionmoreIOTdevelopers̶  CAGR17%

300K 4.5M

5.3M 6.2M

7.3M 8.4M

9.7M

2014 2015 2016 2017 2018 2019 2020

INTERNALUSE

labs.mediatek.com SDKs Technicaldocs HDKs

DiscussionForums,FAQ&DevSupport

Newslefer SoluPonsCatalog

BusinessSupportandMatchmaking

19

INTERNALUSE

MediaTekLinkItDevelopmentplagorms

20

INTERNALUSE 21

INTERNALUSE

LinkItSmart7688

22

•  MT7688AN•  128MBDDR2•  32MBFlash•  ChipAntenna(default)•  IPEXExtAntenna•  microSD•  USBHost•  JTAG

INTERNALUSE

MT7688AN

23

▪  SpecificaYon▪  1T1R802.11nWi-Firadio,10/100MEthernet▪  580MHzMIPS®24KEcTMCPU▪  USB2.0host,SD-XC,I2S/PCM,I2C,PWM,UART,GPIO,SPI▪  Alsofeatured5-portrouter,eMMC,PCIesupport

INTERNALUSE

Pin-outdiagram

24

INTERNALUSE

LinkItSmart7688Duo

25

•  MT7688+ATmega32U4•  128MBDDR2•  32MBFlash•  ChipAntenna(default)•  IPEXExtAntenna•  microSD•  USBHost•  JTAG

INTERNALUSE

Pin-outdiagram

26

INTERNALUSE

So\warearchitecture

27

Python Node.js

Sensors

Firmata

Python Node.js

Sensors

UARTport

SensorDrivers

UARTLibrary

AppLogic AppLogic

Sensors

BridgeLibrary

SensorDrivers

BridgeLibrary

AppLogic

(MPUprovidesWi-Fi&USBHost)

libmraa

Python Node.js

upm

Sensors

AppLogic

Sensors

USBDevice/SD

LinkItSmart7688

Wi-Fi

MT7688 MT7688ATMega32U4

UART

USBDevice/SD

Sensors

LinkItSmart7688Duo

OpenWrt OpenWrt OpenWrt

OpenWrt

Arduino Arduino Arduino

Wi-Fi

MPU(MT7688)withOpenWrtasHost

(default)

C C C

Firmata

INTERNALUSE

LinkItSmart7688

28

libmraa

Python Node.js

upm

AppLogic

Wi-Fi

MT7688

OpenWrt

Hardware

Solw

are

Sensors

USBDevice/SD

Sensors

C

INTERNALUSE

OpenWrt

▪  LinuxdistribuYonfocusonembeddeddevices•  Startedfrom2004•  Typicallywirelessrouter•  Full-featured,easilymodifiableOSforrouters

▪  AframeworktobuildnetworkapplicaYons•  FreefromtherestricYonandconfiguraYonprovidedbythevendor

29

INTERNALUSE

MRAA

30

▪  AbstracttheI/OinterfaceunderLinux•  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

INTERNALUSE

UPM

31

▪  Repositoryforsensor/moduledriverimplementedbyMRAA

▪  Supportvariousdevicesandvendors•  Accelerometer/pressure/display/gps/led/motor…etc.

•  Adafruit/SeeedStudio/Sparkfun...etc.•  Completesupporteddevicelist•  http://iotdk.intel.com/docs/master/upm/modules.html

•  GitHub•  https://github.com/intel-iot-devkit/upm

INTERNALUSE

So\warearchitecture

32

Python Node.js

Sensors

Firmata

Python Node.js

Sensors

UARTport

SensorDrivers

UARTLibrary

AppLogic AppLogic

Sensors

BridgeLibrary

SensorDrivers

BridgeLibrary

AppLogic

(MPUprovidesWi-Fi&USBHost)

libmraa

Python Node.js

upm

Sensors

AppLogic

Sensors

USBDevice/SD

LinkItSmart7688

Wi-Fi

MT7688 MT7688ATMega32U4

UART

USBDevice/SD

Sensors

LinkItSmart7688Duo

OpenWrt OpenWrt OpenWrt

OpenWrt

Arduino Arduino Arduino

Wi-Fi

MPU(MT7688)withOpenWrtasHost

(default)

C C C

Firmata

INTERNALUSE

LinkItSmart7688DuoScenario#1

33

MT7688ATMega32U4

UART

USBDevice/SD

Sensors

Wi-FiHa

rdware

Solw

are

Python Node.js

UARTport

SensorDrivers

UARTLibrary

AppLogic

OpenWrt

Arduino

Sensors

C

INTERNALUSE

LinkItSmart7688DuoScenario#2

34

MT7688ATMega32U4

UART

USBDevice/SD

Sensors

Wi-FiHa

rdware

Solw

are Firmata

Python Node.js

Sensors

Firmata

AppLogic

OpenWrt

Arduino

C

INTERNALUSE

Firmata

35

▪  AgenericprotocolfromcommunicaYonbetweenMCUandahostMPU•  h7p://firmata.org/wiki/Main_Page

▪  ImplementaYonsinPython,Node.js,C…etc.

INTERNALUSE

LinkItSmart7688DuoScenario#3

36

MT7688ATMega32U4

UART

USBDevice/SD

Sensors

Wi-FiHa

rdware

Solw

are

Sensors

BridgeLibrary

SensorDrivers

BridgeLibrary

AppLogic

(MPUprovidesWi-Fi&USBHost/SD)OpenWrt

Arduino

INTERNALUSE

BridgelibraryfromArduinoYun

37

▪  UseUART(serialport)asthephysicalconnecYon•  BridgecommandsfromMCUareinterpretedbyPythononMPU

•  h7ps://github.com/arduino-libraries/Bridge

MCU MPU

INTERNALUSE

So\warearchitecture

38

Python Node.js

Sensors

Firmata

Python Node.js

Sensors

UARTport

SensorDrivers

UARTLibrary

AppLogic AppLogic

Sensors

BridgeLibrary

SensorDrivers

BridgeLibrary

AppLogic

(MPUprovidesWi-Fi&USBHost)

libmraa

Python Node.js

upm

Sensors

AppLogic

Sensors

USBDevice/SD

LinkItSmart7688

Wi-Fi

MT7688 MT7688ATMega32U4

UART

USBDevice/SD

Sensors

LinkItSmart7688Duo

OpenWrt OpenWrt OpenWrt

OpenWrt

Arduino Arduino Arduino

Wi-Fi

MPU(MT7688)withOpenWrtasHost

(default)

C C C

Firmata

INTERNALUSE 39

AcloudbaseddataserviceplaoormforInternetofThingsdevices.

MediaTekCloudSandbox(MCS)

INTERNALUSE 40

Quicklyprototypeyourideas

INTERNALUSE

MCS–CreaPnganend-to-enddevelopmentsupportformakers

41

Pushdatapointsintoclouds

Retrievedatageneratedfromdevice

SendnoYficaYonforspecificevent

Remoteswitchingandcontrol

INTERNALUSE

BenefitstoMakers

FastPrototype

EaseofDemo

FreeAccess&Support

INTERNALUSE 43

MCSKeyFeatures

INTERNALUSE

MCSServiceArchitecture

CommonServices

Trigger&acYon

RemoteControl

DataStorage

DataVisualizaYon

BetaRelease

DeviceRegistraYon

DeviceStatus&UsageReport

Prototyping

FirmwareUpdate

HTTP/HTTPSResoulAPI TCPSocket

Protocol

MCSConsole MCSApp

DevelopingTool Support

APIreference

APIhint

Tutorial

FAQ

Forum

DataChannelDesign

TestDeviceManagement

UserPrivilege IntegraYonService

Oauth

INTERNALUSE 45

DevelopmentProgress

Devicemanagement Testdevice Prototype

•  DataChannel•  Trigger&AcYon•  UserPrivileges

•  APIHint•  DataVisualizaYon•  RemoteControl•  NoYficaYon

•  FOTA•  DeviceAcYvaYon

Support

MulYLanguageForum

SystemMonitorAPIDocumentTutorial

INTERNALUSE

Devicemanagement Testdevice Prototype

•  DataChannel•  Trigger&AcYon•  UserPrivileges

•  APIHint•  DataVisualizaYon•  RemoteControl•  NoYficaYon

•  FOTA•  DeviceAcYvaYon

Support

VisualizaPonDataChannels

INTERNALUSE

Gamepad Controller�

Devicemanagement Testdevice Prototype

•  DataChannel•  Trigger&AcYon•  UserPrivileges

•  APIHint•  DataVisualizaYon•  RemoteControl•  NoYficaYon

•  FOTA•  DeviceAcYvaYon

Support

INTERNALUSE

Image Display� Video Streaming�

Devicemanagement Testdevice Prototype

•  DataChannel•  Trigger&AcYon•  UserPrivileges

•  APIHint•  DataVisualizaYon•  RemoteControl•  NoYficaYon

•  FOTA•  DeviceAcYvaYon

Support

INTERNALUSE

Devicemanagement Testdevice Prototype

•  DataChannel•  Trigger&AcYon•  UserPrivileges

•  APIHint•  DataVisualizaYon•  RemoteControl•  NoYficaYon

•  FOTA•  DeviceAcYvaYon

Support

INTERNALUSE

Devicemanagement Testdevice Prototype

•  DataChannel•  Trigger&AcYon•  UserPrivileges

•  APIHint•  DataVisualizaYon•  RemoteControl•  NoYficaYon

•  FOTA•  DeviceAcYvaYon

Support

INTERNALUSE

Devicemanagement Testdevice Prototype

•  DataChannel•  Trigger&AcYon•  UserPrivileges

•  APIHint•  DataVisualizaYon•  RemoteControl•  NoYficaYon

•  FOTA•  DeviceAcYvaYon

Support

INTERNALUSE

Devicemanagement Testdevice Prototype

•  DataChannel•  Trigger&AcYon•  UserPrivileges

•  APIHint•  DataVisualizaYon•  RemoteControl•  NoYficaYon

•  FOTA•  DeviceAcYvaYon

Support

INTERNALUSE 53

hfps://mcs.mediatek.com

ComplimentaryServiceSignuptoday!

INTERNALUSE 54