Saturday, June 12, 2021

Parallax Penguin Code Eye Skin

Humanoido Penguin Robot Code Collection
Parallax Penguin Eye Skin
Penguin Robot software programmed by Humanoido
OVERVIEW
This simple robot eye mimics a human eye by approximating the distance to objects and showing a trace to the image on artificial retina skin. It can even see mirages and hallucinate under certain rare conditions. It can also report statistics
about the object in the line of vision.

' ---------------------- Titles -------------------------------------
' Title      Penguin Robot Eye Skin
' Code Name  penguin_eye_skin.bpx
' Purpose    Eye skin only version of Penguin Robot's Simple
'            Artificial Linear Ultrasonic Retina Eye (ALURE) using
'            a Parallax Ping))) Sensor
' Author     humanoido
' Version    1.1
' Begin      08 April 2008
' Update     15 May   2008
' Hardware   PING))) Expanded Penguin
' ---------------------- Directives ---------------------------------
' {$STAMP BS2px}
' {$PBASIC 2.5}

Eye Skin
This is the eye skin version of the Retina Eye ALURE. Retina has segment display reporting while this version has strictly the eye skin. ALURE is Penguin Robot's Artificial Linear Ultrasonic Retina Eye. The program uses a PING))) expanded Penguin Robot and the AUX port's pin 5. PING))) is an ultrasonic detector that determines the distance of objects. The code creates an artificial retina, the area of the eye that forms an image to show this distance in real time.

' SPECIFICATIONS
' --------------
' Debug Screen Type
'       Real Time
'       Flashing

' Segment Graphics
'       No

' Distance Reported
'       Centimeters
'       Inches
'       Feet

' Imaging Output Method
'       Visual Retina Skin
'       Numerical
'
' Retinal Range
'       0 to 15-Feet

' Reported Infinity
'       0 to 12-Feet

' Typical Operating Range
'       1-inch to 10 feet

' Retina Scaling
'       1-foot = 5 units

' Scaled Numerical Reporting
'       Yes

' Humanlike Features
'       Approximates Distance
'       Has a Simplified Retina

' Super Human Features
'       Sees in Total Darkness
'       Can Snapshot the Retina

' Weakness
'       Soft Objects

' Vision
'       Daylight
'       Night Vision
'       Mostly hard objects

' EEPROM Usage
'       55%

' Number of Registers on Page
'       Used = 3
'       Available = 10

The code is registered with the Humanoido Penguin Robot Code Collection of over 1,000 Penguin programs where it can be downloaded for free.  The original post at the changed Parallax Forum is restored by Humanoido and (currently) found intact at the following link: