Raspberry Pi 5

TODO: pictures of raspberry pi 5

Overview

Bought in 2024.

The Raspberry Pi is an affordable, compact, portable, low-power computer.

The Raspberry Pi is used to run Autonomy data collection and Autonomy obstacle avoidance.

Product website: Raspberry Pi .

Product datasheets: https://datasheets.raspberrypi.com/ .

Hardware

Pin support: RPi Interface

Mechanical

Product datasheet:

Raspberry Pi hardware - Raspberry Pi Documentation

When mounting the RPI 5 (or any RPI) on Houston, ensure that:

  • Spacers are added between the bottom of the RPI and the metal plate to prevent components from shorting and rubbing against the metal plate.

    • 2x regular M2 nuts can be stacked on top of each other to create this space

    • can also add yellow double sided sealant tape to create this space (optional)

    • a spacer can also be 3D printed

  • M2 screws are used to secure the RPI

  • Nylon lock nuts are used to fasten down the RPI so that the RPI does not come loose during flight

Electrical

Reference Images

Raspberry Pi 4 (not Raspberry Pi 5) pictured below, however they have the same inputs and outputs.

Images of Raspberry Pi 4 Model B courtesy of @Mika Shaw.

Software

Usage

Setup

Refer to Getting Started - Raspberry Pi Documentation.

Connect peripherals (e.g. mouse, keyboard, monitor) and networking (e.g. ethernet) to the Raspberry Pi, and then connect it to power, which can be supplied by a cable or directly through its header.

The Raspberry Pi may use microHDMI for video output. Adapters and cables are available.

First-time setup

  1. On your laptop or another computer, download the Raspberry Pi OS onto a SD card (with capacity greater than 32GB). Follow https://projects.raspberrypi.org/en/projects/raspberry-pi-setting-up/2.

  2. Go to sudo raspi-config to enable serial UART, SSH, and Camera, if applicable. Search up on google how to do it, there are tons of websites for tutorials.

  3. Create an account named warg with the same password as the WARG laptop

    sudo useradd warg sudo passwd warg # prompt to enter the password...

SSH

The Secure Shell (SSH) protocol is a method for securely sending commands from your computer to the Raspberry Pi over the same network. Note that the Raspberry Pi must be connected to Wi-Fi, it will automatically connect to available known networks on boot - you have to connect it to a hotspot during the flight test before leaving the bay.

Refer to Remote access - Raspberry Pi Documentation.

On the Raspberry Pi:

  1. Connect the Raspberry Pi to the internet.

  2. From the Preferences menu, launch Raspberry Pi Configuration.

  3. Navigate to the Interfaces tab.

  4. Select Enabled next to SSH.

  5. Click OK.

  6. Get the IP address of the Raspberry Pi.

    1. Use one of the methods listed here: Remote access - Raspberry Pi Documentation.

On your remote machine:

  1. Connect to the same network as the Raspberry Pi.

  2. SSH into the Raspberry Pi using the following command:

    ssh warg@raspberrypi.local
  3. Enter the WARG password (same as WARG Laptop).

  4. You should now see the Raspberry Pi command prompt in your terminal.

    warg@raspberrypi.local ~ $

VNC

Virtual Network Computing (VNC) allows you to control the desktop of one device from another.

Refer to Remote access - Raspberry Pi Documentation.

Note: VNC Viewer has not been installed. If you want to view the Pi GUI (and see the log images from the WARG laptop), please install it.

You can follow this small video How to Remote Desktop to your Raspberry Pi with VNC Viewer and download VNC viewer from here Download VNC Viewer for Windows by RealVNC®