Repository navigation
DIY Raspberry Pi
A Raspberry Pi, a GPS receiver and either Waveshare joystick LCD HAT make a standalone Quartermaster. If you already use RaspyJack, you can reuse the Pi, HAT, USB hub and Raspberry Pi OS installation.
| Part | What to use |
|---|---|
| Compact Pi | Pi Zero 2 WH, or Zero 2 W with a soldered 40-pin header. Original Zero W/WH uses 32-bit Raspberry Pi OS and has a slower single-core processor. |
| Full-size Pi | Pi 3B, 3B+, or 4B with its standard 40-pin header. |
| 1.44″ display option | Waveshare 1.44inch LCD HAT, ST7735S, 128 × 128, profile st7735-128. Waveshare product
|
| 1.3″ display option | Waveshare 1.3inch LCD HAT, IPS ST7789, 240 × 240, profile st7789-240. Waveshare hardware guide
|
| GPS | USB receiver that outputs NMEA, or a receiver served by local gpsd. |
| Storage, power and USB | microSD for Raspberry Pi OS Lite and your logs, a Pi-appropriate supply or USB power bank, and an OTG hub for a Zero with more than one USB peripheral. A powered hub helps with high-draw Wi-Fi or SDR devices. |
Both displays above have a five-way stick and three buttons. Look for the LCD HAT version with the controls and the Raspberry Pi header. On a Zero 2 W the onboard Wi-Fi covers 2.4 GHz. A Pi 3B+ or 4B also covers 5 GHz onboard. For 6 GHz, plug in a supported tri-band radio and check its detected bands in Hardware. Radio options
On the Pi, run grep VERSION_CODENAME /etc/os-release and dpkg --print-architecture. If they report bookworm and armhf, keep the existing card and go straight to the package installation in step 3 below. The Pi v1.2.5 package resolved in an APT simulation against the standard Raspberry Pi OS Bookworm 32-bit repositories, including its LCD, GPIO, and Wi-Fi firmware dependencies. RaspyJack’s own DIY guide uses Raspberry Pi OS Lite 32-bit. RaspyJack installation guide
Keep RaspyJack as the default at boot if you plan to use Quartermaster occasionally. Leave the optional Quartermaster service in step 5 disabled, finish the installation, and reboot. Once your current RaspyJack activity has finished, these commands switch the HAT to Quartermaster for one session.
sudo systemctl stop raspyjack.service
quartermaster
sudo systemctl start raspyjack.serviceExit Quartermaster before starting RaspyJack again. Only one app can own the HAT at a time. A separate microSD is also an option if you prefer an independent installation.
- Power the Pi off. Align pin 1, seat the HAT on the 40-pin header and connect the GPS. On a Zero use the port marked USB for data and PWR IN for power.
- For a new card, use Raspberry Pi Imager to write Raspberry Pi OS Lite (Trixie). Zero 2 W, 3B, 3B+, and 4B can use the 32-bit or 64-bit image. Use 32-bit for the original Zero W. Set a user, Wi-Fi and SSH in the imager, then boot and sign in. Raspberry Pi OS downloads
- On the Pi, download the Quartermaster Pi prerelease package and its checksum to a new directory. The checksum must report
OKfor the install command to run. The package includes the application and system service. APT installs its display libraries and other dependencies. Pi v1.2.5 release and checksums
mkdir -p ~/Downloads/quartermaster-pi-1.2.5
cd ~/Downloads/quartermaster-pi-1.2.5
release=https://github.com/valleytechsolutions/Quartermaster/releases/download/pi-v1.2.5
wget -O quartermaster-pi_1.2.5_all.deb "$release/quartermaster-pi_1.2.5_all.deb"
wget -O SHA256SUMS "$release/SHA256SUMS"
sudo apt update
sudo raspi-config nonint do_spi 0
sha256sum --check SHA256SUMS && sudo apt install ./quartermaster-pi_1.2.5_all.deb- The default profile is the 1.44″ HAT. For the 1.3″ HAT run the command below. To switch back later, write
st7735-128to the same file.
echo st7789-240 | sudo tee /etc/quartermaster/display- On a dedicated Quartermaster build, enable the service as your normal login user and reboot to open Quartermaster at startup. The reboot also applies SPI and device group permissions.
sudo systemctl enable "quartermaster@$USER.service"
sudo rebootFor manual launch, leave the service disabled, reboot, sign in, and run quartermaster. Use one display application at a time. A running Raspyjack instance or second Quartermaster instance can hold the same GPIO lines.
Open Hardware with the joystick. Check that you can read all four edges of the display, that all five stick directions/presses and buttons respond, that the expected Wi-Fi bands appear, and that the GPS gets a fix outdoors. Record and save a short drive, then reopen it from Logs. For command-line diagnostics use quartermaster --probe. It reports the configured profile and detected radios and GPS ports. Looking at the LCD verifies the real panel.
The release tag contains the source used for this version. On Raspberry Pi OS or Debian Trixie, install the build tools and check out that tag.
sudo apt install git python3 dpkg
git clone --branch pi-v1.2.5 --depth 1 https://github.com/valleytechsolutions/Quartermaster.git
cd Quartermaster
python3 tools/build_deb.py --target pi
sudo apt install ./build/quartermaster-pi_1.2.5_all.debSelect the screen profile, enable SPI, and reboot as described above. For an upgrade, install the newer Pi package and restart the display service after saving any active drive. DIY v1.2.5 build guide · Controls · Troubleshooting