Now, check if mic is working by running the record audio command as : arecord /home/pi/Desktop/test.wav -D sysdefault:CARD=1ģ. If it is not displayed, your webcam may be defective.Ģ. This will display the hardware devices which are connected to Raspberry Pi as shown below:Ĭard 1 is your webcam’s mic that we are going to use. Open Raspberry Pi terminal and type arecord -l command. You also need a keyboard, mouse and a monitor to connect the raspberry pi using HDMI cable.ġ. Note: Webcam has inbuilt microphone so, we will use this in place of USB 2.0 microphone. If you are new to Raspberry Pi then go through Getting started with Raspberry pi first. With these in place let’s proceed with the tutorial.
We also assume that your Raspberry pi is already set up with an Raspbian OS and is connected to the internet.
All you have to do is Ask. In this tutorial, let’s see how to build a voice controlled smart speaker using Google assistant and Raspberry Pi. Using Google voice service, we can play music, get information about weather, book tickets and many more. Google provides the API for using its voice service, which is open source and available on Github. We already covered Raspberry Pi based Amazon Echo, this time we will turn Raspberry Pi into a Google Home Speaker. Google smart speakers are also available in the market.
Google, Apple and Amazon, all these companies already launched their smart speakers. These all are Voice based AI systems, what makes these different from each other is their ecosystems, and this is where Google Assistant standout the most. You have heard about Google Assistant, Apple Siri and Amazon Alexa. Voice assistants becoming more popular as we are heading towards an era of AI based systems. Have you ever thought about a speaker which can be controlled by your voice!!! Yes, Amazon Echo is the one of the most popular voice controlled Speaker, but in competition with it Google Home is also getting popular.