Hi there!
I’m quite new to the field, but do have a question I couldn’t find answered anywhere else.
I’m trying to find a reliable way to lock a box from the inside. Now I’ve come as far as thinking of a locking mechanism, but am having trouble selecting the right equipment. My idea was, that the lid of the box will have a metal pin attached that slides on the inside of the box when closing. This metal pin will have a hole in it, in which another pin will slide, locking the box shut. The latter pin will need to be operated by a motor/stepper/servo or something similar.
Inside the box I’ll have some logic deciding wether or not the box will need to be locked, and I was thinking about using a servo to actually lock the box. My biggest concern here is people trying to open this box without proper access, while the logic in the box is powered down. I know that when using a digital servo, my servo will stay in position when no power is applied to it, but this is limited to the gears used in the servo.
Has anyone ever made a lock like this, or does anyone have info about which servo-torque to choose so that people cannot accidentally (or purposely with magnets, etc) open the box when they are not supposed to?
Any hints, including completely different locking mechanisms are appreciated!