Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

how to detect rising (or falling) pulse edge from pushbutton input avoiding debounce

Status
Not open for further replies.

DEV123

Member level 2
Member level 2
Joined
Feb 28, 2009
Messages
44
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
1,583
Hi all,
How to detect rising (or falling) pulse edge from pushbutton input avoiding debounce. Code in C programming is helpful for me. Or algorithm.....
 

Using what hardware?
What chip?
What compiler?

You really need to provide more info to get a useful response.

jack
 

PSoC CY8C29466 24PXI is the chip , psoc designer 5 is the tool. Thanks for response
 

the algorithm:
sense the first active edge(rising or falling)
delay 10 to 20 mS
again sense . if it is in reqd level ,
take it as valid input.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top