Show HN: I made a tiny camera with super long battery life (opens in a new tab)toaster.llc
843 pointsHey 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 commentsYou'd get a design identity ++ if the dovetail backplate was more similar to ejecting toast. . . .but looks like that isn't in the final anyway.
Did you consider radar[0] instead of PIR with the MPS430?
0/ https://www.youtube.com/watch?v=9WiJJgIi3W0
The main consideration for the motion sensor is power consumption -- Photon's PIR consumes ~2µA. Any idea what the power consumption is for these radar sensors?
The video I linked was from 7 years ago? Here is a more recent one but it doesn’t seem like he measured energy consumption: https://youtu.be/s-GzUTyIH9c
As validation of your PIR-Cam idea, LilyGo sells a PIR-Cam-SSD1306 combo board: https://www.lilygo.cc/products/t-camera-s3
Also do you actively use it currently on your bike or do you know some use cases of someone that bought/has it?
I assembled ~120 of these devices beforehand so I just need to package them up and ship them out when I get an order.
> Also do you actively use it currently on your bike or do you know some use cases of someone that bought/has it?
I intended to put the device in the garage to catch the thief, rather than attach it to the bike. But with a good mounting solution (which I should invest some time into!) you could certainly use it on a bike for time-lapses. It should work great for a cross-country road trip.
A friend of mine is using it to do a timelapse of a house construction project, and I mailed out the first orders today so they're in the wild now!
Would you mind sharing some of your prototype to production journey?
- How did you find companies that make the parts (pcb, enclosure)?
- How do you assemble all the parts (do you do that yourself or did you find a company to do that for you)?
For the PCB, it came down to who could meet the specs that I needed for the board. I recall the three important specs being BGA pad spacing, wire thickness, and wire spacing. The ICE40 was the aggressing chip IIRC. I ended up using nextpcb.com.
For the enclosure, I think I just Googled some and had 3 different manufacturers make the same enclosure, and chose the best one to mass produce. I ended up using mfgproto.com.
> - How do you assemble all the parts (do you do that yourself or did you find a company to do that for you)?
For the PCB, I had NextPCB do PCBA, except for the BGAs (which I soldered myself, 500 of them!) and motion sensors, because I didn't trust mailing my high-value stock to China during Chipageddon. That was likely a mistake -- in the future I would have them assemble everything, because their process isn't designed for how I wanted to do things, and soldering that many BGAs sucked.
For the final assembly I did everything by hand (insert PCB into the enclosure, screw in PCB screws, connect battery, add battery shims [to prevent rattling], add RTV gasket to the backplate, screw in backplate screws, add lens adhesive, focus lens while streaming images). It's a ton of manual labor!
How did you choose the image sensor? Why an ON AR0330, and not OmniVision?
Nice choice to use an MSP430, this is a good application for using FRAM. But why use an ICE40 and an STM32 together? Why not use an STM32 with a DCMI peripheral?
All comments shown.
Couldn't load more comments. Check your connection and try again.