SlideShare a Scribd company logo
DIY Google Home with
Google Assistant
On a Raspberry Pi
Syed Anwaarullah
PotentialLabs
Agenda
• Intro to Google Home
• Building Google Home with Assistant on Raspberry Pi
• Interfacing with Stuff
We already have Voice Assistants on Phone…
Source: https://medium.com/conversational-interfaces/how-voice-assistants-seemingly-came-from-nowhere-33747876b91f
Google Home; Why build one?
$49 $129 $399
Not available in India yet, so let’s build one instead 
Teardown of Google Home
https://www.ifixit.com/Teardown/Google+Home+Teardown/72684
Where does the Assistant live?
“Ok, Google: Let’s build it…”
• Configure and Test the Hardware, Audio, N/W Access etc
• Configure Dev Project & Account Settings
• Setup the Python SDK & Library
“Ok, Google”
AIY Projects Voice Kit
Hardware
• Raspberry Pi 2/3,
Power Supply, SD
Card etc
• Microphone (USB) –
Logitech USB
Webcam with Mic
• Speaker (Simple
3.5mm)
Download and Flash the Image containing SDK
https://aiyprojects.withgoogle.com/voice#assembly-guide-1-get-the-voice-kit-sd-image
Boot the Device, SSH &/ VNC
Configure and test Speaker speaker-test -t wav
Configure and test Mic
sudo nano /etc/asound.conf
arecord --format=S16_LE --duration=5 --rate=16000 --
file-type=raw out.raw
aplay --format=S16_LE --rate=16000 out.raw
Configure a Dev Project on gCloud
• https://developers.google.com/assistant/sdk/develop/python/config-
dev-project-and-account
• https://aiyprojects.withgoogle.com/voice#users-guide-1-2--turn-on-
the-google-assistant-api
• Activity Controls Page, enable these
• Web & App Activity
• Device Information
• Voice and Audio Activity
Setup the Python SDK & Library
Demo!
Let’s integrate it with IFTTT
More sample projects…
Ok, Google;
Let’s Q&A
Syed Anwaarullah
syed@potentiallabs.com
@Anwaarullah
IoT R&D Lab & Store,
Kondapur, Hyderabad
www.potentiallabs.com

More Related Content

Similar to DIY Google Home with Google Assistant on a Raspberry Pi

How to build virtual assistant like Jarvis (in Ironman) with Google Assistant...
How to build virtual assistant like Jarvis (in Ironman) with Google Assistant...How to build virtual assistant like Jarvis (in Ironman) with Google Assistant...
How to build virtual assistant like Jarvis (in Ironman) with Google Assistant...
Tu Le Dinh
 
GDSC NYCU | 如何建立自己的開源專案
 GDSC NYCU | 如何建立自己的開源專案 GDSC NYCU | 如何建立自己的開源專案
GDSC NYCU | 如何建立自己的開源專案
秀吉(Hsiu-Chi) 蔡(Tsai)
 
Connecting to the raspberry pi from your laptop
Connecting to the raspberry pi from your laptopConnecting to the raspberry pi from your laptop
Connecting to the raspberry pi from your laptop
Gibraltar Software
 
Intro to Raspberry Pi - by Sivakumar V
Intro to Raspberry Pi - by Sivakumar VIntro to Raspberry Pi - by Sivakumar V
Intro to Raspberry Pi - by Sivakumar V
SPRITLE SOFTWARE PRIVATE LIMIT ED
 
Iot with google actions (optimised)
Iot with google actions (optimised)Iot with google actions (optimised)
Iot with google actions (optimised)
Shang Yi Lim
 
Puppeteerのお話
Puppeteerのお話Puppeteerのお話
Puppeteerのお話
Shinji Kobayashi
 
Raspberry pi overview
Raspberry pi overview Raspberry pi overview
Raspberry pi overview
Matthew Karas
 
Google I/O 2019 Recap
Google I/O 2019 RecapGoogle I/O 2019 Recap
Google I/O 2019 Recap
Ted Chien
 
Coffee & Pi - Getting Started with Python
Coffee & Pi - Getting Started with PythonCoffee & Pi - Getting Started with Python
Coffee & Pi - Getting Started with Python
Brad ☼ Derstine
 
Google I/O 2016 Recap
Google I/O 2016 RecapGoogle I/O 2016 Recap
Google I/O 2016 Recap
Ted Chien
 
Technical presentation
Technical presentationTechnical presentation
Technical presentation
Kazuki Hozumi
 
SharePoint Saturday Barcelona
SharePoint Saturday Barcelona SharePoint Saturday Barcelona
SharePoint Saturday Barcelona
Thomas Gölles
 
SPSLisbon Stephan Bisser - Introducing "Homie" a Smart Azure Bot for Smart Homes
SPSLisbon Stephan Bisser - Introducing "Homie" a Smart Azure Bot for Smart HomesSPSLisbon Stephan Bisser - Introducing "Homie" a Smart Azure Bot for Smart Homes
SPSLisbon Stephan Bisser - Introducing "Homie" a Smart Azure Bot for Smart Homes
Stephan Bisser
 
Evaluation – Q6
Evaluation – Q6Evaluation – Q6
Evaluation – Q6
Kiera Tolhurst
 
Raspberry pi 2 demo
Raspberry pi 2 demoRaspberry pi 2 demo
Raspberry pi 2 demo
Viet Nguyen
 
