How to make your Raspberry Pi Zero W camera see an ultra-wide view
While I was organising cabinet, I found a pack of Camera Lens Kit for mobile phones.
Since I am using my Raspberry Pi Zero W as a surveillance camera, I figured that it would be useful if I can use the Fisheye lens in the pack to make my camera see a wider view.
With this in mind, I created this post for showing how we can make a Raspberry Pi Zero W camera see an ultra-wide view.
Bill of materials for the Raspberry Pi Zero W camera
In case you need it, you can use the following hardware to build your Raspberry Pi Zero W camera with ultra-wide view:
- Raspberry Pi Zero W + Official Case Kit
- Sandisk Ultra 128GB Micro SDXC UHS-I Card with Adapter - 100MB/s U1 A1
- Raspberry Pi Camera Module V2 - 8 Megapixel,1080p
- CanaKit Raspberry Pi Micro USB Power Supply / Adapter / Charger
- 3 in 1 180° Fisheye Lens + 0.67x Wide Angle Lens + Micro Lens Magnetic Camera Lens Kits for iPhone Samsung Mobile Phone (Silver)
Securing the magnetic adapter ring to the Raspberry Pi Zero W official camera lid
Firstly, remove the 3M protecting paper which at the rear of the magnetic adapter ring and stick it to the Raspberry Pi Zero W Official camera case lid.
To further secure the ring to the camera case lid, I recommend using a piece of masking tape over the ring. Once you had done so, poke through the masking tape and camera hole of the case.
As a result of doing that, your camera case will look like this:
How your Raspberry Pi Zero W camera will look like with Fisheye lens
After making sure with that the magnetic adapter ring is securely attached, position the Fisheye lens onto the camera lid.
Once you had done so, your Raspberry Pi Zero W CCTV camera will look like this:
Difference between the Raspberry Pi camera without and with the Fisheye lens
Without the Fisheye lens, a sample image footage of the Raspberry Pi camera look like this:
After attaching the Fisheye lens, a sample image footage of the Raspberry Pi camera look like this:
Although there is a dark patch surrounding the image footage, the camera will be able to capture a much wider view.
Building a Raspberry Pi Zero W CCTV camera
Previously, I had written two posts on how to make a Raspberry Pi Zero W CCTV camera:
- Setup a CCTV camera with Raspberry Pi Zero W and motionEyeOS image for home surveillance
- Setup a Raspberry Pi Zero W CCTV camera with motionEye and Raspbian Stretch Lite
The first post shows how to use a motionEyeOS image to setup a Raspberry Pi Zero W CCTV camera. This is the easier way to setup a Raspberry Pi Zero W CCTV camera.
In case you need a reference on how to build a Raspberry Pi Zero W CCTV camera, you can follow either the first post or the second post.