
Raspberry Pi 5
Prerequisites
In this documentation, we will detail the steps to set up your Raspberry Pi 5 with the new Bookworm release OS for Edge Impulse. This guide includes headless setup instructions and how to connect to Edge Impulse, along with troubleshooting tips. For more detailed Raspberry Pi setup instructions please see their official documentation: Getting started with Raspberry Pi.- Headless Setup
- Setup with a screen
You can set up your Raspberry Pi without a screen. To do so:
- Flash the Raspberry Pi OS image to an SD card using the latest Raspberry Pi Imager.
-
During the flashing process, access the Customisation options menu in the Raspberry Pi Imager to preconfigure the following options:
- Set your hostname to something memorable (e.g.,
raspberrypi). - Choose a username and password (as of Bookworm, the default
pi/raspberryis no longer available). - Configure your WiFi settings for network architecture (SSID, password).
- Configure Remote Access by enabling SSH, set the SSH to use password authentication.
You can also create an empty file called
sshin the boot drive to enable SSH if you have not set up SSH through the Raspberry Pi Imager options.
- Set your hostname to something memorable (e.g.,
- Insert the SD card into your Raspberry Pi 5, and let the device boot up.
-
Find the IP address of your Raspberry Pi. You can either do this through the DHCP logs in your router or by scanning your network.
You can scan your network on macOS and Linux via:
which should return something like:Here
192.168.1.19is your IP address. -
Connect to the Raspberry Pi over SSH. Open a terminal window on MacOS or Linux and run (replace
usernamewith your chosen username). If you’re using Windows, you can use PuTTY or the Windows Subsystem for Linux (WSL) to access SSH:You can also try using<username>@<hostname>instead of the IP address if your system supports mDNS. If you are prompted with a security warning about the authenticity of the host, typeyesand press Enter then enter your chosen password. - You can now run commands directly on your Raspberry Pi through the terminal. Please continue to the next section to install Edge Impulse dependencies.
Installing dependencies
To set this device up in Edge Impulse, run the following commands:gstreamer1.0-libcamera package:
Install with Docker
If you want to install Edge Impulse on your Raspberry Pi using Docker, run the following commands:Connecting to Edge Impulse
With all software set up, connect your camera or microphone to your Raspberry Pi (see ‘Next steps’ further on this page if you want to connect a different sensor). To connect your Raspberry Pi 5 to Edge Impulse, run the following command:
Device connected to Edge Impulse.
--clean.
Troubleshooting
Wrong OS bits
If you see the following error when trying to deploy a .eim model to your Raspberry Pi:aarch64 when you run uname -m.