Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
04/27/07 05:44
Modified:
  04/27/07 06:03

Read: times


 
#138076 - Overlooking the obvious?
Responding to: ???'s previous message
Bruce Grenade said:
I've got to be doing something wrong, so any help is appreciated.

I have a momentary switch (normally open). I'm trying to use a D-Type flip-flop to toggle the enable pin of a regulator. Ideally, if a user presses and releases the button the power toggles. I've added a RC filter in hopes of preventing any bounce issue and am using a CD4013 for the flip-flop.

Is this the correct way to accomplish what I'm trying to do? Maybe a better method? I don't want to use a "hard" switch.

Thanks
Bruce

There is no one correct way to do this. That said, if you are willing to use an SPDT switch, a simple RS latch, T flip-flop, and two resistors, you can have a complete solution, including virtually instant, consistently flawless debouncing. You'll be free from all worries of RC delays and inputs that float.

If you want to keep your package count down, the required latch and flip-flop functionality can be obtained from a single dual D flip-flop chip with complementatary outputs and asynchronous preset and clear inputs.

If you want to make sure your "soft power switch" is always off when power is applied, an RC circuit, or even better yet, a microprocessor reset supervisor can accomplish this.

--Sasha Jevtic

List of 53 messages in thread
TopicAuthorDate
Momentary toggle soft switch with flip-flop?            01/01/70 00:00      
   I don't like it.            01/01/70 00:00      
      How Bouncy            01/01/70 00:00      
         what good does 'minimum' do you            01/01/70 00:00      
   Schmidt trigger            01/01/70 00:00      
      Tricky...            01/01/70 00:00      
         rail to rail bounce            01/01/70 00:00      
      McKinney            01/01/70 00:00      
   4013 FF toggle circuit            01/01/70 00:00      
      Values?            01/01/70 00:00      
         Values of R1,R2 &R3? Look at PCB!            01/01/70 00:00      
            clocking a FF from an RC?            01/01/70 00:00      
               Agreed            01/01/70 00:00      
                  Follow the datsheet, that is design            01/01/70 00:00      
                  Why dismissing the flip-flop?            01/01/70 00:00      
                     dismissing the flip-flop?            01/01/70 00:00      
                        The CD4013 of Bruce's schematic            01/01/70 00:00      
                           The CD4013 of Bruce's schematic is shown as a f/f            01/01/70 00:00      
                              I answered to Bruce...            01/01/70 00:00      
                  The circuit shown,,,,            01/01/70 00:00      
                     Power Consumption            01/01/70 00:00      
   Overlooking the obvious?            01/01/70 00:00      
      Simpler?            01/01/70 00:00      
      Keymat            01/01/70 00:00      
   Why not a hard switch?            01/01/70 00:00      
      Requirements            01/01/70 00:00      
      Industrial designers is why            01/01/70 00:00      
         Fair enough!            01/01/70 00:00      
   Let The Microconroller Decide            01/01/70 00:00      
      dedicated microcontroller :-)            01/01/70 00:00      
      Interresting no flip-flop            01/01/70 00:00      
   dat is de bounce            01/01/70 00:00      
   The 4013 needs steep edges            01/01/70 00:00      
      caps            01/01/70 00:00      
      A Vauge Suggestion            01/01/70 00:00      
   additional parts            01/01/70 00:00      
      what pin of which chip in what package?            01/01/70 00:00      
         chip on drawing in generic post            01/01/70 00:00      
            slowig down the bugger is not going to make it clo            01/01/70 00:00      
   What about this?            01/01/70 00:00      
      what is 'SOFTSW"?            01/01/70 00:00      
      Seems OK Except...            01/01/70 00:00      
         nice to find a fellow "drawer of fuctions"            01/01/70 00:00      
            I find it eaasier to just...            01/01/70 00:00      
               We appreciate it            01/01/70 00:00      
      Further Analysis....            01/01/70 00:00      
      Would this work?            01/01/70 00:00      
      All comments noted            01/01/70 00:00      
   Round 3 - Hopefully better            01/01/70 00:00      
      Round 4 is the winner            01/01/70 00:00      
         Tomas?? Bruce?? Are you a schizo?            01/01/70 00:00      
            haha, yes            01/01/70 00:00      
         A bit confusing...            01/01/70 00:00      

Back to Subject List