Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Make Your Raspberry Pi into Alexa Device
Search
Ryan Chung
March 07, 2019
Technology
96
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Make Your Raspberry Pi into Alexa Device
Alexa for Device Maker
Ryan Chung
March 07, 2019
More Decks by Ryan Chung
See All by Ryan Chung
MovieBot Development
ryan403
0
340
Design Voice-First Games for Alexa
ryan403
0
94
AI Teaching Talk
ryan403
0
160
Cognitive Service
ryan403
0
130
jQuery & API Practices
ryan403
0
170
CSS Practices
ryan403
1
190
JavaScript Practices
ryan403
0
120
Web Programming - Lesson 6
ryan403
1
680
Web Programming - Lesson 7
ryan403
1
670
Other Decks in Technology
See All in Technology
AI-DLCって実際どう? 〜聞きたいこと全部聞いてみる〜
news_it_enj
0
260
GuardDuty 検知対応を DevOps Agent で効率化しようとしている話 / GuardDuty Investigations with DevOps Agent
masahirokawahara
1
350
GoCon2026 - Open Source, Open World
sanposhiho
3
3.1k
SQL文一行も書けない人事がCortexもろもろを使って人事業務を楽にしてみる
ponponmikankan
1
210
Sigmaで作る業務アプリ
kazushiro_honma
0
110
リージョンの壁を越える、 ちょっと変わったAWSサービスの話
falken
PRO
1
300
薬剤師(ドメインエキスパート)と一緒に育てる薬局向けAIアシスタント
kakehashi
PRO
2
140
AI時代に顧客へ最速で価値を 届けるための試行錯誤 〜「AI × マネジメント」領域におけるmentoのケース〜
posterkeisuke
0
110
クロスボーダーM&AのValue Upを支えるプロダクト開発。日米チームのハブになったプロダクトエンジニアの実践 / Product Engineering Conference 2026
genda
0
110
プロダクト思考 × 基盤思考を AIで実現する Compound Engineering
tkc66buzz
1
310
株式会社シーエーシー エンジニア向け会社紹介資料
cac
0
57k
Omarchy Quattro の日本語設定周り
simosako
2
140
Featured
See All Featured
Leadership Guide Workshop - DevTernity 2021
reverentgeek
1
370
Building Flexible Design Systems
yeseniaperezcruz
330
41k
Statistics for Hackers
jakevdp
799
230k
Side Projects
sachag
456
43k
Sam Torres - BigQuery for SEOs
techseoconnect
PRO
0
540
How to Get Subject Matter Experts Bought In and Actively Contributing to SEO & PR Initiatives.
livdayseo
0
190
Game over? The fight for quality and originality in the time of robots
wayneb77
1
270
The Pragmatic Product Professional
lauravandoore
37
7.4k
Primal Persuasion: How to Engage the Brain for Learning That Lasts
tmiket
0
450
Automating Front-end Workflow
addyosmani
1369
210k
Ethics towards AI in product and experience design
skipperchong
2
370
Large-scale JavaScript Application Architecture
addyosmani
515
110k
Transcript
Alexa for Device –
[email protected]
Alexa for Device Makers 為你的設備加上AI對話式介面
Ryan Chung III Digital Education Institute 1 Source: developer.amazon.com
Alexa for Device –
[email protected]
為什麼要加上對話式介面 • 利用已成熟發展的Amazon Alexa技術 •
提供使用者更自然、更直接接觸的互動體驗 2 Source:normfeuticartoons.com
Alexa for Device –
[email protected]
兩種建立方式 • 內建 (alexa built-in)
– 裝置本身直接內建Amazon Alexa – Alexa Voice Service • 連接 (works with alexa) – 使用者必須同時擁有Amazon Alexa裝置 – Alexa Connected Devices 3
Alexa for Device –
[email protected]
常見應用裝置 4 音響喇叭 與 擴大機
耳機 汽車面板 各式電子零件 攝影機 / 視訊鏡頭 電燈開關
Alexa for Device –
[email protected]
Alexa Voice Service • 設定帳號與產品資訊
• Lab:利用樹莓派結合Alexa Device SDK 5
Alexa for Device –
[email protected]
設定帳號與產品資訊 • 建立 Amazon Developer帳號
– 右上角 Sign In – 然後點擊Create your Amazon Developer account 6 https://developer.amazon.com
Alexa for Device –
[email protected]
設定帳號與產品資訊 • 進入Alexa Voice Service頁面
7 https://developer.amazon.com/
Alexa for Device –
[email protected]
設定帳號與產品資訊 • 按下 Get Started
8 https://developer.amazon.com/alexa/console/avs/welcome
Alexa for Device –
[email protected]
設定帳號與產品資訊 • 按下 PRODUCTS 9
https://developer.amazon.com/alexa/console/avs/home
Alexa for Device –
[email protected]
設定帳號與產品資訊 • 按下 CREATE PRODUCT
10 https://developer.amazon.com/alexa/console/avs/home
Alexa for Device –
[email protected]
設定帳號與產品資訊 • 輸入產品資訊 11 https://developer.amazon.com/alexa/console/avs/products/new
Alexa for Device –
[email protected]
設定帳號與產品資訊 • 輸入產品資訊 12 https://developer.amazon.com/alexa/console/avs/products/new
Alexa for Device –
[email protected]
設定帳號與產品資訊 • 不用上傳照片,然後問題都選NO 13 https://developer.amazon.com/alexa/console/avs/products/new
Alexa for Device –
[email protected]
設定帳號與產品資訊 • 點擊 CREATE NEW
PROFILE 14 https://developer.amazon.com/alexa/console/avs/securityProfile
Alexa for Device –
[email protected]
設定帳號與產品資訊 • 輸入名稱與描述,按下NEXT • 會產生Security
Profile ID 15 https://developer.amazon.com/alexa/console/avs/securityProfile
Alexa for Device –
[email protected]
設定帳號與產品資訊 • 切換至 Other devices
and platforms • 輸入Client ID name,按下 GENERATE ID • 產生完成後,下方 I agree打勾、按下FINISH 16 https://developer.amazon.com/alexa/console/avs/securityProfile
Alexa for Device –
[email protected]
設定帳號與產品資訊 • 完成建立 17 https://developer.amazon.com/alexa/console/avs/securityProfile
Alexa for Device –
[email protected]
Lab:利用樹莓派結合Alexa Device SDK • 硬體準備
– Raspberry Pi 3 – 8/16/32GB microSD Card – USB Mic – 3.5mm compatible earbuds or speaker 18
Alexa for Device –
[email protected]
Lab:利用樹莓派結合Alexa Device SDK • 安裝作業系統並確認一切硬體連接妥當
19
Alexa for Device –
[email protected]
下載 AVS Device SDK •
sudo apt-get upgrade • wget https://raw.githubusercontent.com/alexa/avs- device-sdk/master/tools/Install/setup.sh \wget https://raw.githubusercontent.com/alexa/avs- device-sdk/master/tools/Install/genConfig.sh \wget https://raw.githubusercontent.com/alexa/avs- device-sdk/master/tools/Install/pi.sh 20
Alexa for Device –
[email protected]
Download your credentials • 回到Amazon
Developer開發站 • Alexa Voice Service -> Product • Product Details -> Security Profile • Other devices and platforms • DOWNLOAD • 下載至 home/pi 資料夾中 21
Alexa for Device –
[email protected]
Build the AVS Device SDK
• cd /home/pi • sudo bash setup.sh config.json [-s {{1234}}] • AGREE • 安裝流程約20分鐘(會有幾次需要按下Return、YES) • 若當機了就重開再執行一次 22
Alexa for Device –
[email protected]
確認Build成功 • 看到 *** Completed
Configuration/Build *** 23
Alexa for Device –
[email protected]
Get a Refresh Token •
先確認喇叭、USB麥克風都接上了 • cd /home/pi/ • sudo bash startsample.sh 24
Alexa for Device –
[email protected]
輸入授權碼 • https://amazon.com/us/code 25
Alexa for Device –
[email protected]
允許存取 26
Alexa for Device –
[email protected]
開始進行測試! • 大聲說Alexa,what time is
it? • 會看到Listening....Thinking....Speaking 聽到報時 27
Alexa for Device –
[email protected]
設定時區 • Settings -> 找到該裝置(AVS
Tutorials Project) • General -> Device time zone -> Asia, Taipei • 再次測試報時是否正確 28 https://alexa.amazon.com
Alexa for Device –
[email protected]
敬請指教 Ryan Chung Project Manager
III Digital Education Institute
[email protected]
29