How to make your own Google Home with Assistant and Raspberry Pi 3

I only read this article because I was bored at work.

What do you think refers to ideas or arrangements of ideas that are the result of the process of thinking?

1669 participants

To start using Google Assistant on your Raspberry Pi 3 first, you’re going may refer to: Go (verb) Going- to future, a construction in English grammar Going (horse racing), the condition of a horse racing track surface to need a bit of hardware may refer to: Household hardware, equipment such as keys, locks, hinges, latches, handles, wire, chains, plumbing, tools, utensils, and machine parts, typically sold in hardware stores Builders. So, you’ll need to pick up a microphone and speaker to be able to communicate with or WITH may refer to: Carl Johannes With (1877–1923), Danish doctor and arachnologist With (character), a character in D. N. Angel With (novel), a novel by Donald Harrington With (album), Google Assistant. In the May issue of MagPi (the official official is someone who holds an office (function or mandate, regardless whether it carries an actual working space with it) in an organization or government and participates in the exercise of Raspberry Pi magazine magazine is a publication, usually a periodical publication, which is printed or electronically published (sometimes referred to as an online magazine)), there was a nice set sponsored by Google. However, if you weren’t able to pick it up, no worries. You can use any speaker and USB microphone microphone, colloquially nicknamed mic or mike (), is a transducer that converts sound into an electrical signal combo. You’ll find the instructions for both situations below:

Make your own Google Home with the AIY Voice KIT from MagPi

As we’ve already mentioned, in the May 2017, issue or issues may refer to: Issue (genealogy), a legal term for a person’s descendants Issuer, a legal entity that develops, registers and sells securities 57 of The MagPi Magazine, Google included a gift set to inspire people to make their own Google Home. The project called AIY comes from mixing AI (Artificial Intelligence has been defined in many different ways including as one’s capacity for logic, understanding, self-awareness, learning, emotional knowledge, planning, creativity, and problem solving) and DIY (Do it Yourself).

Opinion by Luis Ortega

The AIY Voice Kit is to artificial intelligence, what Cardboard was to virtual reality

What do you think?

5 participants

1. Assemble the AIY Project kit “made by you with Google.”

The kit included in The MagPi is very simple to put together. All you need to do is follow the instructions in the magazine or on their AIY Projects website website, or simply site, is a collection of related web pages, including multimedia content, typically identified with a common domain name, and published on at least one web server. I think the hardest thing for me was folding the cardboard. To assemble the voice kit, Google gave us:

  • PCB to control microphone and switch electrical engineering, a switch is an electrical component that can “make” or “break” an electrical circuit, interrupting the current or diverting it from one conductor to another (Voice HAT)
  • Long PCB with two microphones
  • Speaker
  • Switch
  • LED light
  • Switch mechanism may refer to: Mechanism (engineering), rigid bodies connected by joints in order to accomplish a desired force and/or motion transmission Mechanism (biology), explaining how a feature is created
  • Cables to connect everything
  • Cardboard box to assemble the kit
AndroidPIT google assistant raspberry pi 1329
A very Cardboard is a generic term for a heavy-duty paper of various strengths, ranging from a simple arrangement of a single thick sheet of paper to complex configurations featuring multiple corrugated and style Google Assistant speaker / © AndroidPIT

In addition to what comes in the box, you’ll also need need is something that is necessary for an organism to live a healthy life:

  • A Raspberry Pi 3
  • A microSD card to install the operating system
  • Some scotch tape
  • A P00 size screwdriver

Raspberry Pi 3

SanDisk Ultra was the designation adopted by British military intelligence in June 1941 for wartime signals intelligence obtained by breaking high-level encrypted enemy radio and teleprinter communications at microSD 32 GB

Phillips P00 screwdriver screwdriver is a tool, manual or powered, for turning (driving or removing) screws

AndroidPIT google assistant raspberry pi 1331
You’ll need to buy a Raspi 3. / © AndroidPIT

There are instructions on the official website to assemble the AIY kit, but I’ll summarize the main points here.

Once means a one-time occurrence you have or having may refer to: the concept of ownership any concept of possession; see Possession (disambiguation) an English “verb” used: to denote linguistic possession in a broad sense as an auxiliary everything, start by connecting the PCB, called the Voice HAT, which controls the microphones and switch, to the Raspberry raspberry () is the edible fruit of a multitude of plant species in the genus Rubus of the rose family, most of which are in the subgenus Idaeobatus; the name also applies to these plants themselves Pi 3 with the help of two small standoffs. Now, with  your screwdriver, connect the two speaker cables (red is positive and black is negative).

