What debouncing technicques do you know?


Closed Thread
Results 1 to 5 of 5
  1. #1
    Join Date
    Mar 2007
    Location
    Philippines
    Posts
    9

    Post What debouncing technicques do you know?

    There are so many ways to debounce a switch or bit so I was just wondering what other ways there are to debounce? If you're willing to share your debouncing technicque then post it here.

  2. #2
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Humbleworker View Post
    There are so many ways to debounce a switch or bit so I was just wondering what other ways there are to debounce? If you're willing to share your debouncing technicque then post it here.
    Google gives me over 167,000 hits on switch debouncing.
    And the 20 or so that I looked at had a load of good ideas.
    Have you checked ANY of them?

  3. #3
    Join Date
    Apr 2006
    Location
    New Hampshire USA
    Posts
    298


    Did you find this post helpful? Yes | No

    Smile To Bounce or Not to Bounce

    Hi Humbleworker,

    See this post by ErnieM about software debounce
    http://www.picbasic.co.uk/forum/show...unce#post26715

    hth
    -Adam-
    Ohm it's not just a good idea... it's the LAW !

  4. #4
    Join Date
    Feb 2007
    Location
    Sao Paulo - Brazil
    Posts
    16


    Did you find this post helpful? Yes | No

    Default Debounce using SR FF

    Try this method, I already used in my projects and worked fine.
    The only issue is that you will need to use a switch with 2 contacts.


    http://www.elexp.com/t_bounc.htm

    good luck

  5. #5
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    I always use the software method. Polling the pins in a loop or using a Timer interrupt. The timer interrupt will also provide the debouncing delay.

    The main advantage of a timer interrupt is that you need ONLY 1 routine, running in background and you button states are available everywhere, when you need.

    That's What Ernie suggested too
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

Similar Threads

  1. Button/switch debouncing
    By xnihilo in forum mel PIC BASIC Pro
    Replies: 15
    Last Post: - 27th March 2016, 07:01
  2. Debouncing
    By Demon in forum Documentation
    Replies: 0
    Last Post: - 24th October 2005, 18:40

Members who have read this thread : 2

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts