{"id":100,"date":"2016-09-19T10:23:08","date_gmt":"2016-09-19T10:23:08","guid":{"rendered":"http:\/\/doctor-dark.co.uk\/blog\/?p=100"},"modified":"2023-12-18T12:21:37","modified_gmt":"2023-12-18T12:21:37","slug":"online-webcam-project-part-1","status":"publish","type":"post","link":"https:\/\/doctor-dark.co.uk\/blog\/online-webcam-project-part-1\/","title":{"rendered":"Online webcam project, part 1."},"content":{"rendered":"<p>Having decided to share the view at the back of our house with the rest of the world, I&#8217;ve finally got started. After all, it&#8217;s a pretty amazing view at times. Here&#8217;s what it was like recently. Even when it&#8217;s blurred, it&#8217;s good!<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-89 alignnone\" src=\"https:\/\/doctor-dark.co.uk\/blog\/wp-content\/uploads\/2016\/09\/IMG_3650-300x200.jpg\" alt=\"img_3650\" width=\"600\" height=\"400\" srcset=\"https:\/\/doctor-dark.co.uk\/blog\/wp-content\/uploads\/2016\/09\/IMG_3650-300x200.jpg 300w, https:\/\/doctor-dark.co.uk\/blog\/wp-content\/uploads\/2016\/09\/IMG_3650-768x512.jpg 768w, https:\/\/doctor-dark.co.uk\/blog\/wp-content\/uploads\/2016\/09\/IMG_3650-1024x683.jpg 1024w, https:\/\/doctor-dark.co.uk\/blog\/wp-content\/uploads\/2016\/09\/IMG_3650-1200x800.jpg 1200w\" sizes=\"auto, (max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 984px) 61vw, (max-width: 1362px) 45vw, 600px\" \/><\/p>\n<p>I&#8217;m using a standard Raspberry Pi camera, and a Pi Zero to do this. Here&#8217;s the camera. I took a cheap Vivitar wide angle converter, made a hole in the rear lens cap, and glued the camera&#8217;s mounting kit to it, using a cheap glue gun.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-101\" src=\"https:\/\/doctor-dark.co.uk\/blog\/wp-content\/uploads\/2016\/09\/IMG_20160919_103757-300x225.jpg\" alt=\"img_20160919_103757\" width=\"600\" height=\"450\" srcset=\"https:\/\/doctor-dark.co.uk\/blog\/wp-content\/uploads\/2016\/09\/IMG_20160919_103757-300x225.jpg 300w, https:\/\/doctor-dark.co.uk\/blog\/wp-content\/uploads\/2016\/09\/IMG_20160919_103757-768x576.jpg 768w, https:\/\/doctor-dark.co.uk\/blog\/wp-content\/uploads\/2016\/09\/IMG_20160919_103757-1024x768.jpg 1024w, https:\/\/doctor-dark.co.uk\/blog\/wp-content\/uploads\/2016\/09\/IMG_20160919_103757-1200x900.jpg 1200w\" sizes=\"auto, (max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 984px) 61vw, (max-width: 1362px) 45vw, 600px\" \/><\/p>\n<p>Here&#8217;s the current state of the thing.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-103\" src=\"https:\/\/doctor-dark.co.uk\/blog\/wp-content\/uploads\/2016\/09\/IMG_20160919_103847-300x225.jpg\" alt=\"img_20160919_103847\" width=\"599\" height=\"449\" srcset=\"https:\/\/doctor-dark.co.uk\/blog\/wp-content\/uploads\/2016\/09\/IMG_20160919_103847-300x225.jpg 300w, https:\/\/doctor-dark.co.uk\/blog\/wp-content\/uploads\/2016\/09\/IMG_20160919_103847-768x576.jpg 768w, https:\/\/doctor-dark.co.uk\/blog\/wp-content\/uploads\/2016\/09\/IMG_20160919_103847-1024x768.jpg 1024w, https:\/\/doctor-dark.co.uk\/blog\/wp-content\/uploads\/2016\/09\/IMG_20160919_103847-1200x900.jpg 1200w\" sizes=\"auto, (max-width: 599px) 85vw, 599px\" \/><\/p>\n<p>I connected to the PI with x11vnc, and took a test shot. The result is nicely in focus, thanks to the cunning design of the adapter lens, and gives a good wide angle view of the study.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-104\" src=\"https:\/\/doctor-dark.co.uk\/blog\/wp-content\/uploads\/2016\/09\/test-300x225.jpg\" alt=\"test\" width=\"600\" height=\"450\" srcset=\"https:\/\/doctor-dark.co.uk\/blog\/wp-content\/uploads\/2016\/09\/test-300x225.jpg 300w, https:\/\/doctor-dark.co.uk\/blog\/wp-content\/uploads\/2016\/09\/test-768x576.jpg 768w, https:\/\/doctor-dark.co.uk\/blog\/wp-content\/uploads\/2016\/09\/test-1024x768.jpg 1024w, https:\/\/doctor-dark.co.uk\/blog\/wp-content\/uploads\/2016\/09\/test-1200x900.jpg 1200w\" sizes=\"auto, (max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 984px) 61vw, (max-width: 1362px) 45vw, 600px\" \/><\/p>\n<p>Next, I need to set up the Raspberry Pi to upload pictures to my web site every few minutes, make a page on the web site for people to gawp at, and put the Pi in a waterproof case.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Having decided to share the view at the back of our house with the rest of the world, I&#8217;ve finally got started. After all, it&#8217;s a pretty amazing view at times. Here&#8217;s what it was like recently. Even when it&#8217;s blurred, it&#8217;s good! I&#8217;m using a standard Raspberry Pi camera, and a Pi Zero to &hellip; <a href=\"https:\/\/doctor-dark.co.uk\/blog\/online-webcam-project-part-1\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Online webcam project, part 1.&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[],"class_list":["post-100","post","type-post","status-publish","format-standard","hentry","category-raspberry-pi"],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/doctor-dark.co.uk\/blog\/wp-json\/wp\/v2\/posts\/100","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/doctor-dark.co.uk\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/doctor-dark.co.uk\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/doctor-dark.co.uk\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/doctor-dark.co.uk\/blog\/wp-json\/wp\/v2\/comments?post=100"}],"version-history":[{"count":4,"href":"https:\/\/doctor-dark.co.uk\/blog\/wp-json\/wp\/v2\/posts\/100\/revisions"}],"predecessor-version":[{"id":107,"href":"https:\/\/doctor-dark.co.uk\/blog\/wp-json\/wp\/v2\/posts\/100\/revisions\/107"}],"wp:attachment":[{"href":"https:\/\/doctor-dark.co.uk\/blog\/wp-json\/wp\/v2\/media?parent=100"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/doctor-dark.co.uk\/blog\/wp-json\/wp\/v2\/categories?post=100"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/doctor-dark.co.uk\/blog\/wp-json\/wp\/v2\/tags?post=100"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}