By continuing to use this site, you agree to our use of cookies. Find out more
Forum sponsored by:
Forum sponsored by Forum House Ad Zone

SR latch

All Topics | Latest Posts

Search for:  in Thread Title in  
duncan webster22/03/2018 05:22:16
5307 forum posts
83 photos

I want to make a circuit with 2 switches such that one switch turns the output on, and the second turns it off. A square wave output. Once it's on, switch 1 should have no further effect, similarly switch 2 shouldn't have any effect once its turned off. This is easy enough, if that's all I wanted I'd use a couple of NAND gates, but I then want a second square wave at half frequency. What I've come up with is to use a 4013 dual d type flip flop, attach the switches to the set and reset of one with data and clock gounded and then use one of the outputs to clock the second flip flop which would have Q- connected to Data and set/reset grounded. Is this likely to work? I'll use FETs to get some output capability. The 4013 has the advantage that I've got one, and it's not too fussy about voltage. I've tried to post the schematic

sr latch.jpg

Edited By duncan webster on 22/03/2018 05:23:57

Edited By duncan webster on 22/03/2018 05:26:46

Joseph Noci 122/03/2018 05:47:58
1323 forum posts
1431 photos

Hi Duncan. That will work fine. Just connect the unused inputs to GND or Vcc ( your supply voltage), ie, the first D type CLK and D input and the second D type ( the divide by two) R and S inputs. CMOS inputs left floating cause lots of problems...Also, add a 1uf and a 0.1uf capacitor across supply and ground, close to the device supply pins..

Happy switching.

Joe

Joseph Noci 122/03/2018 06:38:09
1323 forum posts
1431 photos

Ducan, sorry, Brain not in gear...

The second D type R and S inputs must be connected to GND, NOT Vcc....Connected to Vcc will just set the Q output permanently..

In general, I connect unused inputs to GND..

Joe

duncan webster22/03/2018 10:27:37
5307 forum posts
83 photos

Thanks Joseph, as you can se by the time of my post, it was keeping me awake!

All Topics | Latest Posts

Please login to post a reply.

Magazine Locator

Want the latest issue of Model Engineer or Model Engineers' Workshop? Use our magazine locator links to find your nearest stockist!

Find Model Engineer & Model Engineers' Workshop

Sign up to our Newsletter

Sign up to our newsletter and get a free digital issue.

You can unsubscribe at anytime. View our privacy policy at www.mortons.co.uk/privacy

Latest Forum Posts
Support Our Partners
cowells
Sarik
MERIDIENNE EXHIBITIONS LTD
Subscription Offer

Latest "For Sale" Ads
Latest "Wanted" Ads
Get In Touch!

Do you want to contact the Model Engineer and Model Engineers' Workshop team?

You can contact us by phone, mail or email about the magazines including becoming a contributor, submitting reader's letters or making queries about articles. You can also get in touch about this website, advertising or other general issues.

Click THIS LINK for full contact details.

For subscription issues please see THIS LINK.

Digital Back Issues

Social Media online

'Like' us on Facebook
Follow us on Facebook

Follow us on Twitter
 Twitter Logo

Pin us on Pinterest

 

Donate

donate