Posted - Nov 02 2015 : 09:59:12
| Penguin Virtual Keyboard
This is a tiny 3-key keyboard, virtual, existing in software. The input uses the IR transmitters and receivers to drive the virtual keyboard. It's activated by the position of your finger over the IR transmitters based on infrared rays. It converts the infrared transmitters and receiver into a three key numerical entry keyboard. To demonstrate this function, touching key 1 or 2 (from left to right) displays the key number on the debug screen. Key 3 is activated with both key 1 and 2. When the key is activated, a virtual mechanic key click sound is heard
Penguin Virtual Touchpad
Here's code for a new way to communicate with your Penguin bot. It's a Virtual Touchpad. It can be used like a touchpad or touch switch. To operate, just touch the photo eye on Penguin! The demo screen will report "touched" or "not touched."
Of course, this can be converted to many things, for communicating with Penguin, on/off condition inputs, and for those interested, the actual touch sensitivity of the pad can be varied for analog-like functions or instruments! This program will require simple calibration for effective results.
Penguin Body Switch
This is a virtual on/off switch using Penguins' body and compass. To turn on the switch, move Penguins' body until it faces North. A high pitch tone is heard. To turn off the switch, move Penguin to South. A low pitch tone is heard. The switch is latching. Once it's on, it stays on until switched off. The switch condition is reported to the Debug screen.
The tone will sound when the body is within the specified range. When the target body switch position is precisely reached, the tone will become steady. To squelch the tone, the body is offset.
Penguin 2digit display
Stock Penguin has a one digit display. Once you count from zero to to nine - it won't go any higher. However, in the real world, there are many applications that use two digit numbers. It's much more useful to count from 0 TO 99 than from 0 TO 9.
This program will convert Penguins 1-digit display into a 2-digit display. This is a fully functional VR Virtual Display that counts two digit numbers from 10 TO 19. To accomplish this small miracle, the code uses timing and persistence of vision.
Penguin 3digit display
Penguin Robot displays 1, 2 & 3 digit numbers on a 1 digit display.
Counts numbers 0 through 100 inclusive.
This is a VR Virtual Reality 3-Digit Display in software only.
Click here to download: