The initial set up for this device included building the cardboard box shell for the Google Assistant, connecting the main button, microphone, and speakers to the main Raspberry Pi. After the physical set up of the assistant, I enabled a Secure Shell Extension to program the assistant. I found several codes for this online, but to officially call it a “Google Assistant,” I was able to find a code and credentials on Google Cloud.

From this, I was able to use Python to code the assistant to listen when the button was pressed and speak afterwards. The device is connected to my phone via Bluetooth, and can run as long as it is also connected to WIFI. Initially, I had a set up that involved a lot more cords. I had a keyboard, mouse, and monitor hooked up to the Raspberry Pi. Once set up, however, I was able to disconnect these other devices and connect it wireless.

Overall, I was extremely excited once I got the Google Assistant to work. Though technology has always interested me, I have never considered myself good enough to code anything. I do feel like I got a little lucky with finding the code to make the Google Assistant, however, there was still a lot of python involved with testing it, programming it when to listen and when to speak, and to change the volume levels. If there was to be a next time, I think I would do a bit more research, as each time I sat down to work on the project, I found more pieces that I needed to go out and buy, like the 2mm screwdriver and HDMI adapter. However, with the Pi kit and the Voice Kit, the assembly and coding were not as complicated as I was initially expecting.


0 Comments

Leave a Reply

Avatar placeholder

Your email address will not be published. Required fields are marked *

css.php