Home Community

Working on 7-Seg Up/Down Counter. Bounce problem with push button.
Welcome, Guest. Please login or register.
May 22, 2013, 11:05:55 PM
Home Help Search Calendar Login Register
News: trade your components on this new board: "Components trade"

Advertisements
No New Posts
Today at 01:39:33 AM
in
Advertisements
by google

+  Electronics-Lab.com Community
|-+  Electronics Forums
| |-+  Electronic Projects Design/Ideas (Moderators: Dazza, gogo2520, Herman the German)
| | |-+  Working on 7-Seg Up/Down Counter. Bounce problem with push button.
« previous next »
Pages: [1] Print
Author Topic: Working on 7-Seg Up/Down Counter. Bounce problem with push button.  (Read 798 times)
V8meathead
Jr. Member
**
Posts: 51



View Profile
« on: December 15, 2005, 02:48:32 PM »

To begin, my friend was building an 7 seg display counter using a programmable logic chip the other day.  He was using a push button to control the pulses going into the PLD.  We obviously had a bad bounce problem with the push button, but sometimes we could get it so all the numbers would sequence like they should(1,2,3,4,5..etc) with no jumps.  In order to get a clean switch, I tried 2 things.  I first tried an ordinary debouncing circuit using a 555 timer, and then when that didn't work right, I tried a one-shot multivibrator using the same 555.  What was happening was the numbers would jump on the seven segment.(i.e. 0,2,3,4,5,7,9, repeat) always skipping the same numbers(1,6,8) as it sequenced.  I thought maybe there was still some bounce issues or something so I tried it as an astable MV.  Same thing happend, it would sequence through skipping the same numbers. Huh I looked at it on the scope and it looked fairly clean but I am no expert. 
       To make a long story short, I still can't figure out why it's happening.  I can at least occationally sequence through all the numbers using the push button.  But when using the 555 it skips numbers.  Usually the same ones over again.  There must be some reason why it's doing this, but it's beyond my current knowledge.  Anyone know what's going on?

Any help is appreciated.  Thanks. 

EDIT:  Also, the PLD is programmed so that it counts up only as the rising edge passes.  0 to 1.  Not 1 to 0.  Or in otherwords +dv/dt not -dv/dt if that helps.
Logged

audioguru
Electronics God
*****
Gender: Male
Posts: 14189


I'm a theory expert! $crooge and I are thrifty.


View Profile
« Reply #1 on: December 15, 2005, 04:40:46 PM »

It sounds like the PLD needs a 0.1uF ceramic disc and a 10uF or 100uF electrolytic supply bypass capacitors connected right at its supply pins.
Logged


MP
Electronics God
*****
Posts: 3352


30+ Years Engineer


View Profile
« Reply #2 on: December 16, 2005, 01:28:28 AM »

Yes, as tnk2k has posted, a nice simple debounce circuit. Should take care of it.

MP
Logged

V8meathead
Jr. Member
**
Posts: 51



View Profile
« Reply #3 on: December 16, 2005, 02:14:37 PM »

Thanks for the responses.  Ill be giving these a shot today. Smiley
Logged

Pages: [1] Print 
« previous next »
Jump to:  

Advertisements
No New Posts
Today at 01:39:33 AM
in
Advertisements
by google


Login with username, password and session length

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!

 

 

Search Site | Advertising | Add your link here | Contact Us | Android TV Box
Elektrotekno.com | Free Schematics Search Engine | Electronic Kits | Electronic Accessories