Advertisement
Advertisement

More Related Content

Similar to Getting Started with Amazon Alexa on the Raspberry Pi(20)

Advertisement

Getting Started with Amazon Alexa on the Raspberry Pi

  1. 1
  2. Getting Started with Amazon Alexa on the Raspberry Pi
  3. HELLO! I am Ayumi Kobukata CYDAS, Inc. Server Side Engineer 3 Ayumi Kobukata @_kobuuukata
  4. WHAT IS ALEXA? 4 ❏ A virtual assistant developed by Amazon. ❏ It's currently deployed in 11 countries. ❏ AWS Certified Alexa Skill Builder - Specialty announced in January 2019.
  5. DEGREE OF ATTENTION TO ALEXA IN JAPAN ❏ It started the Alexa in 2017. ❏ Amazon Alexa Japan User Group (AAJUG). ❏ Alexa Day, an event dedicated to Alexa. 5
  6. 6 ALEXA BUILD-IN DEVICE 20,000+ Alexa build-in device in 2018. 100 million Alexa build-in device have been sold.
  7. ALEXA VOICE SERVICE (AVS) 7 https://www.slideshare.net/AmazonWebServices/alx202integrate-alexa-voice-technology-into-your-product-with-the-alexa-voice-service
  8. 8 ALEXA ARCHITECTURE Alexa Voice Service Alexa Skills Kit Voice Input Service / Data Source Weather service, Time service, Music service etc. REST Service Device Req. Voice Steam Voice Output Resp. Voice Steam Lambda • Identifies skill name • Analyzes & understands the req. • Sends the custom Alexa skill a structured representation of user’s req. • Your custom Alexa skill receives the req. • Processes the req. and returns text response • Alexa converts the returned text to speech • Streams to device https://www.slideshare.net/aniruddha.chakrabarti/amazon-alexa-building-custom-skills
  9. ORIGINAL ALEXA BUILD-IN DEVICE Raspberry Pi
  10. WHAT IS RASPBERRY PI? ❏ A low cost, credit-card sized computer. ❏ For promote teaching of basic computer science in schools ❏ In March 2018, sales reached 19 million. ❏ Many WOMEN-ONLY study sessions in Japan. 10
  11. RUN THE SAMPLE APP Let's run Alexa on Raspberry Pi according to the tutorial. 11
  12. NECESSARY PARTS 12 Raspberry Pi 3 USB microphone LAN cable USB cable Speakermicro SD card
  13. PROCESS IS EASY 13 1 2 3
  14. 1) REGISTER A PRODUCT 14 ❏ Register prototype in Amazon Developer account.
  15. 2) BUILD THE AVS DEVICE SDK 15 ❏ Download the SDK and run the install script. - Takes 1 hour to complete. ❏ Get a Refresh Token.
  16. 3) TALK WITH ALEXA! 16 https://youtu.be/4NKNHPT7ndg
  17. DIY ECHO BUTTONS Let’s make a Buzzer Quiz! 17
  18. WHAT IS ECHO BUTTONS? ❏ Interaction with Alexa devices like the Echo series. ❏ To play games and control smart home routines. ❏ Choose from a catalog of 100+ compatible Alexa skills. 18
  19. 19 Device AVS ASK Say “Alexa" Give a quiz. Sends Alexa Skill Identify the player.Push button. Ask the answer. To answer. Say “Player 1.” Decides whether or not answer is correct. BUZZER QUIZ ARCHITECTURE 1 2 3 4 5 6 7 8 9
  20. HOW TO MAKE A BUZZER QUIZ 20 1 2 3
  21. 1) ASSEMBLE AN ELECTRONIC CIRCUIT 21 GPIO
  22. 2) CREATE A PROGRAM THAT RECOGNIZES THE PLAYER 22 A Library for Controlling Raspberry Pi GPIO GPIO18: Connect to Blue Button GPIO24: Connect to Red Button Initialization of WiringPi GPIO Pin Mode Setting Sets Pin Pull-up or Pull-down Resistance Mode Returns the Value Read on the Given Pin.
  23. 3) CREATE AN ALEXA SKILL - Voiceflow 23 https://www.voiceflow.com/ ❏ Non coding Alexa skill development.
  24. 3) CREATE AN ALEXA SKILL - Voiceflow 24 ❏ Important Points – The call name must be at least 2 words. – Can’t use wake words.
  25. 25 DEMONSTRATION
  26. BUZZER QUIZ DEMONSTRATION 26 https://youtu.be/sb_aMBrs77s
  27. IN THE END.. 27 ❏ Alexa is easy to get started! ❏ Ideas spread when combined with Raspberry Pi. ❏ Apply for “Alexa Skill Award 2019”!
  28. THANKS! You can find me at: 28 Ayumi Kobukata @_kobuuukata

Editor's Notes

  1. 2:30 4:00
  2. 3:00
  3. - 5:00
  4. 3:40 5:30
  5. 5:30 8:00
  6. 7:30 11:30
  7. 7:30 11:30
  8. 7:30 11:30
  9. 7:30 11:30
  10. 8:30 12:45 サンプルアプリ:15秒 クイズ:45秒
Advertisement