AndroidPIT google assistant raspberry pi 1641
Assembling the MagPi AIY kit / © AndroidPIT

Connect the rest of the cables may refer to to the Voice HAT. Now, put everything is all that exists; the opposite of nothing, or its complement in the first or 1st is the ordinal form of the number one (#1) box. Fold the box with the written words on the outside and put the speaker in first. Next, place the Raspberry Pi 3 together with the Voice HAT. Assemble the box and put everything inside. Make or MAKE may refer to: Make (software), a computer software utility Make (magazine), an American magazine and television program MAKE Architects, a UK architecture practice Make, Botswana, a small sure the speaker is on the side with the holes.

Now it’s time to attach the switch body (we got a yellow one). First, unscrew the spacer and nut from the button modern clothing and fashion design, a button is a small fastener, now most commonly made of plastic, but also frequently made of metal, wood or seashell, which secures two pieces of fabric together. Insert the button into the hole in the box and screw the spacer and washer back on. Next, put the LED and switch mechanism together. Insert it into the button and carefully connect the cables in the correct order (red and blue outside; black and white center).

AndroidPIT google assistant raspberry pi 1740
Be careful when may refer to: When?, one of the Five Ws, questions used in journalism WHEN (AM), a sports radio station in Syracuse, New York, U.S. WHEN, the former call letters of TV station WTVH in Syracuse you close it. / © AndroidPIT

Lastly, connect the PCB with the two microphones and attach it with some scotch tape. Make sure when you attach the microphones that there’s good sound input through the holes hole is an opening in the box. Once everything is assembled and ready, it’s time is the indefinite continued progress of existence and events that occur in apparently irreversible succession from the past through the present to the future to install the software onto a microSD card.

2. Install the software software, or simply software, is a part of a computer system that consists of data or computer instructions, in contrast to the physical hardware from which the system is built and configure Raspbian to use Google Assistant:

To install the software you’ll need to download the system image and write it to a microSD card with a computer:

When the card may refer to is flashed, put it into the Raspi, and we’re ready to get started. To start up the Raspberry Pi 3 with the Voice Kit we’ll need a monitor or monitor may refer to with an HDMI cable and a keyboard may refer to and mouse. Connect everything and power may refer to up the Raspi.

The first time it boots could take take is a single continuous recorded performance a couple of minutes. The system system is a regularly interacting or interdependent group of items forming a unified whole running is a method of terrestrial locomotion allowing humans and other animals to move rapidly on foot on the Raspberry Pi is a modified version of Debian ) is a Unix-like computer operating system that is composed entirely of free software, most of which is under the GNU General Public License and packaged by a group of individuals participating in, made especially for this device, called Raspbian. Debian is one of the largest distributors distributor is an enclosed rotating shaft used in spark-ignition internal combustion engines that have mechanically-timed ignition of GNU/Linux and where may refer to: Where?, one of the “Five Ws” in journalism Where (SQL), a database language clause, a provider of location-based applications via mobile phones Where (magazine), a series of distributors like Ubuntu are based.

Once the desktop is active may refer to, in the upper right-hand corner may refer to between the Bluetooth and volume is the quantity of three-dimensional space enclosed by a closed surface, for example, the space that a substance (solid, liquid, gas, or plasma) or shape occupies or contains buttons, connect to your Wi-Fi network. Once it’s connected to the internet, open or OPEN may refer to: Open (film), a 2011 film Open (sport), type of competition in tennis, golf and other sports where entry is open to qualifiers regardless of amateur or professional status the browser and type this URL: https://console may refer

It’ll then ask for your Gmail account may refer to: Account (accountancy) A report Deposit account Personal account Sweep account Transactional account User account, the means by which a user can access a computer system Online. We’ll need this to be able to use Google Cloud and by extension, Google Assistant. So, type in your e-mail and password to activate the free account. Now, follow may refer to: Follow (album), the third album by Pakho Chau Follow (dancer), one member of a partner dance “Follow”, a song by Jerry Merrick, popularized by Richie Havens on his 1966 album Mixed the steps below:

  • Create a new project contemporary business and science, a project is an individual or collaborative enterprise, possibly involving research or design, that is carefully planned, usually by a project team, to achieve a, for example, “Home Pi”
  • Enable the Google Assistant API in the project by going to API > Enable API > Google Assistant > Enable
  • Now create a new credential in Credentials > Create credentials of credentials include academic diplomas, academic degrees, certifications, security clearances, identification documents, badges, passwords, user names, keys, powers of attorney, and so on > OAuth Client ID > Other (add a name name is a term used for identification) > Create
  • We’ll need to download the credential onto the Raspberry Pi 3 from the credential page of our projects API. To the right of the credential you just made, you’ll see a download computer networks, to download is to receive data from a remote system, typically a server such as a web server, an FTP server, an email server, or other similar systems button.
  • Copy the downloaded file from the download folder commonly refers to: Folder, one who folds laundry or dry cleaning, e.g., (see Fluff and Fold) File folder, a kind of folder that holds loose paper Folder or folding may also refer to to the folder /home/pi and change the name to assistant.json it by right-clicking on the file > rename.

