Hacking the Google AIY Voice Kit - Part 1

  Рет қаралды 51,293

DroneBot Workshop

DroneBot Workshop

Күн бұрын

Today we'll put together the Google AIY Voice Kit and see how to program it to use a "wake word" and a pushbutton.
Corresponding article at dronebotworkshop.com/hacking-...
More articles and tutorials: dronebotworkshop.com
Join the conversation on the forum: forum.dronebotworkshop.com
Subscribe to the newsletter and stay in touch: dronebotworkshop.com/subscribe/
This is the first of three videos about hacking the Google AIY Voice Kit. In this video, we will assemble the Voice Kit and test it out.
The Google AIY Voice Kit was originally offered as a gift to subscribers of MagPi, the official magazine of Raspberry Pi. It is now available to everyone from the following sources:
Micro Center (only ships to US customers) - www.microcenter.com/site/conte...
Adafruit - www.adafruit.com/product/3602
Pimoroni - shop.pimoroni.com/products/go...
Seeed - www.seeedstudio.com/Google-AI...
For the record, I picked mine up from Pimoroni.
The kit comes with all of the hardware you will need to add to a Raspberry Pi 3 in order to create a little cardboard box that you can talk to, sort of a cardboard version of Google Home. It does not include the Raspberry Pi 3 itself, you’ll also need a Micro-SD card (8 GB or more) and a suitable USB power supply. To work with the kit you need to hook up a mouse and keyboard and HDMI video monitor to the Pi (it is possible to SSH to the box instead but I don’t show that here).
Assembling the hardware is very easy. Getting a project running on the Google Cloud to use the Google Assistant API is not too hard but if you haven’t done it before you might benefit from the instructions I provide - this is especially true if you are following the otherwise excellent guide provided with the kit as the Cloud screens have changed a bit since the guide was published.
Here is a breakdown of what we will be doing:
00:00 - Introduction
01:53 - Kit Contents
04:17 - Checking out the Voice HAT
07:30 - Assembling the AIY Voice Kit
10:36 - Burning the SD-Card with Etcher
12:48 - Hooking it all up
13:25 - First Bootup
14:20 - Testing the Hardware
15:23 - Google Cloud Project Setup
23:16 - Demo 1 (with wake word)
25:06 - Demo 2 (with push-button)
Hopefully, you enjoy the video and will be inspired to order an AIY Voice Kit of your own. If you do be sure to stay tuned for the next video in the series where I will take the unit “out of the box” and start hacking it.
As always, if you haven’t done so already, please subscribe to the channel!

