← How-Tos
raspberry-pi Jul 3, 2026 ◯ 2 min read

Pi Camera Module Deep Dive: libcamera, Lenses, Night Vision

camera modulelibcameranight visionirraspberry pi

libcamera Replaced raspistill/raspivid

If you're following an old tutorial that uses raspistill or raspivid, it's outdated — modern Raspberry Pi OS uses libcamera-based tools instead: libcamera-still, libcamera-vid, libcamera-hello (or the newer rpicam-* naming on very recent OS versions). Functionally similar commands, different binary names.

# Quick preview rpicam-hello # Take a photo rpicam-still -o photo.jpg # Record 10 seconds of video rpicam-vid -t 10000 -o video.h264

Camera Module Versions

NoIR Variant + Night Vision

The "NoIR" camera versions have no infrared filter, meaning they can see IR light — pair with IR illuminator LEDs (850nm or 940nm — 940nm is invisible to the human eye, 850nm has a faint visible red glow) for genuine night vision. Without an IR illuminator, NoIR just gives you slightly odd color rendering in daylight — the illuminator is what actually makes night vision work.

Common Wiring Mistake

The ribbon cable has a specific orientation — the blue backing faces the Ethernet/USB side on most Pi models (check your specific model's silkscreen). Inserted backward, the camera won't be detected at all, and it's the single most common "camera not found" support issue.

Lens Selection for HQ Camera

Performance Tips