{"id":118219,"date":"2023-05-11T10:06:42","date_gmt":"2023-05-11T04:36:42","guid":{"rendered":"https:\/\/www.electronicsforu.com\/?p=118219"},"modified":"2024-08-29T16:20:13","modified_gmt":"2024-08-29T10:50:13","slug":"raspberry-pi-intrusion-detection-system","status":"publish","type":"post","link":"https:\/\/www.electronicsforu.com\/electronics-projects\/raspberry-pi-intrusion-detection-system","title":{"rendered":"Intrusion Detection and Image Storage Using Pi Camera and Firebase"},"content":{"rendered":"<p>The proposed project is a Raspberry Pi-based intrusion detection system that uses a passive infrared (PIR) sensor to detect motion and a Pi camera to take pictures. The images obtained are stored in Firebase, which is Google\u2019s mobile platform that helps you quickly develop high-quality apps.<img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-101611 alignright\" src=\"https:\/\/www.electronicsforu.com\/wp-contents\/uploads\/2022\/08\/efy-tested-1.jpg\" alt=\"efy test\" width=\"178\" height=\"163\" \/><\/p>\n<p>Any area (indoors or outdoors) can be put under observation and even a slight movement by any heat-radiating body, such as a human being or an animal like a cat or dog, can be detected. On detection, the sensor triggers the camera to capture an image of the area. This system for intrusion detection can be modified to capture wildlife photos, face recognition, or other such applications.<\/p>\n<p>Without Firebase settings enabled, the captured images are by default saved in Raspberry Pi. Either way, the autogenerated name itself contains the time and date of the movement in the area under observation, thereby giving the added advantage for user verification of the zone of observation (and verification of the same against expected or unexpected trespassing) by checking the folder. The same can be accessed on the Firebase system on your Android\/iOS device or via a web app.<\/p>\n<table dir=\"ltr\" border=\"1\" cellspacing=\"0\" cellpadding=\"0\">\n<colgroup>\n<col width=\"137\" \/>\n<col width=\"95\" \/>\n<col width=\"241\" \/><\/colgroup>\n<tbody>\n<tr>\n<td style=\"text-align: center;\" colspan=\"3\" rowspan=\"1\" data-sheets-value=\"{&quot;1&quot;:2,&quot;2&quot;:&quot;Table 1&quot;}\"><strong>Intrusion Detection System<\/strong><\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: center;\" colspan=\"3\" rowspan=\"1\" data-sheets-value=\"{&quot;1&quot;:2,&quot;2&quot;:&quot;Bill of Material&quot;}\"><strong>Bill of Material<\/strong><\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: center;\" data-sheets-value=\"{&quot;1&quot;:2,&quot;2&quot;:&quot;Components&quot;}\"><strong>Components<\/strong><\/td>\n<td style=\"text-align: center;\" data-sheets-value=\"{&quot;1&quot;:2,&quot;2&quot;:&quot;Quantity&quot;}\"><strong>Quantity<\/strong><\/td>\n<td style=\"text-align: center;\" data-sheets-value=\"{&quot;1&quot;:2,&quot;2&quot;:&quot;Description&quot;}\"><strong>Description<\/strong><\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: center;\" data-sheets-value=\"{&quot;1&quot;:2,&quot;2&quot;:&quot;Raspberry Pi 3b+&quot;}\">Raspberry Pi 3b+<\/td>\n<td style=\"text-align: center;\" data-sheets-value=\"{&quot;1&quot;:3,&quot;3&quot;:1}\">1<\/td>\n<td style=\"text-align: center;\" data-sheets-value=\"{&quot;1&quot;:2,&quot;2&quot;:&quot;For programming&quot;}\">For programming<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: center;\" data-sheets-value=\"{&quot;1&quot;:2,&quot;2&quot;:&quot;PIR sensor&quot;}\">PIR sensor<\/td>\n<td style=\"text-align: center;\" data-sheets-value=\"{&quot;1&quot;:3,&quot;3&quot;:1}\">1<\/td>\n<td style=\"text-align: center;\" data-sheets-value=\"{&quot;1&quot;:2,&quot;2&quot;:&quot;Motion sensor&quot;}\">Motion sensor<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: center;\" data-sheets-value=\"{&quot;1&quot;:2,&quot;2&quot;:&quot;Pi cam&quot;}\">Pi cam<\/td>\n<td style=\"text-align: center;\" data-sheets-value=\"{&quot;1&quot;:3,&quot;3&quot;:1}\">1<\/td>\n<td style=\"text-align: center;\" data-sheets-value=\"{&quot;1&quot;:2,&quot;2&quot;:&quot;5MP Pi camera&quot;}\">5MP Pi camera<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: center;\" data-sheets-value=\"{&quot;1&quot;:2,&quot;2&quot;:&quot;Jumper wire&quot;}\">Jumper wire<\/td>\n<td style=\"text-align: center;\" data-sheets-value=\"{&quot;1&quot;:3,&quot;3&quot;:3}\">3<\/td>\n<td style=\"text-align: center;\" data-sheets-value=\"{&quot;1&quot;:2,&quot;2&quot;:&quot;Female-female jumper&quot;}\">Female-female jumper<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<div class=\"mepr_error\"><div class=\"locked-content\">\n<b>EFY++ CONTENT: ACCESS TO THIS CONTENT IS FREE! BUT YOU NEED TO BE A REGISTERED USER.<\/b><\/p>\n<p>Oops! This is an EFY++ article, which means it's our Premium Content. You need to be a Registered User of our website to read its complete content.<\/p>\n<p><b>Good News: <\/b>You can register to our website for FREE! <a href=\"https:\/\/www.electronicsforu.com\/plans\/subscription-plans\" target=\"_blank\" rel=\"noopener\">CLICK HERE<\/a> to register now.<\/p>\n<p><b>Already a registered member? <\/b>If YES, then simply login to you account below. (TIP: Use 'forgot password' feature and reset and save your new password in your browser, if you forgot the last one!)\n<\/div>\n<\/div><div>\n<div class=\"mp_wrapper mp_login_form\">\n                  <!-- mp-login-form-start -->     <form name=\"mepr_loginform\" id=\"mepr_loginform\" class=\"mepr-form\" action=\"https:\/\/www.electronicsforu.com\/login\" method=\"post\">\n            <div class=\"mp-form-row mepr_username\">\n        <div class=\"mp-form-label\">\n                              <label for=\"user_login\">Username<\/label>\n        <\/div>\n        <input type=\"text\" name=\"log\" id=\"user_login\" value=\"\" \/>\n      <\/div>\n      <div class=\"mp-form-row mepr_password\">\n        <div class=\"mp-form-label\">\n          <label for=\"user_pass\">Password<\/label>\n          <div class=\"mp-hide-pw\">\n            <input type=\"password\" name=\"pwd\" id=\"user_pass\" value=\"\" \/>\n            <button type=\"button\" class=\"button mp-hide-pw hide-if-no-js\" data-toggle=\"0\" aria-label=\"Show password\">\n              <span class=\"dashicons dashicons-visibility\" aria-hidden=\"true\"><\/span>\n            <\/button>\n          <\/div>\n        <\/div>\n      <\/div>\n            <div>\n        <label><input name=\"rememberme\" type=\"checkbox\" id=\"rememberme\" value=\"forever\" \/> Remember Me<\/label>\n      <\/div>\n      <div class=\"mp-spacer\">&nbsp;<\/div>\n      <div class=\"submit\">\n        <input type=\"submit\" name=\"wp-submit\" id=\"wp-submit\" class=\"button-primary mepr-share-button \" value=\"Log In\" \/>\n        <input type=\"hidden\" name=\"redirect_to\" value=\"\/wp-json\/wp\/v2\/posts\/118219\" \/>\n        <input type=\"hidden\" name=\"mepr_process_login_form\" value=\"true\" \/>\n        <input type=\"hidden\" name=\"mepr_is_login_page\" value=\"false\" \/>\n      <\/div>\n    <\/form>\n    <div class=\"mp-spacer\">&nbsp;<\/div>\n    <div class=\"mepr-login-actions\">\n      <a href=\"https:\/\/www.electronicsforu.com\/login?action=forgot_password\">Forgot Password<\/a>\n    <\/div>\n\n      \n    <!-- mp-login-form-end --> \n  <\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>The proposed project is a Raspberry Pi-based intrusion detection system that uses a passive infrared (PIR) sensor to detect motion and a Pi camera to take pictures. The images obtained are stored in Firebase, which is Google\u2019s mobile platform that helps you quickly develop high-quality apps. Any area (indoors or outdoors) can be put under [&hellip;]<\/p>\n","protected":false},"author":28025,"featured_media":118227,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[22,23,6070,3713],"tags":[8527,1985,110,8283,83,10413,113],"class_list":{"0":"post-118219","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-electronics-projects","8":"category-hardware-diy","9":"category-advanced-projects","10":"category-premium","11":"tag-advance-project","12":"tag-diy-projects","13":"tag-electronics-projects","14":"tag-engineering-projects","15":"tag-featured","16":"tag-may-2023","17":"tag-mini-projects"},"_links":{"self":[{"href":"https:\/\/www.electronicsforu.com\/wp-json\/wp\/v2\/posts\/118219","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.electronicsforu.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.electronicsforu.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.electronicsforu.com\/wp-json\/wp\/v2\/users\/28025"}],"replies":[{"embeddable":true,"href":"https:\/\/www.electronicsforu.com\/wp-json\/wp\/v2\/comments?post=118219"}],"version-history":[{"count":2,"href":"https:\/\/www.electronicsforu.com\/wp-json\/wp\/v2\/posts\/118219\/revisions"}],"predecessor-version":[{"id":147187,"href":"https:\/\/www.electronicsforu.com\/wp-json\/wp\/v2\/posts\/118219\/revisions\/147187"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.electronicsforu.com\/wp-json\/wp\/v2\/media\/118227"}],"wp:attachment":[{"href":"https:\/\/www.electronicsforu.com\/wp-json\/wp\/v2\/media?parent=118219"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.electronicsforu.com\/wp-json\/wp\/v2\/categories?post=118219"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.electronicsforu.com\/wp-json\/wp\/v2\/tags?post=118219"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}