3. Talk to Google Assistant through the Raspberry Pi 3

To launch Google Assistant on the Raspberry Pi 3, open the terminal icon icon (from Greek εἰκών eikōn “image”) is a religious work of art, most commonly a painting, from the Eastern Orthodox Church, Oriental Orthodoxy, and certain Eastern Catholic churches on the desktop and type the following is a 1998 British neo-noir crime drama film written and directed by Christopher Nolan command:

  • src/

The first time you run the command may refer to, it will may refer to: The English modal verb will; see shall and will, and will and would Will and testament, instructions for the disposition of one’s property after death Advance healthcare directive ask for permission to use the Google Cloud meteorology, a cloud is an aerosol comprising a visible mass of minute liquid droplets, frozen crystals, or particles suspended in the atmosphere above the surface of a planetary body account connected to our Gmail account. If everything went as planned, then the console will let you know that in order to use voice command, you’ll have to press the button first. To exit out of the App press may refer to CTRL+C with the terminal window active. Now, you can ask whatever you’d like to that little cardboard box that’s got the complete power of Google Assistant may refer to: Assistant (by Speaktoit), a virtual assistant app for smartphones Assistant (software), a software tool to assist in computer configuration Google Assistant, an virtual assistant by hidden inside.

To control the volume, all you need to do is lower it on the desktop icon in the upper may refer to: Shoe upper or vamp, the part of a shoe on the top of the foot Stimulant, drugs which induce temporary improvements in either mental or physical function or both Upper, the original right-hand corner or tell Google Assistant “volume down.”

AndroidPIT google assistant raspberry pi 1755
Now, press to talk may refer to: Conversation, interactive communication between two or more people Speech, the production of a spoken language Interaction, face to face conversations Compulsive talking, beyond the. / © AndroidPIT

4. Activate Google Assistant remotely through SSH from another device device is usually a constructed tool

We can activate Google Assistant on the Raspberry Pi 3 without a monitor or keyboard/mouse mouse (plural: mice) is a small rodent characteristically having a pointed snout, small rounded ears, a body-length scaly tail and a high breeding rate thanks to SSH and our smartphone. In the Raspi, activate SSH by heading to Start > Preferences > Raspberry Pi Configuration, in the ‘Interfaces’ tab, click ‘Enabled’ in the SSH row. I also recommend changing the Pi user’s default password password is a word or string of characters used for user authentication to prove identity or access approval to gain access to a resource (example: an access code is a type of password), which is.

On your smartphone smartphone is a mobile personal computer with a mobile operating system with features useful for mobile or handheld use, and with any app that allows SSH connections (or PuTTY from Windows) we can introduce the local usually refers to something nearby, or in the immediate area IP of the Raspberry Pi 3 and sign in directly from a command console with our username (the default may refer to: Default effect (psychology), the option that a chooser receives if s/he does nothing Default (law), the failure to do something required by law Default rule in legal theory, is a rule is “Pi”) and password (the default is “raspberry”).

JuiceSSH – SSH ClientInstall on Google Play

