Print Page | Close Window

momentary to flip flop momentary

Printed From: the12volt.com
Forum Name: Relays
Forum Discription: Relay Diagrams, SPDT Relays, SPST Relays, DPDT Relays, Latching Relays, etc.
URL: https://www.the12volt.com/installbay/forum_posts.asp?tid=110453
Printed Date: May 13, 2025 at 8:14 PM


Topic: momentary to flip flop momentary

Posted By: bones_duece
Subject: momentary to flip flop momentary
Date Posted: January 08, 2009 at 9:39 AM

What I would like to accomplish is using one button to lock and unlock  some 2-wire polarity reversing door lock actuators.  I will be installing a Compustar with negative door lock/unlock triggers and adding a momentary push button to both lock and unlock.  I looked though many pages on the forum but I couldnt find anyone else trying to do this Im sure its pretty simple but I cannot find a solution.  Oh, if it matters to anyone, this will be being installed on a 2000 F-650 with the factory door lock actuators, the truck never had power locks so I want to build my own switch sets for each door. 



Replies:

Posted By: KPierson
Date Posted: January 08, 2009 at 12:58 PM

It can be done using a D flip flop in toggle mode.  Search for a D flip flop toggle circuit and try to find one with a debounced input - you'll most likely need it. 

On the outputs of the flip flop you'll need some timing circuitry that outputs a single pulse each time the button is pushed for a predetermined amount of time.  That should be fairly easy to find schematics for, as well.  I believe the12volt even has a relay version of a constant to single pulse relay circuit that could be a basis for what you are doing.  You wouldn't want to include the relays though as that would drain the battery.

Do you want to sync the single pushbutton up so that it always performs the correct function (ie if the doors are already locked it will unlock them intead of trying to relock them if lock is the opposite state that the circuit it is)?  If so, that will be a bit more difficult.



-------------
Kevin Pierson




Posted By: bones_duece
Date Posted: January 08, 2009 at 1:14 PM
k, the state of the door lock shouldnt need to be accounted for.   I was thinking I am going to end up with some sort of convoluted looking relay setup I may just end up using two switches due to this but I thought one switch would be much simpler then its ending up being.  Thanks for the insight I will try to piece some of the relay tutorials and see if I can on paper make it work then go for the real deal.




Posted By: dualsport
Date Posted: January 24, 2009 at 11:55 AM
You may be able to set up a circuit where you would press the button once to lock, and then double tap it to unlock. It would need electronics to do it though, so it wouldn't be as simple as just getting two switches to do the same thing. You might want to just keep things simple.




Posted By: hotwaterwizard
Date Posted: February 02, 2009 at 1:44 AM
posted_image

-------------
John DeRosa (Hotwaterwizard)
Stockton California
When in doubt, try it out !




Posted By: hotwaterwizard
Date Posted: February 02, 2009 at 1:47 AM
posted_image

-------------
John DeRosa (Hotwaterwizard)
Stockton California
When in doubt, try it out !





Print Page | Close Window