Open Source Laser Projection Keyboard

NEW! The Laser Keyboard Kit II now available, click here for details.


The idea of projecting a virtual keyboard using a laser is very cool. But currently the existing product is a little bit expensive.

Here, we introduce our opensource and low-cost laser keyboard design! Now you can DIY your own laser projection keyboard 🙂

Our design supports mutiple key inputs (up to 10 keys) and works just like a normal keyboard on Windows and MacOS.

Besides, it can also be used as a multi-touch sketch pad:

Demo Video

Please watch the following video to see how it works:)


Currently the detailed version is written in Chinese, they will be translated to English soon.

Click the following links if you want to try the Google Translated version:

The Design and Implementation of a low cost laser projection keyboard, PART I (Google Translated here)

The Design and Implementation of a low cost laser projection keyboard, PART II (Google Translated here)


Our laser projection keyboard relies on Computer Vision processing algoritms to work. A  camera-laser system is used to perform distance measuring tasks.

The keyboard hardware is very simple, only three parts are required: one camera, one laser to project the keyboard pattern and a line laser for key input detection. That’s the secret of low cost. 🙂

When a user presses a “virtual key”, the reflected laser light will be captured by the camera. And a signal processing software installed on the PC/Mac performs all the critical jobs: recognizing the user’s finger top, perform distance measurement and mapping the position of the user finger top to the related key value.

How to build one?

The easiest way is to order a DIY kit. Currently DFRobot is helping us to provide the DIY kit of our low cost laser keyboard design. The kit includes all the stuffs you will need to build a laser projection keyboard.  Also it will provide you a detailed guide to help you during the assembly process.

We are looking forward to see your own version of the laser keyboard:)

Product Link:

Related Documents:

Signal Processing Software:

The Source Code:

License Issue:

All the source code is licensed under LGPL by default.

Git Repos:

NOTICE: no warranty for the sourcecode and the related software.

How to build from the source code?

Please refer to this article.