New project - MSFS C++ USB interface


Results 1 to 40 of 170

Threaded View

  1. #11
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    4,175


    Did you find this post helpful? Yes | No

    Default Re: New project - MSFS C++ USB interface

    Well, I understand the case. With the I/O expanders things are different.

    A very good debouncer is desribed in the second part of the article you post. Really neat and ultra fast technique with very low MCU load.

    https://hackaday.com/2015/12/10/embe...ttons-part-ii/

    But amazing things can a capacitor do! In most cases, with relatively good switch, a series resistor from the switch to the input and a small increase in the capacitor, that is in parallel with the input to the ground, is enough. Used that many times and with rotary encoders too with great results.

    The secret is to use that resistor R1 in the following design, to "isolate" a bit the switch from the capacitor.

    Name:  debounce-sch.jpg
Views: 9520
Size:  34.9 KB

    Ioannis
    Last edited by Ioannis; - 12th January 2024 at 08:09.

Similar Threads

  1. USB interface
    By Frozen001 in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 28th December 2011, 19:37
  2. Host for USB interface?
    By Carrasco in forum Off Topic
    Replies: 4
    Last Post: - 3rd August 2007, 23:59
  3. USB Interface using PIC
    By Tissy in forum mel PIC BASIC Pro
    Replies: 21
    Last Post: - 22nd May 2006, 16:04
  4. USB interface from PIC16F877 to PC
    By headshouter in forum USB
    Replies: 0
    Last Post: - 26th February 2006, 04:58
  5. USB project
    By NL2TTL in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 18th January 2005, 21:59

Members who have read this thread : 7

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