Download, install, and use Raspberry Pi Imager to create a microSD card with Raspberry Pi OS .
If you are new to Raspberry Pi or would like more information the Raspberry Pi getting started documentation is excellent.
The steps to install using Imager are:
EDIT SETTINGS
SAVE
YES
to apply the settingsYES
to erase the card and start writing the dataWhen Imager is finished writing and verifying the microSD card, you can remove it from your computer.
Insert the microSD card into the Raspberry Pi, power it on, and boot to the Raspberry Pi OS desktop.
Make sure the Raspberry Pi is connected to your network before proceeding.
Open the terminal application by opening the menu on the top left corner and select Accessories
and Terminal
.
Copy and paste the commands below at the terminal prompt:
sudo apt update
sudo apt upgrade -y
Install the required software for the project:
sudo apt install portaudio19-dev python3-pyaudio mpg321 flac vim -y
Restart the Raspberry Pi:
sudo reboot
Porcupine, from Picovoice , is a wake word detection engine which can be accessed as a cloud service.
Create a Forever-Free account to use for personal projects by following the steps below:
Use a browser and navigate to Picovoice’s Porcupine
Click Start Free
Click Sign Up
to create a Forever-Free account as shown below:
On the right, under Get started, sign in using your GitHub, Google, or LinkedIn account
Get your access key for Porcupine wake word, save it somewhere safe, and don’t share it with anyone
The OpenAI API provides a bridge to machine learning models so you can integrate AI features in applications.
The OpenAI API is not free with pricing based on usage. You can find out more by reviewing the OpenAI pricing .
Create an OpenAI account at OpenAI account sign up or, if you already have an account, log in at OpenAI account login .
Navigate to the
API key page
and select Create new secret key
Save the key somewhere safe (don’t share it with anyone)
You have now set up your Raspberry Pi as well as the required API keys. You are ready to start the project.