Raspberry Pi
Because of its low price, its small form factor and the low energy consumption, the Raspberry Pi is a quite popular platform for Naomi. It is favored amongst existing users and a recommended choice for newcomers.
If you want to learn more about the possibilities of the Raspberry Pi and Linux in general, many tutorials can be found on the internet. These including the official raspberrypi.org help articles or the in-detail articles at eLinux.org.
Recommendations for a "headless" hardware setup:
- Raspberry Pi 3 Model B+.
- USB Microphone (Has been tested with Akiro Kinobo USB Microphone)*
- 8GB SD Card
- Ethernet Cable
- Airlink Mini-USB Adapter (optional — see below)
- Micro-USB Cable
- USB Wall Charging Adapter
- Speakers that work through the Raspberry Pi audio jack (probably need to be self-powered)
The Raspberry Pi Verified Peripherals List may be helpful for finding substitutes for the products recommended above.
*note that other mics do work but have not been tested. A complete list of supported mics will be coming soon!
As mentioned above, the wireless adapter is optional. Naomi runs just fine on a wired connection (via ethernet), so you can choose between the two setups depending on what works best for you.
Recommended Setup
We also provide a preconfigured image for the Raspberry Pi, with the latest build of Naomi and many useful software components. The image provided by the Naobian projects is based on Raspbian and under constant improvement.
Check out more details about Naobian, the hassle-free Naomi setup.
Manual Setup
If you want or need to set up Naomi on a Raspberry Pi by yourself, please follow these recommendations. For the beginning, we recommend to download and install the latest Raspbian SD card image. You may choose the "Lite" version.
Attention: As of the November 2016 release, Raspbian has the SSH server disabled by default. You will have to enable it manually. For headless setup, SSH can be enabled by placing a file named "ssh", without any extension, onto the boot partition of the SD card.
Connecting: Get your SD card and network cable plugged in and power up. Booting up takes up to 10 minutes. To connect with an SSH client (like Putty), you need to know the IP address or hostname of your device. A standard Raspbian setup should be reachable either by the hostname "raspberrypi" or though the local domain name "raspberrypi.local". If you are not able to connect, check your routers web frontend for newly connected devices.
First Steps:
Connected via SSH, execute the Raspbian configuration menu by running sudo raspi-config
.
Go through the following steps:
- Expand the file system
- Change your password
- (Change the host name if you wish, e.g. "naomipi")
- Restart
As a good practice, run a full upgrade and install packages you like or need:
sudo apt-get update
sudo apt-get upgrade
Note on Python: Raspbian in the latest full version already includes Python 2 and Python 3. However, at the time of setup, the Naomi install updates and downloads Python 3 just to be safe.
Note: At the time of writing, the conversion to Python 3 has yet to happen on the stable release but the Milestone builds has been updated)
Installation: Follow the Config Documentation to setup the Audio Engine, Text-to-Speech, & Speech-to-Text. Finally install Naomi on your Raspberry Pi, just as it is described on the download page.