{"id":2208,"date":"2018-07-29T18:09:04","date_gmt":"2018-07-29T15:09:04","guid":{"rendered":"https:\/\/salehalsaffar.com\/blog\/?p=2208"},"modified":"2018-07-29T08:52:27","modified_gmt":"2018-07-29T05:52:27","slug":"mini-project-power-samsung-smartthings-motion-sensor-from-wall-power","status":"publish","type":"post","link":"https:\/\/salehalsaffar.com\/blog\/mini-project-power-samsung-smartthings-motion-sensor-from-wall-power\/","title":{"rendered":"Mini-Project: Power Samsung SmartThings Motion Sensor From Wall Power"},"content":{"rendered":"<p>If you&#8217;re a heavy smart home user, you might find that\u00a0 you change batteries regularly for your motion sensors and remote devices. Sometimes changing it too often which costs a lot of money and it&#8217;s a lot to deal with. It uses the CR2477 battery which is hard to come by and if you find one, it&#8217;s expensive for what it provides.\u00a0 So I decided connect the <a href=\"https:\/\/www.amazon.com\/Samsung-SmartThings-F-IRM-US-2-Motion-Sensor\/dp\/B01IE35PCC\">Samsung SmartThings Motion Sensor (F-IRM-US-2)<\/a> to the household electricity. Just FYI this motion sensor is located at the dressing room to turn on the lights when there&#8217;s motion in the room, and then turns the light off when there&#8217;s no motion.<\/p>\n<p>So the RC2477 battery provides 3V power to the sensor, so I started looking for a 3V wall power socket and I <a href=\"https:\/\/www.ebay.com\/itm\/DC-3V-1000mA-1A-AC-Wall-Charger-Power-Supply-Cord-Switching-Adapter-5-5mm-2-1mm-\/132249039190?hash=item1ecaa83156\">found this<\/a>. You can get any wall power socket as long as it provides 3V of DC current for your device. I&#8217;m not worried about the current as they&#8217;ll always provide more than what I need. In fact, in the future I&#8217;m planning to use that same socket for second motion sensor using a <a href=\"https:\/\/www.superbrightleds.com\/moreinfo\/bar-strip-connectors\/nfls-4c3c-flexible-light-strip-3-way-connect\/1009\/2438\/\">3-Way connector<\/a>.<\/p>\n<p>Now I need a low-profile way to connect the wires to the motion sensor and I know exactly where I can get it. I got <a href=\"https:\/\/www.superbrightleds.com\/moreinfo\/power-wires\/flat-power-wire-2-conductor-8mm\/1527\/3554\/\">this flat wire<\/a> from <a href=\"https:\/\/www.superbrightleds.com\/\">SuperBrightLEDs<\/a>. I also need two connectors, <a href=\"https:\/\/www.superbrightleds.com\/moreinfo\/bar-strip-connectors\/nfls8-2chcps-8mm-flexible-light-strip-cps-adapter-cable-clamp\/1121\/2671\/\">one to connect the wire to the wall socket<\/a>, and <a href=\"https:\/\/www.superbrightleds.com\/moreinfo\/bar-strip-connectors\/nfls-2-contact-8mm-non-weatherproof-strip-pigtail-connector\/859\/2143\/\">a pigtail connector<\/a> to connect the wire to the motion sensor at the other end. For the wall socket connector make sure you get the correct size of the barrel bullet, 5.5&#215;2.1mm in my case.<\/p>\n<p>I&#8217;ve ended up gluing the motion sensor to the pigtail connector using a hot glue gun. I&#8217;ve decided not to solder just in case I needed to go back using the battery in the future. Just <strong>make sure you&#8217;re using the right polarity (+ve, -ve)<\/strong> when connecting the wires.<\/p>\n<p>This project was completed six months ago, and since then I&#8217;ve been using the motion sensor that way with zero problems.<\/p>\n<div id=\"attachment_2214\" style=\"width: 510px\" class=\"wp-caption aligncenter\"><img aria-describedby=\"caption-attachment-2214\" loading=\"lazy\" class=\"size-medium wp-image-2214\" src=\"https:\/\/salehalsaffar.com\/blog\/wp-content\/uploads\/2018\/07\/IMG_20180303_195156-500x375.jpg\" alt=\"Motion Sensor Positioning\" width=\"500\" height=\"375\" srcset=\"https:\/\/salehalsaffar.com\/blog\/wp-content\/uploads\/2018\/07\/IMG_20180303_195156-500x375.jpg 500w, https:\/\/salehalsaffar.com\/blog\/wp-content\/uploads\/2018\/07\/IMG_20180303_195156-768x576.jpg 768w, https:\/\/salehalsaffar.com\/blog\/wp-content\/uploads\/2018\/07\/IMG_20180303_195156-1024x768.jpg 1024w, https:\/\/salehalsaffar.com\/blog\/wp-content\/uploads\/2018\/07\/IMG_20180303_195156-1200x900-cropped.jpg 1200w, https:\/\/salehalsaffar.com\/blog\/wp-content\/uploads\/2018\/07\/IMG_20180303_195156-800x600.jpg 800w\" sizes=\"(max-width: 500px) 100vw, 500px\" \/><p id=\"caption-attachment-2214\" class=\"wp-caption-text\">This is where my motion sensor is located<\/p><\/div>\n<p>&nbsp;<\/p>\n<div id=\"attachment_2213\" style=\"width: 510px\" class=\"wp-caption aligncenter\"><img aria-describedby=\"caption-attachment-2213\" loading=\"lazy\" class=\"size-medium wp-image-2213\" src=\"https:\/\/salehalsaffar.com\/blog\/wp-content\/uploads\/2018\/07\/IMG_20180303_195237-500x375.jpg\" alt=\"\" width=\"500\" height=\"375\" srcset=\"https:\/\/salehalsaffar.com\/blog\/wp-content\/uploads\/2018\/07\/IMG_20180303_195237-500x375.jpg 500w, https:\/\/salehalsaffar.com\/blog\/wp-content\/uploads\/2018\/07\/IMG_20180303_195237-768x576.jpg 768w, https:\/\/salehalsaffar.com\/blog\/wp-content\/uploads\/2018\/07\/IMG_20180303_195237-1024x768.jpg 1024w\" sizes=\"(max-width: 500px) 100vw, 500px\" \/><p id=\"caption-attachment-2213\" class=\"wp-caption-text\">Flat wires barely visible<\/p><\/div>\n<p>&nbsp;<\/p>\n<div id=\"attachment_2212\" style=\"width: 510px\" class=\"wp-caption aligncenter\"><img aria-describedby=\"caption-attachment-2212\" loading=\"lazy\" class=\"size-medium wp-image-2212\" src=\"https:\/\/salehalsaffar.com\/blog\/wp-content\/uploads\/2018\/07\/IMG_20180303_195307-500x375.jpg\" alt=\"Wires glued to the motion sensor\" width=\"500\" height=\"375\" srcset=\"https:\/\/salehalsaffar.com\/blog\/wp-content\/uploads\/2018\/07\/IMG_20180303_195307-500x375.jpg 500w, https:\/\/salehalsaffar.com\/blog\/wp-content\/uploads\/2018\/07\/IMG_20180303_195307-768x576.jpg 768w, https:\/\/salehalsaffar.com\/blog\/wp-content\/uploads\/2018\/07\/IMG_20180303_195307-1024x768.jpg 1024w\" sizes=\"(max-width: 500px) 100vw, 500px\" \/><p id=\"caption-attachment-2212\" class=\"wp-caption-text\">Wires glued to the motion sensor<\/p><\/div>\n<p>&nbsp;<\/p>\n<div id=\"attachment_2211\" style=\"width: 510px\" class=\"wp-caption aligncenter\"><img aria-describedby=\"caption-attachment-2211\" loading=\"lazy\" class=\"size-medium wp-image-2211\" src=\"https:\/\/salehalsaffar.com\/blog\/wp-content\/uploads\/2018\/07\/IMG_20180303_195917-500x375.jpg\" alt=\"SuperBrightLEDs Pigtail Connector\" width=\"500\" height=\"375\" srcset=\"https:\/\/salehalsaffar.com\/blog\/wp-content\/uploads\/2018\/07\/IMG_20180303_195917-500x375.jpg 500w, https:\/\/salehalsaffar.com\/blog\/wp-content\/uploads\/2018\/07\/IMG_20180303_195917-768x576.jpg 768w, https:\/\/salehalsaffar.com\/blog\/wp-content\/uploads\/2018\/07\/IMG_20180303_195917-1024x768.jpg 1024w\" sizes=\"(max-width: 500px) 100vw, 500px\" \/><p id=\"caption-attachment-2211\" class=\"wp-caption-text\">Pigtail Connector<\/p><\/div>\n","protected":false},"excerpt":{"rendered":"<p>If you&#8217;re a heavy smart home user, you might find that\u00a0 you change batteries regularly for your motion sensors and remote devices. Sometimes changing it too often which costs a lot of money and it&#8217;s a lot to deal with. It uses the CR2477 battery which is hard to come by and if you find [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[154],"tags":[],"_links":{"self":[{"href":"https:\/\/salehalsaffar.com\/blog\/wp-json\/wp\/v2\/posts\/2208"}],"collection":[{"href":"https:\/\/salehalsaffar.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/salehalsaffar.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/salehalsaffar.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/salehalsaffar.com\/blog\/wp-json\/wp\/v2\/comments?post=2208"}],"version-history":[{"count":4,"href":"https:\/\/salehalsaffar.com\/blog\/wp-json\/wp\/v2\/posts\/2208\/revisions"}],"predecessor-version":[{"id":2216,"href":"https:\/\/salehalsaffar.com\/blog\/wp-json\/wp\/v2\/posts\/2208\/revisions\/2216"}],"wp:attachment":[{"href":"https:\/\/salehalsaffar.com\/blog\/wp-json\/wp\/v2\/media?parent=2208"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/salehalsaffar.com\/blog\/wp-json\/wp\/v2\/categories?post=2208"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/salehalsaffar.com\/blog\/wp-json\/wp\/v2\/tags?post=2208"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}