How To Build Smart Speaker With Alexa And Google Assistant Diy


Note: The following project has been created with the help of a GitHub project.

Things You Need:

  1. To start off, you’ll first need to set up your Raspberry Pi. To do so, simply download the NOOBS package, extract it to your microSD card and plug it into your Raspberry Pi. Hook up the USB Keyboard, Mouse, Mic and the Speaker to the Pi and turn it on. You will now get a first time setup. Simply select Debian and install to start the installation of Debian on your Raspberry Pi.

Steps to Build Smart Speaker:

Next up, create a Google Developer Account and enable the Google Assistant API. Once you’re through with that, download the credentials.json file of your Google Product to /home/pi and rename it to assistant.json.

  1. Now, run the following commands one by one to clone the GitHub project and make the installer files executable: First, OS will be updated and upgraded. Thereafter, you will be prompted to select the audio setup. Select “3” from the options. Now, restart the Raspberry Pi.

  2. Upon reboot, first, check your audio setup by The script is interactive, just press “y” if you hear the audio, or “n” if you don’t. In case you don’t hear the audio, you need to check the wires.

  3. Now that your system is ready, run the following command to start the installer: The script will now execute. It is a pretty straightforward script, simply follow the on-screen instructions.

  4. Once both the assistants have been installed, you’ll be shown a screen as below. Run the commands one by one to authenticate Alexa. Once you’re through with that, make the changes in the README file located at /home/pi/Assistants-Pi to start the assistants on boot.

And that’s it. Your 2-in-1 smart speaker is ready. Also, while you can use the entire setup barebones, we decided to wrap things up inside a nice little cardboard box and apply a black chart paper while Beebom-ify-ing things up. You can also check out our video of the same below, to see our speaker in action:

The DIY Smart Speaker: Best of Both Worlds

How to Build Smart Speaker with Alexa and Google Assistant  DIY  - 42How to Build Smart Speaker with Alexa and Google Assistant  DIY  - 82How to Build Smart Speaker with Alexa and Google Assistant  DIY  - 38How to Build Smart Speaker with Alexa and Google Assistant  DIY  - 80How to Build Smart Speaker with Alexa and Google Assistant  DIY  - 65How to Build Smart Speaker with Alexa and Google Assistant  DIY  - 55How to Build Smart Speaker with Alexa and Google Assistant  DIY  - 36How to Build Smart Speaker with Alexa and Google Assistant  DIY  - 5