Soumettre la recherche
Mettre en ligne
How to create your Smart Toy with bluemix & 7688 Duo board
•
3 j'aime
•
911 vues
湯米吳 Tommy Wu
Suivre
Create your own smart toy with tiny 7688 duo board and IBM Cloud Bluemix
Lire moins
Lire la suite
Technologie
Signaler
Partager
Signaler
Partager
1 sur 33
Télécharger maintenant
Télécharger pour lire hors ligne
Recommandé
必見!絶対におすすめの通信業界セッション 5 つ ~秋の GTC 2020~
必見!絶対におすすめの通信業界セッション 5 つ ~秋の GTC 2020~
NVIDIA Japan
運用 Ibm watson技術快速打造智慧應用系統
運用 Ibm watson技術快速打造智慧應用系統
湯米吳 Tommy Wu
LinkIt Smart 7688 Duo and MCS basics
LinkIt Smart 7688 Duo and MCS basics
CAVEDU Education
Cloud development technology sharing (BlueMix premier)
Cloud development technology sharing (BlueMix premier)
湯米吳 Tommy Wu
Bluemix 智能機器人情境展示
Bluemix 智能機器人情境展示
湯米吳 Tommy Wu
Peripheral Programming using Arduino and Python on MediaTek LinkIt Smart 7688...
Peripheral Programming using Arduino and Python on MediaTek LinkIt Smart 7688...
MediaTek Labs
LinkIt Smart 7688程式開發
LinkIt Smart 7688程式開發
Wei-Tsung Su
Аппараты HyPerformance Plasma HPR 130
Аппараты HyPerformance Plasma HPR 130
QUANTEC machinery and metal working
Recommandé
必見!絶対におすすめの通信業界セッション 5 つ ~秋の GTC 2020~
必見!絶対におすすめの通信業界セッション 5 つ ~秋の GTC 2020~
NVIDIA Japan
運用 Ibm watson技術快速打造智慧應用系統
運用 Ibm watson技術快速打造智慧應用系統
湯米吳 Tommy Wu
LinkIt Smart 7688 Duo and MCS basics
LinkIt Smart 7688 Duo and MCS basics
CAVEDU Education
Cloud development technology sharing (BlueMix premier)
Cloud development technology sharing (BlueMix premier)
湯米吳 Tommy Wu
Bluemix 智能機器人情境展示
Bluemix 智能機器人情境展示
湯米吳 Tommy Wu
Peripheral Programming using Arduino and Python on MediaTek LinkIt Smart 7688...
Peripheral Programming using Arduino and Python on MediaTek LinkIt Smart 7688...
MediaTek Labs
LinkIt Smart 7688程式開發
LinkIt Smart 7688程式開發
Wei-Tsung Su
Аппараты HyPerformance Plasma HPR 130
Аппараты HyPerformance Plasma HPR 130
QUANTEC machinery and metal working
How to create best-in-class workplace experiences in 2017
How to create best-in-class workplace experiences in 2017
ISS Group
Bluemix 雲端機器人 超級鋼蛋 watson
Bluemix 雲端機器人 超級鋼蛋 watson
彥丞 龔
Smart Google Teddy Bear
Smart Google Teddy Bear
Kinjal Solanki
How to build your own robot with ibm bluemix&watson
How to build your own robot with ibm bluemix&watson
湯米吳 Tommy Wu
Humix community 2017 kickoff
Humix community 2017 kickoff
Jeffrey Liu
IBM以雲端技術與物聯網創新產業應用@2016 New Taipei Maker Faire
IBM以雲端技術與物聯網創新產業應用@2016 New Taipei Maker Faire
CAVEDU Education
C#
C#
Shi-Xun Hong
Sass&rwd前端版型架構規劃
Sass&rwd前端版型架構規劃
洧杰 廖
自從學會Sass / Compass後,考試都考100分!
自從學會Sass / Compass後,考試都考100分!
洧杰 廖
智慧行動App跨國推廣經驗談 by 天橋科技
智慧行動App跨國推廣經驗談 by 天橋科技
Amos Lee
MQTT簡介與使用開放原始碼
MQTT簡介與使用開放原始碼
Wei-Tsung Su
開放資料與 Drupal
開放資料與 Drupal
Charles Chuang
5分鐘建立第一個Bluemix網站
5分鐘建立第一個Bluemix網站
Pei-Ru Shih
Why Chatbot? 為何開發聊天機器人?
Why Chatbot? 為何開發聊天機器人?
Burton Chau
JavaScript 從零開始
JavaScript 從零開始
Adam Hung
Project Humix overview
Project Humix overview
Jeffrey Liu
Connecting NEST via MQTT to Internet of Things
Connecting NEST via MQTT to Internet of Things
Markus Van Kempen
Automatski - The Internet of Things - Security in IoT
Automatski - The Internet of Things - Security in IoT
automatskicorporation
JavaでCPUを使い倒す! ~Java 9 以降の CPU 最適化を覗いてみる~(NTTデータ テクノロジーカンファレンス 2019 講演資料、2019...
JavaでCPUを使い倒す! ~Java 9 以降の CPU 最適化を覗いてみる~(NTTデータ テクノロジーカンファレンス 2019 講演資料、2019...
NTT DATA Technology & Innovation
SmartCard Forum 2008 - Gemalto
SmartCard Forum 2008 - Gemalto
OKsystem
Bare metal Javascript & GPIO programming in Linux
Bare metal Javascript & GPIO programming in Linux
Alexander Vanwynsberghe
4-13Levi Morey
4-13Levi Morey
Levi Morey
Contenu connexe
En vedette
How to create best-in-class workplace experiences in 2017
How to create best-in-class workplace experiences in 2017
ISS Group
Bluemix 雲端機器人 超級鋼蛋 watson
Bluemix 雲端機器人 超級鋼蛋 watson
彥丞 龔
Smart Google Teddy Bear
Smart Google Teddy Bear
Kinjal Solanki
How to build your own robot with ibm bluemix&watson
How to build your own robot with ibm bluemix&watson
湯米吳 Tommy Wu
Humix community 2017 kickoff
Humix community 2017 kickoff
Jeffrey Liu
IBM以雲端技術與物聯網創新產業應用@2016 New Taipei Maker Faire
IBM以雲端技術與物聯網創新產業應用@2016 New Taipei Maker Faire
CAVEDU Education
C#
C#
Shi-Xun Hong
Sass&rwd前端版型架構規劃
Sass&rwd前端版型架構規劃
洧杰 廖
自從學會Sass / Compass後,考試都考100分!
自從學會Sass / Compass後,考試都考100分!
洧杰 廖
智慧行動App跨國推廣經驗談 by 天橋科技
智慧行動App跨國推廣經驗談 by 天橋科技
Amos Lee
MQTT簡介與使用開放原始碼
MQTT簡介與使用開放原始碼
Wei-Tsung Su
開放資料與 Drupal
開放資料與 Drupal
Charles Chuang
5分鐘建立第一個Bluemix網站
5分鐘建立第一個Bluemix網站
Pei-Ru Shih
Why Chatbot? 為何開發聊天機器人?
Why Chatbot? 為何開發聊天機器人?
Burton Chau
JavaScript 從零開始
JavaScript 從零開始
Adam Hung
Project Humix overview
Project Humix overview
Jeffrey Liu
En vedette
(16)
How to create best-in-class workplace experiences in 2017
How to create best-in-class workplace experiences in 2017
Bluemix 雲端機器人 超級鋼蛋 watson
Bluemix 雲端機器人 超級鋼蛋 watson
Smart Google Teddy Bear
Smart Google Teddy Bear
How to build your own robot with ibm bluemix&watson
How to build your own robot with ibm bluemix&watson
Humix community 2017 kickoff
Humix community 2017 kickoff
IBM以雲端技術與物聯網創新產業應用@2016 New Taipei Maker Faire
IBM以雲端技術與物聯網創新產業應用@2016 New Taipei Maker Faire
C#
C#
Sass&rwd前端版型架構規劃
Sass&rwd前端版型架構規劃
自從學會Sass / Compass後,考試都考100分!
自從學會Sass / Compass後,考試都考100分!
智慧行動App跨國推廣經驗談 by 天橋科技
智慧行動App跨國推廣經驗談 by 天橋科技
MQTT簡介與使用開放原始碼
MQTT簡介與使用開放原始碼
開放資料與 Drupal
開放資料與 Drupal
5分鐘建立第一個Bluemix網站
5分鐘建立第一個Bluemix網站
Why Chatbot? 為何開發聊天機器人?
Why Chatbot? 為何開發聊天機器人?
JavaScript 從零開始
JavaScript 從零開始
Project Humix overview
Project Humix overview
Similaire à How to create your Smart Toy with bluemix & 7688 Duo board
Connecting NEST via MQTT to Internet of Things
Connecting NEST via MQTT to Internet of Things
Markus Van Kempen
Automatski - The Internet of Things - Security in IoT
Automatski - The Internet of Things - Security in IoT
automatskicorporation
JavaでCPUを使い倒す! ~Java 9 以降の CPU 最適化を覗いてみる~(NTTデータ テクノロジーカンファレンス 2019 講演資料、2019...
JavaでCPUを使い倒す! ~Java 9 以降の CPU 最適化を覗いてみる~(NTTデータ テクノロジーカンファレンス 2019 講演資料、2019...
NTT DATA Technology & Innovation
SmartCard Forum 2008 - Gemalto
SmartCard Forum 2008 - Gemalto
OKsystem
Bare metal Javascript & GPIO programming in Linux
Bare metal Javascript & GPIO programming in Linux
Alexander Vanwynsberghe
4-13Levi Morey
4-13Levi Morey
Levi Morey
1606015 m1 yamamoto
1606015 m1 yamamoto
robo_lab
NXP'S-PORTFOLIO-FOR-ADDRESSING-IOT-SECURITY.pdf
NXP'S-PORTFOLIO-FOR-ADDRESSING-IOT-SECURITY.pdf
ssuser57b3e5
Intels presentation at blue line industrial computer seminar
Intels presentation at blue line industrial computer seminar
Blue Line
Deep Learning Edge
Deep Learning Edge
Ganesan Narayanasamy
Connectivity is here (5 g, swarm,...). now, let's build interplanetary apps! (1)
Connectivity is here (5 g, swarm,...). now, let's build interplanetary apps! (1)
Samy Fodil
Windows Telnet Server for your mobile devices, RF Terminal data acquisiiton B...
Windows Telnet Server for your mobile devices, RF Terminal data acquisiiton B...
topomax
Nassim_TLILI_resume
Nassim_TLILI_resume
Nassim TLILI
IoT on Raspberry Pi
IoT on Raspberry Pi
John Staveley
DEFCON-21-Koscher-Butler-The-Secret-Life-of-SIM-Cards-Updated.pdf
DEFCON-21-Koscher-Butler-The-Secret-Life-of-SIM-Cards-Updated.pdf
Wlamir Molinari
Azure Sphere
Azure Sphere
Mirco Vanini
SSL/TLS for Mortals (Voxxed Days Luxembourg)
SSL/TLS for Mortals (Voxxed Days Luxembourg)
Maarten Mulders
There's more than web
There's more than web
Matt Evans
TechWiseTV Workshop: Application Hosting on Catalyst 9000 Series Switches
TechWiseTV Workshop: Application Hosting on Catalyst 9000 Series Switches
Robb Boyd
Gene Hynson [InfluxData] | How We Built the MQTT Native Collector | InfluxDay...
Gene Hynson [InfluxData] | How We Built the MQTT Native Collector | InfluxDay...
InfluxData
Similaire à How to create your Smart Toy with bluemix & 7688 Duo board
(20)
Connecting NEST via MQTT to Internet of Things
Connecting NEST via MQTT to Internet of Things
Automatski - The Internet of Things - Security in IoT
Automatski - The Internet of Things - Security in IoT
JavaでCPUを使い倒す! ~Java 9 以降の CPU 最適化を覗いてみる~(NTTデータ テクノロジーカンファレンス 2019 講演資料、2019...
JavaでCPUを使い倒す! ~Java 9 以降の CPU 最適化を覗いてみる~(NTTデータ テクノロジーカンファレンス 2019 講演資料、2019...
SmartCard Forum 2008 - Gemalto
SmartCard Forum 2008 - Gemalto
Bare metal Javascript & GPIO programming in Linux
Bare metal Javascript & GPIO programming in Linux
4-13Levi Morey
4-13Levi Morey
1606015 m1 yamamoto
1606015 m1 yamamoto
NXP'S-PORTFOLIO-FOR-ADDRESSING-IOT-SECURITY.pdf
NXP'S-PORTFOLIO-FOR-ADDRESSING-IOT-SECURITY.pdf
Intels presentation at blue line industrial computer seminar
Intels presentation at blue line industrial computer seminar
Deep Learning Edge
Deep Learning Edge
Connectivity is here (5 g, swarm,...). now, let's build interplanetary apps! (1)
Connectivity is here (5 g, swarm,...). now, let's build interplanetary apps! (1)
Windows Telnet Server for your mobile devices, RF Terminal data acquisiiton B...
Windows Telnet Server for your mobile devices, RF Terminal data acquisiiton B...
Nassim_TLILI_resume
Nassim_TLILI_resume
IoT on Raspberry Pi
IoT on Raspberry Pi
DEFCON-21-Koscher-Butler-The-Secret-Life-of-SIM-Cards-Updated.pdf
DEFCON-21-Koscher-Butler-The-Secret-Life-of-SIM-Cards-Updated.pdf
Azure Sphere
Azure Sphere
SSL/TLS for Mortals (Voxxed Days Luxembourg)
SSL/TLS for Mortals (Voxxed Days Luxembourg)
There's more than web
There's more than web
TechWiseTV Workshop: Application Hosting on Catalyst 9000 Series Switches
TechWiseTV Workshop: Application Hosting on Catalyst 9000 Series Switches
Gene Hynson [InfluxData] | How We Built the MQTT Native Collector | InfluxDay...
Gene Hynson [InfluxData] | How We Built the MQTT Native Collector | InfluxDay...
Plus de 湯米吳 Tommy Wu
Metaverse and Digital Twins on Enterprise-Public.pdf
Metaverse and Digital Twins on Enterprise-Public.pdf
湯米吳 Tommy Wu
Project AI-Care for COVID-19 prevention
Project AI-Care for COVID-19 prevention
湯米吳 Tommy Wu
Deep reinforcement learning&Robotics
Deep reinforcement learning&Robotics
湯米吳 Tommy Wu
AIoT and edge computing solutions
AIoT and edge computing solutions
湯米吳 Tommy Wu
Tj bot 0317實作坊 組裝篇
Tj bot 0317實作坊 組裝篇
湯米吳 Tommy Wu
聊天機器人實作展示與解密 Tommy wut克邦
聊天機器人實作展示與解密 Tommy wut克邦
湯米吳 Tommy Wu
企業應用行動化開發架構
企業應用行動化開發架構
湯米吳 Tommy Wu
Plus de 湯米吳 Tommy Wu
(7)
Metaverse and Digital Twins on Enterprise-Public.pdf
Metaverse and Digital Twins on Enterprise-Public.pdf
Project AI-Care for COVID-19 prevention
Project AI-Care for COVID-19 prevention
Deep reinforcement learning&Robotics
Deep reinforcement learning&Robotics
AIoT and edge computing solutions
AIoT and edge computing solutions
Tj bot 0317實作坊 組裝篇
Tj bot 0317實作坊 組裝篇
聊天機器人實作展示與解密 Tommy wut克邦
聊天機器人實作展示與解密 Tommy wut克邦
企業應用行動化開發架構
企業應用行動化開發架構
Dernier
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
apidays
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Victor Rentea
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
Zilliz
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
ThousandEyes
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontology
johnbeverley2021
Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..
Christopher Logan Kennedy
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
DianaGray10
Elevate Developer Efficiency & build GenAI Application with Amazon Q
Elevate Developer Efficiency & build GenAI Application with Amazon Q
Bhuvaneswari Subramani
presentation ICT roal in 21st century education
presentation ICT roal in 21st century education
jfdjdjcjdnsjd
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Edi Saputra
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Angeliki Cooney
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
sammart93
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
rafiqahmad00786416
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
UiPathCommunity
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Orbitshub
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
apidays
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
Khushali Kathiriya
Dernier
(20)
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontology
Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Elevate Developer Efficiency & build GenAI Application with Amazon Q
Elevate Developer Efficiency & build GenAI Application with Amazon Q
presentation ICT roal in 21st century education
presentation ICT roal in 21st century education
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
How to create your Smart Toy with bluemix & 7688 Duo board
1.
© 2014 IBM
Corporation How to Create your Smart Toy with IBM bluemix & MTK 7688 Duo Tommy Wu , IBM Cloud. Senior Cloud Architect Document number
2.
© 2014 IBM
Corporation 準備清單(Prerequisite) MTK 7688 Duo 一塊 USB Sound Card 外接音效卡 Speaker 喇叭 Mic 麥克風 Ragdoll 布娃娃 SD卡 2
3.
© 2014 IBM
Corporation 架構示意圖 -Device Publish STT Result To Cloud Q&A Logic iot_client.publish('iot-2/evt/status/fmt/json', '{"d":{"status": "connected" }}'); 3 7688 Duo DEIVCE Node-RED 你好 我是ooo MQTT Q&A Logic 小腦 大腦
4.
© 2014 IBM
Corporation 架構示意圖 -Device 監聽雲端 Q&A Response Data to Speaker Out 4 speaker Node-RED 7688 Duo deviceMQTT 大腦 小腦 iot_client.on("message", function(topic,payload){ console.log('received topic:'+topic+', payload:'+payload);}); Q&A Logic
5.
© 2014 IBM
Corporation Bluemix 準備工作
6.
© 2014 IBM
Corporation BLUEMIX Registration 事前準備! 6 前往BLUEMIX官網申請帳號
7.
© 2014 IBM
Corporation 建立Speech To Text 服務 Bluemix > Category > Watson > Speech To Text > Create Services Bluemix > Dashboard > Servies > Speech To Text-ro – Get Your Username/Password 7
8.
© 2014 IBM
Corporation 建立IOT應用程式 8
9.
© 2014 IBM
Corporation Go To Bluemix Dashboard – Create Your application 9
10.
© 2014 IBM
Corporation Choose Template - 選擇樣板 10
11.
© 2014 IBM
Corporation Choose IOT Starter Template 應用程式 11
12.
© 2014 IBM
Corporation 完成建立IOT AP 應用程式 12 建立完成後,Go To Bluemix > Dashboard > Application > Your IOT Application
13.
© 2014 IBM
Corporation 選擇 IOT 服務 13
14.
© 2014 IBM
Corporation GO To IOT Service Dashboard -前往儀表板 14
15.
© 2014 IBM
Corporation Select Devices Tab -點選裝置 15
16.
© 2014 IBM
Corporation Add Your Device -新增裝置 16 Ex :7688duo robot device 2016年6月10日 下午10:20:55
17.
© 2014 IBM
Corporation Please keep the device token -請保留這張資訊 17
18.
© 2014 IBM
Corporation Device 端 (7866 Duo) 邏輯開發
19.
© 2014 IBM
Corporation Initialize MTK LinkIt 7688 Duo 19 參考CAVEDU 基本設置 http://blog.cavedu.com/%E7%89%A9%E8%81%AF%E7%B6%B2/linkit- 7688duo%E6%9D%BF%E4%BB%8B%E7%B4%B9%E8%88%87arduino- %E8%A8%AD%E7%BD%AE%E6%95%99%E5%AD%B8/ 安裝所需npm package : mqtt/watson-developer-cloud/node-aplay/request/fs/querystring
20.
© 2014 IBM
Corporation Cross-Compiler for NPM Packages 20 本身只有 32mb flash 以及 128 mb Memory,所以需要Cross-Compiler來加快速度,有二個方 案: https://iamblue.gitbooks.io/linkit-smart-nodejs/content/zh-TW/emulator/ 開個7688模擬器 https://medium.com/maker-cup/mt7688-%E6%8A%97%E7%97%9B%E5%AF%A7- %E4%BA%A4%E5%8F%89%E7%B7%A8%E8%AD%AF-node-js- %E5%8E%9F%E7%94%9F%E6%A8%A1%E7%B5%84-69abc6258bce#.ggasla7qu建 立7688 cross-compiler環境 安裝所需npm package : mqtt/watson-developer-cloud/node-aplay/request/fs/querystring 安裝 madplay for playing TTS voice. 空間使用資源如下:可以把所有東西移到SD卡,下次複製比較方便 (Put all your resource under SD card for easier replication)
21.
© 2014 IBM
Corporation 以npm安裝mqtt package 並撰寫code var clientId = [‘d’, “(組織ID)”, “robot”, “(裝置ID)”].join(‘:’); //7688 Duo Device Client ID iot_client = mqtt.connect("mqtt://(組織ID).messaging.internetofthings.ibmcloud.com:1883",// 連結mqtt伺服器的認證 { "clientId" : clientId, "keepalive" : 30, "username" : "use-token-auth", "password" : "(鑑別記號)" }); 21
22.
© 2014 IBM
Corporation 傳送一個Event至BLUEMIX的Status節點 22 iot_client.on('connect', function() {//如果連接上的話要做的事情 console.log(‘STT client connected to IBM IoT Cloud.'); iot_client.publish('iot-2/evt/status/fmt/json', '{"d":{"status": "connected" }}'); //發布一個event至伺服器, event的名子叫做status, format為json,其中值為 {“status”,”connected”} iot_client.subscribe('iot-2/cmd/+/fmt/+', function(err, granted){ console.log('subscribed command, granted: '+ JSON.stringify(granted)); }); //訂閱來自Cloud的response command, 允許為任何format
23.
© 2014 IBM
Corporation23 7688 Duo Device 端程式邏輯 (1) - Watson STT Enablement Use 8bit 22k recording to avoid overrun & delay Enable Watson Speech-to-Text Streaming Service
24.
© 2014 IBM
Corporation 7688 Duo Device 端程式邏輯 (2) -Watson STT Listen Event & IOT Publish 7688 Duo subscribe Cloud Q&A Logic and Response in Google TTS (中文) 24 Websocket listen for STT results and Publish to Bluemix IOT
25.
© 2014 IBM
Corporation Device端 7688 Duo 執行命令及結果檢視(monitor) 啟動Node.js AP 語音問答 (Q&A Results) 25
26.
© 2014 IBM
Corporation 雲端(Bluemix) 對談流程設計
27.
© 2014 IBM
Corporation 前往IOT application - Node-RED based Application 27
28.
© 2014 IBM
Corporation Design your Simple Q&A Logic with Node-RED Flow 28
29.
© 2014 IBM
Corporation 執行程式碼就可以看到資訊 29 You should see the status connected sent from 7688 Duo
30.
© 2014 IBM
Corporation 雲端大腦 Simple Q&A Editor Node-Red : 4 Nodes to create your own dialog 30 Voice STT-In Google TTS-Out 自行編輯欲對話的簡單QA
31.
© 2014 IBM
Corporation Next Step Connect To Watson Service : Dialog, Natural Language Classifier , Conversation. Add Grove Pi Sensors to 7688 Duo Arduino MCU board 31
32.
© 2014 IBM
Corporation Resources Bluemix Registration : https://console.ng.bluemix.net/registration Source Code on Github : https://github.com/tommywu052/7688duoDoll Demo Video on Youtube : https://youtu.be/aQ24_Zdb9Ps 32
33.
© 2014 IBM
Corporation 謝謝觀賞! 33
Télécharger maintenant