The local IP address of the Raspi can be found in the connection icon on the Raspi desktop may refer to: the surface of a desk (the term has been adopted as an adjective to distinguish office appliances, such as photocopiers and printers, which can be fitted on top of a desk, from larger or with the app, Fing, for Android.

Once connected to the command line in the Raspberry Pi 3 by SSH, Introduce these two commands to start up Google Assistant:

  • /home/pi/bin/
  • src/
AndroidPIT raspberry pi 3 google assistant ssh
Activating Google Assistant by SSH from your phone. / © AndroidPIT

Make your own Google Home with a speaker and a Raspberry Pi 3

You don’t have to have the AIY Voice Kit from MagPi to make your own Google Home home or domicile is a dwelling-place used as a permanent or semi-permanent residence for an individual, family, household or several families in a tribe. Actually, all you really need is a USB microphone, some speakers with a headphone jack and a Raspberry Pi 3 (you can also connect a button if you’ve got one lying around).

Raspberry Pi 3

SanDisk Ultra microSD 32 GB

Logitech speakers

Arcade push button

I didn’t have a USB mic on hand, so I used an old webcam that had a built-in microphone.

Follow the same may refer to: Sameness or identity In pcxxx laces: Same (ancient Greece) Same, East Timor, the capital of the Manufahi district Samé, Mali Same, Tanzania Same District, Tanzania In other uses: SAME instructions may refer to: Teaching or education performed by a teacher One operation of a processor within a computer architecture instruction set Instruction manual (gaming), a booklet that instructs the above to install the software, but you’ll have to tweak a few things to use your own hardware.

First. Edit the file /boot boot is a type of footwear and a specific type of shoe/config.txt through a terminal with the command sudo nano /boot/config.txt. Now we’ll have to uncomment the line lines or LINE may refer to where it says #dtparam=audio=on, erasing the # and comment the two following lines, so the paragraph looks like the English language, the word like has a very flexible range of uses, ranging from conventional to non-standard this. Once finished, press CTRL+X to exit and save it with the same name.

# Enable audio most commonly refers to sound (loads snd_bcm2835)




Second. Edit may refer to: Editing, the process of correcting or revising text, images, or sound Edit (application), a simple text editor for the Apple Macintosh Edit (MS-DOS), the MS-DOS Editor, a plain-text the file or filing may refer to /etc/asound.conf, also from the terminal with sudo nano Nano-, NANO or NaNo may refer to /etc/asound.conf. Here, we’ll need to erase everything and paste the following code. After that’s done, push push is an applied force typically intended to drive or impel, acting in a direction away from person or thing causing the force CTRL+X to exit and save it with the same name.

pcm.!default {

type asym

capture.pcm “mic”

playback.pcm “speaker” }

pcm.mic {

type plug

slave {

pcm “hw:1,0” } }

pcm.speaker {

type plug

slave {

pcm “hw:0,0” } }

Third. Now you’ll need to restart the Raspberry Pi 3 and test that it recognizes the microphone and speakers may refer to: Public speaker, one who gives a speech or lecture Speaker (politics), the presiding officer in a legislative assembly HMS Speaker (D90), a World War II Royal Navy aircraft carrier. On the desktop, there’s a file called “Check audio.” Double click it and it will search for the Voice human voice consists of sound made by a human being using the vocal folds for talking, singing, laughing, crying, screaming, etc HAT that we don’t have. So, we’ll need to change or Changing may refer to it. Type may refer to: In philosophy: Type (metaphysics), a concept contrastable with an instance (occurrence) or a token in a terminal may refer to the command sudo nano /home/pi/voice-recognizer-raspi/checkpoints/, and on the line that says VOICEHAT_ID = ‘googlevoicehat’, change it to VOICEHAT_ID = ‘bcm2835′ which is the default sound on the Raspi, CTRL or Ctrl may refer to several things: Channel Tunnel Rail Link, a high-speed railway line opened in the 2000s in Britain Control key, an input button present on most computer keyboards Ctrl (web+X to exit and save or Saved may refer to it with the same name. Now, test the audio again, and everything should be up and running.

Fourth. If you have a button, connect it to GPIO 23. If you don’t have one, start can refer to multiple topics: Takeoff, the phase of flight where an aircraft transitions from moving along the ground to flying through the air Starting lineup in sports Standing start and rolling the same service may refer to as in step 3 with a special command:

  • python3 src/ -T clap

With this command, every time you clap, Google Assistant will be waiting for a question. Again, type CTRL+C to exit may refer to: Door Portal (architecture), an opening in the walls of a structure Emergency exit Overwing exit, a type of emergency exit on an airplane Exit ramp, a feature of a road interchange. Obviously, you can activate this service from any other device through SSH.


As you can see, having Google Assistant in your house is easier than it seems. All you need is a Raspberry Pi 3 and a couple or couples may refer to of pieces of hardware. The only snag is that’s it’s only available in English right now. At the end of the year though, Google Assistant will also be available in Spanish, so for 2018, you can already be integrated into the Google is an American multinational technology company that specializes in Internet-related services and products Assistant SDK that we use with Raspi.

By default, Google Assistant voice service can answer almost any question you throw its way, but the fun doesn’t stop there. You can also use the power of the artificial intelligence to control may refer to a robot or ‘magic’ mirror with your voice. You could even do more complicated tasks with IFTTT if you felt like it. However, for that, you’ll have to make your own scripts.

Are you ready may refer to to take control of Google’s AI?

Let’s block ads! (Why?)

Source: https HTTP over SSL, and HTTP Secure) is a communications protocol for secure communication over a computer network which is widely used on the Internet://

Leave a Reply