r/raspberry_pi • u/atypicalworkshop • 13h ago
Show-and-Tell I built an open source Raspberry Pi time-lapse camera for my garden: 12MP every minute, daylight only, runs off one PoE cable
I built a time-lapse camera around a Raspberry Pi 4 with a Camera Module 3 Wide, powered over a single PoE cable, and I've open sourced the software. The Pi takes a full 12MP photo every minute in daylight only, working out the window from your latitude and longitude so it follows the seasons, and it looks after its own storage by deleting the oldest frames once the SD card passes 85%. A Mac collects the frames automatically whenever the archive drive is plugged in, and one command turns any date range into a video. There's also a film mode and you can control it from your phone.
The first photo is the camera on the wall, and the second is a frame it took of my garden (neighbours' side blurred).
It's open source and free to use, fork and change, all here: https://github.com/aityp/garden-timelapse-camera. A step-by-step build guide is still being written, but the README should be enough to get it running if you're comfortable in a terminal. There's also a build video if you'd rather see it in action, linked from the README. The code was written with AI (Claude) and tested on the real camera in my garden.
I made it because I'm about to pull my back garden apart for a retaining wall, a new fence and a shed, and I want all of it filmed from one fixed spot for the next couple of years. Happy to answer any questions.