I want to make a way to remotely find out if the deadbolt was locked or not. On a pocket door, a deadbolt comes out of the door edge and has some flaps that go up and down inside a receiver box to secure the door. I want to be able to check if it was locked or not. Adding a magnet to the leading edge of the deadbolt for hall sensing would not look great and it might get knocked off.
https://www.parallax.com/product/555-27401
I thought about putting this inside the receiver box that sits in the jamb, so that if the deadbolt is pushed in, the sensor would detected it, however the problem is that the deadbolt with either be about .25" away if locked and 1.25" away if not locked. I am not sure how this sensor would work at such a small range of distance. I don't want to put a spring loaded switch if possible.
Any suggestions?
I tested a 38k modulated LED on one side of the box, and a 38k detector on the other side, and when the deadbolt is inserted it blocks the light. It adds some bulk on either side of the receiver box, and also over time may die and will be difficult to get access to it. Also, I am thinking the light may reflect and get around the deadbolt.
In the drawing, #20 is the receiver box that is a very thin metal, easily drilled.
https://www.parallax.com/product/555-27401
I thought about putting this inside the receiver box that sits in the jamb, so that if the deadbolt is pushed in, the sensor would detected it, however the problem is that the deadbolt with either be about .25" away if locked and 1.25" away if not locked. I am not sure how this sensor would work at such a small range of distance. I don't want to put a spring loaded switch if possible.
Any suggestions?
I tested a 38k modulated LED on one side of the box, and a 38k detector on the other side, and when the deadbolt is inserted it blocks the light. It adds some bulk on either side of the receiver box, and also over time may die and will be difficult to get access to it. Also, I am thinking the light may reflect and get around the deadbolt.
In the drawing, #20 is the receiver box that is a very thin metal, easily drilled.