Author Options:

6volt powering locking bolts but need diagram to wire limit switches Answered

Hi guys

I am need of some advice and help if possible, I will try and explain as clear as I can.

I have a lockup which I have modified to use locking bolts on a motor and I have a swipe card reader and pcb which when swiped it fires the output to power the motor (6v) which works perfect for 6 seconds of the locking bolts going in and out. I am looking for a way so when the locking bolts go to the locked position it hits some kind of limit switch and stops there (which I have done in the past) but then I want to be able to swipe my card to open the bolts and when it gets to he open position it hits another limit switch and stays open until I want to swipe and close the locking bolts.

I don't want this to be timed I need this to stop on open and closed position but able to operate when either is pressed,

Can this be done in anyway?


The forums are retiring in 2021 and are now closed for new topics and comments.

8 years ago

I swear i ad left a comment for this the other day.

Anyway, You will need more then a couple of limit switches to pull this off depending on how the whole motorized locking mechanism works, and what controller is being used to operate the lock based on the card swipe. If you could provide more information on these items that would help.

It sounds like the lock is spring loaded. So when the card reader reads a valid swipe 6V is supplied to the solenoid for 6 second to open the lock. After 6 second the power is turned off and the latch returns to the closed position. If that is the case you'll need to change the software that controls that action. Removing the 6 second delay in the code and adding a bit of code that tells the system to wait for another valid card swipe before turning off the power. Problem is maintaining a constant charge on the motor may wear it out faster.

If its not a solenoid and is in fact a motor that is turning continuously and take 6 seconds to make a full revolution returning the lock to its closed position. You can do it with hardware but you'll need more then a couple of limit switches to pull it off. Sure you can set up one switch to stop the motor once the lock is opened but how will you get power back to the motor and bypass the limit switch to start it up again? I'm pretty sure you can set up the limit switch and a couple of transistors to pull it off i just don't know how to do it. But i do think an LDR light/dark activator circuit could be used as a base to start from. Just a thought.