KY-003 Magnetic Hall Effect Sensor Case

This neat protective case features a secure clip-on lid, full access to the pins on the back, and the ability to screw-fix it in place. You can screw it in and slide it forwards or backwards to position it before adding the final fixing screw, or simply use 3M double-sided tape — they are so light that tape works perfectly (which is what I did).
Internal size is 21 mm × 17 mm, so it should be a little larger than most KY-003 modules. I had a couple of slightly different sizes, and this fits them with a bit of clearance.
I needed a holder to fix the sensor to the inside of my wardrobes so the lights would come on when I opened the doors. I used the KY-003 with a 5V relay and a few short strips of 5V LED lighting. I made this case specifically for that purpose, but it may be useful to someone else too. I also made a matching case for the 5V relay to keep everything neat — that one is (or will be) in my other models.


