PENGUIN ROBOT Virtual Keyboard - the Code
Title: Penguin Virtual Keyboard
Code Name: penguin_virtual_keyboard.bpx
Purpose: Uses IR xmitter/receiver pair to create a virtual keyboard
VIRTUAL 3-KEY KEYBOARD
Penguin robot now has his own futuristic keyboard, using this code.
Use Penguins keyboard to input command sequences for robotic
control or just type on it for fun. Type on it by touching the simulated
keys or by finger position in mid-air without touching the keys!
This is a tiny 3-key keyboard, virtual, created from software. The input
uses Penguin robot IR transmitters and receivers to simulate a real
keyboard. It's activated by the position of your finger over the IR
transmitters based on infrared rays. In effect, these become the keyboard
keys. The technique makes a three key numerical entry keyboard.
To demonstrate this function, key 1 (from left to right, in front of Penguin)
when touched, displays the key number on the debug screen. Key 2 is to
the right. Key 3 is activated with both key 1 and 2. When the key is
activated, a virtual mechanical key click sound is heard.
humanoido
Code Name: penguin_virtual_keyboard.bpx
Purpose: Uses IR xmitter/receiver pair to create a virtual keyboard
VIRTUAL 3-KEY KEYBOARD
Penguin robot now has his own futuristic keyboard, using this code.
Use Penguins keyboard to input command sequences for robotic
control or just type on it for fun. Type on it by touching the simulated
keys or by finger position in mid-air without touching the keys!
This is a tiny 3-key keyboard, virtual, created from software. The input
uses Penguin robot IR transmitters and receivers to simulate a real
keyboard. It's activated by the position of your finger over the IR
transmitters based on infrared rays. In effect, these become the keyboard
keys. The technique makes a three key numerical entry keyboard.
To demonstrate this function, key 1 (from left to right, in front of Penguin)
when touched, displays the key number on the debug screen. Key 2 is to
the right. Key 3 is activated with both key 1 and 2. When the key is
activated, a virtual mechanical key click sound is heard.
humanoido
humanoido said...
This little keyboard has everything, including key
debounce using IR waves, and key repeat function. You can even hear
the key click! The demo will display key numbers 1, 2, and 3. It's easy
to change this into 0, 1, 2 or another number sequence using the encoder
section found in the ReadKey subroutine. With a small code addition (shift
key), it will convert into a 5-key keyboard. The program is very user
friendly, suggesting good starting calibration values.
' Penguin Virtual Keyboard uses both infrared transmitters as keys. ' Allow yourself some time to train on the keyboard as it's ' sensitive to hand and finger position. ' To operate, tilt Penguin back and move the typing finger directly ' over the key in one perpendicular motion. This motion must not ' come near the other key. This is the basic process to type on ' keys 1 and 2. To type on key 3, simultaneously use two fingers ' to cover keys 1 and 2. ' Activating any of the 3 keys will result in a virtual mechanical ' click and the key number appearing on the Debug screen. ' The code is adjustable for the rate of key repeat, and key ' debounce. With practice, it's possible to type fast without ' touching the keys by adjusting the rates! Experiment with the ' amazing Penguin robot Virtual Keyboard and use it for your own ' programs.