Digital Electronics: Debouncing a Push Button Switch (SPST)

  Рет қаралды 149,213

Derek Molloy

Derek Molloy

Күн бұрын

Пікірлер: 62
@mike0rr
@mike0rr 3 жыл бұрын
Still to this day the best video on denouncing a circuit.
@norcal6181
@norcal6181 3 жыл бұрын
This video left out one piece of info that was critical in my case. The 74HCT14 needs all of the unused input tied to either VCC or Ground. I tied them to Ground in my case. Without doing this the schmitt trigger was jumping all over the place and making the bouncing worse than doing nothing. After grounding all of the unused inputs the circuit seems to work good.
@zipzit2go
@zipzit2go 8 жыл бұрын
Exceptional presentation. You've really taken the time to explain why this stuff works the way it does. Many thanks.
@footlessmichael
@footlessmichael 12 жыл бұрын
Wow! Quality content and quality presentation as seen by overlays of diagram with the Circuit, clean board, labels everywhere, and clear language. The presentations here can be the standard for more for academia and industry! This one video helped me close many gaps, thank you.
@Tsniper2009
@Tsniper2009 9 жыл бұрын
This was extremely helpful, thank you for being concise and clear. I've had a bit of trouble doing debouncing, but this was the best resource I found to figure it out.
@rojirrim7298
@rojirrim7298 6 жыл бұрын
Whoa, incredible video! As a guy who studies physics, I was happy when I heard the word hysteresis hahaha. Really well explained video, even better presentation, and the measurements taken were just perfect. Thank you for the time it took you to film this!
@johndiamond2548
@johndiamond2548 8 жыл бұрын
Great work! Both of your videos on debouncing were very well done.
@grazaT
@grazaT 12 жыл бұрын
Your videos are great! I'm learning so much. I have been studying a bit of computer science, civil engineering and now I'm studying engineering design, but I have had a weakness for electronics too. Most related to engineering is great :) Showing circuits and how they work/perform with the oscilloscope is very helpful.Thanks!
@shvideo1
@shvideo1 3 жыл бұрын
Great and very useful educational video. Thank you for the formulas and the schematic.
@DaneDuPlessis
@DaneDuPlessis 8 жыл бұрын
Excellent presentation. Thank you!
@volkerblock
@volkerblock 11 жыл бұрын
very clear pronounciation, good mikrophon, so that my old foreign ears can all understand
@tunicana
@tunicana 11 жыл бұрын
thank you a thousands of times,you tutorials are so much helpful and clear.
@03062nam
@03062nam 12 жыл бұрын
iam aswell want to thank you for a great explanation and demonstartion that you have done.it 's really superb
@kevinatkab5219
@kevinatkab5219 7 жыл бұрын
great tutorial. The bounce delay will not be consistent over the life of the switch making a capacitor a good idea even when using Arduino. And the Arduino inputs are schmitt inputs so they should benefit from that.
@neildarlow
@neildarlow 10 жыл бұрын
By adding a second schmitt inverter between the pullup resistor/pushbutton and the debounce resistor you can achieve a more even debounce delay on both pushbutton press and release. The circuit, as presented, gives a longer delay when the pushbutton is released due to the capacitor charging through both resistors while it is only discharged through one resistor when the pushbutton is pressed. For many applications this does not matter but there might be applications where a uniform debounce action is desired.
@tom0nott
@tom0nott 5 жыл бұрын
Why not put a diode across one of the resistors effectively removing it in one of the two cases?
@hannes.b
@hannes.b 7 ай бұрын
Or make R1
@freemanaccount5751
@freemanaccount5751 7 жыл бұрын
Just found this awesome explanation..however the logic is inverted to my negative triggering flip-flop. Could I simply swap R1 and the switch to give me a negative falling transition with the switch closure?
@alexg2k2
@alexg2k2 5 жыл бұрын
Outstanding presentation!
@DerekMolloyatDCU
@DerekMolloyatDCU 11 жыл бұрын
Hi, I am using a Owon oscilloscope for home use. They are about the lowest cost stand-alone oscilloscopes and I have found my one to be of a good quality, however, it is not the fastest!
@SeattleRingHunter
@SeattleRingHunter 4 жыл бұрын
Owon scope kzbin.info/www/bejne/eKq4moKhZZV-Zrc no thanks! 🤪
@MelroyvandenBerg
@MelroyvandenBerg 9 жыл бұрын
Thanks for your great video. Very clear for me!
@marshlegions7487
@marshlegions7487 2 жыл бұрын
Hi, shouldn't it be two schmitt triggers to reinvert the signal to correspond to the original switch pulse?
@enginedesign4871
@enginedesign4871 9 жыл бұрын
I have a shake switch. It is mechanical and relies on vibrations to swing a spring to another terminal to create a connection. it is different from a mechanical switch in that the spring bounces back to its resting position as soon as it touches the terminal. Even connecting a Schmitt trigger it still gives me unreliable outputs. Any suggestions would be extremely appreciated!
@stevenlaidler2515
@stevenlaidler2515 4 жыл бұрын
excellent video, subscribed
@cSpecAirsoft
@cSpecAirsoft 10 жыл бұрын
do i need the the trigger for a clean signal or will the capacitor resistor coombo be enough? because you are gettin the clean signal before it hits the trigger correct? just ordered some triggers to be safe....
@aemvasconcelos
@aemvasconcelos 7 жыл бұрын
thank you, your video was quite useful.
@TheTimeRay
@TheTimeRay 5 жыл бұрын
not a symmetrical solution... for discharging (falling edge) yes - 10 ms... but for charging (raising edge) it will take 110 ms as R = 11K will be used in RC for charging process...
@YewTide604
@YewTide604 5 жыл бұрын
This can be fixed by adding a diode in parallel with the 1k resistor. This will allow the capacitor to charge (mostly) through R1, and then discharge solely through R2.
@chandanpiku
@chandanpiku 3 жыл бұрын
Awesome 👍
@Gouwomb
@Gouwomb 12 жыл бұрын
Thank you for this video, great work.
@Alfarius20
@Alfarius20 9 жыл бұрын
I love you dude, you´ve helped me a lot with this video, like, fav and follow. Thank you, from the bottom of my heart, thanks
@DaWalkDude
@DaWalkDude 11 жыл бұрын
You may need to use a J-K flip flop set as a T-flip flop and wire the output of this circuit to the clock input, the the 'Q' to a transistor or relay.
@adriantan9675
@adriantan9675 9 жыл бұрын
how about if i need to debounce a push button but the input is 3.3V?
@Staybeautifulwithanky
@Staybeautifulwithanky 8 жыл бұрын
i push my UPS push button...now i m unable to on my pc and even my UPS...What can i do... 😑
@chinf
@chinf 5 жыл бұрын
Awesome! Thank you!!
@alibehrouz9833
@alibehrouz9833 8 жыл бұрын
well done thanks
@gfetco
@gfetco 12 жыл бұрын
@DerekMolloyDCU Oh thanks, but I have a Two Positive Edge D Flip Flop, but having trouble to using it in the description it has 14 pins, the first 7 is 1:NOT(R1) 2:D1 3:T1(which I believe to be E/C) 4:S1 5:Q1 6:NOT(Q1) 7:GND. u get the drift. now the question is where is CLK? how to use it where is Qprev, Qnext? Am I supposed to link the 2 sides toghether? I just want to make a push button that sends constant electricity until pushed again.
@1yyymmmddd
@1yyymmmddd 3 жыл бұрын
Do you really need this many additional circuit elements when you can do debouncing programatically in microprocessor?
@fussel31
@fussel31 3 жыл бұрын
No ofc. not. But if you just want to use hardware thats the way to got. It id just nice to know. You won't allways have a microcontroller with you ;)
@rogernevez5187
@rogernevez5187 8 жыл бұрын
Great video! I'm wondering if this is the most common solution in electronic equipment or something else (ex: the timing delay via software that you've mentioned).
@SuperRcbuilder
@SuperRcbuilder 10 жыл бұрын
Thank you very much
@AVERYhornyMrDinosaur
@AVERYhornyMrDinosaur 6 жыл бұрын
this is unrelated, but im going to be doing some wiring in about a week on my G920 racing wheel to add an E-brake. on one of my previous wheels, i used a multimeter to find what button was activating by which wire, but i was blindly testing wires and it started blinking, and turned the wheel unusable.. luckily i touched some more, and it fixed it. idk what that was, and this g920 wheel is more expensive so id like to not repeat that.. is there anything you could recommend, or a video of how to properly test like this? id like to NOT wire it up like some youtube videos shown because they wire the wires directly to the button inside the wheel itself, meaning that wire will break eventually from all that rotation. roughly a week from this comment, i will begin regardless so i hope someone sees this and can help
@sekiko7183
@sekiko7183 6 жыл бұрын
What type of board were you using?
@bergweg
@bergweg 11 жыл бұрын
well done!
@gfetco
@gfetco 12 жыл бұрын
Hi is it possible to using your circuit for 1,2-1,6 volt?
@nickgibson9908
@nickgibson9908 8 жыл бұрын
Great video. But if I press and hold the switch for say two seconds, the capacitor is fully discharged, what actually happens when I release the switch? I'm guessing I get a noisy release, which can well confuse things. So if I want a debounced press and release, how is that achieved? Many thanks for this great video.
@Loundre3
@Loundre3 8 жыл бұрын
When you release the switch, the capacitor will charge itself back up from the 10k resistor to max voltage. And since the lowpass filter is connected also to an Schmitt Trigger inverter (which will only change state when the capacitor reaches an selected voltage), noise will cause no trouble.
@piyushalbert
@piyushalbert 11 жыл бұрын
which oscilloscope you have? recommend any..
@fardinahmed5854
@fardinahmed5854 8 жыл бұрын
can u please tell me the full name of that switch
@yogort1
@yogort1 11 жыл бұрын
thank you, that was very helpfull :)
@electronmath8609
@electronmath8609 4 жыл бұрын
👍👍👍
@jiexiang123
@jiexiang123 11 жыл бұрын
Yes any spst switch works
@gajananphadte3440
@gajananphadte3440 8 жыл бұрын
A six switch debouncer IC is available, again.
@evilmunky80
@evilmunky80 11 жыл бұрын
Great tutorials , how can i latch this to use spst as power switch for typically 12v supply
@bestamerica
@bestamerica 5 жыл бұрын
' that push switch is a always noise click click.. not good... better rather use a quiet silent push switch than click click
@thatonegoblin7051
@thatonegoblin7051 3 жыл бұрын
wtf are you even saying
@bestamerica
@bestamerica 3 жыл бұрын
@@thatonegoblin7051 hi T O G... ' dont use a word - YOU - on me and dont bad foul a word... wtf is a not correct word... what up
@bestamerica
@bestamerica 3 жыл бұрын
@@thatonegoblin7051 hi T O G... ' hello again... use a silent switch is a much better quiet than noise click... watch my electronic kits in here my channel video
@Gumeb
@Gumeb 5 жыл бұрын
another solution is to bridge with a wire the two inputs of the switch
@isaacjohnson7229
@isaacjohnson7229 3 жыл бұрын
I have no Clue what the f he’s saying lol
@thatonegoblin7051
@thatonegoblin7051 3 жыл бұрын
???
Chip Tips #1: Debouncing
18:38
Robert Baruch
Рет қаралды 32 М.
How to debounce a button (Hardware approach)
10:16
WellTronic
Рет қаралды 22 М.
When you discover a family secret
00:59
im_siowei
Рет қаралды 35 МЛН
He bought this so I can drive too🥹😭 #tiktok #elsarca
00:22
Elsa Arca
Рет қаралды 46 МЛН
Mechanical  Switches are Obsolete?! Switch to a Latch Circuit! EB#53
10:36
Digital Electronics: Debouncing a Slider Switch (SPDT)
15:16
Derek Molloy
Рет қаралды 44 М.
How To Debounce Buttons? Seven Best Ways
8:46
Doctor Volt
Рет қаралды 8 М.
Electronic Basics #35: Schmitt Trigger and when to use them
6:47
GreatScott!
Рет қаралды 187 М.
Fun with Transistors
24:33
HackMakeMod
Рет қаралды 269 М.
Passive RC low pass filter tutorial!
8:33
Afrotechmods
Рет қаралды 877 М.
Atmel Programming Tutorial 9 - Switch Debouncing
24:03
Chris Dahms
Рет қаралды 11 М.
EEVblog #941 - Schmitt Trigger Tutorial
30:57
EEVblog
Рет қаралды 246 М.