| ??? 11/04/03 11:07 Read: times |
#57805 - RE: Hardware De-bounce Responding to: ???'s previous message |
Hi,
First of all, it is about hardware: the problem of most buttons is that they produce not one but some of impulses (let say, 5 or 20 etc) at each press/realise action. As result, if you use 7414 then your software will receive the same number of input events. 7414 just makes them to be with good edges (= The better results may be obtained with usage of RS-triggers, for example, with 74279 (for 4 buttons) or just 7474 (for two ones). In this case each button must be a switch (with 3 contacts). The best result is usage of special IC, for example MAX6816/6817/6818. Okay, it adds about 1..2 USD for each button cost (= Now, about software. As for me, most of my software has run timer 0 as program ticks (50 or 100 ticks per second). So it is not too hard for me to implement some lines of code for debounce instead elaborate special external hardware, pay additional money and increase board size. Good days! |



