Repository navigation
DIY Raspberry Pi
A Raspberry Pi, a GPS receiver and either Waveshare joystick LCD HAT make a standalone Quartermaster. Raspyjack owners can reuse the Pi, HAT and USB hub. Using a separate microSD lets you swap projects by changing cards with the Pi powered off.
| 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
- 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.
- Use Raspberry Pi Imager to write Raspberry Pi OS Lite (Trixie) to the card. Choose 64-bit for Zero 2 W or Pi 3/4, or 32-bit for original Zero W. Set a user, Wi-Fi, and SSH in the imager, then boot and sign in. Raspberry Pi OS downloads
- Install the Quartermaster Pi prerelease on the Pi. This package installs the application, display libraries and system service. DIY builds have their own
pi-vtags. Pi v1.2.5 release
sudo apt update
sudo raspi-config nonint do_spi 0
wget -O quartermaster-pi_1.2.5_all.deb https://github.com/valleytechsolutions/Quartermaster/releases/download/pi-v1.2.5/quartermaster-pi_1.2.5_all.deb && 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- To boot directly into Quartermaster, enable the service as your normal login user and reboot. 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