f-log

just another web log

31 Aug 2020:
the toilet roll cam is dead long live the pi zero cam
So after setting up the Raspberry Pi Zero(W) with all the toilet roll scripts and code, I started trying to re-mount it all.


It really did not fit in the toilet roll, so I tried various options with the official Pi Zero case. The orientation of the camera to the board made that impossible. I tried a few different options and eventually settled on a Haribo sweet box lid. This was a nice rigid plastic that did not crack easily and was sturdy enough to hold the weight.

This is where I can really see the value of a 3D printer. I cracked various other bits of plastic before carefully cutting the holes into the lid.

For the base I used something I had bought 15+ years ago, Polymorph. You heat the granules in hot water until they turn transparent then mold the resulting blob into the shape you require. It never goes quite to plan, but the result is a very hard and heavy base that stops the camera assembly toppling over.

polymorph tub with duck eraser and scalpel

Then using a scalper and pointy thing I carefully made a hole for the PIR and the camera lens. To hold the lens in place, the original wide lens spring clip works as-is. For the PIR I found a short nail and used the back-end of the yellow duck eraser as a cork.

pi zero camera side showing use of eraser to cork nail

Then I managed to pull the Pi camera lens out of its motherboard. Luckily this just snapped back into place. I also tried hanging the whole thing off the camera ribbon cable. It held ... for a short while.

pi zero camera back

Adding the power cable created even more weight. I did find some old stand-off nuts and bolts. These hold the top of the Pi Zero to the plastic. I tried trimming the Polymorph to better fit the bottom of the Pi but that was hard work that did not really work. I need a 3D printer :(

pi zero camera top view

When I did plug it all in and it lit up my undershelf lighting there was a huge sigh of relief. The undershelf lighting had been essential at night due to toilet problems(now resolved).

I cannot quite believe how much time and effort went into something that looks a bit crappy :)

pi zero camera in situ
loading results, please wait loading animateloading animateloading animate
[More tags]
rss feed

email

root

flog archives


Disclaimer: This page is by me for me, if you are not me then please be aware of the following
I am not responsible for anything that works or does not work including files and pages made available at www.jumpstation.co.uk I am also not responsible for any information(or what you or others do with it) available at www.jumpstation.co.uk In fact I'm not responsible for anything ever, so there!