Raspberry Pi Setup
MotorGo PiHat support is in beta, some parts of this guide may not be accurate. Please check back soon for updates.
Applies to Plink, Axis
The Plink Python API supports any Debian-based Linux distribution for the Pi (Ubuntu, Raspbian, Debian, etc). We recommend using the official Raspberry Pi OS (64-bit).
If you already have a Raspberry Pi set up, you can skip this step and go directly to the next step.
Raspberry Pi Image Installation
Installing the MotorGo Raspberry Pi Image
To set up a Raspberry Pi, you must first flash a MicroSD card with the operating system image.
Install the Raspberry Pi Imager on your computer
The Raspberry Pi Imager is available for download here.
Flash the image to an SD card
- Insert the SD card into your computer
- Open the Raspberry Pi Imager
- Select your Pi model in the
Choose Device
menu - Select
Raspberry Pi OS (64-bit)
in theChoose OS
menu and choose the MotorGo image - Choose your SD card in the
Choose SD Card
menu - Apply OS customization settings
- Configure SSH access if needed
- Configure the WiFi settings if needed
- Click
Write
and wait for the process to complete
Turning on the Raspberry Pi
Next, insert the MicroSD card into the Raspberry Pi. If you haven’t already, attach the MotorGo Plink to the Raspberry Pi using the 40-pin GPIO header. To power on the Raspberry Pi, connect the power supply to the MotorGo. You should see the power LED light up on the Pi and the MotorGo. Additionally, the activity LED (green) on the Pi should blink as the Pi boots up.
Do not power the Raspberry Pi through the USB-C port - this could damage the MotorGo. Only power the Raspberry Pi through the MotorGo.
Connecting to the Raspberry Pi
Once the Pi is connected, you can access it via SSH or VNC.
SSH
- Open a terminal on your computer
- Run
ssh motorgo@<ip_address>
where<ip_address>
is the IP address of the Pi
VNC
- Download a VNC client on your computer. We recommend TigerVNC
- Open the VNC client and enter the IP address of the Pi
- Enter the username and password when prompted
The Raspberry Pi is now set up and ready to use with the MotorGo Plink, continue to the next step to setup the Plink as a PiHat.