Viewing 1 post (of 1 total)
  • Author
    Posts
  • #9822
    gvsoft
    Participant

    Cari E.A.. I'm asking for your help again…. forgive me but I have a fistfight with analog electronics. Usually some problems I can solve them via software. Then: I have to solve a debouncing problem in HARDWARE mode as I have to use the arduino interrupts to create a certain type of randomness. A simple pull-up button that closes to ground when pressed, create a series of rebounds (obvious !!) which are heard by the arduino's interrupt system until the bounces finish. Seeing is believing: with each press of the button the IRQ routine is triggered and with a counter I counted how many times it was triggered: until 4/5/6 times and when it's ok twice but it also depends on the type of button used. I searched around the web for debounce circuits but other than that THEY DON'T WORK AT ALL (Or maybe I just can't use them) I found one that uses a classic FLIP/FLOP with a push button switch. OK it works but not reliable: in most cases the interrupt rtn is triggered 2 O 3 times but also once but not from assignment.
    Do you have any suggestions ???
    Thank you for your attention.
    gvsoft

    • This topic was modified 3 years ago by gvsoft.
    • This topic was modified 3 years ago by gvsoft.
    • This topic was modified 2 years, 11 months ago by Picmicro675.
Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.