HC-SR501 PIR Sensor Compact Enclosure

HC-SR501 PIR Sensor Compact Enclosure

thingiverse

Latching PCB and backlid. The three-pin header must be bent to fit when used for connection (photo), or wires can be soldered directly to the PCB. If electrolytic capacitors obstruct corner latches, they need to be gently bent out of the way (photo). It's worth noting that the black lens is just a permanent marker. Initially, I wanted to limit the sensor's field of view by painting part of the lens, but this didn't work and the sensor remained sensitive in covered areas. To match the box color, I painted the entire lens with marker, which will eventually limit FOV another way. Perhaps more opaque paint will be effective; it hasn't been tried yet. It's unclear whether there are multiple versions of this sensor, but customization is straightforward: set dimensions at the top of the SCAD file and add two times nozzle diameter to each dimension. My sensors measure 32.4 x 24.4mm in size, with a 22.9mm lens diameter; however, inner dimensions need to be slightly enlarged or they won't fit properly. Using Cura 4.4.0 may not provide accurate inner dimensions, so another slicer might work better for example; designed opening for the lens is 23.8mm but printed measures only 23.2mm. I'm relatively new to 3D modeling and have just discovered OpenSCAD in a few days, with this being my first design.

Download Model from thingiverse

With this file you will be able to print HC-SR501 PIR Sensor Compact Enclosure 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 HC-SR501 PIR Sensor Compact Enclosure.