Introduction: VHS Library Pi Security Camera
This is an old VHS Video Library case that's now providing a perfect home for a Raspberry Pi security camera. The case contains a Pi Zero and the camera peeps out through the spine of the fake book. It's a really simple build with an old-world look and a practical modern purpose!
Step 1: In the Library
I was given these old VHS tape library cases by my mother-in-law last week, she was having a clear out and thought they might appeal to me, knowing my love of converting old technology. It turned out they were just what I needed to house my pi zero security camera! Well I say security camera, it's more to keep an eye on the cat really.
I wanted to keep the build as fun & simple as possible, and managed the whole thing in about an hour.
The first job was to cut a hole for the camera in the spine of the case - it's quite thin plastic on either side but has a layer of cardboard in between to make it more book-like. I just used a drill and tidied up the hole with a craft knife, but I'll probably use a hole punch if I make another one as that would make a much neater hole. As the camera bump protrudes right into the hole and the case closes up behind it I didn't need to do any more to hold the module in place.
I mounted the Pi Zero inside the case using self-adhesive cable tie mounts, running tiny plastic ties through the mounting holes in the board to secure it.
After that all I needed to do was cut a slot in the case for the camera ribbon, and another one at the back for the USB power cable. I also cut some ventilation holes in the rear, and that was the hardware side complete.
Step 2: Software Setup
For the security camera software I used MotionEye OS - I tried this for our "front door" camera last year and have been really impressed with its stability and features.
Once I'd downloaded the image and flashed it to the SD card using Etcher I realised there was a problem - I'd used my only usb-to-ethernet adaptor on another project and would have no way to log into the MotionEye interface to set up the WiFi. Looking through the wiki however I realised you can preconfigure the WiFi connection by just adding a text file to the SD card - somehow I've never tried that with a Pi before, it worked great!
Once the SD card was ready it was just a case of popping it into the Pi, folding the case closed and finding a good spot for it on the bookcase with USB power nearby - the rest of the configuration could all be done via the web-based interface.
There are loads of options for video frame rates and resolutions, I settled on 1024x768 which is a good compromise given the Pi Zero's capabilities, and also uses all of the camera area as it's in 4:3 format. There are also great choices for uploading captured images and videos to cloud services like Google Drive, very useful if you don't want to set up port forwarding and a dynamic DNS but still want to access the files remotely.
Step 3: Finished
This was a great little project, not the fanciest or most complicated but lots of fun and practical, it's reassuring to be able to check in with the cat when we're away from home.
I've always wanted to find uses for old VHS tapes (I did make a tape dispenser out of one) and it was nice to give at least one of these relics a new purpose.
This sort of library case is probably found mostly in landfill now, but with some fiddling you could achieve the same thing using an old VHS tape - there are plenty of those still around!