Want a home security camera that never sends a single frame to the cloud? Here is the parts pile to make it happen: a PocketBeagle 2 single-board computer, a camera module, an 18650 cell for backup power, a watertight aluminum enclosure, and a small custom PCB to tie the power and USB lines together. Clem Mayer put exactly this stack together, and the whole thing runs person detection on the board itself with zero outside servers involved.
What the build actually does
The camera watches for people and only records when someone walks into frame, then stops a few seconds after they leave. That keeps storage tiny. Every clip lands on local media and auto-deletes after 72 hours, though you can plug in extra USB storage to stretch that window. Nothing leaves the house, so a data breach at some camera company cannot expose your living room. Mayer salvaged the front glass and swivel mount from a cheap dummy camera, which is a nice reminder that not every part needs to be bought new.
The technical bits worth copying
Detection runs on OpenCV plus a lightweight deep neural network, both executing directly on the PocketBeagle 2. Since the board has limited native interfaces, a Microchip USB2514 hub controller lets it talk to the camera, storage, and networking hardware at the same time. Power comes from a 5 V supply with the 18650 cell wired through the board's built-in power management, so it keeps filming through an outage. One gotcha Mayer hit: intermittent network dropouts turned out to be a small voltage sag under heavy processor load. Nudging the supply output back up fixed it, a good pin-level debugging lesson for anyone chasing flaky Wi-Fi on an SBC.
Print, mount, and manage the heat
Everything sits inside a Hammond aluminum case, with 3D-printed ASA brackets holding the camera module in place because ASA shrugs off the heat trapped in a sealed box. A heatsink bolted to the aluminum housing turns the entire case into a passive heat spreader, which also stops frost from forming on the front glass in cold weather. If you want to build your own, the full write-up and bill of materials are on the Hackster project page. Grab a PocketBeagle 2, a camera module, and an 18650 holder from circuit.rocks, and you have a weekend of soldering ahead that ends with a camera you actually control.
Originally published on blog.circuit.rocks.
Top comments (0)