Mechanical keyboard switch bounce and debounce delay

Mechanical keyboard switch bounce and debounce delay

When a mechanical switch is pressed, it doesn’t just make an on-off contact - it actually creates a series of short contacts, before becoming either on or off. This is called ‘switch bounce’ because the contacts are literally bouncing on each other before settling.

This is something we have to take care of in the Raise keyboard.

Matt, our CTO, explains all of this in the video below.

A switch bounce can be seen using an electronics tool called an oscilloscope. Each bounce could be as short as a millionth of a second, and the time it takes a switch to stop bouncing is about 1 thousandth of a second.

Switch manufacturers usually guarantee bounce time to be less than 5 thousandths of a second.

It sounds like a very short amount of time but because the microcontrollers are scanning the switches at a similar speed, there can be a problem where for one key press, there might be six or seven contacts recorded. If we slow down the speed of the scanning, we get fewer bounces - but we also increase the latency of the keyboard.

Checking the switch bounce of a Clicky switch.

We have to filter these bounces out somehow.

At the moment, we read each switch repeatedly, and only when it has stayed on for a period of time do we send the signal to the computer. This period is called the debounce delay - it’s the time that you’re filtering out all those signals that you don’t want to send to the computer.

With mechanical switches, you will always have this delay time.

 

 

 

dygma raise split keyboard

Create your Raise

Matte black or silver white

6 languages

8 different mechanical switches

Compact travel case and enhancement kit

Free express worldwide shipping

2-year warranty

30-day return

  • “I love this keyboard. I wanted a more comfortable typing experience and I haven't been disappointed.”

    Ergonomic keyboard reviewer - SBstapley
    SBStapley Youtube
  • “It's truly a breath of fresh air for a tech product. Highly customizable, modular, and with an open-source software.”

    Ergonomic keyboard reviewer - jonkori
    Jonikori Twitter
  • "I was skeptical at first, but this is endgame for me. I had no idea normal keyboards were hurting my shoulder."

    Ergonomic keyboard reviewer - meatsweats
    Meatsweats Twitter
  • Raise Tenting Kit

    Regular price
    $89.00
    Regular price
    Sale price
    $89.00
    $29.00
    Raise Tenting Kit
  • Mechanical Switches

    Regular price
    From $45.00
    Regular price
    Sale price
    From $45.00
    Mechanical Switches
  • Palm Pads

    Regular price
    $35.00
    Regular price
    Sale price
    $35.00
    Palm Pads
  • Neuron

    Regular price
    $59.00
    Regular price
    Sale price
    $59.00
    Neuron
  • Keycaps

    Regular price
    From $49.00
    Regular price
    Sale price
    From $49.00
    Keycaps
  • Cables

    Regular price
    From $15.00
    Regular price
    Sale price
    From $15.00
    Cables
  • Enhancement Kit

    Regular price
    $29.00
    Regular price
    Sale price
    $29.00
    $29.00
    Enhancement Kit
  • Travel Case

    Regular price
    $59.00
    Regular price
    Sale price
    $59.00
    Travel Case