Lurker News
Hey HN!

A few years ago someone kept trying to steal my motorcycle, so I decided to make a small camera with really long battery life to catch them.
The hardware/software is totally open source, but the companion app only supports macOS currently. (I'm a big fan of native apps, and didn't want to block releasing on Linux/Windows support.)
I wrote some blog posts about the process:
PCB design: https://toaster.llc/blog/pcb
Enclosure design: https://toaster.llc/blog/enclosure
Image pipeline: https://toaster.llc/blog/image-pipeline
Rainproofing: https://toaster.llc/blog/rainproofing
Source: https://github.com/toasterllc/Photon

Comments (299) 87 threads

Earlier comments
eth0up#
Off topic, but all the camera nerds are here, so I'm gonna ask:

I want to attach a cheap camera to an arrow, which may be single use depending on the target. Ideally it would attach with 1/8" thread (presently unknown pitch) or smooth (glueable) 6.2mm shaft. The total weight must be no more than 200 grains.
Any suggestions? I'm pretty ignorant with cameras.
Regarding the Photon, seems really appealing, but I'm an old Linux curmudgeon. The only Mac I ever had ran debian.

peterhi1 reply#
Wonder if this could be co-opted to function like a Narrative Clip. Take a photo every 30 seconds (or something like that). I had mine for 3 years before it died
designed1 reply#
50,000 pic battery life * 1 pic every 30 seconds = ~17 day battery life. Not bad
hiatus1 reply#
Small note: though the battery will last for 50k pictures, the storage will begin overwriting old photos after ~20k.
davekeck4 replies#
It does feel a little weird that the battery outlasts the storage. Maybe I should've gone with 256 GB SD cards == 40k photos.

Continue this thread — 4 replies

tromp3 replies#
Would this be suitable for strapping on a helmet to take a picture every (other) second on a bike ride and turn into a time lapse video afterwards?
thih91 reply#
Looks like yes

> capture photos at particular times or on certain dates, perfect for time-lapse photography
With 50k photos on a single charge you could capture almost 28h of continuous 0.5fps video.

tromp1 reply#
I was wondering about the weight which I couldn't find specified (although at that size it can't be much) and about ways that you could attach a strap to it.
davekeck1 reply#
For some reason I never thought to weigh it! Need to update the website.

I just put one on my kitchen scale: 70g.

Continue this thread — 1 reply

davekeck#
I think it should work pretty well for that use case.

I need to add support to the companion app to make exporting videos convenient though. Right now it only allows batch-exporting images.

euniceee3#
No. You need some motion smoothing for that too look good. At 3MP it does not have enough CCD to stablize and transcode into smooth pics.
contingencies#
It usually makes sense to have a slew of tests formally defined and to write a test that functionally checks every subsystem. If you don't test, Murphy ensures you always make errors before ordering next revision boards. Rushing never helps. Assumptions always fail. Hardware's very unforgiving coming from software, just because our brains are too impatient and we feel it's OK to cowboy all the time.

For most of my boards I wound up writing a bunch of tests that automate current readings across different power rails while stepping boards through different states. This verifies that subsystems are moving approximately how I expect them to move without having to make too much of a manual test, and allowing full validation of remote control round trips. Really makes proper testing easier.
For a camera, having an LED rig on your test jig to check pixels move in the right direction when lit in different colors would be a reasonable approach.
Cool fix though... at least until the components age and the net properties shift subtly...

Load more comments