• Models
  • Contests
  • Slicer
  • Login
  • Start Here
    thingiverse-iconprintables-iconcults3d-iconmakerworld-iconmyminifactory-icon

    3D GO

    3D ModelsContestsCollectionsSaved ModelsOn a mobile device?

3D GO

Privacy Policy
PIR Motion Sensor - WEMOS D1 Mini + HC-SR501 - Philips Hue 3D Printer File Image 1
PIR Motion Sensor - WEMOS D1 Mini + HC-SR501 - Philips Hue 3D Printer File Image 2
PIR Motion Sensor - WEMOS D1 Mini + HC-SR501 - Philips Hue 3D Printer File Image 3
PIR Motion Sensor - WEMOS D1 Mini + HC-SR501 - Philips Hue 3D Printer File Image 4
PIR Motion Sensor - WEMOS D1 Mini + HC-SR501 - Philips Hue 3D Printer File Image 5
PIR Motion Sensor - WEMOS D1 Mini + HC-SR501 - Philips Hue 3D Printer File Thumbnail 1
PIR Motion Sensor - WEMOS D1 Mini + HC-SR501 - Philips Hue 3D Printer File Thumbnail 2
PIR Motion Sensor - WEMOS D1 Mini + HC-SR501 - Philips Hue 3D Printer File Thumbnail 3
PIR Motion Sensor - WEMOS D1 Mini + HC-SR501 - Philips Hue 3D Printer File Thumbnail 4
PIR Motion Sensor - WEMOS D1 Mini + HC-SR501 - Philips Hue 3D Printer File Thumbnail 5

PIR Motion Sensor - WEMOS D1 Mini + HC-SR501 - Philips Hue

beerman_uk avatarbeerman_uk

June 11, 2018

thingiverse-icon
DescriptionCommentsTags

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.

License:

Creative Commons - Attribution - Non-Commercial

Related Models

ESP8266 WiFi Weather Station with Color TFT Display preview image

ESP8266 WiFi Weather Station with Color TFT Display

adafruit profile image

adafruit

6,545

Split-Flap Display preview image

Split-Flap Display

David Kingsman profile image

David Kingsman

5,661

NFC Tag Reader: ESP8266/32-C6/C3 Supermini + PN532 preview image

NFC Tag Reader: ESP8266/32-C6/C3 Supermini + PN532

Fabrice profile image

Fabrice

153

Smart Nanoleaf Replica preview image

Smart Nanoleaf Replica

Surrbradl08 profile image

Surrbradl08

5,168

GeoLeaf - 3D Print your own Nanoleaf project - Alexa, Hue and App integration preview image

GeoLeaf - 3D Print your own Nanoleaf project - Alexa, Hue and App integration

DIY Machines profile image

DIY Machines

4,360

ESPHome - Sensore di movimento per domotica preview image

ESPHome - Sensore di movimento per domotica

F3DM Print profile image

F3DM Print

6

Moon Lamp (LED Strip Mount WS2812B) preview image

Moon Lamp (LED Strip Mount WS2812B)

AmazingBatman profile image

AmazingBatman

4,666

Customizable parametric stable and waterproof electronics ip65 ip67 project box enclosure case housing preview image

Customizable parametric stable and waterproof electronics ip65 ip67 project box enclosure case housing

pb-tec profile image

pb-tec

1,368