{"id":163,"date":"2018-08-05T11:49:19","date_gmt":"2018-08-05T03:49:19","guid":{"rendered":"https:\/\/www.techcoil.com\/blog\/?p=163"},"modified":"2019-10-07T22:16:42","modified_gmt":"2019-10-07T14:16:42","slug":"how-to-turn-your-raspberry-pi-zero-w-cctv-into-a-wide-angle-security-camera","status":"publish","type":"post","link":"https:\/\/www.techcoil.com\/blog\/how-to-turn-your-raspberry-pi-zero-w-cctv-into-a-wide-angle-security-camera\/","title":{"rendered":"How to turn your Raspberry Pi Zero W CCTV into a wide angle security camera"},"content":{"rendered":"<p>When Raspberry Pi Zero W appeared in the market, I immediately got one and <a href=\"https:\/\/www.techcoil.com\/blog\/how-i-setup-a-cctv-camera-with-raspberry-pi-zero-w-and-motioneyeos-image-for-home-surveillance\/\" rel=\"noopener noreferrer\" target=\"_blank\">setup a Raspberry Pi Zero W security camera with motionEyeOS<\/a>. In addition to taking half the size of a credit card, a Raspberry Pi Zero W comes with Wi-Fi inbuilt. Therefore, it is ideal for building a security camera that connects to your Wi-Fi network. <\/p>\n<p>Previously, I wrote about <a href=\"https:\/\/www.techcoil.com\/blog\/how-to-make-your-raspberry-pi-zero-w-camera-see-an-ultra-wide-view\/\" rel=\"noopener noreferrer\" target=\"_blank\">how to make your Raspberry Pi Zero W camera see an ultra-wide view<\/a> through a Fisheye lens. <\/p>\n<p>Since the pack of <a href=\"https:\/\/www.amazon.com\/Happy-Hours%C2%AE-Universal-180%C2%A1%C3%A3Camera-Blackberry\/dp\/B00RCXDSDE\/ref=as_li_ss_tl?ie=UTF8&linkCode=ll1&tag=clivsperswebs-20&linkId=3d04da161268118bedda944ef249a32a&language=en_US\" rel=\"noopener noreferrer\" target=\"_blank\">Camera Lens Kit<\/a> for mobile phones includes a 0.67x wide angle lens, I decided to use it to turn my other <a href=\"https:\/\/www.techcoil.com\/blog\/how-i-setup-a-cctv-camera-with-raspberry-pi-zero-w-and-motioneyeos-image-for-home-surveillance\/\" rel=\"noopener noreferrer\" target=\"_blank\">Raspberry Pi Zero W CCTV<\/a> into a wide angle security camera.<\/p>\n<p>If you need a reference, read this to find out how you can turn your Raspberry Pi Zero W CCTV into a wide angle security camera.<\/p>\n<h2>Bill of materials for building a Raspberry Pi Zero W wide angle security camera<\/h2>\n<p>In case you need it, you can use the following hardware to build your Raspberry Pi Zero W wide angle security camera:<\/p>\n<ul>\n<li><a href=\"https:\/\/www.amazon.com\/gp\/product\/B06XD18H6K\/ref=as_li_ss_tl?imprToken=T7Jx9zc8ow.NJU3LX0u5jg&slotNum=2&ie=UTF8&linkCode=ll1&tag=clivsperswebs-20&linkId=a31f1b23bf70f588ab5d14b9aef0fa8b&language=en_US\" rel=\"noopener noreferrer\" target=\"_blank\">Raspberry Pi Zero W + Official Case Kit<\/a><\/li>\n<li><a href=\"https:\/\/www.amazon.com\/Sandisk-Ultra-128GB-Micro-Adapter\/dp\/B073JYC4XM\/ref=as_li_ss_tl?ie=UTF8&linkCode=ll1&tag=clivsperswebs-20&linkId=a2fe21162b0a5e6a450bd60cd2824ebf&language=en_US\" rel=\"noopener noreferrer\" target=\"_blank\">Sandisk Ultra 128GB Micro SDXC UHS-I Card with Adapter -  100MB\/s U1 A1<\/a><\/li>\n<li><a href=\"https:\/\/www.amazon.com\/Happy-Hours%C2%AE-Universal-180%C2%A1%C3%A3Camera-Blackberry\/dp\/B00RCXDSDE\/ref=as_li_ss_tl?ie=UTF8&linkCode=ll1&tag=clivsperswebs-20&linkId=3d04da161268118bedda944ef249a32a&language=en_US\" rel=\"noopener noreferrer\" target=\"_blank\">Raspberry Pi Camera Module V2 - 8 Megapixel,1080p<\/a><\/li>\n<li><a href=\"https:\/\/www.amazon.com\/CanaKit-Raspberry-Supply-Adapter-Charger\/dp\/B00GF9T3I0\/ref=sr_1_5?s=electronics&tag=clivsperswebs-20\" rel=\"noopener noreferrer\" target=\"_blank\">CanaKit Raspberry Pi Micro USB Power Supply \/ Adapter \/ Charger<\/a><\/li>\n<li><a href=\"https:\/\/www.amazon.com\/Happy-Hours%C2%AE-Universal-180%C2%A1%C3%A3Camera-Blackberry\/dp\/B00RCXDSDE\/ref=as_li_ss_tl?ie=UTF8&linkCode=ll1&tag=clivsperswebs-20&linkId=3d04da161268118bedda944ef249a32a&language=en_US\" rel=\"noopener noreferrer\" target=\"_blank\">3 in 1 180\u00b0 Fisheye Lens + 0.67x Wide Angle Lens + Micro Lens Magnetic Camera Lens Kits<\/a><\/li>\n<\/ul>\n<form action=\"https:\/\/www.amazon.com\/gp\/aws\/cart\/add.html\" method=\"GET\" target=\"_blank\"><input name=\"AssociateTag\" type=\"hidden\" value=\"clivsperswebs-20\"><input name=\"SubscriptionId\" type=\"hidden\" value=\"[AKIAIMND5UBCQU2HRSUA]\"><input name=\"ASIN.1\" type=\"hidden\" value=\"B06XD18H6K\"><input name=\"Quantity.1\" type=\"hidden\" value=\"1\"><input name=\"ASIN.2\" type=\"hidden\" value=\"B073JYC4XM\"><input name=\"Quantity.2\" type=\"hidden\" value=\"1\"><input name=\"ASIN.3\" type=\"hidden\" value=\"B01ER2SKFS\"><input name=\"Quantity.3\" type=\"hidden\" value=\"1\"><input name=\"ASIN.4\" type=\"hidden\" value=\"B00GF9T3I0\"><input name=\"Quantity.4\" type=\"hidden\" value=\"1\"><input name=\"ASIN.5\" type=\"hidden\" value=\"B00Y2BEPR2\"><input name=\"Quantity.5\" type=\"hidden\" value=\"1\"><br \/>\n<input class=\"external_link\" type=\"submit\" alt=\"Buy from Amazon.com\" name=\"add\" value=\"Add these items to your Amazon cart\"><\/form>\n<h2>Securing the magnetic adapter ring to the Raspberry Pi Zero W official camera lid<\/h2>\n<p>The magnetic adapter ring will hold the 0.67x wide angle macro lens firmly through magnetism. Therefore, we will want to secure the magnetic adapter ring to the Raspberry Pi Zero W official camera lid.<\/p>\n<p>Firstly, remove the 3M protecting paper which at the rear of the magnetic adapter ring and stick it to your Raspberry Pi Zero W Official camera case lid.<\/p>\n<p>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.<\/p>\n<p>As a result of doing that, your camera case will look like this:<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.techcoil.com\/blog\/wp-content\/uploads\/Raspberry-Pi-Zero-W-with-magnetic-adapter-ring-being-placed-on-wooden-floor.jpg\" alt=\"Raspberry Pi Zero W with magnetic adapter ring being placed on wooden floor\"\/><\/p>\n<h2>How your Raspberry Pi Zero W wide angle security camera will look like<\/h2>\n<p>After making sure with that the magnetic adapter ring is securely attached, position the 0.67x wide angle lens onto the camera lid.<\/p>\n<p>Once you had done so, your Raspberry Pi Zero W CCTV camera will look like this:<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.techcoil.com\/blog\/wp-content\/uploads\/Raspberry-Pi-Zero-W-with-0.67x-macro-lens-being-placed-on-wooden-floor.jpg\" alt=\"Raspberry Pi Zero W with 0.67x wide angle lens being placed on wooden floor\" \/><\/p>\n<h2>Difference between the Raspberry Pi camera without and with the 0.67x wide angle lens<\/h2>\n<p>Without the 0.67x wide angle lens, a sample view of the Raspberry Pi camera look like this:<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.techcoil.com\/blog\/wp-content\/uploads\/motionEye-0.39.2-view-without-any-lens.jpg\" alt=\"motionEye 0.39.2 view without any lens\"\/><\/p>\n<p>After attaching the 0.67x wide angle lens, a sample view of the Raspberry Pi camera look like this:<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.techcoil.com\/blog\/wp-content\/uploads\/motionEye-0.39.2-view-with-0.67x-wide-angle-lens.jpg\" alt=\"motionEye 0.39.2 view with 0.67x wide angle lens\" \/><\/p>\n<p>Notice that after putting on the 0.67x wide angle lens, the Raspberry Pi camera can now capture a wider viewing angle. Given that, you will have successfully created a Raspberry Pi Zero W wide angle security camera.<\/p>\n<h2>Building a Raspberry Pi Zero W CCTV camera<\/h2>\n<p>Previously, I had written two posts on how to make a Raspberry Pi Zero W CCTV camera:<\/p>\n<ol>\n<li><a href=\"https:\/\/www.techcoil.com\/blog\/how-i-setup-a-cctv-camera-with-raspberry-pi-zero-w-and-motioneyeos-image-for-home-surveillance\/\" rel=\"noopener noreferrer\" target=\"_blank\">Setup a CCTV camera with Raspberry Pi Zero W and motionEyeOS image for home surveillance<\/a><\/li>\n<li><a href=\"https:\/\/www.techcoil.com\/blog\/how-i-setup-a-raspberry-pi-zero-w-cctv-camera-with-motioneye-and-raspbian-stretch-lite\/\" rel=\"noopener noreferrer\" target=\"_blank\">Setup a Raspberry Pi Zero W CCTV camera with motionEye and Raspbian Stretch Lite<\/a><\/li>\n<\/ol>\n<p>The first post shows how to use a <a href=\"https:\/\/github.com\/ccrisan\/motioneyeos\/wiki\" rel=\"noopener noreferrer\" target=\"_blank\">motionEyeOS<\/a> image to setup a Raspberry Pi Zero W CCTV camera. This is the easier way to setup a Raspberry Pi Zero W CCTV camera.<\/p>\n<p>After I changed my router, I wrote the second post on how to setup a Raspberry Pi Zero W CCTV camera with a Raspbian Stretch Lite image.<\/p>\n<p>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.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.techcoil.com\/blog\/wp-content\/uploads\/How-to-turn-your-Raspberry-Pi-Zero-W-CCTV-into-a-wide-angle-security-camera.jpg\" alt=\"How to turn your Raspberry Pi Zero W CCTV into a wide angle security camera\" \/><\/p>\n\n      <ul id=\"social-sharing-buttons-list\">\n        <li class=\"facebook\">\n          <a href=\"https:\/\/www.facebook.com\/sharer\/sharer.php?u=https%3A%2F%2Fwp.me%2Fp245TQ-2D\" target=\"_blank\" role=\"button\" rel=\"nofollow\">\n            <img decoding=\"async\" src=\"\/ph\/img\/3rd-party\/social-icons\/Facebook.png\" alt=\"Facebook icon\"> Share\n          <\/a>\n        <\/li>\n        <li class=\"twitter\">\n          <a href=\"https:\/\/twitter.com\/intent\/tweet?text=&url=https%3A%2F%2Fwp.me%2Fp245TQ-2D&via=Techcoil_com\" target=\"_blank\" role=\"button\" rel=\"nofollow\">\n          <img decoding=\"async\" src=\"\/ph\/img\/3rd-party\/social-icons\/Twitter.png\" alt=\"Twitter icon\"> Tweet\n          <\/a>\n        <\/li>\n        <li class=\"linkedin\">\n          <a href=\"https:\/\/www.linkedin.com\/shareArticle?mini=1&title=&url=https%3A%2F%2Fwp.me%2Fp245TQ-2D&source=https:\/\/www.techcoil.com\" target=\"_blank\" role=\"button\" rel=\"nofollow\">\n          <img decoding=\"async\" src=\"\/ph\/img\/3rd-party\/social-icons\/linkedin.png\" alt=\"Linkedin icon\"> Share\n          <\/a>\n        <\/li>\n        <li class=\"pinterest\">\n          <a href=\"https:\/\/pinterest.com\/pin\/create\/button\/?url=https%3A%2F%2Fwww.techcoil.com%2Fblog%2Fwp-json%2Fwp%2Fv2%2Fposts%2F163&description=\" class=\"pin-it-button\" target=\"_blank\" role=\"button\" rel=\"nofollow\" count-layout=\"horizontal\">\n          <img decoding=\"async\" src=\"\/ph\/img\/3rd-party\/social-icons\/Pinterest.png\" alt=\"Pinterest icon\"> Save\n          <\/a>\n        <\/li>\n      <\/ul>\n    ","protected":false},"excerpt":{"rendered":"<p>When Raspberry Pi Zero W appeared in the market, I immediately got one and <a href=\"https:\/\/www.techcoil.com\/blog\/how-i-setup-a-cctv-camera-with-raspberry-pi-zero-w-and-motioneyeos-image-for-home-surveillance\/\" rel=\"noopener noreferrer\" target=\"_blank\">setup a Raspberry Pi Zero W security camera with motionEyeOS<\/a>. In addition to taking half the size of a credit card, a Raspberry Pi Zero W comes with Wi-Fi inbuilt. Therefore, it is ideal for building a security camera that connects to your Wi-Fi network. <\/p>\n<p>Previously, I wrote about <a href=\"https:\/\/www.techcoil.com\/blog\/how-to-make-your-raspberry-pi-zero-w-camera-see-an-ultra-wide-view\/\" rel=\"noopener noreferrer\" target=\"_blank\">how to make your Raspberry Pi Zero W camera see an ultra-wide view<\/a> through a Fisheye lens. <\/p>\n<p>Since the pack of <a href=\"https:\/\/www.amazon.com\/Happy-Hours%C2%AE-Universal-180%C2%A1%C3%A3Camera-Blackberry\/dp\/B00RCXDSDE\/ref=as_li_ss_tl?ie=UTF8&#038;linkCode=ll1&#038;tag=clivsperswebs-20&#038;linkId=3d04da161268118bedda944ef249a32a&#038;language=en_US\" rel=\"noopener noreferrer\" target=\"_blank\">Camera Lens Kits<\/a> for mobile phones includes a 0.67x wide angle lens, I decided to use it to turn my other <a href=\"https:\/\/www.techcoil.com\/blog\/how-i-setup-a-cctv-camera-with-raspberry-pi-zero-w-and-motioneyeos-image-for-home-surveillance\/\" rel=\"noopener noreferrer\" target=\"_blank\">Raspberry Pi Zero W CCTV<\/a> into a wide angle security camera.<\/p>\n<p>If you need a reference, read this to find out how you can turn your Raspberry Pi Zero W CCTV into a wide angle security camera.<\/p>\n","protected":false},"author":1,"featured_media":1102,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"advanced_seo_description":"","jetpack_seo_html_title":"","jetpack_seo_noindex":false,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"footnotes":""},"categories":[4],"tags":[275,474,411,240,410,409],"jetpack_featured_media_url":"https:\/\/www.techcoil.com\/blog\/wp-content\/uploads\/How-to-turn-your-Raspberry-Pi-Zero-W-CCTV-into-a-wide-angle-security-camera.jpg","jetpack_shortlink":"https:\/\/wp.me\/p245TQ-2D","jetpack-related-posts":[],"jetpack_likes_enabled":true,"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.techcoil.com\/blog\/wp-json\/wp\/v2\/posts\/163"}],"collection":[{"href":"https:\/\/www.techcoil.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.techcoil.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.techcoil.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.techcoil.com\/blog\/wp-json\/wp\/v2\/comments?post=163"}],"version-history":[{"count":0,"href":"https:\/\/www.techcoil.com\/blog\/wp-json\/wp\/v2\/posts\/163\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.techcoil.com\/blog\/wp-json\/wp\/v2\/media\/1102"}],"wp:attachment":[{"href":"https:\/\/www.techcoil.com\/blog\/wp-json\/wp\/v2\/media?parent=163"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.techcoil.com\/blog\/wp-json\/wp\/v2\/categories?post=163"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.techcoil.com\/blog\/wp-json\/wp\/v2\/tags?post=163"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}