Previous in Forum: Weep Holes in Gravity Retaining Walls   Next in Forum: Where Can I Customize the Battery?
Close
Close
Close
9 comments
Rating: Comments: Nested
Guru
Engineering Fields - Engineering Physics - New Member

Join Date: Oct 2006
Location: MSP, MN
Posts: 728
Good Answers: 8

Trigger for a CMOS Flip Flop

05/20/2019 4:08 PM

I need a simple flip flop triggered by a manual pushbutton. My system runs on 14v, so I used a CMOS CD40175...but that needs a really fast trigger rise/fall. What can I put between the button and the CMOS to do this? Or is there another IC that can tolerate a slow trigger and work at 14v?

Register to Reply
Pathfinder Tags: CMOS flip flop
Interested in this topic? By joining CR4 you can "subscribe" to
this discussion and receive notification when new comments are added.

"Almost" Good Answers:

Check out these comments that don't yet have enough votes to be "official" good answers and, if you agree with them, vote them!
Guru
Engineering Fields - Electrical Engineering - Been there, done that. Engineering Fields - Control Engineering - New Member

Join Date: Dec 2008
Location: Long Island NY
Posts: 15600
Good Answers: 981
#1

Re: Trigger for a CMOS Flip Flop

05/20/2019 4:21 PM

You don't need a fast rise time. What you need is a clean, debounced signal. I would change the N.O. push button with a N.O./N.C. push button (a.k.a. form C contacts) and send the two signals to the input of a S/R latch that will then drive your single asynchronous counter.

__________________
"Don't disturb my circles." translation of Archimedes last words
Register to Reply
Guru
Engineering Fields - Engineering Physics - New Member

Join Date: Oct 2006
Location: MSP, MN
Posts: 728
Good Answers: 8
#2
In reply to #1

Re: Trigger for a CMOS Flip Flop

05/20/2019 4:44 PM

Can't change the button (it drives other stuff too), and the cd40175 had a max clock rise/fall of 15 microseconds. Now maybe I could use a 4093 Schmitt trigger for debounce and to give a fast clock to the 40175.

Register to Reply
Guru

Join Date: Apr 2010
Location: About 4000 miles from the center of the earth (+/-100 mi)
Posts: 9910
Good Answers: 1141
#3

Re: Trigger for a CMOS Flip Flop

05/20/2019 6:23 PM
Register to Reply Score 1 for Good Answer
Guru

Join Date: Apr 2010
Location: About 4000 miles from the center of the earth (+/-100 mi)
Posts: 9910
Good Answers: 1141
#4
In reply to #3

Re: Trigger for a CMOS Flip Flop

05/20/2019 6:41 PM
Register to Reply Score 1 for Good Answer
Guru

Join Date: Jul 2016
Posts: 1367
Good Answers: 105
#5

Re: Trigger for a CMOS Flip Flop

05/20/2019 10:54 PM

A Schmidt trigger, it has hysteresis, is the classic debounce method​.

https://pubweb.eng.utah.edu/~cs5780/debouncing.pdf​_

Register to Reply Score 1 for Good Answer
Guru

Join Date: Aug 2005
Location: Hemel Hempstead, UK
Posts: 5826
Good Answers: 322
#6

Re: Trigger for a CMOS Flip Flop

05/21/2019 8:43 AM

Why do you think the manual push button will have a slower rise time than 15 microseconds?

__________________
If you spend all your time looking for people and things to complain about: trust me, you will find plenty to complain about.
Register to Reply
Guru
Engineering Fields - Engineering Physics - New Member

Join Date: Oct 2006
Location: MSP, MN
Posts: 728
Good Answers: 8
#7
In reply to #6

Re: Trigger for a CMOS Flip Flop

05/21/2019 12:24 PM

I tried just the button as the clock and the flip flop went nuts with the bouncing. Then tried a typical RC debounce circuit, but the flip flop can't take the slow rise/fall of that approach. So will now try debounce plus Schmitt as Rixter and rwilliams suggested. That link by rwilliams is very interesting.

Register to Reply Score 1 for Good Answer
Guru

Join Date: Oct 2006
Location: 44.56024"N 15.307971E
Posts: 8277
Good Answers: 270
#8
In reply to #7

Re: Trigger for a CMOS Flip Flop

05/22/2019 4:49 AM

Schmitt trigger is more or less the go-to standard to de bounce and clean up a noisy signal.Been in use since at least the 1970's. I think it will solve your problem.

__________________
"A man never stands so tall as when he stoops to help a child." "Never argue with a stupid person.They will drag you down to their level and beat you with experience" "To create an apple pie from scratch, first you must create a universe"
Register to Reply
Participant

Join Date: May 2019
Posts: 3
#9

Re: Trigger for a CMOS Flip Flop

05/24/2019 6:08 PM

You should use a RC lowpass followed by a schmitt trigger. The lowpass must debounce your pushbutton bounce to a lower level as the hysteresis difference. The bounce time of a pushbutton may be very long, in worst case the whole pushing time which is user dependent.

Register to Reply
Register to Reply 9 comments

"Almost" Good Answers:

Check out these comments that don't yet have enough votes to be "official" good answers and, if you agree with them, vote them!
Copy to Clipboard

Users who posted comments:

HiTekRedNek (1); Randall (1); redfred (1); Rixter (2); rwilliams (1); SSCpal (2); Ulf (1)

Previous in Forum: Weep Holes in Gravity Retaining Walls   Next in Forum: Where Can I Customize the Battery?

Advertisement