![PIR Motion Sensor - WEMOS D1 Mini + HC-SR501 - Philips Hue](https://3dcrawler.ams3.digitaloceanspaces.com/thingiverse/2955991_PIR%20Motion%20Sensor%20-%20WEMOS%20D1%20Mini%20%2B%20HC-SR501%20-%20Philips%20Hue_129c2ab18c6227af754e41f79893e21392f5c58c.jpg)
PIR Motion Sensor - WEMOS D1 Mini + HC-SR501 - Philips Hue
Description
After Making One Of Qrome'S Awesome Print Monitors I Noticed How Similar In Size The Oled Module And A Pir Sensor I Had To Hand Were. So Instead Of Reinventing The Wheel And Creating A New Body For The Motion Sensor I Remixed Qrome'S Casing. I Had To Extend The Case Lengthways To Incorporate A Slightly Bigger Wemos D1 Mini Board (34.5Mm) And Also Had To Extended The Height To Fit The Hc-Sr501 Pir Sensor. I Put Screw Holes In To Screw The Pir To But It Pretty Much Friction Fits In Place With No Glue Or Screws Needed. I'M Using Mine For A Motion Sensor For Philips Hue But It Can Be Used For Whatever You Feel Like. For Anyone Who Wants To Try: I Used The Code From Here: Https://Github.Com/Leskoiam/Esp8266Huemotion I Added An Ntp Server To The Code. I'M Using Uk.Pool.Ntp.Org So Search For This Line And Replace With Your Region. It Will Turn On A Light (Or Group Of Lights) Full Brightness Between 5Pm And 12Am And 45% Brightness Between 12Am And 5Am. My Modded Code: Https://Pastebin.Com/Ukcaas3P You Will Need To Register A User On Your Hue Bridge. Details Of How To Do This Are Listed Here Along With Basic Usage Of The Hue Api: Https://Developers.Meethue.Com/Develop/Get-Started-2/ My Code Uses The User "Newdeveloper" As Per The Hue Getting Started Guide.
Statistics
Likes
129
Downloads
0