{"id":64914,"date":"2021-09-12T17:47:09","date_gmt":"2021-09-12T21:47:09","guid":{"rendered":"https:\/\/www.engineersgarage.com\/?p=64914"},"modified":"2023-11-02T14:57:46","modified_gmt":"2023-11-02T18:57:46","slug":"raspberry-pi-camera-lcd-digital-door-peekhole","status":"publish","type":"post","link":"https:\/\/www.engineersgarage.com\/raspberry-pi-camera-lcd-digital-door-peekhole\/","title":{"rendered":"Raspberry Pi-based digital door peekhole"},"content":{"rendered":"<div id=\"attachment_64920\" style=\"width: 1034px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/www.engineersgarage.com\/wp-content\/uploads\/2021\/09\/P20-01.jpg\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-64920\" class=\"wp-image-64920 size-full\" src=\"https:\/\/www.engineersgarage.com\/wp-content\/uploads\/2021\/09\/P20-01.jpg\" alt=\"Raspberry Pi based digital door peekhole\" width=\"1024\" height=\"768\" srcset=\"https:\/\/www.engineersgarage.com\/wp-content\/uploads\/2021\/09\/P20-01.jpg 1024w, https:\/\/www.engineersgarage.com\/wp-content\/uploads\/2021\/09\/P20-01-300x225.jpg 300w, https:\/\/www.engineersgarage.com\/wp-content\/uploads\/2021\/09\/P20-01-768x576.jpg 768w, https:\/\/www.engineersgarage.com\/wp-content\/uploads\/2021\/09\/P20-01-317x238.jpg 317w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><p id=\"caption-attachment-64920\" class=\"wp-caption-text\">Demonstration of Raspberry Pi based digital door peekhole<\/p><\/div>\n<p>A peephole, spyhole, or peekhole is a small opening through the door that allows viewing from inside to outside. Such door holes allow seeing outside the door without opening it. Usually, these door holes have a fisheye lens to have a wider look of the outside. In this project, we have developed a digital version of the peekhole with the help of a Raspberry Pi camera and a Raspberry Pi board. The first apparent advantage of a digital peekhole is that it can be easily concealed in a door design compared to conventional peekholes. Secondly, a camera-based peekhole gives a 180\u02da view of the outside. A programmatically sophisticated version of the same peekhole can provide features like visitor identification (through face detection), logging unidentified visitors, and playing pre-recorded voice messages to specific visitors.<\/p>\n<p>The device designed in this project uses a Raspberry Pi camera, Raspberry Pi board, a PIR sensor, and a small LCD screen with HDMI input. It can be easily integrated into any door and easily concealed in a door design. The prototype demonstrated here is developed on Raspberry Pi 3. This project&#8217;s commercial or hobby version can be developed using Raspberry Pi Zero to make the design compact. Once installed in a door design, the whole device can be powered with the help of a 5V 2A adaptor.<\/p>\n<p><strong>Components required<\/strong><\/p>\n<ol>\n<li>Raspberry Pi 2\/3\/4 or Raspberry Pi Zero x1<\/li>\n<li>Raspberry Pi Camera x1<\/li>\n<li>Ribbon Cable for connecting Raspberry Pi camera x1<\/li>\n<li>PIR Sensor x1<\/li>\n<li>5&#8243; HDMI LCD<\/li>\n<li>Connecting wires\/Jumper wires for testing prototype on a breadboard<\/li>\n<\/ol>\n<p><strong>Circuit connections<br \/>\n<\/strong>While testing the project, you can interface the Raspberry Pi with a desktop display. Connect a small HDMI LCD to the Raspberry Pi&#8217;s HDMI port. Connect the Raspberry Pi camera to the CSI port of the board.<\/p>\n<div id=\"attachment_64919\" style=\"width: 743px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/www.engineersgarage.com\/wp-content\/uploads\/2021\/09\/P20-02.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-64919\" class=\"wp-image-64919 size-full\" src=\"https:\/\/www.engineersgarage.com\/wp-content\/uploads\/2021\/09\/P20-02.png\" alt=\"\" width=\"733\" height=\"550\" srcset=\"https:\/\/www.engineersgarage.com\/wp-content\/uploads\/2021\/09\/P20-02.png 733w, https:\/\/www.engineersgarage.com\/wp-content\/uploads\/2021\/09\/P20-02-300x225.png 300w, https:\/\/www.engineersgarage.com\/wp-content\/uploads\/2021\/09\/P20-02-317x238.png 317w\" sizes=\"auto, (max-width: 733px) 100vw, 733px\" \/><\/a><p id=\"caption-attachment-64919\" class=\"wp-caption-text\">Demonstration of Raspberry Pi-based Attaching Raspberry Pi camera to CSI port door peekhole<\/p><\/div>\n<p>For interfacing the PIR sensor with Raspberry Pi, connect the input pin of the PIR sensor to any GPIO. Here board pin 7 is connected to the input pin of the PIR sensor. Connect the VCC and GND pins of the PIR sensor with the Raspberry Pi&#8217;s 3.3V out and ground pins.<\/p>\n<div id=\"attachment_64918\" style=\"width: 750px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/www.engineersgarage.com\/wp-content\/uploads\/2021\/09\/P20-03.jpg\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-64918\" class=\"wp-image-64918 size-large\" src=\"https:\/\/www.engineersgarage.com\/wp-content\/uploads\/2021\/09\/P20-03-1024x768.jpg\" alt=\"\" width=\"740\" height=\"555\" srcset=\"https:\/\/www.engineersgarage.com\/wp-content\/uploads\/2021\/09\/P20-03-1024x768.jpg 1024w, https:\/\/www.engineersgarage.com\/wp-content\/uploads\/2021\/09\/P20-03-300x225.jpg 300w, https:\/\/www.engineersgarage.com\/wp-content\/uploads\/2021\/09\/P20-03-768x576.jpg 768w, https:\/\/www.engineersgarage.com\/wp-content\/uploads\/2021\/09\/P20-03-1536x1152.jpg 1536w, https:\/\/www.engineersgarage.com\/wp-content\/uploads\/2021\/09\/P20-03-317x238.jpg 317w, https:\/\/www.engineersgarage.com\/wp-content\/uploads\/2021\/09\/P20-03.jpg 1888w\" sizes=\"auto, (max-width: 740px) 100vw, 740px\" \/><\/a><p id=\"caption-attachment-64918\" class=\"wp-caption-text\">PIR sensor<\/p><\/div>\n<p>It should be noted that the sensitivity of the PIR sensor needs to be adjusted to get the proper digital input. The PIR sensor is calibrated to provide defined output during program testing.<\/p>\n<p><strong>Python code <\/strong><\/p>\n<p><a href=\"https:\/\/www.engineersgarage.com\/wp-content\/uploads\/2021\/09\/Screen-Shot-2021-09-12-at-1.57.13-PM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-64923\" src=\"https:\/\/www.engineersgarage.com\/wp-content\/uploads\/2021\/09\/Screen-Shot-2021-09-12-at-1.57.13-PM.png\" alt=\"\" width=\"668\" height=\"670\" srcset=\"https:\/\/www.engineersgarage.com\/wp-content\/uploads\/2021\/09\/Screen-Shot-2021-09-12-at-1.57.13-PM.png 668w, https:\/\/www.engineersgarage.com\/wp-content\/uploads\/2021\/09\/Screen-Shot-2021-09-12-at-1.57.13-PM-300x300.png 300w, https:\/\/www.engineersgarage.com\/wp-content\/uploads\/2021\/09\/Screen-Shot-2021-09-12-at-1.57.13-PM-150x150.png 150w, https:\/\/www.engineersgarage.com\/wp-content\/uploads\/2021\/09\/Screen-Shot-2021-09-12-at-1.57.13-PM-237x238.png 237w\" sizes=\"auto, (max-width: 668px) 100vw, 668px\" \/><\/a><\/p>\n<p><strong>How the project works<br \/>\n<\/strong>The Raspberry Pi camera and the PIR sensor are installed at the front of the door. The Raspberry Pi itself is installed at the rear of the door. The door has a small horizontal cut to pass through the ribbon cable of the Raspberry Pi camera. The entire circuit is powered at the rear of the door with the help of a power bank or DC adaptor. A 5-inch LCD is connected with the Raspberry Pi at the rear of the door.<\/p>\n<p>The user can run the python script as the device is powered on and Raspberry Pi boots up. The python script can be made to launch on the startup automatically. As the python script runs, it starts a preview of the outside on the LCD. For testing the preview, Raspberry Pi can also be connected to a desktop display with HDMI input. The preview continues without interruption throughout the script execution. After launching a preview, the Raspberry Pi continuously checks for the digital signal from the PIR sensor. Here the PIR sensor is calibrated to give an output of digital HIGH as it detects any motion outside the door. As it detects any motion, the Raspberry Pi camera captures the outside image and stores it with a file name having an ascending number.<\/p>\n<p><strong>The code<br \/>\n<\/strong>The python script begins with importing PiCamera class from the PiCamera library and RPi.GPIO class from GPIO library. If the PiCamera library is not installed, it must be installed using pip or installed manually. Similarly, time class is imported from the sleep library. The GPIO is set to board numbering, and board pin 7 is assigned to input from the PIR sensor. Variables to hold image number, image name, and image URL are declared. The GPIO.setwarning() is set to false.<\/p>\n<p>An object of camera class is instantiated using the Picamera() method. The PIR sensor pin is set as a digital input. The camera preview is started using the start_preview() method. A delay of 5 seconds is provided after starting the preview. This helps to stabilize the camera to ambient light and exposure.<\/p>\n<p>An infinite loop is run to capture images of any movement outside the door. If the PIR sensor detects any motion, it gives an output of logical HIGH. If the output of the PIR sensor is HIGH, the image number is increased by 1 and is concatenated to string &#8220;image&#8221; in variable &#8216;imagename&#8217;.\u00a0 The image name is appended to a file path in variable &#8216;pathname&#8217;. The image of the outside is captured with the updated file location using the capture() method. The new image name is logged to the console using the print() function. A delay of 5 seconds is provided after an image has been captured.<\/p>\n<p><strong>Demonstration<br \/>\n<\/strong>The following images and video are of the testing of the device using a desktop display. Note that how the device captures the image of the outside on detecting every movement.<\/p>\n<div id=\"attachment_64916\" style=\"width: 750px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/www.engineersgarage.com\/wp-content\/uploads\/2021\/09\/P20-04-scaled.jpg\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-64916\" class=\"wp-image-64916 size-large\" src=\"https:\/\/www.engineersgarage.com\/wp-content\/uploads\/2021\/09\/P20-04-1024x768.jpg\" alt=\"Testing Raspberry Pi based digital door peekhole\" width=\"740\" height=\"555\" srcset=\"https:\/\/www.engineersgarage.com\/wp-content\/uploads\/2021\/09\/P20-04-1024x768.jpg 1024w, https:\/\/www.engineersgarage.com\/wp-content\/uploads\/2021\/09\/P20-04-300x225.jpg 300w, https:\/\/www.engineersgarage.com\/wp-content\/uploads\/2021\/09\/P20-04-768x576.jpg 768w, https:\/\/www.engineersgarage.com\/wp-content\/uploads\/2021\/09\/P20-04-1536x1152.jpg 1536w, https:\/\/www.engineersgarage.com\/wp-content\/uploads\/2021\/09\/P20-04-2048x1536.jpg 2048w, https:\/\/www.engineersgarage.com\/wp-content\/uploads\/2021\/09\/P20-04-317x238.jpg 317w\" sizes=\"auto, (max-width: 740px) 100vw, 740px\" \/><\/a><p id=\"caption-attachment-64916\" class=\"wp-caption-text\">Demonstration of Raspberry Pi based digital door peekhole<\/p><\/div>\n<p><a href=\"https:\/\/www.engineersgarage.com\/wp-content\/uploads\/2021\/09\/P20-05-scaled.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-large wp-image-64915\" src=\"https:\/\/www.engineersgarage.com\/wp-content\/uploads\/2021\/09\/P20-05-1024x768.jpg\" alt=\"\" width=\"740\" height=\"555\" srcset=\"https:\/\/www.engineersgarage.com\/wp-content\/uploads\/2021\/09\/P20-05-1024x768.jpg 1024w, https:\/\/www.engineersgarage.com\/wp-content\/uploads\/2021\/09\/P20-05-300x225.jpg 300w, https:\/\/www.engineersgarage.com\/wp-content\/uploads\/2021\/09\/P20-05-768x576.jpg 768w, https:\/\/www.engineersgarage.com\/wp-content\/uploads\/2021\/09\/P20-05-1536x1152.jpg 1536w, https:\/\/www.engineersgarage.com\/wp-content\/uploads\/2021\/09\/P20-05-2048x1536.jpg 2048w, https:\/\/www.engineersgarage.com\/wp-content\/uploads\/2021\/09\/P20-05-317x238.jpg 317w\" sizes=\"auto, (max-width: 740px) 100vw, 740px\" \/><\/a><\/p>\n<p><strong>Demonstration video<\/strong><br \/>\n<iframe loading=\"lazy\" src=\"https:\/\/drive.google.com\/file\/d\/1k0yumZtIR9n0D87Z85dVJH04iI-V2Mig\/preview\" width=\"640\" height=\"480\"><\/iframe><\/p>\n","protected":false},"excerpt":{"rendered":"<p>A peephole, spyhole, or peekhole is a small opening through the door that allows viewing from inside to outside. Such door holes allow seeing outside the door without opening it. Usually, these door holes have a fisheye lens to have a wider look of the outside. In this project, we have developed a digital version&hellip;<\/p>\n","protected":false},"author":387,"featured_media":64920,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_genesis_hide_title":false,"_genesis_hide_breadcrumbs":false,"_genesis_hide_singular_image":false,"_genesis_hide_footer_widgets":false,"_genesis_custom_body_class":"","_genesis_custom_post_class":"","_genesis_layout":"","footnotes":""},"categories":[13,1940,3993,3988,9,1871],"tags":[1174,2580,2541,2584,2579,2581,2582,2583],"class_list":{"2":"type-post","21":"entry","22":"has-post-thumbnail"},"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v25.2 (Yoast SEO v25.2) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Raspberry Pi Project - Digital Door Peekhole<\/title>\n<meta name=\"description\" content=\"Learn to design a digital peekhole using raspberry pi camera, PIR sensor and graphic LCD.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.engineersgarage.com\/raspberry-pi-camera-lcd-digital-door-peekhole\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Raspberry Pi-based digital door peekhole\" \/>\n<meta property=\"og:description\" content=\"Learn to design a digital peekhole using raspberry pi camera, PIR sensor and graphic LCD.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.engineersgarage.com\/raspberry-pi-camera-lcd-digital-door-peekhole\/\" \/>\n<meta property=\"og:site_name\" content=\"Engineers Garage\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/engineersgarage\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.engineersgarage.com\/wp-content\/uploads\/2021\/09\/P20-01.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1024\" \/>\n\t<meta property=\"og:image:height\" content=\"768\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Nikhil Agnihotri\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@EngineersGarage\" \/>\n<meta name=\"twitter:site\" content=\"@EngineersGarage\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Nikhil Agnihotri\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"6 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.engineersgarage.com\/raspberry-pi-camera-lcd-digital-door-peekhole\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.engineersgarage.com\/raspberry-pi-camera-lcd-digital-door-peekhole\/\"},\"author\":{\"name\":\"Nikhil Agnihotri\",\"@id\":\"https:\/\/www.engineersgarage.com\/#\/schema\/person\/3c71105e3b40a1fd12c79c15602914b6\"},\"headline\":\"Raspberry Pi-based digital door peekhole\",\"datePublished\":\"2021-09-12T21:47:09+00:00\",\"dateModified\":\"2023-11-02T18:57:46+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.engineersgarage.com\/raspberry-pi-camera-lcd-digital-door-peekhole\/\"},\"wordCount\":940,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.engineersgarage.com\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.engineersgarage.com\/raspberry-pi-camera-lcd-digital-door-peekhole\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.engineersgarage.com\/wp-content\/uploads\/2021\/09\/P20-01.jpg\",\"keywords\":[\"Raspberry Pi\",\"raspberry pi 5 inch lcd\",\"raspberry pi camera\",\"raspberry pi digital door peekhole\",\"Raspberry pi graphic lcd\",\"raspberry pi PIR sensor\",\"raspberry pi project\",\"raspberry pi projects\"],\"articleSection\":[\"Electronic Projects\",\"Microcontrollers\",\"Raspberry pi\",\"Sensors\",\"Tutorials\",\"Video\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.engineersgarage.com\/raspberry-pi-camera-lcd-digital-door-peekhole\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.engineersgarage.com\/raspberry-pi-camera-lcd-digital-door-peekhole\/\",\"url\":\"https:\/\/www.engineersgarage.com\/raspberry-pi-camera-lcd-digital-door-peekhole\/\",\"name\":\"Raspberry Pi Project - Digital Door Peekhole\",\"isPartOf\":{\"@id\":\"https:\/\/www.engineersgarage.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.engineersgarage.com\/raspberry-pi-camera-lcd-digital-door-peekhole\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.engineersgarage.com\/raspberry-pi-camera-lcd-digital-door-peekhole\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.engineersgarage.com\/wp-content\/uploads\/2021\/09\/P20-01.jpg\",\"datePublished\":\"2021-09-12T21:47:09+00:00\",\"dateModified\":\"2023-11-02T18:57:46+00:00\",\"description\":\"Learn to design a digital peekhole using raspberry pi camera, PIR sensor and graphic LCD.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.engineersgarage.com\/raspberry-pi-camera-lcd-digital-door-peekhole\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.engineersgarage.com\/raspberry-pi-camera-lcd-digital-door-peekhole\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.engineersgarage.com\/raspberry-pi-camera-lcd-digital-door-peekhole\/#primaryimage\",\"url\":\"https:\/\/www.engineersgarage.com\/wp-content\/uploads\/2021\/09\/P20-01.jpg\",\"contentUrl\":\"https:\/\/www.engineersgarage.com\/wp-content\/uploads\/2021\/09\/P20-01.jpg\",\"width\":1024,\"height\":768},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.engineersgarage.com\/raspberry-pi-camera-lcd-digital-door-peekhole\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.engineersgarage.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Raspberry Pi-based digital door peekhole\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.engineersgarage.com\/#website\",\"url\":\"https:\/\/www.engineersgarage.com\/\",\"name\":\"Engineers Garage\",\"description\":\"Electronic Projects, Electrical Engineering Resources, Makers Articles and Product News\",\"publisher\":{\"@id\":\"https:\/\/www.engineersgarage.com\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.engineersgarage.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.engineersgarage.com\/#organization\",\"name\":\"Engineer's Garage - WTWH Media\",\"url\":\"https:\/\/www.engineersgarage.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.engineersgarage.com\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.engineersgarage.com\/wp-content\/uploads\/2019\/08\/EGlogo.png\",\"contentUrl\":\"https:\/\/www.engineersgarage.com\/wp-content\/uploads\/2019\/08\/EGlogo.png\",\"width\":372,\"height\":52,\"caption\":\"Engineer's Garage - WTWH Media\"},\"image\":{\"@id\":\"https:\/\/www.engineersgarage.com\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/engineersgarage\",\"https:\/\/x.com\/EngineersGarage\",\"https:\/\/www.youtube.com\/channel\/UC0VITh11JSYk-UW7toLebUw\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.engineersgarage.com\/#\/schema\/person\/3c71105e3b40a1fd12c79c15602914b6\",\"name\":\"Nikhil Agnihotri\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.engineersgarage.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/d26b31563fa36169891c8c7d312e9b33de8a0e3da1340ec14ef2de84d5c43497?s=96&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/d26b31563fa36169891c8c7d312e9b33de8a0e3da1340ec14ef2de84d5c43497?s=96&r=g\",\"caption\":\"Nikhil Agnihotri\"},\"url\":\"https:\/\/www.engineersgarage.com\/author\/nikhil-agnihotri\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Raspberry Pi Project - Digital Door Peekhole","description":"Learn to design a digital peekhole using raspberry pi camera, PIR sensor and graphic LCD.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.engineersgarage.com\/raspberry-pi-camera-lcd-digital-door-peekhole\/","og_locale":"en_US","og_type":"article","og_title":"Raspberry Pi-based digital door peekhole","og_description":"Learn to design a digital peekhole using raspberry pi camera, PIR sensor and graphic LCD.","og_url":"https:\/\/www.engineersgarage.com\/raspberry-pi-camera-lcd-digital-door-peekhole\/","og_site_name":"Engineers Garage","article_publisher":"https:\/\/www.facebook.com\/engineersgarage","og_image":[{"width":1024,"height":768,"url":"https:\/\/www.engineersgarage.com\/wp-content\/uploads\/2021\/09\/P20-01.jpg","type":"image\/jpeg"}],"author":"Nikhil Agnihotri","twitter_card":"summary_large_image","twitter_creator":"@EngineersGarage","twitter_site":"@EngineersGarage","twitter_misc":{"Written by":"Nikhil Agnihotri","Est. reading time":"6 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.engineersgarage.com\/raspberry-pi-camera-lcd-digital-door-peekhole\/#article","isPartOf":{"@id":"https:\/\/www.engineersgarage.com\/raspberry-pi-camera-lcd-digital-door-peekhole\/"},"author":{"name":"Nikhil Agnihotri","@id":"https:\/\/www.engineersgarage.com\/#\/schema\/person\/3c71105e3b40a1fd12c79c15602914b6"},"headline":"Raspberry Pi-based digital door peekhole","datePublished":"2021-09-12T21:47:09+00:00","dateModified":"2023-11-02T18:57:46+00:00","mainEntityOfPage":{"@id":"https:\/\/www.engineersgarage.com\/raspberry-pi-camera-lcd-digital-door-peekhole\/"},"wordCount":940,"commentCount":0,"publisher":{"@id":"https:\/\/www.engineersgarage.com\/#organization"},"image":{"@id":"https:\/\/www.engineersgarage.com\/raspberry-pi-camera-lcd-digital-door-peekhole\/#primaryimage"},"thumbnailUrl":"https:\/\/www.engineersgarage.com\/wp-content\/uploads\/2021\/09\/P20-01.jpg","keywords":["Raspberry Pi","raspberry pi 5 inch lcd","raspberry pi camera","raspberry pi digital door peekhole","Raspberry pi graphic lcd","raspberry pi PIR sensor","raspberry pi project","raspberry pi projects"],"articleSection":["Electronic Projects","Microcontrollers","Raspberry pi","Sensors","Tutorials","Video"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.engineersgarage.com\/raspberry-pi-camera-lcd-digital-door-peekhole\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.engineersgarage.com\/raspberry-pi-camera-lcd-digital-door-peekhole\/","url":"https:\/\/www.engineersgarage.com\/raspberry-pi-camera-lcd-digital-door-peekhole\/","name":"Raspberry Pi Project - Digital Door Peekhole","isPartOf":{"@id":"https:\/\/www.engineersgarage.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.engineersgarage.com\/raspberry-pi-camera-lcd-digital-door-peekhole\/#primaryimage"},"image":{"@id":"https:\/\/www.engineersgarage.com\/raspberry-pi-camera-lcd-digital-door-peekhole\/#primaryimage"},"thumbnailUrl":"https:\/\/www.engineersgarage.com\/wp-content\/uploads\/2021\/09\/P20-01.jpg","datePublished":"2021-09-12T21:47:09+00:00","dateModified":"2023-11-02T18:57:46+00:00","description":"Learn to design a digital peekhole using raspberry pi camera, PIR sensor and graphic LCD.","breadcrumb":{"@id":"https:\/\/www.engineersgarage.com\/raspberry-pi-camera-lcd-digital-door-peekhole\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.engineersgarage.com\/raspberry-pi-camera-lcd-digital-door-peekhole\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.engineersgarage.com\/raspberry-pi-camera-lcd-digital-door-peekhole\/#primaryimage","url":"https:\/\/www.engineersgarage.com\/wp-content\/uploads\/2021\/09\/P20-01.jpg","contentUrl":"https:\/\/www.engineersgarage.com\/wp-content\/uploads\/2021\/09\/P20-01.jpg","width":1024,"height":768},{"@type":"BreadcrumbList","@id":"https:\/\/www.engineersgarage.com\/raspberry-pi-camera-lcd-digital-door-peekhole\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.engineersgarage.com\/"},{"@type":"ListItem","position":2,"name":"Raspberry Pi-based digital door peekhole"}]},{"@type":"WebSite","@id":"https:\/\/www.engineersgarage.com\/#website","url":"https:\/\/www.engineersgarage.com\/","name":"Engineers Garage","description":"Electronic Projects, Electrical Engineering Resources, Makers Articles and Product News","publisher":{"@id":"https:\/\/www.engineersgarage.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.engineersgarage.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.engineersgarage.com\/#organization","name":"Engineer's Garage - WTWH Media","url":"https:\/\/www.engineersgarage.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.engineersgarage.com\/#\/schema\/logo\/image\/","url":"https:\/\/www.engineersgarage.com\/wp-content\/uploads\/2019\/08\/EGlogo.png","contentUrl":"https:\/\/www.engineersgarage.com\/wp-content\/uploads\/2019\/08\/EGlogo.png","width":372,"height":52,"caption":"Engineer's Garage - WTWH Media"},"image":{"@id":"https:\/\/www.engineersgarage.com\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/engineersgarage","https:\/\/x.com\/EngineersGarage","https:\/\/www.youtube.com\/channel\/UC0VITh11JSYk-UW7toLebUw"]},{"@type":"Person","@id":"https:\/\/www.engineersgarage.com\/#\/schema\/person\/3c71105e3b40a1fd12c79c15602914b6","name":"Nikhil Agnihotri","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.engineersgarage.com\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/d26b31563fa36169891c8c7d312e9b33de8a0e3da1340ec14ef2de84d5c43497?s=96&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/d26b31563fa36169891c8c7d312e9b33de8a0e3da1340ec14ef2de84d5c43497?s=96&r=g","caption":"Nikhil Agnihotri"},"url":"https:\/\/www.engineersgarage.com\/author\/nikhil-agnihotri\/"}]}},"featured_image_src":"https:\/\/www.engineersgarage.com\/wp-content\/uploads\/2021\/09\/P20-01-600x400.jpg","featured_image_src_square":"https:\/\/www.engineersgarage.com\/wp-content\/uploads\/2021\/09\/P20-01-600x600.jpg","author_info":{"display_name":"Nikhil Agnihotri","author_link":"https:\/\/www.engineersgarage.com\/author\/nikhil-agnihotri\/"},"_links":{"self":[{"href":"https:\/\/www.engineersgarage.com\/wp-json\/wp\/v2\/posts\/64914","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.engineersgarage.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.engineersgarage.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.engineersgarage.com\/wp-json\/wp\/v2\/users\/387"}],"replies":[{"embeddable":true,"href":"https:\/\/www.engineersgarage.com\/wp-json\/wp\/v2\/comments?post=64914"}],"version-history":[{"count":0,"href":"https:\/\/www.engineersgarage.com\/wp-json\/wp\/v2\/posts\/64914\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.engineersgarage.com\/wp-json\/wp\/v2\/media\/64920"}],"wp:attachment":[{"href":"https:\/\/www.engineersgarage.com\/wp-json\/wp\/v2\/media?parent=64914"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.engineersgarage.com\/wp-json\/wp\/v2\/categories?post=64914"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.engineersgarage.com\/wp-json\/wp\/v2\/tags?post=64914"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}