You can connect a Raspberry Pi to power and Wi-Fi and put it anywhere. Add some speakers and you can make it talk too.
Plug some speakers into your Pi's blue 3.5mm socket. If you're just testing you can use headphones.
The basic programme is quite simple.
To begin a project, first change the user.
The Dataplicity terminal logs you in as a Dataplicity user which does not have superuser access.
su pi to switch to the 'pi' user and then the password. By default this is
raspberry, unless you've changed it.
[email protected] / $ on your laptop, type:
sudo apt-get install espeak
eSpeak will unload and install onto your Pi. Next type:
sudo espeak "Hello"
Your Pi should say "Hello" to your audio output.
If 'Hello' is a bit dull, try:
sudo espeak "Powerful you have become, the dark side I sense in you."
In the raspi-config panel, choose:
Force 3.5mm headphone jack
Then retry the espeak command above.
Updated 6 months ago