Page 88 - Raspberry Pi as a Foundation for Boosting Computer and Technology Literacy
P. 88

7  Basic projects for getting to know Raspberry Pi

                                                 Figure 7.4
                                                 Assembled Google AIY voice assistant
                                                 with Raspberry Pi 3 as the central
                                                 computing unit
















                was designed to enable users to build their own voice control assistant
                using a Raspberry Pi.
                  Here are the key components and steps involved in creating a Goog-
                le AIY Voice Kit with Raspberry Pi:

                  •  Hardware Components: The Raspberry Pi acts as the central com-
                    puting unit that runs the AIY software, while the Voice hardware
                    attached on top (HAT) is an accessory board that includes neces-
                    sary hardware for audio input and output. A speaker is provided
                    for audio output of the AI assistant’s responses, and a microphone
                    captures user voice commands. Additionally, a button allows us-
                    ers to trigger the AI assistant with a physical button.
                  •  Software and Libraries: The Google Assistant SDK is a software
                    development kit provided by Google that enables developers to
                    integrate Google Assistant functionality into their projects. Rasp-
                    bian OS is the recommended operating system for Raspberry Pi,
                    and Google provides a set of software packages and configurations
                    tailored for the AIY Voice Kit through their AIY Projects software.
                  •  Assembly and Configuration: Users need to assemble the hardware
                    components, which includes connecting the Voice HAT to the Rasp-
                    berry Pi. Once assembled, users can install the required software
                    packages and configure the system to work with the AIY Voice Kit.
                  •  Integration with Google Assistant: To integrate with Google Assis-
                    tant, users must set up a Google Cloud Platform (GCP) project to
                    obtain API credentials. These credentials are then used to config-
                    ure the AIY kit, allowing it to communicate with Google’s servers.


                            88
   83   84   85   86   87   88   89   90   91   92   93