Tip Of The Day / Switch Contact Debounce Circuit

  Рет қаралды 2,846

0033mer

0033mer

Күн бұрын

This video will cover how to build a very simple switch debounce circuit. It will use a RS flip-flop so no RC timing is involved, which makes it handy for troubleshooting.

Пікірлер: 41
@davidb1669
@davidb1669 2 ай бұрын
Never stop what you're doing!
@Cyklonus
@Cyklonus 2 ай бұрын
The capacitor and resistor itself also works quite well :)
@0033mer
@0033mer 2 ай бұрын
Yes, that can work but you are relying on the first bounce to totally discharge the capacitor, which it may or may not. Adding another resistor will help but now the the output will have a slow rising edge which can double trigger logic inputs. To solve that we buffer it with a schmitt trigger inverter. kzbin.info/www/bejne/m2KQnJZmac-Ge5Y
@Cyklonus
@Cyklonus 2 ай бұрын
@@0033mer And that's the beauty of electronics. There are so many different possibilities and solutions :)
@SigEpBlue
@SigEpBlue 2 ай бұрын
Nice video. It's helpful, even necessary, for those learning electronics to understand the switch contact bounce phenomenon, and the hardware debounce techniques to alleviate it. There are more methods, however, such as using buffers with Schmitt trigger inputs, e.g. SN74LS13 and 14, and debouncing in software (assuming an input to a microcontroller). Just remember that it's almost always faster, more reliable, and easier to troubleshoot when you do things in hardware rather than code.
@0033mer
@0033mer 2 ай бұрын
Yes, exactly
@webmasterg3526
@webmasterg3526 2 ай бұрын
Always worth watching, thank you.
@0033mer
@0033mer 2 ай бұрын
You're welcome. Thanks for the feedback.
@ShellacScrubber
@ShellacScrubber 2 ай бұрын
I had not seen the buffer plus spdt combination before.It's quite ingenious. It provides a good illustration of how versatile and useful the 4000 series logic still is. I recently revisited the video you did about using CMOS logic devices in linear mode.It's all fascinating stuff. I even managed to find a design(Everyday Electronics magazine Oct 1978 ) for an AM radio receiver that uses a 4011 quad nor gate !
@0033mer
@0033mer 2 ай бұрын
Going from TTL to CMOS was a big step for the electronic industry which enabled all the high end electronics we have today. Have to give credit to all the guys at RCA. Back in the 70s the electronic magazine was our KZbin.
@ShellacScrubber
@ShellacScrubber 2 ай бұрын
@@0033mer Yes Ken, I look back on those days in the 70s with great fondness. For myself, the electronics magazines were the main source of knowledge, inspiration and with their advertisements in the back pages, component suppliers !!
@romancharak3675
@romancharak3675 2 ай бұрын
Very nice circuits for Microcontroller inputs.
@0033mer
@0033mer 2 ай бұрын
Yes, thanks
@nguyenthinh6188
@nguyenthinh6188 2 ай бұрын
Still follow you after years, from fpga cpld videos
@0033mer
@0033mer 2 ай бұрын
Thanks for your support
@caletorino
@caletorino 2 ай бұрын
I read a document called “A Guide to Debouncing” by the Ganssle group. Helped me a ton. Some people referred to it as the denouncing “Bible” but I must say this video was short and straight to the point. With a touch of old school class. The 4000 series was a welcome surprise. I’m younger but I’m pretty sure this will save me in a pickle.
@0033mer
@0033mer 2 ай бұрын
Glad it was helpful. I have also read the Ganssle document. Lots of good information.
@marios2620
@marios2620 2 ай бұрын
Very useful! circuit! Thank you for your precious Tutorials!
@0033mer
@0033mer 2 ай бұрын
You are welcome!
@ccv3237
@ccv3237 2 ай бұрын
Excellent video, really great!!! Thank you so much. I subscribed, now I will like this video also.
@0033mer
@0033mer 2 ай бұрын
Welcome to the channel.
@W1RMD
@W1RMD 2 ай бұрын
Great info! Thanks and take care.
@0033mer
@0033mer 2 ай бұрын
Thanks, you too!
@PhG1961
@PhG1961 2 ай бұрын
Awesome tip! I've found out about this many years ago... the hard way.
@0033mer
@0033mer 2 ай бұрын
Yes, if you are new to electronics it can drive you crazy.
@ronen124
@ronen124 2 ай бұрын
Muy buena conferencia, gracias por difundir el conocimiento
@0033mer
@0033mer 2 ай бұрын
You're welcome.
@Bianchi77
@Bianchi77 2 ай бұрын
Creative video, thank you :)
@0033mer
@0033mer 2 ай бұрын
You're welcome
@lohikarhu734
@lohikarhu734 2 ай бұрын
There's a nice cmos 6 channel switch debounce, adjustable timing... MC 14490
@0033mer
@0033mer 2 ай бұрын
The MC14490 was originally made by Motorola and it worked very well. They discontinued the IC and ON-semi took it on. The DIP version is now obsolete and only SMD verions are available. You can get old stock on Ebay but they are pricey. Maxim also has the MAX6816.
@vanhetgoor
@vanhetgoor 2 ай бұрын
Very thorough but what is wrong with only a capacitor or two near the switch?
@0033mer
@0033mer 2 ай бұрын
Yes, that can work but you are relying on the first bounce to totally discharge the capacitor, which it may or may not. Adding another resistor will help but now the the output will have a slow rising edge which can double trigger logic inputs. To solve that we buffer it with a schmitt trigger inverter. kzbin.info/www/bejne/m2KQnJZmac-Ge5Y
@AnalogDude_
@AnalogDude_ 2 ай бұрын
3:17 Neat, but it would be better to use a transistor than a little common switch.
@fibonacho
@fibonacho 2 ай бұрын
For a switch debounce demo?
@AnalogDude_
@AnalogDude_ 2 ай бұрын
@@fibonacho Yeah, the role of the transistor is high or low, it's never disconnected, even better with 2 transistors and 3 resistors (Schmidt trigger). you would be able to use the al time classic 10 cent switch and serve the same role precise or one of the cd40106.
@fibonacho
@fibonacho 2 ай бұрын
@@AnalogDude_ Thank you. I'm getting interested in electronics again after many years away. I appreciate you taking your time to reply.
@AnalogDude_
@AnalogDude_ 2 ай бұрын
​@@fibonacho research RC time contants, placing the correct resistors, using a PNP with 1K on the base from the button aswel a 220pF to ground from the base, 1M from button to GND to drain the capacitor, 33K from the power rail to the emitter of the PNP. the collector of the PNP is tied to GND and your source from below of the 33K. the capacitor will filter out the glitches and is very power efficient, all this is very little power consum. just few uAmp
@eitantal726
@eitantal726 2 ай бұрын
Yikes, That's a lot of complexity. I do it in software. If there is no software, then I use a capacitor. I Bet a microcontroller will be cheaper than these 2 ICs
@0033mer
@0033mer 2 ай бұрын
Yes, that can work but you are relying on the first bounce to totally discharge the capacitor, which it may or may not. Adding another resistor will help but now the the output will have a slow rising edge which can double trigger logic inputs. To solve that we buffer it with a schmitt trigger inverter. kzbin.info/www/bejne/m2KQnJZmac-Ge5Y
Tip Of The Day / Battery Power Your Project
5:00
0033mer
Рет қаралды 1,8 М.
The most deadly project on the Internet
15:14
bigclivedotcom
Рет қаралды 6 МЛН
She ruined my dominos! 😭 Cool train tool helps me #gadget
00:40
Go Gizmo!
Рет қаралды 63 МЛН
World’s Deadliest Obstacle Course!
28:25
MrBeast
Рет қаралды 150 МЛН
MEGA BOXES ARE BACK!!!
08:53
Brawl Stars
Рет қаралды 34 МЛН
Tip Of The Day / Low Battery Alarm / DS1233A-10
4:29
0033mer
Рет қаралды 1,5 М.
Top Fifteen Mistakes People Make When Designing Prototype PCBs
12:26
Cosplay Light and Sound
Рет қаралды 132 М.
The Most Important Circuit for our Electrical Future?! (PFC) EB#55
11:26
Tip of The Day / Prototyping Tools
4:11
0033mer
Рет қаралды 2,4 М.
Tip of The Day / Breadboard Wiring
4:10
0033mer
Рет қаралды 3,4 М.
Impedance Explained.
22:35
PKAE Electronics
Рет қаралды 113 М.
Classic Circuits You should Know - Single Button Toggle
7:18
learnelectronics
Рет қаралды 18 М.
Will the battery emit smoke if it rotates rapidly?
0:11
Meaningful Cartoons 183
Рет қаралды 40 МЛН
#miniphone
0:16
Miniphone
Рет қаралды 3,7 МЛН
Secret Wireless charger 😱 #shorts
0:28
Mr DegrEE
Рет қаралды 2,4 МЛН