Project 11 · The Build Log

An AI Camera That Names Every Bird at Your Feeder

Advanced ~3 hours ~$185 in parts, est.

An AI Camera That Names Every Bird at Your Feeder

Disclosure: As an Amazon Associate I earn from qualifying purchases.

A camera watches your bird feeder. When a visitor lands, an AI chip spots it, a second model names the species, and your phone buzzes: Northern Cardinal. Blue Jay. That squirrel again. This is the most capable build in the library so far — and the one that turns a Pi 5 from a computer into something closer to a naturalist.

Get the full kit → jumps to the parts list. This build stacks on the Project 00 Pi 5; the Python confidence from Project 04 helps, but every step below stands on its own.

What You’ll Need

The star of this build is an AI accelerator — a chip that does nothing but neural-network math, absurdly fast. Prices are estimates checked in October 2026.

Total: ~$185 est. beyond the Pi — the HAT is most of it, and it’s the same HAT the gear spotlight on this site calls the most interesting part in the Pi ecosystem right now.

How It Thinks: Two Models, Two Jobs

One model trying to do everything is how these projects get muddy. This build splits the work the way real vision systems do:

  1. The spotter (runs on the AI HAT): a YOLO-family detection model watches the video feed at a few frames per second and answers one question — is there a bird (or a squirrel, or a cat) in this frame, and where? Detection is exactly what the Hailo chip eats for breakfast, and Raspberry Pi’s official Hailo examples include this pipeline ready to adapt.
  2. The namer (runs on the Pi’s CPU): when the spotter fires, the Pi crops the bird out of a full-resolution still and hands the crop to a bird-species classifier — public models trained on bird photo datasets know the common feeder species of North America well. It answers with a name and a confidence score, and only confident answers (say, 70%+) get logged as identifications.

Why split it? Frame-rate and resolution pull in opposite directions. The spotter needs speed on small frames; the namer needs pixels on one bird. Two specialists beat one generalist, and the split is the actual engineering lesson of this build.

Step 1 — Stack and Prove the Hardware (30 Minutes)

Seat the AI HAT+ 2 on the Pi 5 with its standoffs (power off, obviously), connect the Camera Module 3 ribbon — the blue-tab orientation in the Pi’s camera port is the classic fumble; the manual’s photo is your friend — and boot Raspberry Pi OS. Update everything, then prove each layer separately: rpicam-hello shows a camera preview; the Hailo runtime tools (hailortcli) should report the chip; run one of the official Hailo object-detection examples against the live camera and watch boxes appear around objects in the room. Three small victories, in order, before the feeder — debugging a stacked system at the end is how weekends die.

Step 2 — Aim Like a Photographer (20 Minutes)

Mount the camera 0.5–1.5 m from the feeder’s perch, slightly above feeder height, with the light behind the camera when you can arrange it. Fill as much of the frame with the feeder as possible — pixels on the bird are the currency the classifier spends. Fix focus behavior in the camera settings (continuous autofocus is fine; a locked focus at perch distance is finer), and take test stills at dawn, noon, and dusk. If the noon shot is a silhouette, move the feeder, not the model.

Step 3 — Wire the Pipeline (60 Minutes)

Now the Python, assembled from the official examples and your Project 04 habits — a loop with five honest jobs:

  1. Watch: pull frames from the camera (Picamera2) at detection size; run the spotter model on the HAT.
  2. Decide: a bird-box that persists for several frames (not one flicker) triggers an event — this single rule deletes most false alarms from branches and shadows.
  3. Capture: grab a full-res still, crop around the box with margin, save the crop and the full frame with a timestamp.
  4. Name: run the classifier on the crop; log species + confidence to a small local database (SQLite is plenty) and keep the photo as evidence.
  5. Tell: append the sighting to a simple local web page the Pi serves — “Today at the feeder” — and, if you want the buzz, send the confident ones to your phone via your messaging app of choice’s bot/email gateway. The log is the product; the notification is the confetti.

Wrap it as a systemd service so it survives reboots, with a cooldown after each event (a cardinal posing for 4 straight minutes is one sighting, not 40). Disk discipline matters: keep the best crop per event plus a daily rollup, and let a weekly cron delete blurry rejects — the Pi’s card is not an archive.

The Honest Accuracy Section

What NOT to Buy

The Total, Honestly

Build It This Weekend

AI HAT+ 2 stacked on your Pi 5, Camera Module 3 in a weatherproof case aimed at a feeder. Prove the layers, aim like a photographer, wire the five-job loop. By Sunday night the feeder has a guest book.

Next in the series: a complete change of pace — Project 06 turns an old TV into a calm, subscription-free media center with Kodi. The natural sequel to this build arrives later in Space & Sky: the listening station that identifies the same birds by song.