Hide thumbs Also See for 28044:

Advertisement

Quick Links

Parallax Laser Range Finder (#28044)
Designed in conjunction with Grand Idea Studio (www.grandideastudio.com), the Parallax Laser Range
Finder (LRF) Module is a distance-measuring instrument that uses laser technology to calculate the
distance to a targeted object. The design uses a multicore Propeller microcontroller, CMOS camera, and
laser diode to create a low-cost laser range finder. Distance to a targeted object is calculated by optical
triangulation using simple trigonometry between the centroid of laser light, camera, and object.
Features
Optimal measurement range of 6-48
inches (15-122 cm) with an accuracy
error <5%, average 3%
Maximum object detection distance of
~8 feet (2.54 meters)
Range finding sample rate of 5 Hz
Compact module with integrated CMOS
camera and laser diode
Single row, 4-pin, 0.1" header for easy
connection to a host system
All engineering materials released as
open source under a Creative Commons
license; see page 23

Table of Contents

Connections .................................................... 2
Usage ............................................................ 2
Command Set ................................................. 3
Range and Accuracy ...................................... 10
Error Modes .................................................. 10
Electrical Characteristics ................................ 11
LRF Image Viewer ......................................... 12
Copyright © Parallax Inc.
Web Site: www.parallax.com
Forums: forums.parallax.com
Sales: sales@parallax.com
Technical: support@parallax.com
Key Specifications
Application Ideas
Hardware Design .......................................... 15
Theory of Operation ...................................... 16
Camera Interface .......................................... 19
Care and Handling ........................................ 22
Safety .......................................................... 22
Revision History ............................................ 23
Parallax Laser Range Finder (#28044)
Office: (916) 624-8333
Fax: (916) 624-8003
Sales: (888) 512-1024
Tech Support: (888) 997-8267
Power requirements: 5 VDC @ 150 mA
Communication: Asynchronous serial
300-115,200 baud with automatic baud
rate detection
Operating temperature: 32 to 122 °F
(0 to 50 °C)
Dimensions: 3.95" W x 1.55" H x 0.67" D
(10.05 W x 3.95 H x 1.7 D cm)
Distance or liquid level measurements
Object detection and/or avoidance
Item counting
v2.0 10/31/2015 Page 1 of 23

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the 28044 and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for Parallax 28044

  • Page 1: Table Of Contents

    Tech Support: (888) 997-8267 Parallax Laser Range Finder (#28044) Designed in conjunction with Grand Idea Studio (www.grandideastudio.com), the Parallax Laser Range Finder (LRF) Module is a distance-measuring instrument that uses laser technology to calculate the distance to a targeted object. The design uses a multicore Propeller microcontroller, CMOS camera, and laser diode to create a low-cost laser range finder.
  • Page 2: Connections

    1 stop bit, baud rate matched to host. Type: I = Input, O = Output, P = Power, G = Ground Use the following example circuit for connecting the Parallax Laser Range Finder Module: Usage The LRF Module is controlled by the host via a serial communications interface. To use, simply align the LRF Module towards the target object and send the desired command.
  • Page 3: Command Set

    Repeated range measurement (any subsequent byte will stop the loop) Adjust camera for current lighting conditions Reset camera to initial settings Toggle laser on/off Display version information Display available commands Copyright © Parallax Inc. Parallax Laser Range Finder (#28044) v2.0 10/31/2015 Page 3 of 23...
  • Page 4: Optimal Measurement Range Of

    See Range and Accuracy, page 10, for details. Terminal Example: <binary data> BS2 Example: SEROUT LRF_TX, LrfBaud, ["B"] ' Send command SERIN LRF_RX, LrfBaud, 3000, No_Response, [range.HIGHBYTE, range.LOWBYTE] Copyright © Parallax Inc. Parallax Laser Range Finder (#28044) v2.0 10/31/2015 Page 4 of 23...
  • Page 5 LRF Module. Terminal Example: BS2 Example: SEROUT LRF_TX, LrfBaud, ["S"] SERIN LRF_RX, LrfBaud, [WAIT(":")] Copyright © Parallax Inc. Parallax Laser Range Finder (#28044) v2.0 10/31/2015 Page 5 of 23...
  • Page 6 “A” command. Terminal Example: Parallax Laser Range Finder Designed by Grand Idea Studio [www.grandideastudio.com] Manufactured and distributed by Parallax [support@parallax.com] FW = 2.0 MFG = 7FA2 PID = 7691 SLOPE = +0.001418615 (3AB9F0CE) INT = -0.009308979 (BC1884B0)
  • Page 7: Camera And Laser Diode

    SLOPE, INTERCEPT, and PFC_MIN values. The values are then stored in an unused portion of the non-volatile boot Serial EEPROM. They will remain intact during a power cycle. Copyright © Parallax Inc. Parallax Laser Range Finder (#28044) v2.0 10/31/2015 Page 7 of 23...
  • Page 8 (such as one caused by optical noise or reflection) for range finding calculations. See Image Processing and Blob Detection, page 20, for details. Copyright © Parallax Inc. Parallax Laser Range Finder (#28044) v2.0 10/31/2015 Page 8 of 23...
  • Page 9 (320,16). Each byte corresponds to the brightness value of a single pixel where 0x00 is black and 0xFF is white. Copyright © Parallax Inc. Parallax Laser Range Finder (#28044) v2.0 10/31/2015 Page 9 of 23...
  • Page 10: Range And Accuracy

    ERR: cam.init. Error performing the “S” command (Reset camera to initial settings). This may be caused by a communication error between the Propeller and camera. Copyright © Parallax Inc. Parallax Laser Range Finder (#28044) v2.0 10/31/2015 Page 10 of 23...
  • Page 11: Electrical Characteristics

    If the LRF is in an error state, but no error message is transmitted, then there is likely a failure with starting either the serial communication or auto baud detection cog. For further assistance, please contact Parallax technical support. Electrical Characteristics At V = +5.0 V and T...
  • Page 12: Lrf Image Viewer

    10726028.html The LRF Module connects to the host PC via its TTL-level serial interface through a USB-to-Serial adapter (Parallax #28024 or compatible). A demonstration of an early release of the LRF Image Viewer can be found on YouTube: www.youtube.com/watch?v=iHvMl2scUdA Copyright © Parallax Inc.
  • Page 13 (.BMP) or raw binary (8 bits/pixel grayscale, each byte corresponding to the brightness value of a single pixel where 0x00 is black and 0xFF is white). Copyright © Parallax Inc. Parallax Laser Range Finder (#28044) v2.0 10/31/2015 Page 13 of 23...
  • Page 14 This value is used for range finding calculations. The Range text boxes show the calculated distance to the target object in centimeters (top) and inches (bottom). Copyright © Parallax Inc. Parallax Laser Range Finder (#28044) v2.0 10/31/2015 Page 14 of 23...
  • Page 15: Hardware Design

    LRF for custom projects. A Prop Plug (Parallax #32201) can attach to the four pads (JP2) on the back of the LRF in order to reprogram the Propeller’s firmware using the Parallax Propeller Tool software. Calibration and parametric data will remain intact provided the same major version of firmware is loaded.
  • Page 16: Theory Of Operation

    As of LRF Module firmware version 2.0, the source tree consists of 5 custom objects and 7 objects either included with the Parallax Propeller development environment or written by others and posted to the Parallax Object Exchange (http://obex.parallax.com). Objects with a _Lite prefix have been modified from their original to remove unused code and/or to meet needs specific to the LRF Module.
  • Page 17 Written by Jonathan “lonesock” Dummer. FloatString_Lite.spin and FloatMath_Lite.spin provide IEEE 754-compliant 32-bit floating point-to- ASCII string conversion routines. Included with the Parallax Propeller Tool. Basic_I2C_Driver_Lite.spin provides the I2C protocol interface for boot EEPROM communication. The LRF Module has a 64KB boot EEPROM. Only the first 32KB is used by the Propeller for program storage, so the remaining 32KB is available for data storage.
  • Page 18 To account for manufacturing and assembly variances, particularly related to the camera and laser diode alignments, each LRF Module must be calibrated using the “X” command. This will determine the ideal slope and intercept values for that particular module. Copyright © Parallax Inc. Parallax Laser Range Finder (#28044) v2.0 10/31/2015 Page 18 of 23...
  • Page 19: Camera Interface

    (needed for the range finding process). The objects are written in Propeller Assembly (PASM) due to their complex timing requirements. Copyright © Parallax Inc. Parallax Laser Range Finder (#28044) v2.0 10/31/2015 Page 19 of 23...
  • Page 20 The following image shows the zoomed-in blob with the column’s sum printed at the bottom of each column: Copyright © Parallax Inc. Parallax Laser Range Finder (#28044) v2.0 10/31/2015 Page 20 of 23...
  • Page 21 If there are multiple blobs with the same mass, the first occurrence remains the primary. Copyright © Parallax Inc. Parallax Laser Range Finder (#28044) v2.0 10/31/2015 Page 21 of 23...
  • Page 22: Care And Handling

    Class IIIa devices (which include, for example, most run-of-the- mill red laser pointers, laser levels, and laser-based thermometers), were caused by prolonged exposure of the direct laser output: https://en.wikipedia.org/wiki/Laser_safety#Laser_pointers Copyright © Parallax Inc. Parallax Laser Range Finder (#28044) v2.0 10/31/2015 Page 22 of 23...
  • Page 23: Open Source Files And Example Code

    All engineering materials are released as open source under a Creative Commons Attribution 3.0 United States license (http://creativecommons.org/licenses/by/3.0/us/), allowing free distribution and reuse provided that proper attribution is given to the original author. The materials are posted on the Laser Range Finder product page; search for “28044” at www.parallax.com:  Product Manual (this document) ...

Table of Contents