Alexa AI on Raspberry Pi

  Рет қаралды 254,162

ExplainingComputers

ExplainingComputers

Күн бұрын

Alexa is the Amazon Echo voice service, and here I install it for free on a Raspberry Pi. This adds voice computing to the Pi, allowing it to speak the answers to spoken questions, and potentially to control IoT devices.
The setup follows Github instructions, and is inevitably somewhat involved. So if you just want to see me talking to a Raspberry Pi, skip ahead to about 15 minutes 10 seconds into the video.
The Alexa resources and instructions on Github are at: github.com/alexa
. . . and you create an Amazon Developer Account at: developer.amaz...
. . . and a security profile here: github.com/ale...
. . . and (when logged in to your Developer Account), you enable your security profile here: developer.amaz...
You may also like my musings on the development of omnipresent, voice-centric computing in this video: • Omnipresent Computing
More videos on computing-related topics can be found at: / explainingcomputers
You may also like my ExplainingTheFuture channel at: / explainingthefuture

Пікірлер: 776
@artbecker5618
@artbecker5618 7 жыл бұрын
This is a fun project, and I have already built 4 different AlexaPi devices, plus had to rebuild some of them several times (if it doesn't work the first time, you are indeed fortunate, as in that way you will end up learning more about it than you could by any other method). You can use a Pi 2, 3, or Zero, but the 3 works best. The earliest AlexaPi projects used a push button (and some optional status LEDs attached to the GPIO to show you what was happening). Eventually the AVS version was developed, and it works great. I found that a KZbin video by Caroline Dunn best explained the easiest way to make an AlexaPi. It is tempting to use the Raspberry Pi Preferences -- Audio Settings, to configure the microphone and/or speakers, but if you do this, especially at the wrong time, your AlexaPi won't work. The correct settings are best done by editing the .asoundrc file. It is way too easy to corrupt your AlexaPi settings through using Preferences. Once these setting get out of whack, it seems almost impossible to get them back into whack. There are a number of ways you can set up sound and voice, and you can go crazy trying to do it through Preferences. You can use a USB sound card, if you want to use the microphone on a web cam, or a USB handset (if you don't have speakers), or even for the mic & speakers. You can do audio in and out through the GPIO pins if you want. I have a webcam whose mic works better than the small mic dongle I also have. For my final working AlexaPi, I use a web cam mic through a USB sound card and amplified speakers through the Raspberry Pi jack. No matter what configuration you use, it really is best to tell the Raspberry Pi which device does what and where by editing the .asoundrc file (search KZbin or the RaspberryPi.org forums for AlexaPi sound corruption, or something similar). Once you edit .asoundrc, do not go back into Preferences and do anything to the audio settings, or you will corrupt things again. Officially, Alexa is only supported in the USA, UK and Germany, so unless you hack your AlexaPi, you can only get the correct time automatically for these locations. The good news is that hacking Alexa's time zone is relatively easy -- easiest using a Mac, but not that much more difficult using a Wndows PC. You just need to use CURL to trick the Alexa servers into using an unsupported time zone. You need to do this to get the correct local time, if you are outside the supported time zones. Again look on KZbin or do a Google search (I wouldn't advise asking Alexa). You can go even further and actually set an unauthorized location, but this is more complex. Example: You can more or less easily set your AlexaPi to tell the correct local time in Tokyo, but for anything else it's just as easy to ask for the weather in Tokyo, rather than trying to set the location as Tokyo. You can view your AlexaPi input and output, on a desktop PC by going to alexa.amazon.com but don't try to change your unauthorized time zone or location by simply changing the settings this way, as they won't work. You need to use CURL. You can use the Amazon Alexa app for other devices. This is also a good way to train Alexa to recognize how you speak. All the Amazon.com Fire tablets now have Alexa capability, though no AVS option; you have to press a button, then ask your queston. Your Android device almost certainly has "OK Google" capability. OK Google has the advantage of being able to remember your questions in order to hold a sort of conversation, whereas Alexa can only answer the current question, based on the current input. You can ask Google who the Presidet of the Unted States is, then ask how old is he, then ask who was his running mate, and so on. My favorite question for both Alexa and Google is, "Who ya gonna' call?" You can also ask why the chicken crossed the road. The question asked about automating the start-up procedure for the AlexaPi has a simple answer: It can't be done. The complex answer is that, it might be possible, but I haven't seen how, yet (which doesn't mean that it doesn't exist). So, what do you do if your AlexaPi crashes, or the power goes out, or you shut it down? The answer is that you have to manually do the three step configuraton, each and every time. That means three different Terminal tabs, or three different Terminal windows. Do not shut any down, nor shut down the browser, as all three & the browser have to be running. Where I live the power is unreliable, so I have become an expert on restarting the AlexaPi. My advice is to keep the three Terminal commands in a text file on the Raspberry Pi's desktop. Then just cut and past into Terminal tabs or windows. This also means that you might have problems taking Chris' advice to remove the keyboard, monitor and mouse and run headless. This might work if you use VNC, but won't work if you try to use SSH. There is a common argument that it is just easier to buy an Amazon Dot for $50, than to use a $35 Raspberry Pi, and go through all the various steps, and put up with the initial headaches. My answer to that argument is, "Well, duh!" Of course it is. But it is tremendous fun following Chris' advice to build your own. It will give you a wonderful sense of acomplishment, once you get it working. And you can always just pop out the SD card and put in a different one to have your Raspberry Pi do something else.
@ExplainingComputers
@ExplainingComputers 7 жыл бұрын
Thanks for this -- really useful input. :) Esp. interesting to know that it will work on a Pi Zero -- that will please others here.
@artbecker5618
@artbecker5618 7 жыл бұрын
Stephen Hill. Thank you for your kind words. I've done the AlexaPi start-up dozens of times, and it takes maybe two minutes. Steps one and three are simple enough. It is step two that is the difficut one to automate. As part of step two, your browser will open a window. But, there are three possible outcomes in doing this. The first is that your browser will say there is a security problem, and asks if you want to continue (as seen in Chris' video). The next is if you had a power outage, or improper shutdown of the previous session. You have to tell your browser to ignore that old session, not try to recover, and, instead, start a new session. The third possible outcome is if your browser session starts normally. I rarely see the third outcome. For the third step, I prefer to use the kitt_ai wake word agent. If you want to be able to chose which wake word agent to use on boot, you would have to set up the default and a timer, so that manually intervening during the time period would then use the other wake word agent, otherwise the default is used. I haven't searched recently to see if anyone has been able to automate the start-up. When I lived in the USA, I had maybe one power outage every 5 years. Where I am now, it is almost a miracle for a week to go by with no power outage(s). So I have plenty of practice restarting the AlexaPi. Amazon.com doesn't ship the Echo or Dot outside the USA, UK or Germany. Who knows if this will ever change? I'll be going back to the US for a visit, and will get some Dots to bring back. Then I'll retire the AlexaPi, meaning I'll simply put the SD card into storage, just in case I need it again. Chris did his usual great job of explaining computers. There are other KZbin videos that do this, and it seems like every one takes a different approach. There are lots of ways to make an AlexaPi. I haven't tried using a Bluetooth speaker with the AlexaPi. In theory, it shouldn't be that difficult. The main thing about the audio settings might need configuring in the .asoundrc file. You have to tell the Raspberry Pi where the input is, and where the output is. There are many ways to configure the .asoundrc file, using different formats. Below is just one way to do it, if you are using the Pi's audio jack, and a USB mic (or mic from a webcam). This is a hidden file located at /home/pi/ sudo nano /home/pi/ .asoundrc ========== pcm.!default { type asym playback.pcm { type hw card 0 device 0 } capture.pcm { type plug slave { pcm { type hw card 1 device 0 } } } } ========== Playback means speakers, and capture means microphone. Basically, card 0 means speakers connected to the Raspberry Pi audio jack, and card 1 for the mic means USB input. I assume that, if you use a USB sound card for both mic and speakers, then both devices would be set to card 1. Maybe this is where you could configure Bluetooth speakers, assuming that anything needs to be done, other than pair the devices. But, I haven't put any actual thought into this, as the file above works for my setup, and saved me after hours of aggravation and/or frustration. Once again, do not mess with setting audio preferences, through the Pi's main menu, which is the place that I assume most users would obviously go to, at first. It seems like such a simple solution. The only downside is that you can easily mess with it until it doesn't work any more. Preferences settings change the .asoundrc file automatically to something you might not want, so just go back and change the file to the example above. Remember, it is easy to manually test that your mic & speakers are working, after completing step two, as Chris shows in the video.
@frakman1
@frakman1 7 жыл бұрын
Art Becker. Thank you for your insight and advice. I certainly value and appreciate it. I spent many, many frustrating hours trying (and failing) to get this to work on the PiZero. The Pi 3, however, was a doddle. For the Pi Zero, I was using a USB microphone like the one in the video, and a separate USB combo audio/mic dongle for the audio out. Although I finally got the mic to work with the wake word, I couldn't get the Alexa app to work with the audio out. Do you have a working Pi Zero configuration file you could share? Thanks!
@andreamitchell4758
@andreamitchell4758 7 жыл бұрын
yeah i would like to see a tutorial on how to set this up on a pi zero with a config file , a setup that uses the GPIO for mic input and for audio out ,would be nice to have a build that just requires an OTG but no USB hub ,and also some RGB LEDS to GPIO
@artbecker5618
@artbecker5618 7 жыл бұрын
Frak N, there is the "oops" method of potentially fixing your problem. Try this first. Click on the speaker icon in the upper right of the main screen and increase the volume almost to the top. If the mute button has been selected, then fix that. If this works, then don't tell anybody about it. With the Pi Zero, I used a USB handset with both speaker and mic on the same USB device. I only had the 3.5" jack speakers, and no USB sound card, so had to use a USB handset for mic and speaker. Either with or without the separate mic, edit the .asoundrc file, shown in my reply above, and change "card 0" to "card 1" (leave the second "card 1" alone), then reboot. Without using the separate mic, did you try just the device you have that has both mic and speakers on it? There is nothing special or magic about the small mic dongle, shown in Chris' video. I found that the mic on an old web cam worked better for me than the USB mic dongle. The webcam mic had a 3.5MM plug, so I used the USB sound card that I couldn't find when trying the Pi Zero. Trying to configure one device is easier than trying to configure two devices. It might be possible, in your case, to configure the devices through the main screen Preference menu, then Audio Device Settings. Select C-Media etc, instead of BCM2835, then use Select Controls and check all of the Control Settings (mic and speakers), increase the volumes almost to the top, select Make Default, then OK, then reboot. If this throws everything out of whack, then you probably have to edit the .asoundrc file manually to get things back to normal. There are threads about fixing other Alexa Pi problems on the official forums at raspberrypi.org as well as some KZbin videos that address sound problems. Sound really can be the most difficult problem to fix, but eventually you will find something that works. Solving problems is part of the "fun" in making your own AlexaPi. There are ways to use GPIO, though you probably need some minor additional components, such as resistors, capacitors, and intergrated circuits. None of these are expensive. You can easily get them from Chinese sources, like AliExpress. To make LEDs work, you need to add that function to the software. The early AlexaPi instructions, that used a push button instead of wake word, showed how to do it, and it was fun watching the two LEDs show what stage your Alexa request was at. Once the AVS methods became available, buttons and LEDs went away. Still, if you go the GPIO route, you should be able to figure out how to integrate LEDs as well. There are lots of available pins on a Raspberry Pi.
@giveaway4002
@giveaway4002 7 жыл бұрын
*Me :* Alexa **Who is Christopher Barnatt?** *Alexa :* Greatest Technology You tuber.
@nightwatch6100
@nightwatch6100 7 жыл бұрын
Greetings from the U. S. (more specifically, Texas [:y]). I can't stop watching your videos, they are just as fun as they are educational! Thank you!
@ExplainingComputers
@ExplainingComputers 7 жыл бұрын
Thanks for this. I'm glad you like my videos over in Texas. :)
@datfatsesh245
@datfatsesh245 7 жыл бұрын
ExplainingComputers and I'm in Arizona, looks like you got some southwest American fans! You should be proud of that too, trust me, majority of people 'round these parts aren't anywhere near what I would call "tech savvy" keep up the SBC vids, I quite like them! :)
@andrewmarshall1142
@andrewmarshall1142 6 жыл бұрын
Texas FTW. Also a big EC fan.
@Alex1891
@Alex1891 4 жыл бұрын
Nevada here. Go Chris!
@jr2629
@jr2629 7 жыл бұрын
Watching this whilst having an Amazon Echo on your desk is a fun experience
@ExplainingComputers
@ExplainingComputers 7 жыл бұрын
Sorry!
@Ruprect
@Ruprect 7 жыл бұрын
Thank you very much for this video, my son has a project at school - with Alexa, on Pi - And had some troubles with it, I'll go through your setup with him tomorrow - Then he'll be ready for his presentation wednesday.
@Tangobaldy
@Tangobaldy 7 жыл бұрын
thanks for not saying " Alexa volume 10 play rock music. my alexa was doing your command better than me.
@siddraj2002
@siddraj2002 7 жыл бұрын
OMG the Logitech Soundman speaker ... can't forget that signature shape. It was my very first 4.1 speaker system :)
@spikekent
@spikekent 7 жыл бұрын
Very succinct presentation as always Christopher, thank you. I previously installed this on a Pi3 too and it works great.
7 жыл бұрын
How come that this guy doesn't have millions of subscribers, I always learn a ton!
@GeorgeTJ
@GeorgeTJ 7 жыл бұрын
Chris, if you get to find a way to write an executable script which will restart the service if an unfortunate power cut occurs, then this project will be a real winner! In the meantime, a HATlike the Pico UPS is the only way I can think of to prevent rendering ''Alexa'' unresponsive after a reboot. That will be a good ''workaround'', although it raises the cost significantly and with Pico, RPi, Mic and Speakers you will end up paying the asking price of an Amazon Dot... Thanks for the excellent videos and long live Nottingham! ;)
@BrokeMansPC
@BrokeMansPC 7 жыл бұрын
First again! Muawhaha! Also when is Asus Tinker Board with Kodi Video coming out?
@ExplainingComputers
@ExplainingComputers 7 жыл бұрын
Another Gold Medal to you then! :) On the Tinker Board, I am still waiting for them to release Kodi. I hear there is an update to the OS released now, so I will investigate that.
@NicMG
@NicMG 7 жыл бұрын
Thanks for the video man, always informative and useful.
@ExplainingComputers
@ExplainingComputers 7 жыл бұрын
Many thanks.
@johandeklein5253
@johandeklein5253 7 жыл бұрын
amazing is that how small computers can be made these days. Enjoy watching your video's.
@davepickering997
@davepickering997 4 жыл бұрын
Someone needs to tell Alexa, Fahrenheit is not measured in "Degrees" that is Centigrade only. However its a great video and I will try to do the same with my Pi.
@briancrane7634
@briancrane7634 7 жыл бұрын
Wonderful, fascinating!! I love the fiddly bits! Many thanks for showing all the steps! Most entertaining!
@ExplainingComputers
@ExplainingComputers 7 жыл бұрын
:)
@Felpstech
@Felpstech 4 жыл бұрын
Does It work with the alexa app normally? can you control your smarthome with it?
@Yenkna_PCs
@Yenkna_PCs 7 жыл бұрын
Chris, you have to update the wake word every 120 days. Git hub said after it expires, just download the latest version and re-link.
@PardonJulianAssangeNow
@PardonJulianAssangeNow 7 жыл бұрын
Raspberry Spy.
@ExplainingComputers
@ExplainingComputers 7 жыл бұрын
Nice.
@Ra000leo
@Ra000leo 7 жыл бұрын
Spark Plug Good one
@RPiSpy
@RPiSpy 6 жыл бұрын
A Raspberry Pi Spy :)
@Craigamonster
@Craigamonster 6 жыл бұрын
1:44 It can hear us.
@LoganT547
@LoganT547 4 жыл бұрын
You must be really ignorant. If you ever checked Alexa's privacy notice you'd know Amazon's Assistant devices aren't sending your every word to servers. They only send a few-second-long audio clip, the microphone is not sending audio to the servers and it will wait for you to say the wake word. Get a life and do your research before writing something stupid like this.
@bellidoj
@bellidoj 7 жыл бұрын
I think you could install terminology. It is a terminal program from the enlightenment desktop that can be splited horizontal or vertically, keeping the child terms in the same path than the original. It is very handy for multiterm stuff like you show in this really cool video.
@tonyweavers4292
@tonyweavers4292 7 жыл бұрын
Another great video Chris thanks. Using these settings, will the Pi reboot to Alexa or do terminal windows need to be run on each reboot?
@JoeGreene780
@JoeGreene780 7 жыл бұрын
Thank you so much for your hard work. Brilliant as always. My students are going to absolutely love this. I plan to set it up right in front of them during an open session of class. Thanks again.
@ExplainingComputers
@ExplainingComputers 7 жыл бұрын
Thanks -- and this will I am sure make a great teaching session. A long setup, but the end result speaks for itself! :) And there are a lot if special/trick questions Alexa is primed for! It can also turn on most radio channels (which I did not show for copyright reasons).
@evil_in_your_closet
@evil_in_your_closet 7 жыл бұрын
"...the result speaks for itself" - Pun intended? ;-)
@gregb.1614
@gregb.1614 7 жыл бұрын
This is a really useful and a simple explanation of how to do this. Definitely going to do this myself!!!
@accessfm
@accessfm 7 жыл бұрын
Great video as always... one thing though... what happens if you turn off the power to the pi? Do you have to restart the service by typing or is it fully automated to restart by itself? Greetings from Ireland!
@ExplainingComputers
@ExplainingComputers 7 жыл бұрын
You will have to restart the service after a reboot I'm afraid . . .
@accessfm
@accessfm 7 жыл бұрын
ExplainingComputers cheers... thought so... but it's not too bad. cool chatting to you... looking forward to the next video.
@zachdemand4508
@zachdemand4508 7 жыл бұрын
You could always create a script to start the service at boot.
@frakman1
@frakman1 7 жыл бұрын
Not that easy. One of them is an interactive process requiring opening a browser and logging in etc. There really is no shortcut other than opening the three terminals and running those commands every time you reboot.
@zachdemand4508
@zachdemand4508 7 жыл бұрын
Its easier than you might think. github.com/alexa/alexa-avs-sample-app/issues/127
@barneman2742
@barneman2742 7 жыл бұрын
dude this was your best episodes
@ExplainingComputers
@ExplainingComputers 7 жыл бұрын
Many thanks. I was rather worried it has a lot of setup detail.
@frakman1
@frakman1 7 жыл бұрын
I disagree. Don't get me wrong, this is a fine episode indeed, but one that many, many others have made as well. The github instructions speak for themselves and are easy to follow. Frankly, I was surprised you joined the 'put Alexa on a Pi' band wagon. I enjoy the episodes where you wire electronic components to GPIO pins via a breadboard and make them do things with Python code. Keep up the good work!
@iH85CH001
@iH85CH001 7 жыл бұрын
I quite enjoyed this, I'm looking to build something similar to this for my car, and i can tether internet from my phone via bluetooth or wifi tethering, hook it to the radio for sound and power either from the radio or a car charging port that I just never take out, something like this. lots of work to do, basically will never get it done cuz im lazy but at least right now it sounds cool lmao.
@Ken-hs5yu
@Ken-hs5yu 7 жыл бұрын
I'm new to your channel and Raspberry Pi ,but look forward to learning about all you show and will make the Dot one of my first try's. thanks for your sharing of knowledge and resources. On a side note, I was originally going to start with the Chip, but it is now the Chip pro and seems down sized. Will you be doing a comparison or review of the chip Pro? Thanks
@ExplainingComputers
@ExplainingComputers 7 жыл бұрын
Welcome! I may indeed look at the CHIP Pro -- on my list.
@wtfmategaming
@wtfmategaming 7 жыл бұрын
Yet another project i will be building thanks to you. Great tutorial, can't wait to put my Rpi3 to work!
@ExplainingComputers
@ExplainingComputers 7 жыл бұрын
It is a very rewarding project to try. :)
@cgarzs
@cgarzs 7 жыл бұрын
It's almost painful watching someone type out long directory names knowing all they have to press is tab after a few characters to complete it automatically lol. Anyway amazing vid. Yet another thing that's making me tell myself to finally get a Pi.
@ExplainingComputers
@ExplainingComputers 7 жыл бұрын
As I've noted below, I wanted to keep in step with the instructions on Github for those also following them -- so typed everything there. Clearly I could have navigated directories more efficiently and recalled text from the buffer.
@cgarzs
@cgarzs 7 жыл бұрын
Ah yes I see the comment now. I should have searched tab 1st. That's fair enough. I've since noticed you had a similar problem on the robot from android ssh video since the name had an underscore. I was like "tab! tab!" there also lol. That RPi robot series has convinced me to subscribe. Your channel is fantastic =)
@bluesquare23
@bluesquare23 7 жыл бұрын
Your videos deserve more views.
@ExplainingComputers
@ExplainingComputers 7 жыл бұрын
Thanks. :)
@RollsRoyceFanatics
@RollsRoyceFanatics 7 жыл бұрын
Brilliant! Can't wait to set this up for my elderly father who has macular degeneration
@stevehallam0850
@stevehallam0850 7 жыл бұрын
Glad to see you make tea in a pot, very civilised :-)
@NorthernScrub
@NorthernScrub 7 жыл бұрын
If the directory you're trying to get to is relatively unique, you can use the tab key to autocomplete the directory name after typing one or two characters.
@gigabot183
@gigabot183 7 жыл бұрын
57 degrees in london? People would be dying!
@TheGenericNerd
@TheGenericNerd 7 жыл бұрын
Dante Yagyu that's what I was thibkibg. they go through the trouble of making the AI voice British but they don't bother converting to celsius?
@turboslag
@turboslag 7 жыл бұрын
Imagine the personal data harvesting that Amazon will be benefiting from with this!
@samsadkhan216
@samsadkhan216 7 жыл бұрын
Hello from Bangladesh ! I just found your channel and I am enjoying it very much.
@ExplainingComputers
@ExplainingComputers 7 жыл бұрын
Greetings from the UK! And welcome to the channel. :)
@RocktCityTim
@RocktCityTim 7 жыл бұрын
All your base are belong to us! Welcome to the birth of the age of the Geth :O Cool video as always!
@greatttttttttful
@greatttttttttful 7 жыл бұрын
Once we've configured this , Will we be able to just turn on our raspberry pi and start using Alexa without ever needing a HDMI display or do we need to run a code each time we turn on our pi in order to invoke Alexa? Great video !!!
@ExplainingComputers
@ExplainingComputers 7 жыл бұрын
You do need to run the code on each boot I'm afraid. It could be partially automated with scripts, but that does not get around the web login bit.
@RexCaelestis
@RexCaelestis 7 жыл бұрын
Nice Marina Bay Sands wallpaper!
@bco2302
@bco2302 7 жыл бұрын
You are a hero to this planet
@tubeDude48
@tubeDude48 2 жыл бұрын
Chris, excellent ! Glad you made this. I have 4 Alexa's in my house...why not 1 of my Pi's !! 👍
@geoserenity
@geoserenity 7 жыл бұрын
a wispa bar? you sir have good taste
@FlorinIonitaAdrian
@FlorinIonitaAdrian 7 жыл бұрын
Hello and congratulation for the channel! I`m from Romania and i watch every single video you post! My question is: Did u cut the video between the question and the alexa response? i saw several videos where there is a 2-3 second delay before alexa answears. Could the problem be the internet connection speed? Thanks in advance
@ExplainingComputers
@ExplainingComputers 7 жыл бұрын
Thanks for this. There are no cuts in the Alexa sequence (well, I cut the pictures for visual variety, but the sequence plays out in real-time). I imagine Internet speed could make the pauses longer in some circumstances.
@FlorinIonitaAdrian
@FlorinIonitaAdrian 7 жыл бұрын
Thanks! I want to try this project on my magic mirror 2. Any thoughts on how to auto start the alexa service after reboot?
@avibents1253
@avibents1253 7 жыл бұрын
Why not call it alexa pi
@ExplainingComputers
@ExplainingComputers 7 жыл бұрын
:)
@adarshsingh764
@adarshsingh764 7 жыл бұрын
Avi Bents or maybe Alexa home
@beck3k
@beck3k 7 жыл бұрын
Every time he says "Alexa" my Echo wakes up.
@joshgill1969
@joshgill1969 7 жыл бұрын
same (mines an echo dot)
@ezioauditore7636
@ezioauditore7636 6 жыл бұрын
why no pi-lexa
@axi6ne8us
@axi6ne8us 7 жыл бұрын
I really appreciate you taking valuable time to do those videos. I am learning alot and your english accent is cool to listen too. Thanks again! Cheers
@minineji7050
@minineji7050 7 жыл бұрын
Thank you very much. I have been addicted to your channel becuase of episodes like this. Very imformative and easy to follow! Thanks
@nathanielmoore87
@nathanielmoore87 7 жыл бұрын
Awesome vid!! Do you suppose you could use this to build an Alexa enabled car infotainment system? Current voice recognition in cars doesn't compare anywhere near Alexa? I've heard that Amazon is partnering with some car makers to integrate Alexa into automotive applications, but that will take awhile and there will still be no aftermarket option for those of us driving older or collectible classic cars.
@ExplainingComputers
@ExplainingComputers 7 жыл бұрын
What you suggest must be possible. Amazon is pretty open with its APIs, so allowing for such projects and innovation.
@crazyfrisbee23
@crazyfrisbee23 7 жыл бұрын
great video ! very nice everything. i just wonder why you didn't used tab-completion in the terminal to not have to type out every file you ran or dir you cd'ed into! also i wonder which operating system is installed on the raspberry pi. i guess its default but would be nice to write in the description. thanks for doing this and keep up the great work :D
@rushikeshbhor6375
@rushikeshbhor6375 6 жыл бұрын
Would this work with a Bluetooth speaker?If so, what would the changes one need to make during the setup? Gr8 vid btw!!
@ExplainingComputers
@ExplainingComputers 6 жыл бұрын
Potentially, yes -- though I've not experimented with Bluetooth speakers on a Pi.
@kenjboyd6233
@kenjboyd6233 7 жыл бұрын
Thanks Chris, excellent as usual.
@ianjenkinson3585
@ianjenkinson3585 7 жыл бұрын
Interestingly my Echo listened to your programme and 'Alexa' gave very similar but not identical answers to your questions. Plainly the weather in London answer was slightly different but, curiously, the Raspberry Pi was slightly different despite that both systems answered the same question. A few other questions were also slightly different. Do you know why ?
@ExplainingComputers
@ExplainingComputers 7 жыл бұрын
Very interesting. May the answers evolve over time, or are location dependent.
@RPiSpy
@RPiSpy 6 жыл бұрын
It is likely because the Alexa API services are slightly different to the system used on actual Alexa devices. This can also mean functionality that is available on the devices isn't available via the API.
@antony_12
@antony_12 7 жыл бұрын
Hi Chris, thank you for another interesting video. You can save a lot of time typing in terminal if you press "Tab" after you typed a few initial letters - it will autocomplete folder/file names. If you have 2 RPis with Alexa, will they talk to each other? :)
@tompreaney
@tompreaney 7 жыл бұрын
Brill! Fantastic! What a really useful video. Great work.
@PrintWorx3D
@PrintWorx3D 4 жыл бұрын
me: alexa where where you born alexa:by the rassbery py
@nikobellic570
@nikobellic570 7 жыл бұрын
gotta make this and show it off to the kids. reckon they'll have some fun with alexa
@dennissmithjr.5370
@dennissmithjr.5370 7 жыл бұрын
That was really awsum professor, thanks for sharing. Will have to try this myself.
@metalheadmalta
@metalheadmalta 7 жыл бұрын
A very well thought out video. Thanks Chris. I will try this ASAP. Could I be so bold as to ask you what you edit your videos with? Thanks so much. Chris (Grillo)
@ExplainingComputers
@ExplainingComputers 7 жыл бұрын
Hi Chris, thanks for this. I normally edit in Premiere Pro (CS5 to be exact -- before it became a subscription thing!). But I do now also work in DaVinci Resolve -- which is both great and free. I've various videos on it on the channel.
@metalheadmalta
@metalheadmalta 7 жыл бұрын
Thanks... I follow your channels religiously... fascinating and so in tune with me.
@G_Fresh_UK
@G_Fresh_UK 7 жыл бұрын
Best Video Yet..
@djbare9
@djbare9 7 жыл бұрын
Thank you for this, I had been wondering if there is support for the Raspberry Pi. I'd like to make a request for a future video, Alexa echo uses 8 microphones for noise filtering and directionality, perhaps a project that utilizes cheap breakout microphones to do the same thing?
@Apricate.
@Apricate. 5 жыл бұрын
it actually has 7 microphones
@Apricate.
@Apricate. 4 жыл бұрын
@DaemonJWS 3 months too late for that reply
@Apricate.
@Apricate. 4 жыл бұрын
@DaemonJWS 19 hours too late for that reply. And I was within 4 minutes /:
@kolkoki
@kolkoki 7 жыл бұрын
How did you blacked out your creditentials? By hand or you had an automatic process?
@ExplainingComputers
@ExplainingComputers 7 жыл бұрын
All by hand. I could have tracked the moving window in After Effects, but in the end it was all just hand keyframed. I wish I had not moved the window about so much! :)
@evil_in_your_closet
@evil_in_your_closet 7 жыл бұрын
Maybe Planar Tracking in Mocha AE could have saved you some time there! It is a really awesome tracker, thats for sure.
@GeekBoy03
@GeekBoy03 6 жыл бұрын
I think you need to do an update to this video. It seems Amazon has done quite a few changes which makes a lot this information no longer valid.
@scienceblock
@scienceblock 7 жыл бұрын
I didn't know amazon Alexa has been around since 2014 :0
@pijussimkevicius6149
@pijussimkevicius6149 7 жыл бұрын
I love your videos they are sooooo good! and very educational too! greetings from lithuania!
@xarain
@xarain 7 жыл бұрын
Love your desktop wallpaper!
@mickelodiansurname9578
@mickelodiansurname9578 3 жыл бұрын
@ExplainingComputers Chris, have you looked at MyCroft, or PiCroft? MB: For the uninitiated Mycroft is an open source home automation and voice assistant.
@ljsystems5694
@ljsystems5694 7 жыл бұрын
at the moment i'm installing alexa pi on my RPi... Greetings from Germany (Munich) ;)
@ExplainingComputers
@ExplainingComputers 7 жыл бұрын
Greetings to you . . . and Alexa!
@ElectroIoT
@ElectroIoT 6 жыл бұрын
Very nice Step By step Guide I will try it soon
@CCBrobmistere
@CCBrobmistere 7 жыл бұрын
Another awesome video! However I do suggest using tab complete when in the terminal to save you self some typing
@ExplainingComputers
@ExplainingComputers 7 жыл бұрын
Thanks! :) My dilemma here was how closely to follow the Amazon instructions in terms of the commands I typed and how. I could clearly have moved up and down directories as needed and executed the commands, but I was also aware that views may use this video in combination with the Amazon instructions, and hence I wanted to show the three final processes being typed in and run exactly as the Github page shows . . .
@southsidedojo2
@southsidedojo2 7 жыл бұрын
I'm still claiming 2016 too! LOL Great video Chris and BTW she or it has to be better than SIRI I am pretty sure.
@resrussia
@resrussia 7 жыл бұрын
Thanks for an interesting Pi project. Keep up the good work.
@steeveedee8478
@steeveedee8478 7 жыл бұрын
I approve of the Wispa bar!
@ExplainingComputers
@ExplainingComputers 7 жыл бұрын
:)
@connormonton9186
@connormonton9186 7 жыл бұрын
With this I shall give Wudsworth LIFE !!!!
@shadowr2d2
@shadowr2d2 6 жыл бұрын
This Was Very Interesting, & Very Educational As Well.. I Have Not Worked With A Raspberry Pi.. But I'm Learning More, & More.. I Was Wondering If.. You Can Install Jarvis Voice Command On A Raspberry Pi 3.. I Have Seen Your Other Video on The CHIP, & DIP.. So Would It Be Better On The CHIP.. Thank You Very Much.. Have A Merry Christmas..
@ExplainingComputers
@ExplainingComputers 6 жыл бұрын
The CHIP is not powerful enough to run this. Merry Xmas! :)
@mike.a.irving8227
@mike.a.irving8227 7 жыл бұрын
Struggling with Wake Word. Having to wipe and start again. Great video, thanks!
@shishu3986
@shishu3986 7 жыл бұрын
Great instructions! How did you catch the pi screen video?
@CreepebrineMC
@CreepebrineMC 7 жыл бұрын
4:41 🐟(FISH)!
@georgemyoutube8078
@georgemyoutube8078 6 жыл бұрын
Creepebrine I
@briianhebert
@briianhebert 7 жыл бұрын
Thanks for the video! Yet another cool thing to do with RaspPi :D
@jimchance5006
@jimchance5006 7 жыл бұрын
Wow, thanks for the great videos time and time again, I learn so much from this channel.
@mahfuzanamullash5319
@mahfuzanamullash5319 7 жыл бұрын
Do you think raspberry pi zero can be used for this project?? Great video by the way,learned a lot.
@mahfuzanamullash5319
@mahfuzanamullash5319 7 жыл бұрын
*rasberry pi zero W
@ranger81de
@ranger81de 7 жыл бұрын
Great video tutorial. I wonder if there is a change of getting Alexa running on the pi without graphical user interface?
@dachr2
@dachr2 7 жыл бұрын
Why aren't you using the tab key to autocomplete instead manually typing eveything? Other than that interesting video! I got a RPi running with kodi on it.. I wonder if I could get Alexa to run on that in headless mode. Their Wiki has some documentation on how to do Authentication with Node.js on Linux.
@seancapelle5909
@seancapelle5909 7 жыл бұрын
Great video! I got it up and running after only two little missteps on my part. I have the audio piped through HDMI, but it sounds a little crackly.
@RavenSurfyoo
@RavenSurfyoo 7 жыл бұрын
ExplainingComputers superb stuff to try
@yngvenystrand167
@yngvenystrand167 7 жыл бұрын
Thanks a lot for this video! I don't have Alexa yet, but I will surely try it out on a Raspberry Pi! Just wondering, how would Alexa respond if you ask her if she is spying on you?
@PenguinPenguinaskearly
@PenguinPenguinaskearly 7 жыл бұрын
Amazing video! Didn't know this was possible, now I do. :)
@greavous93
@greavous93 4 жыл бұрын
Alexa, give the ol nips a pinch.... And the next time you go to Amazon the page will be covered with adult toys.... Alexa, get the hell out of my house.
@IRgEEK
@IRgEEK 7 жыл бұрын
Wow! *This* is awesome! However, the Echo Dot I have in this room wouldn't shut up while watching this video! :-)
@piotrbukowski9407
@piotrbukowski9407 6 жыл бұрын
Hi. You inspired me to make AlexaPi (I'm living in Europe and I can't buy "original" one) and I have a question: of I just unplug keyboard, mouse and monitor while raspberry is turned off and I power it up will it work like in your video? (I mean - do I have to setup sth more to make this work that you haven't included in video?)
@_noderay
@_noderay 7 жыл бұрын
With the 2017-03-02 raspbian build you will likely run into a CPU bug where wakeWordAgent uses like 80% cpu. This has been narrowed down to "OpenBLAS" which is included in the latest build. I worked around this by getting it running on "DietPi".
@DieterKuefner
@DieterKuefner 7 жыл бұрын
Excellent stuff and I did it! Thanks for showing the details. Now I'm interested in how to add skills to Alexa. Can you also make a video about this?
@artifactingreality
@artifactingreality 7 жыл бұрын
Instead of talk to you again you should say I hope to talk at you again. Good video.
@simoncoyote707
@simoncoyote707 7 жыл бұрын
That's really cool, does it run on a normal windows laptop?
@fzmxtg
@fzmxtg 6 жыл бұрын
Looks brilliant, I'm going to give this a go, I have Kodi installed on my Raspberry Pi, can I get alexa to start Kodi ?
@costinmarina
@costinmarina 7 жыл бұрын
Hi,Cristopher, nice video, and nice channel ! When you will readdress this topic, by showing us how to autostart this Alexa Pi installation? Thanks!
@maicod
@maicod 7 жыл бұрын
Christopher thanks for the ever interesting videos ! Is the micro-SD card easily removable/insertable with a Pi 3B in this casing ?
@ExplainingComputers
@ExplainingComputers 7 жыл бұрын
Uhm. It is removable -- but not that easily with a Pi 3, as it just pushes in and out, whereas for a Pi 2 it was very easy due to the click in-out mechanism.
@maicod
@maicod 7 жыл бұрын
yeah thats exactly the problem what I also have with the black rounded casing (the one you used in one of your I believe Pi2 videos). Also the Pi3 becomes very hot doing GPU/CPU intensive things, it reports 85 C (also feels HOT when touching with fingers) and I wonder if it can break inside a case or even become dangerous (fire risk?)
@scyther1141
@scyther1141 7 жыл бұрын
I was totally stoked until alexa mentioned Bing
@mefisto1212
@mefisto1212 7 жыл бұрын
Greate video - as always. Thank you. But this kind of funcionality like asking for weather is useless - is it possible to drive GPIO's with Alexa API? That would be useful - think about intelligent home without any complicated infrastructure - just micro-computers, "executive elements" and voice service - that would be something - maybe intelligent home should be one of your direction's on discovering new applications for micro-computers?
@ExplainingComputers
@ExplainingComputers 7 жыл бұрын
Yes, GPIO control is I think possible via Alexa.
@FOCUSwildkamera
@FOCUSwildkamera 6 жыл бұрын
Your video was a great help to me. Thanks !
@kikerosas784
@kikerosas784 7 жыл бұрын
Lol got an Amazon echo ad before this video
@ExplainingComputers
@ExplainingComputers 7 жыл бұрын
The power of the smart web! :)
@axi6ne8us
@axi6ne8us 7 жыл бұрын
Great video! ... will be getting a Pi ASAP :)
@leecherlarry
@leecherlarry 7 жыл бұрын
@Chris, did you end up keeping the Alexa installation, or did you, weeks after publication of the video, uninstall the software or format the SDcard?😁
@ExplainingComputers
@ExplainingComputers 7 жыл бұрын
I played with it for several weeks, and still have the installation on the SD card, though have not run it up for some time. But I plan to return to AI on the Pi -- both Alexa and Google Assistant. :)
@leecherlarry
@leecherlarry 7 жыл бұрын
kudos for not having formatted the SDcard, but I will do so after I am done with playing with AlexaPi. Right now I am finishing the installation following your very video, thanks a million for the super well made production. Looking forward to your adventures in GooglePi 😇 , have a wonderful week ttys Chris!
@ExplainingComputers
@ExplainingComputers 7 жыл бұрын
The fun bit here is setting it up and making it happen! :)
@leecherlarry
@leecherlarry 7 жыл бұрын
am still struggling 😁. "mvn : command not found"-common error, troubleshooting found, wishing myself better luck😂. Progressing's a bit fun and exciting, I agree!
@leecherlarry
@leecherlarry 7 жыл бұрын
apparently the wifi connection got lost. I rebooted, then reinstalled the "automated*.sh" and made sure that wifi signal was rock solid. now everything is working. wake word detection works well!
@davilescano
@davilescano 7 жыл бұрын
what a great video!! looking forward to give it a go! keep the good work up!
@computergeek9319
@computergeek9319 7 жыл бұрын
Nice video! Even though i've only watched 1 second
@ExplainingComputers
@ExplainingComputers 7 жыл бұрын
:)
WAY faster than a Raspberry Pi-but is it enough?
17:26
Jeff Geerling
Рет қаралды 677 М.
NEVER install these programs on your PC... EVER!!!
19:26
JayzTwoCents
Рет қаралды 3,6 МЛН
Кәсіпқой бокс | Жәнібек Әлімханұлы - Андрей Михайлович
48:57
Un coup venu de l’espace 😂😂😂
00:19
Nicocapone
Рет қаралды 10 МЛН
REAL 3D brush can draw grass Life Hack #shorts #lifehacks
00:42
MrMaximus
Рет қаралды 8 МЛН
FydeOS: ChromiumOS with Android, Linux & no Google!
23:26
ExplainingComputers
Рет қаралды 126 М.
Raspberry Pi: Using GPIO Inputs
18:41
ExplainingComputers
Рет қаралды 583 М.
Raspberry Pi Google AIY Voice Kit
16:45
ExplainingComputers
Рет қаралды 195 М.
When Did Raspberry Pi become the villain?
21:54
Jeff Geerling
Рет қаралды 1,6 МЛН
Harder Drive: Hard drives we didn't want or need
36:47
suckerpinch
Рет қаралды 1,7 МЛН
Raspberry Pi Hardware - Computerphile
7:19
Computerphile
Рет қаралды 269 М.
Raspberry Pi 5: EVERYTHING you need to know
20:32
Jeff Geerling
Рет қаралды 1,2 МЛН
Microsoft and Apple Wanted This OS - GeoWorks Rise and Fall
31:09
Getting Started With The Raspberry Pi 3
9:47
Farnell Global
Рет қаралды 1,4 МЛН
Кәсіпқой бокс | Жәнібек Әлімханұлы - Андрей Михайлович
48:57