{"by":"jcun4128","descendants":24,"id":40730245,"kids":[40731025,40731403,40734954,40732216,40733689],"score":72,"text":"This is the third camera I&#x27;ve designed&#x2F;made around the raspberry pi parts&#x2F;ecosystem.<p>The repo has all the STL files, parts list, most wiring diagrams. The first one was the custom Pi Zero HQ cam which was featured on a Hackaday article&#x2F;podcast.<p>The modular version (aside from being able to swap cameras) mostly has the latest software. Recently I added the ability to process videos in the background (ffmpeg merges wav&#x2F;mp4 files together).<p>The camera uses crop-zoom-panning for dialing in shots with manual lenses. The menu is created by layering images&#x2F;text with PIL. Live preview is a little slow as it&#x27;s SPI based.<p>If anybody is a pro at python I&#x27;d appreciate insight on better code. I&#x27;ve mostly just followed a context-based folder layout regarding where everything is.<p>I have not added custom&#x2F;manual settings yet, it uses auto settings for the most part except for when you use a V3 camera module (which has electronic aperture) then it uses the d-pad to set the focus&#x2F;diopter value.<p>I have another camera in mind&#x2F;future build although it&#x27;s more tailored for videos.<p>Some sample video I&#x27;ve shot.<p><a href=\"https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=JkjXkQD0j9w\" rel=\"nofollow\">https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=JkjXkQD0j9w</a><p>Assembly video<p><a href=\"https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=dXG-MoIw93Q\" rel=\"nofollow\">https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=dXG-MoIw93Q</a><p>At some point I will rewrite the code for a new general purpose DIY camera software from what I&#x27;ve learned, that&#x27;ll be an undertaking.","time":1718817378,"title":"Show HN: Modular Pi Cam","type":"story","url":"https://github.com/jdc-cunningham/modular-pi-cam/tree/master/cameras/pi-zero/large-display"}