Optimal Measurement Range Of - Parallax 28044 User Manual

Hide thumbs Also See for 28044:
Table of Contents

Advertisement

O
Display coordinate, mass, and centroid information for all detected blobs
X
Calibrate camera system for range finding
A
Adjust blob detection parameters
G
Capture & send single frame (160x128, 8 bits/pixel grayscale)
C
Capture & send single frame (320x16, 8 bits/pixel grayscale) w/ laser enabled
Capture & send processed frame (320x16, 8 bits/pixel grayscale) w/ background
P
subtraction
Command Details
R: Single range measurement (ASCII)
Takes a single range finding measurement and returns the distance to the target object as a printable
ASCII string ("D = ") with a
milliseconds to complete.
The LRF Module is most accurate within its optimal measurement range of 6–48 inches (15–122 cm). In
ideal conditions, a distance measurement of up to ~8 feet (2.54 meters) may be possible. While the
accuracy will be hindered at distances outside of the optimal range, the LRF could still be used for gross
distance measurements or simple object detection. See Range and Accuracy, page 10, for details.
Terminal Example:
:R
D = 0288 mm
:
BS2 Example:
SEROUT LRF_TX, LrfBaud, ["R"]
' Wait for distance measurement and store it as a decimal value
SERIN
LRF_RX, LrfBaud, 3000, No_Response, [WAIT("D = "), DEC4 range]
B: Single range measurement (binary)
Takes a single range finding measurement and returns the distance to the target object as a
binary
value in millimeters. Data is sent MSB first. A range measurement takes ~200 milliseconds to
complete.
The LRF Module is most accurate within its optimal measurement range of 6–48 inches (15–122 cm). In
ideal conditions, a distance measurement of up to ~8 feet (2.54 meters) may be possible. While the
accuracy will be hindered at distances outside of the optimal range, the LRF could still be used for gross
distance measurements or simple object detection. See Range and Accuracy, page 10, for details.
Terminal Example:
:B
<binary data>
:
BS2 Example:
SEROUT LRF_TX, LrfBaud, ["B"]
SERIN
LRF_RX, LrfBaud, 3000, No_Response, [range.HIGHBYTE, range.LOWBYTE]
Copyright © Parallax Inc.
Advanced Commands
4-digit decimal
value in millimeters. A range measurement takes ~200
' Send command
' Send command
Parallax Laser Range Finder (#28044)
2-byte
v2.0 10/31/2015 Page 4 of 23

Advertisement

Table of Contents
loading

Table of Contents