Пікірлер: 69
@kaeptnkrunch9212
@kaeptnkrunch9212 6 жыл бұрын
I really appreciate your videos. Please make more!
@binarybox.binarybox
@binarybox.binarybox 5 жыл бұрын
"Device Information" sounded like Windows 10 grabbing all your personnal data using the link with your IP address. I enjoy all the videos...thank you for making them. I think many people will be making their own cases for this project.
@willofirony
@willofirony 6 жыл бұрын
Well Bill, I have enjoyed every one of your videos but this time you have totally surpassed yourself. The AIY kit looks like an exciting product (though I cannot see a solution to any of my existing problems, right off the bat). It looks like an excellent gateway to using the Pi, in that one can be using the Pi within a couple of hours, while gently being introduced to Rasbian. I am now going to watch part 2 now. Well done you!
@sl9sl9
@sl9sl9 6 жыл бұрын
If you thought this project was good, do a search for Google's latest AIY Vision project. It uses the Pi camera to do things like human face detection, facial expression (emotion) detection, and a heap of other very fancy stuff. I would personally love to combine this project with that one on the same Pi!
@stevenzhang6252
@stevenzhang6252 6 жыл бұрын
Great video! Cant wait for the next two videos!
@Dronebotworkshop
@Dronebotworkshop 6 жыл бұрын
Filming part 2 right now!
@turnert2005
@turnert2005 6 жыл бұрын
Great Video Sir! I picked up the Voice Kit yesterday from our local MicroCenter here in St. Louis as an educational opportunity for my son. This video is great and I greatly appreciate you putting this out. I love that you asked, "who invented the transistor"!
@Dronebotworkshop
@Dronebotworkshop 6 жыл бұрын
Thanks Scott, I really hope your son enjoys the AIY Voice Kit and that he uses it to create something wonderful. I just love seeing kids getting into this subject. Personally I consider the transistor to be the greatest invention of the 20th century. All the advances we made in computers, medical research, space travel and communications have depended upon it. Of course I'm old enough to remember vacuum tubes!
@DaveSender66
@DaveSender66 6 жыл бұрын
Thanks for sharing your amazing thoughts with us. Learned many new things from you. Thank you and Happy holidays to you and your family.
@Dronebotworkshop
@Dronebotworkshop 6 жыл бұрын
Thank you Dave, I wish you and your family Happy Holidays as well and all the best in the New Year!
@bineshkrishnan4286
@bineshkrishnan4286 6 жыл бұрын
Perfect sir as usual waiting for other parts.
@Dronebotworkshop
@Dronebotworkshop 6 жыл бұрын
Thank you Bineesh. Hope your parts arrive soon!
@noraminor7324
@noraminor7324 3 жыл бұрын
"voice activater ghetto blaster" lmao
@pointdexter3606
@pointdexter3606 6 жыл бұрын
Excellent explanation and easy to follow along. I like you slow natures in your voice. I wish i found you sooner! SUBBED!!, point
@m.kanawati4385
@m.kanawati4385 6 жыл бұрын
Wonderful Video... Waiting to see more
@Dronebotworkshop
@Dronebotworkshop 6 жыл бұрын
Thank you - more on the way!
@jennyhart406
@jennyhart406 6 жыл бұрын
Great video, lovely and clear. Have finally set up my AIY kit that I got in July. Next, I'm teaching it to read a file another python script is writing periodically (cron job) with my bluetooth weather station data. Looking forward to the other parts of your tutorial.
@Dronebotworkshop
@Dronebotworkshop 6 жыл бұрын
Do glad you enjoyed it, thanks for the nice comment. Sounds like you have an interesting project on the go, hope you plan to post a video when you are done with it so we can all enjoy it. Working on Part 2 of the series right now, should be out by the end of the month. Happy New Year!
@Jcarlwill
@Jcarlwill 6 жыл бұрын
You motivated me to DIY a google robot... keep the vids coming :)
@Dronebotworkshop
@Dronebotworkshop 6 жыл бұрын
Glad I could motivate you. Make sure to post a video when you get your robot working, I'll be doing a LOT more videos this year as I can finally devote time to them.
@hakanozer1570
@hakanozer1570 6 жыл бұрын
thanks man great video
@xinyuqiu2652
@xinyuqiu2652 5 жыл бұрын
Thanks for the detailed introduction, I have already burned Raspbian into my sd card by using Etcher, what should I do to install this Google AIV version of Raspbian into my sd card? Thank you very much for the answers to this question.
@ljliberto
@ljliberto 5 жыл бұрын
Bill, is there a way to get this working using a USB microphone and speaker instead of the HAT? I've built the AWS Alexa version without the need for additional hardware and hope to get Google working in the same fashion so I can compare apples to apples. As always, thanks for your excellent videos and tutorials.
@hellosaumil
@hellosaumil 5 жыл бұрын
Hey, thank you for the tutorial! I'm thinking of buying this, since I'm a student I want to experiment Voice Recognition, etc. Is it possible to load custom python programs written with tensorflow and do custom machine learning projects? Since, I don't want to spend money on Google Cloud. Thank you and will appreciate your response.
@xeaudg
@xeaudg 6 жыл бұрын
Awesome video, Bill! Great tutorial, cant wait for the other two parts... FYI: I noticed you seem to mix up slash (/) and backslash (\) when speaking URLs... just thought you should know...
@Dronebotworkshop
@Dronebotworkshop 6 жыл бұрын
Thanks Dan! Actually I did notice that I made two errors there but decided not to refilm the segment - the second error was that I said" gprc" instead of "gprc" (Google Remote Procedure Call). Glad to see someone else was paying attention! Working on part two right now.
@slappy76
@slappy76 5 жыл бұрын
@@Dronebotworkshop GRPC
@samuelmartins8594
@samuelmartins8594 5 жыл бұрын
Thanks, Bill!
@MichaelFetting
@MichaelFetting 5 жыл бұрын
For stereo, you will need to add a MAX 98357A DAC to the board, soldering the bridge will give you a single channel of sound on both outputs.
@1508jairo
@1508jairo 4 жыл бұрын
how I use the jumper for install a second speaker? thank you
@andreamitchell4758
@andreamitchell4758 6 жыл бұрын
great tutorial ,i have a few questions 1) can this run a pi zero W ? 2) is there way to get it working with a non GUI lite build ? if you could get it setup on raspbian lite build it would probably run better on a zero W 3) what about custom wake words you mentioned? 4) can it work with the same music services as a google home ,and does it show up in the google home app and are you allowed to add it to audio groups? i like that it has stereo so it would be nice to integrate with stereo speakers and add it to anuio groups and pay music from pandora or spotify or google play music 5)could you add 3 RGB leds to it and have them mimic a GH mini ,or more RGB LED's and have it minic a GH led patterns?
@shankarchandramouleeswaran3864
@shankarchandramouleeswaran3864 6 жыл бұрын
how to switch off the kit after first boot? And once we switch off , do we need moniter again to switch on the assistant?And is it possible to make the kit standalone?
@sanatandharma150
@sanatandharma150 4 жыл бұрын
My assembly has been completed.but i am trying to testing then didn't hear any testing voice.please help me. What should i do?
@pointdexter3606
@pointdexter3606 6 жыл бұрын
Looking FWD to more Tech videos, point
@izzuddinisa5706
@izzuddinisa5706 6 жыл бұрын
Hi DroneBot Workshop, I have a question. Can we use normal usb mic instead of Voice HAT accessory board? Because i already have raspi3 and usb mic to bulid IBM Tjbot last time. So i plan to reuse the same materials to build this Google AIY Voice Kit.
@aarons7254
@aarons7254 4 жыл бұрын
Can I use AIYv1 with RPi4 instead of RPi3?
@joemomumbo
@joemomumbo 6 жыл бұрын
cool video. i think you could improve your thumbnails and your tags, but otherwise amazing channel. i am going to go and watch your other videos now! PS. i subbed!
@aliimtiaz5933
@aliimtiaz5933 Жыл бұрын
In my area we 're suffering current goes out .in Rassberri pi needs to reset itsellf from the beginning .Thaat's why I cannot use Pi 4 in my area .how could I use this voice kit ,with laptop? waiting for your answer ,thanks.
@HowdyMyDudes
@HowdyMyDudes 6 жыл бұрын
When I try installing Etcher, I get an error reading: "Extract: error writing to file Uninstall Etcher.exe"
@ufohunter3688
@ufohunter3688 6 жыл бұрын
I bought one. The documentation is different than the actual web site, but I still managed to activate the API and get it up and running on a RPI3 with the provided SD image. However, the Pi freezes after a few hours! Specifically when I set a reminder like "Ok Google, set a reminder in an hour", she accepts and asks to save it. After that, I never get the reminder and system freezes! I tested the pi by running stress tests for hours and no problems where encountered. I have given up on this now, since I don't have the expertise to diagnose it under Linux (being a noob and all). If it didn't work at all, it would've been another story.
@rodcurrywood9134
@rodcurrywood9134 4 жыл бұрын
got about 19.5 minutes in to where you're discussing consent screen on the google site. It doesn't bring up the same screen as is seen in the video. Any suggestions? I tried clicking around and found something about consent but haven't gotten thru it. This is several years old now. Is it too far into the past to be viable? I have the kit in my possesion. Haven't really opened the box yet. Could be, maybe, there's a newer version. Two years is a long time these days.
@tamir5940
@tamir5940 5 жыл бұрын
I just bought this but a bit upset that the instructions says that you have to pay like 6cent for every minute or so if you go over the 60 free minutes that they give you a month. Did you run into that situation? I wanted to put Alexa on here.... can you do that?
@rocking90s64
@rocking90s64 6 жыл бұрын
sir! approx when will be the second part released
@delpilargabriel9
@delpilargabriel9 5 жыл бұрын
Can you add a hardrive to the box??
5 жыл бұрын
yes, but you still have to boot from the SD card. Also the harddrive need to have its own power supply as there is not much available from the USB ports.
@jed2055
@jed2055 4 жыл бұрын
Fantastic video mate. I tracked down the Respeaker and bought it after your mention. Alas now in mid 2020 Google changed the cloud pages so much so that we can't manually set up the server connection to the kit. so I can't use it anymore. For example there is no "Other" for the Application type. Therefore selecting either of the other options takes one deeper into the rabbit hole of unknown territory. I'm lost and I have tried really hard. Another example, I can force an API key but there is no download option to get a json file. Without credentials there is no authorisation via the cloud thus no voice kit using this method. I'm hearing there is now an Android app on the Play Store which hooks into the AIY kit. Because I have a Respeaker though I think Google has pushed people with 3rd party hardware (Respeaker) like me out into the cold. If I am wrong and I dearly hope so, I would love for you to do an update vid just on the authorisations side of things for people like me with a Respeaker or still wanting to authorise without having a phone in their hand. Once again, great video, super thorough, clear and concise and interesting subject matter. Can't ask for more than that.
@pointdexter3606
@pointdexter3606 6 жыл бұрын
BILL, i get pi@raspberrypi:/ $ src/assistant_libary_demo.py bash: src/assistant_libary_demo.py: No such file or directory. what to do?,point
@rm709
@rm709 4 жыл бұрын
This kit is $2.99 at Micro Center!!! Just picked one up...now for another Pi 😅
@andycho2661
@andycho2661 6 жыл бұрын
when i type in src/assistant_library_demo.py , it says -bash: src/assistant_library_demo.py: No such file or directory What's wrong with mine?
@anthonyleedickinson3491
@anthonyleedickinson3491 6 жыл бұрын
Seunghark Andy Cho No point in asking mate no more support given. I need same thing answering.
@McFly_3
@McFly_3 5 жыл бұрын
Seunghark Andy Cho src/examples/voice/assistant_library_demo.py
@kaibr
@kaibr 5 жыл бұрын
I forgot the micro USB adapter, this sucks.
@lardonirridesco5200
@lardonirridesco5200 6 жыл бұрын
all the pi's in my house are in use as media centres, so this project would add up to a lot of money for me. i have google voice on my samsung smartphone, so i feel demotivated to set this up anyway
@Dronebotworkshop
@Dronebotworkshop 6 жыл бұрын
Lardon I believe you've missed the point of the Google AIY projects, that's likely the reason for your lack of motivation. As you mentioned anyone with any Android phone or tablet can use Googles voice API. As for price I just ordered a Google Home Mini for less than the price of a Raspberry Pi 3. But building a "cheaper" Google Home device is not the point of this project. The AIY series of projects is Google's method of allowing experimenters and makers like us to bring the power of Google's Artificial Intelligence research to our own projects. Using devices like this we can create our own voice controlled devices. I'll be demonstrating how to do some of this in the next video in this series. I also can't wait to get my hands on the next AIY (AI + DIY = AIY) device, the AIY Video camera for the Raspberry Pi Zero. Coupled with this project it will allow me to create a robot with both image and voice recognition capabilities, which is a lot more fun than playing with my phone IMHO. Hopefully you'll find the motivation to experiment with the voice and video kits, as you have already built your own media centers with Raspberry Pi's you obviously know the joy of creating something yourself - otherwise you would have saved some money and just bought a couple of Android boxes and installed Kodi on them!
@lardonirridesco5200
@lardonirridesco5200 6 жыл бұрын
thanks for the detailed reply. yes you're right, the AIY kit isn't cost effective on its own. guess the kit needs to be part of a project like the one you said, or voice activated home automation etc. can't wait to see future cool stuff!
@alexanderweinhart4896
@alexanderweinhart4896 6 жыл бұрын
i recently got a discount on the kit. ten dollars, not including pi and battery. Hit up micro center for the kit and pis typically average out to about 35 bucks unless you buy a china made pi. Supplement the power from a phone charger adapter to type a. i am sure you have one unless your devices are apple. little bit of a tip :D
@vincentv8707
@vincentv8707 4 жыл бұрын
The Google assistant lib had been deprecated
@PerryCodes
@PerryCodes 6 жыл бұрын
So you're the guy that actually uses an anti-static band... I knew there was one out there.....
@PerryCodes
@PerryCodes 6 жыл бұрын
Hahaha... and you said "ghetto blaster" 8^) ...... I once got yelled at by someone who thought the proper term should be "boom box" ....
@peteb2
@peteb2 6 жыл бұрын
That ain’t no workshop! It’s just way too darn tidy, clean and neat with brand new never used tools & materials all laid out OCD-perfect ( no disrespect to those of us with OCD intended ).
@binarybox.binarybox
@binarybox.binarybox 5 жыл бұрын
Agreed. Also. if he had a good meal , he would never get in. However, I enjoy all the videos.
@gravitylink71
@gravitylink71 5 жыл бұрын
You can get AIY kit here: store.gravitylink.com/
@colepdx187
@colepdx187 5 жыл бұрын
blindly trusting Google to 'not be evil' might be a mistake.
@timmytard2305
@timmytard2305 5 жыл бұрын
it won't listen unless i push the button everytime i ask it something. i think i h8 it
@MrBobWareham
@MrBobWareham 6 жыл бұрын
Well I don't think so it comes out at about seventy pounds and is just to much money!!
@pointdexter3606
@pointdexter3606 6 жыл бұрын
BILL I also get pi@raspberrypi:/ $ src/assistant_grpc_demo.py bash: src/assistant_grpc_demo.py: No such file or directory pi@raspberrypi:/ $
@McFly_3
@McFly_3 5 жыл бұрын
Point Dexter src/examples/voice/assistant_library_demo.py
Hacking the Google AIY Voice Kit Part 2 - Voice Control
50:27
DroneBot Workshop
Рет қаралды 42 М.
Raspberry Pi Google AIY Voice Kit
16:45
ExplainingComputers
Рет қаралды 195 М.
DO YOU HAVE FRIENDS LIKE THIS?
00:17
dednahype
Рет қаралды 82 МЛН
Survival skills: A great idea with duct tape #survival #lifehacks #camping
00:27
The ULTIMATE Raspberry Pi 5 NAS
32:14
Jeff Geerling
Рет қаралды 1,6 МЛН
Google AIY Kits for Experimenting with Artificial Intelligence
3:44
Adam Savage’s Tested
Рет қаралды 50 М.
Raspberry Pi Google AIY GPIO Voice Control
15:10
ExplainingComputers
Рет қаралды 72 М.
Extracting Firmware from Embedded Devices (SPI NOR Flash) ⚡
18:41
Flashback Team
Рет қаралды 553 М.
How to Run Linux on an ESP32
18:53
element14 presents
Рет қаралды 150 М.
Google AIY Voice Kit How-To | Part 2: Google Assistant SDK
10:44
Micro Center
Рет қаралды 30 М.
Google AIY Voice Kit How-To | Part 1: Physical Assembly
12:16
Micro Center
Рет қаралды 12 М.
Pixy2 Camera - Image Recognition for Arduino & Raspberry Pi
38:39
DroneBot Workshop
Рет қаралды 406 М.
$8 MilkV Duo: Arduino on one core and Linux on the other
13:49
Andreas Spiess
Рет қаралды 76 М.
Странные штыри с кольцами из сарая
0:31
А на даче жизнь иначе!
Рет қаралды 9 МЛН
Он просто решил сэкономить на плитке, но...
0:25
РИСКОВЫЙ ШКОЛЬНИК На велосипеде #shorts
0:15
Леха МАК
Рет қаралды 7 МЛН
Порезал бассейн, краш тест
0:32
ЗВЕРЬЕ
Рет қаралды 2,9 МЛН
Черешня из Китая размером с КУЛАК: На стероидах?
0:12
Собиратель новостей
Рет қаралды 5 МЛН
路飞被小孩吓到了#海贼王#路飞
0:41
路飞与唐舞桐
Рет қаралды 46 МЛН
Милая мебель для котов
0:27
🌀 Вирусные видео
Рет қаралды 2,3 МЛН