{"id":129350,"date":"2023-11-02T18:58:00","date_gmt":"2023-11-02T13:28:00","guid":{"rendered":"https:\/\/www.electronicsforu.com\/?p=129350"},"modified":"2024-08-05T16:48:37","modified_gmt":"2024-08-05T11:18:37","slug":"diy-night-security-light","status":"publish","type":"post","link":"https:\/\/www.electronicsforu.com\/electronics-projects\/diy-night-security-light","title":{"rendered":"Arduino-Based Night Security Light"},"content":{"rendered":"<div class=\"wp-block-image\">\n<figure class=\"alignright size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"178\" height=\"169\" src=\"https:\/\/www.electronicsforu.com\/wp-contents\/uploads\/2022\/06\/efy-tested.jpg\" alt=\"efy tested\" class=\"wp-image-97958\" style=\"width:119px;height:113px\"\/><\/figure><\/div>\n\n\n<p>This Arduino-based night security light can protect your home\/office from thieves\/intruders at night. The light glows when movement is detected in front of the PIR sensor. Simultaneously, a piezo buzzer also sounds.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Features of the Night Security Light System:<\/strong><\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>Automatic Activation:<\/strong> The light turns on when it&#8217;s dark and motion is detected by the PIR sensor.<\/li>\n\n\n\n<li><strong>Duration Control:<\/strong> Upon detecting movement, the light remains on for ten seconds. If motion is detected again within this time, the countdown restarts.<\/li>\n\n\n\n<li><strong>Daylight Sensing:<\/strong> The system remains off during daylight even if motion is detected.<\/li>\n\n\n\n<li><strong>Incorporation of a Piezo Buzzer:<\/strong> A piezo buzzer sounds simultaneously with the light to alert during intrusions.<\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\">Video Tutorial In English<\/h2>\n\n\n\n<figure class=\"wp-block-embed aligncenter is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<span class=\"Rs2Pf09BGWcV1tjH3pxSLFXAzwE\"><iframe loading=\"lazy\" title=\"LIVE SESSION (English Version): Arduino based night security light\" width=\"696\" height=\"392\" src=\"https:\/\/www.youtube.com\/embed\/ButjIbIhrWI?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe><\/span>\n<\/div><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Video Tutorial In Tamil<\/h2>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<span class=\"x2cJLZ7N8evymPzQOr\"><iframe loading=\"lazy\" title=\"LIVE SESSION (Tamil Version): Arduino based night security light\" width=\"696\" height=\"392\" src=\"https:\/\/www.youtube.com\/embed\/LrdX8z8-dNs?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe><\/span>\n<\/div><\/figure>\n\n\n\n<p>The prototype of the Arduino-based night security light system is shown in Fig. 1.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"500\" height=\"378\" src=\"https:\/\/www.electronicsforu.com\/wp-contents\/uploads\/2023\/11\/DIY-Night-Security-Light-System.jpg\" alt=\"DIY Night Security Light System using Arduino\" class=\"wp-image-129750\" style=\"width:415px;height:313px\"\/><figcaption class=\"wp-element-caption\">Fig. 1: DIY Night Security Light System on Breadboard<\/figcaption><\/figure><\/div>\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td colspan=\"2\"><strong>Components Required<\/strong><\/td><\/tr><tr><td colspan=\"2\"><strong>Semiconductors:<\/strong><\/td><\/tr><tr><td>&#8211; BC547 NPN transistor<\/td><td>&#8211; <a href=\"https:\/\/www.electronicsforu.com\/technology-trends\/learn-electronics\/arduino-basics-schematics\">Arduino board<\/a><\/td><\/tr><tr><td>D1<\/td><td>&#8211; 1N4007 rectifier diode<\/td><\/tr><tr><td><strong>Resistors (all 1\/4-watt, \u00b15% carbon):<\/strong><\/td><td><\/td><\/tr><tr><td>R1<\/td><td>&#8211; 10-kilo-ohm<\/td><\/tr><tr><td>R2-R3<\/td><td>&#8211; 1-kilo-ohm<\/td><\/tr><tr><td>T1, T2<\/td><td>&#8211; <a href=\"https:\/\/www.sparkfun.com\/datasheets\/Components\/BC546.pdf\" target=\"_blank\" rel=\"noreferrer noopener\">BC547 NPN transistor<\/a><\/td><\/tr><tr><td colspan=\"2\"><strong>Miscellaneous:<\/strong><\/td><\/tr><tr><td>CON1, CON3,<\/td><td><\/td><\/tr><tr><td>CON4<\/td><td>&#8211; 2-pin connector<\/td><\/tr><tr><td>CON2<\/td><td>&#8211; 3-pin connector for PIR<\/td><\/tr><tr><td>PZ1<\/td><td>&#8211; Piezo buzzer<\/td><\/tr><tr><td><\/td><td>&#8211; PIR motion sensor<\/td><\/tr><tr><td><\/td><td>&#8211; LDR<\/td><\/tr><tr><td><\/td><td>&#8211; Breadboard<\/td><\/tr><tr><td><\/td><td>&#8211; Jumper wires<\/td><\/tr><tr><td><\/td><td>&#8211; 12V, 1C\/O relay<\/td><\/tr><tr><td><\/td><td>&#8211; 60W, 20V AC bulb<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Night Security Light System &#8211; Circuit<\/strong><\/h2>\n\n\n\n<p>The circuit diagram of the Arduino-based night security light is shown in Fig. 2. It is built around an Arduino Uno board (board1), PIR sensor connected across CON2, two BC547 npn transistors (T1, T2), a 12V one changeover relay (RL1), small LDR (LDR1), a piezo buzzer (PZ1), a 60W 230V AC bulb connected across CON4, and few other components.<\/p>\n\n\n\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\/129350\" \/>\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>This Arduino-based night security light can protect your home\/office from thieves\/intruders at night. The light glows when movement is detected in front of the PIR sensor. Simultaneously, a piezo buzzer also sounds. Features of the Night Security Light System: Video Tutorial In English Video Tutorial In Tamil The prototype of the Arduino-based night security light [&hellip;]<\/p>\n","protected":false},"author":106036,"featured_media":129751,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[22,23,3805,6072,3713],"tags":[51,1910,1985,110,11985],"class_list":{"0":"post-129350","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-arduino-projects","10":"category-beginners-projects","11":"category-premium","12":"tag-arduino","13":"tag-diy","14":"tag-diy-projects","15":"tag-electronics-projects","16":"tag-nov-2023"},"_links":{"self":[{"href":"https:\/\/www.electronicsforu.com\/wp-json\/wp\/v2\/posts\/129350","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\/106036"}],"replies":[{"embeddable":true,"href":"https:\/\/www.electronicsforu.com\/wp-json\/wp\/v2\/comments?post=129350"}],"version-history":[{"count":1,"href":"https:\/\/www.electronicsforu.com\/wp-json\/wp\/v2\/posts\/129350\/revisions"}],"predecessor-version":[{"id":144717,"href":"https:\/\/www.electronicsforu.com\/wp-json\/wp\/v2\/posts\/129350\/revisions\/144717"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.electronicsforu.com\/wp-json\/wp\/v2\/media\/129751"}],"wp:attachment":[{"href":"https:\/\/www.electronicsforu.com\/wp-json\/wp\/v2\/media?parent=129350"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.electronicsforu.com\/wp-json\/wp\/v2\/categories?post=129350"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.electronicsforu.com\/wp-json\/wp\/v2\/tags?post=129350"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}