Giving back with GitHub - Putting the Open Source back in iOS
Giving back with GitHub - Putting the Open Source back in iOSGiving back with GitHub - Putting the Open Source back in iOS
Giving back with GitHub - Putting the Open Source back in iOS
Madhava Jay
 
Raspberry Pi
Raspberry PiRaspberry Pi
Raspberry Pi
Anirudh Chauhan
 
Deep Learning Session 1 : bright future for you summary
Deep Learning Session 1 : bright future for you summaryDeep Learning Session 1 : bright future for you summary
Deep Learning Session 1 : bright future for you summary
Rajagopal A
 
Hacker DoJo FaBo's LT.
Hacker DoJo FaBo's LT.Hacker DoJo FaBo's LT.
Hacker DoJo FaBo's LT.
Akira Sasaki
 

Similar to DIY Google Home with Google Assistant on a Raspberry Pi (20)

How to build virtual assistant like Jarvis (in Ironman) with Google Assistant...
How to build virtual assistant like Jarvis (in Ironman) with Google Assistant...How to build virtual assistant like Jarvis (in Ironman) with Google Assistant...
How to build virtual assistant like Jarvis (in Ironman) with Google Assistant...
 
GDSC NYCU | 如何建立自己的開源專案
 GDSC NYCU | 如何建立自己的開源專案 GDSC NYCU | 如何建立自己的開源專案
GDSC NYCU | 如何建立自己的開源專案
 
Connecting to the raspberry pi from your laptop
Connecting to the raspberry pi from your laptopConnecting to the raspberry pi from your laptop
Connecting to the raspberry pi from your laptop
 
Intro to Raspberry Pi - by Sivakumar V
Intro to Raspberry Pi - by Sivakumar VIntro to Raspberry Pi - by Sivakumar V
Intro to Raspberry Pi - by Sivakumar V
 
Iot with google actions (optimised)
Iot with google actions (optimised)Iot with google actions (optimised)
Iot with google actions (optimised)
 
Puppeteerのお話
Puppeteerのお話Puppeteerのお話
Puppeteerのお話
 
Raspberry pi overview
Raspberry pi overview Raspberry pi overview
Raspberry pi overview
 
Google I/O 2019 Recap
Google I/O 2019 RecapGoogle I/O 2019 Recap
Google I/O 2019 Recap
 
Raspberry pi
Raspberry piRaspberry pi
Raspberry pi
 
Coffee & Pi - Getting Started with Python
Coffee & Pi - Getting Started with PythonCoffee & Pi - Getting Started with Python
Coffee & Pi - Getting Started with Python
 
Google I/O 2016 Recap
Google I/O 2016 RecapGoogle I/O 2016 Recap
Google I/O 2016 Recap
 
Technical presentation
Technical presentationTechnical presentation
Technical presentation
 
SharePoint Saturday Barcelona
SharePoint Saturday Barcelona SharePoint Saturday Barcelona
SharePoint Saturday Barcelona
 
SPSLisbon Stephan Bisser - Introducing "Homie" a Smart Azure Bot for Smart Homes
SPSLisbon Stephan Bisser - Introducing "Homie" a Smart Azure Bot for Smart HomesSPSLisbon Stephan Bisser - Introducing "Homie" a Smart Azure Bot for Smart Homes
SPSLisbon Stephan Bisser - Introducing "Homie" a Smart Azure Bot for Smart Homes
 
Evaluation – Q6
Evaluation – Q6Evaluation – Q6
Evaluation – Q6
 
Raspberry pi 2 demo
Raspberry pi 2 demoRaspberry pi 2 demo
Raspberry pi 2 demo
 
Giving back with GitHub - Putting the Open Source back in iOS
Giving back with GitHub - Putting the Open Source back in iOSGiving back with GitHub - Putting the Open Source back in iOS
Giving back with GitHub - Putting the Open Source back in iOS
 
Raspberry Pi
Raspberry PiRaspberry Pi
Raspberry Pi
 
Deep Learning Session 1 : bright future for you summary
Deep Learning Session 1 : bright future for you summaryDeep Learning Session 1 : bright future for you summary
Deep Learning Session 1 : bright future for you summary
 
Hacker DoJo FaBo's LT.
Hacker DoJo FaBo's LT.Hacker DoJo FaBo's LT.
Hacker DoJo FaBo's LT.
 

DIY Google Home with Google Assistant on a Raspberry Pi

Editor's Notes

  1. Amazon Echo and Google Home are the personification of voice assistants, offering them a spot in the home where you can interact with them on an ongoing basis throughout your day, rather than just as a tool on your pocket computer and that’s the key to starting a long journey toward our dystopian Her-like future.
  2. Put here latest Echo Plus, Spot and Other Additions. Also the Max and Mini
  3. Not available in India yet, so let’s build one 
  4. Marvell 88DE3006 Armada 1500 Mini Plus dual-core ARM Cortex-A7 media processor Toshiba TC58NVG1S3HBA16 256 MB NAND flash Marvell Avastar 88W8897 WLAN/BT/NFC SoC Texas Instruments TAS5720 audio amplifier Samsung K4B4G16 512 MB B-Die DDR3 SDRAM
  5. https://aiyprojects.withgoogle.com/voice#assembly-guide-1-get-the-voice-kit-sd-image
  6. https://developers.google.com/assistant/sdk/develop/python/hardware/audio
  7. arecord --format=S16_LE --duration=5 --rate=16000 --file-type=raw out.raw