Large sensor? Neh, I don’t think so; the image above will probably display the enclosure larger than life – well, on my 23″ screen it does 😉 The dimensions of the enclosure are 44 x 30 x 16 mm and it houses a PIR, a Maxim DS18B20 and a LDR.
Motion, Temperature, Light. That’s what I think I’ll need for my new sensor. Humidity will be left out; although I do have humidity sensors in my house, I don’t use them that much. For the bathroom a humidity sensor would be nice, but not for the rest of the rooms upstairs. Cause that’s where this new sensor is going to be used; at least 3 of these, one for each room and a slightly different version for the bathroom.
I’ve used this enclosure before with other PIR sensors, but this time I wanted to see if there was enough room for some more; I must say, it’s a bit crowded inside the enclosure now. The PIR has a PCB whose dimensions are 32 x 24 mm and it has lots of components, so I really need the 16 mm depth of the enclosure.
The PIR I’m using has a detachable lens, so after carefully measuring where the center of the 12 mm hole should be drilled through the cover of the enclosure, I could stick the PIR through that hole and put the lens back on the sensor. I did have to cut away some wires on the PIR side of the PCB, cause otherwise the distance between the PCB and the top cover of the enclosure was too large. After that, the PCB was glued to the top cover of the enclosure.
For the 1-Wire DS18B20 and LDR I drilled 5 x 0.5 mm holes, put the legs of these 2 sensors through the holes and fixed the legs with a tiny drop of glue, just enough to keep them in place. The housing of the DS18B20 sticks out of the enclosure very little; you don’t see the legs sticking out. The LDR sticks out a bit more, so that the LDR won’t be hindered by any shades from the DS18B20.
Well, that all for now – now I’m facing the fact that I have to solder these 3 sensors to a single cable that has to enter this crowded enclosure somewhere… phew, what am I getting myself into?.. I hope this won’t get too messy