Maker ยท Active Project

Session Wrap-Up โ€” Pi 4 "Brain" Setup (Modern Stack)

First session on the new development platform for the Voice+Vision "head" project, moving off the archived AIY software onto current Raspberry Pi OS

Goal: stand up a spare Pi 4 on current Raspberry Pi OS as the new "head" development platform, replacing the archived 2021 AIY image, and confirm the camera works end to end.

Result: โœ… Fresh install running cleanly โ€” SSH, touchscreen, and camera all working, with the camera succeeding on the first real attempt (a stark contrast to the AIY stack). Ready for picamera2 and TFLite next session.

What was set up

Issues hit & resolved

  1. SSH refused connection at first โ€” the Imager's SSH-enable checkbox wasn't set (or hadn't taken effect) on first boot. Fixed via the desktop GUI: Raspberry Pi menu โ†’ Preferences โ†’ Raspberry Pi Configuration โ†’ Interfaces tab โ†’ enable SSH.
  2. Username mismatch โ€” briefly tried pi@ out of habit; actual configured username was brain. Straightforward once noticed โ€” no default pi account exists on modern Raspberry Pi OS (a change from the old AIY image).
  3. Locale warnings (setlocale: LC_CTYPE: cannot change locale) โ€” cosmetic only, fixed with:
    sudo apt-get install -y locales-all

Camera โ€” working cleanly, first try

Old libcamera-* commands are renamed to rpicam-* on current Raspberry Pi OS. Confirmed:

rpicam-hello --list-cameras

โ†’ correctly detected imx219 (the 8MP sensor), full resolution and mode list shown, no errors.

Test capture:

rpicam-still -o ~/test_modern.jpg

Succeeded on the first attempt โ€” no cable issues, no background service conflicts, no GPU memory tuning needed, none of the friction from the old AIY/MMAL stack. The verbose auto-exposure warm-up output (#7... #148 frame counter) before capture is normal, expected behavior โ€” not an error.

Key takeaway: the contrast with the archived AIY software stack is stark: same physical camera, same general task (detect camera, take a photo), but the modern libcamera/rpicam stack "just worked" on the first real attempt, after days of troubleshooting were needed on the 2021 AIY image for the same basic capability. Validates the decision to move development forward on modern hardware/software rather than continuing to extend the archived kits.

Not yet done / next session

This document, plus the Voice Kit and Vision Kit final reports, form the complete project record so far. See also the overall roadmap.

Next session: migrating the LeRobot arm setup from Mac to this Pi.