askvity

How Does an Optical Keyboard Switch Work?

Published in Keyboard Technology 2 mins read

An optical keyboard switch uses light to register keystrokes, offering faster response times and increased durability compared to traditional mechanical switches. Here's how it generally works:

  • Light Emitting Diode (LED): An LED emits a beam of light across the switch housing. This light beam is constantly present when the keyboard is powered on.

  • Photosensor: A photosensor, also known as a light detector, is positioned opposite the LED. It continuously monitors for the presence of the light beam.

  • Key Press Action: When a key is pressed, a physical stem (the part the keycap sits on) moves down. This stem contains a component that interrupts the light beam between the LED and the photosensor.

  • Actuation: The moment the photosensor no longer detects the light beam, the keyboard registers a keystroke. This interruption triggers the keyboard's processor to recognize that the key has been pressed.

  • Key Release: When the key is released, the stem returns to its original position, allowing the light beam to once again reach the photosensor. This signals the end of the keystroke.

In summary, an optical switch uses a beam of light that is blocked by the key's stem when pressed. The interruption of this beam is detected by a photosensor, registering the keystroke. This design eliminates physical contact points common in mechanical switches, potentially leading to longer lifespans and quicker actuation.

Related Articles