Wemos HC SR501 PIR box

Wemos HC SR501 PIR box

thingiverse

Simple enclosure to combine a Wemos mini and HC-SR501 into a PIR. Design is such that the HC-SR501 fits fairly tight, without screws, as does the Wemos. The top also can be clicked on without the need for any screws and such. Everything just clicks together easily. Already made a bunch of these and it functions really well. Caution: the HC-SR501 is known to suffer from high frequency interference. Simplest solution I have found (on google) is to add (solder) a 220nF ceramic capacitor between pins 12 and 13 of the control chip (BISS0001, see https://www.letscontrolit.com/forum/viewtopic.php?t=671&start=20). This design works well with the latest stable build of espeasy mega: Connect the PIR to the 5V/GND of the wemos and the data wire to D0. Then add a device in espeasy using D0 (GPIO-16) as a normal switch (switch input) and bob's your uncle! D0 is pulled down by default which is exactly what's needed here. I will upload the individual components as well as different covers for other devices (VL53L0X distance sensor). Tinkercad design at https://www.tinkercad.com/things/jomRHGvsCWQ

Download Model from thingiverse

With this file you will be able to print Wemos HC SR501 PIR box with your 3D printer. Click on the button and save the file on your computer to work, edit or customize your design. You can also find more 3D designs for printers on Wemos HC SR501 PIR box.