![]() | ![]() | ![]() |
| | |||||||
| Notices |
| Electronic Projects Design/Ideas/Reviews Are you building an electronic project or want to? Maybe you need some assistance? Come and submit your electronic questions here and let our experienced members find a solution. |
| | LinkBack | Thread Tools | Display Modes |
| | (permalink (permalink)) |
| Hi all! When I apply pulses from signal generator the 74HC163 counter counts properly. But I tried to give pulses from an on/off switch (to simulate an environment where I have to count pulses coming out of another circuit)It jumps to a wrong value.(May be due to the bouncing at the switch) so I used an RC circuit to drag the pulse time such that all vibrating pulses vanishes inside the pulse. I have tried it with many R and C values. But It dint work. What to do now? I have attached my diagram please go through that. Thank you! | |
| | |
| | (permalink (permalink)) |
| Hi jpanhalt, That is a wonderful article about debouncing switches. But those diagrams will be useful for switches but not for my circuit. i have attached my diagram more clearly. Caps dint work. Counter values vibrates when the pulses come. I want the distorted pulses to be a smooth pulse. ??????? | |
| | |
| | (permalink (permalink)) |
| I don't see any reason a switch debouncer wouldn't work. For example, in the circuit I posted, pulling Pin1 of the switch low (i.e., the high-low transition in what you drew) creates a single pulse of width defined by the 555. It cannot be retriggered until the switch is re-opened (i.e., the high in your signal). Other latch debouncers act similarly. It is true you get a pulse on LOW, rather than HIGH, but that is a simple thing to invert. Is the signal you are counting regular? That is, are the high and low times regular are does one or both vary? In the 555 debouncer, for example, the low times can be whatever you want them to be, but the high pulse is fixed (before inversion). The flip-flop debouncers don't have that restriction. John | |
| | |
| | (permalink (permalink)) | |
| Quote:
When you build your 555 debouncer, keep the 555 output voltage the same as the voltage powering the HC163. That is power the 555 from the same rail as the HC163. OK.
__________________ Eric "Good enough is Perfect" PIC tutorials: Gramo's: www.digital-diy.net/ Bill's: www.blueroomelectronics.com/ | ||
| | |
| | (permalink (permalink)) | |
| Quote:
The input is at the switch leg being pulled to ground. John | ||
| | |
| | (permalink (permalink)) |
| After a complete analysis I found out the real problem. I used NE555 circuits to remove noises and vibrations. But still the problem is there.(Counter bounces whenever my circuits pulse is fed. But direct signal generator connection works perfectly) So I Applied A big capacitor and resistor between the generated pulse and counter, to delay(slowly fade) the transition such that I can observe what happens when transition occurs. I observed that It occurs It occurs whenever It passes 2V. (Either in the down ward direction or upward directin ) So now I can't get the point of it. Why does this problem occur? | |
| | |
| | (permalink (permalink)) |
| A 555 causes a 400mA supply current spike each time its output switches. A Cmos 555 causes a much lower spike. The datasheet for the LM555 recommends two supply voltage bypass capacitors to absorb some of the spike it produces.
__________________ Uncle $crooge | |
| | |
| | (permalink (permalink)) |
| Hi, It worked at last. I used an active filter(using UAF42) and NE555 circuit(http://www.freeinfosociety.com/elect...ew.php?id=1624) but replaced the 1uF with a 47uF. Transition was very slow but it worked. counters dint blink. Thank you so much everybody. I really appreciate your help. Thanks again. | |
| | |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
| |
| | ||||
| Thread | Thread Starter | Forum | Replies | Latest |
| Debouncing | WHO | Micro Controllers | 1 | 26th February 2008 02:46 AM |
| Circuit for Push Button Debouncing with Pull Up to 5v o 12v | jptalledo | Electronic Projects Design/Ideas/Reviews | 4 | 18th August 2006 07:52 PM |
| Debouncing circuit help! | seekee | General Electronics Chat | 8 | 1st May 2005 10:55 PM |
| Switch Debouncing Steps Correct? | Drew C. | Micro Controllers | 5 | 17th October 2004 04:11 AM |
| Debouncing: Hardware or Software | Gandledorf | General Electronics Chat | 10 | 1st February 2004 01:31 AM |