40m/100m 2mm Precision laser distance sensors range finder TTL Uart Serial port module Ardunio

Phase Laser Ranging Module

Phase Laser Ranging Module:

Technical Parameters:

Measuring range: 0.045-D (D is the maximum range) currently module D = 40, D = 70, D = 80, D = 100, and other specifications

Resolution: 0.01 mm (0.00001 m)

Measurement accuracy (standard deviation): ± 2.mm (within 10 m).More than 10m the formula is ± 2 + 0.05 * (D-10), D is the distance

Distance Unit: meter

Laser Type: 620-690nm

Laser Class: Ⅱ grade, <1mW (secondary safety)

Single measurement time: 0.25s

Spot diameter: 6mm @ 10m,

Working temperature: -0 ~ + 40 ℃

Storage temperature: -20 ~ + 60 ℃

Weight: 60g

Dimensions (length × width × thickness): 4.8cmX3.7cmX1.8cm

Supply voltage: DC3v-3.3v

IO voltage: TTL level compatible 3v-5v voltage

Use item indoor without reflectors, when use black target at close range also can be ranging, for example, the surface of black leather purse,

please use reflectors fit, If item return non-reflective within range of outdoor.

Note:

** In harsh environments such as: the sun is too strong, the ambient temperature fluctuations, the reflecting surface is relatively weak effect, system voltage is too high or too low, if the measure distance is close, the result may be a larger error, recommend using a target plate in this situation .

** Prohibited beyond the marked electrical range when using module, using non-compliant power supply voltage may damage the module.

**5v IO connected directly pls set to driving, if use the AVR or STC microcontroller, please Series connection 1KΩ current-limiting resistance.

Communication Interface:

The module uses the TTL serial port for data exchange, communication rates up to 115K (baud rate 115200)

Just open the laser, but does not measure, can be used for targeting (the laser turned off automatically after the timeout)

Instruction list:

Instruction List
instruction content Content Answer Memo
Start single measurement $00022123& ok(Confirm) Measurement data after confirm
Lights $0003260130& Confirm + repeat command
Open the continuous measurement $00022426& ok(Confirm)
Stop continuous measurement $0003260029& Confirm + repeat command
Instruction confirmation $00023335& This is the confirmation instruction from the submachine
Last 7 bits 0001643 No signal
Last 7 bits 0001542 The distance is too close
Closed continuous measurement $00022123& Confirm + repeat command
Turn off the laser $00022123& ok(Confirm) The module does not have a sleep mode,if need to close the laser, use a single instruction

Instructions for use:

1 open laser, generally used to open the laser to help targeting.

2 single measurement, propose targeting before ranging.

3 continuous measurement, used to sweep a flat or three-dimensional surface, such as a corner, the data returned by the module containe the maximum, minimum, etc., and in front of each value there is 3 characters used to label the data is valid.

4 stop measurement, the module does not set the low power mode,the laser is not automatically shut down after opening, if need to close the laser, you can send a single ranging instruction.

Send and receive data sample:

Open laser:

Directly open the laser but not ranging, generally used for manual aiming, install the module to certain devices for a specific range, then this instruction can be omitted.

Host $0003260130&, module reply confirmation + instruction repeat (no “+”)

$00023335&$0003260130&

Confirmation instruction repeat

Single measurement mode

A single measurement mode is required to ensure that the laser beam is on the target surface, and if not sure the laser is pointed to the target surface before measurement , please execute the instruction of “opening laser”.

Host send $00022123&, module reply $00023335&+ measurement data, measurement data analysis sample

When the user reads the data in a single measurement mode, the user can be used $ as a data head, and & as the end of the data.

Blue total 10 bits (0-9): response of submachine in a single measurement mode.

Green total 7 bits (20-27): indicate the distance, the first 2 bits indicate the integer part, the last 5 bits indicate decimal part.

Remaining field reserved for extension.

$00023335&$0006210000008916& 0.08916 M

Error Code of Mode 1:

Error code Reason Error Response Time
$00023335&$0006210000001542& Distance too short About 5 seconds from sending instructions to returning an error code
$00023335&$0006210000001643& No echo About 5 seconds from sending instructions to returning an error code
$00023335&$0006210000001744& reflection is too strong About 5 seconds from sending instructions to returning an error code
$00023335&$0006210000001845& ambient light is too strong About 5 seconds from sending instructions to returning an error code

Continuous measurement mode

In continuous measurement mode, the host machine sends a continuous measurement instruction the module can perform 101 (501 times consecutive measurements), the data returned by the module contains this measure distance, maximum, minimum, etc., and in front of each value there is 3 characters used to mark the data is valid. If there is an error (blocking the laser emission port, the lens, or too close) ,it outputs an error code,and set the measurement count to 9999, and terminate this measurement. In continuous measurement mode, the laser will be closed and re-opened once every five measurements, this mode may be used to sweep a plane or three-dimensional surface slowly, such as a wall, thereby obtaining the maximum and minimum value, can also be used for real-time distance measurement, once trigger a hundred times measure to reduce the cpu load and increase measurement speed.

Data analysis of continuous measurement mode:

Blue (1-6) total 6 bits: reserved for extension

response of submachine in a single measurement mode.

Blue (7-10) total 4 bits: Counting the number of measurements. Last measurement error or termination measurement, the measurement number counter is equal to 9999, this section data can be ignored, or retransmission batch ranging data,used for continuous uninterrupted Ranging.

Green total 7 bits (20-27): indicate the distance, the first 2 bits indicate the integer part, the last 5 bits indicate decimal part.

Host machine send $ 00,022,426 &, module replay $ 00,023,335 & ,then returns ranging data. note the first measurement data return will bring a response at the front, can be directly discarded.

Data analysis Example:

$001624000100004855000048550000485550&

1st time04.855 m Maximum 04.855m Minimum 04.855m (three values of the first measurement are the same )

$001624001000000136000048550000013627&

10th time 00.136m Maximum 04.855m Minimum 04.855m

$001624049800004830000048310000012121&

498th time 04.830m Maximum 04.831m Minimum 00.121m

$001624999900004830000048310000012117& last time, the date can be discarded.

Error code sample

$001624000100118297001182970011829711& first measurement the data is invalid, the error code 18 value

Error Code of Mode 2:

Continuous measurement the module continuously returned date N times, the user can use the $ as a data head, & as a data tail.

Error code Reason Error Response Time Illustrate
$001624999900000015000

000000000000053&

Distance too short About 5 seconds from sending instructions to returning an error code If an error occurs in the continuous measurement, the measurement will be stopped, the number counter (data 7th to 10th Bit) automatically set to 9999, start a new easurement will start at 1
$001624999900000016000

000000000000054&

No echo About 5 seconds from sending instructions to returning an error code
$001624000100118297001

182970011829711&

Ranging error About 5 seconds from sending instructions to returning an error code Distance data invalid

Appendix:

Dimensions and interfaces:

Port Voltage Function memo
VCC 3-3.3V Module power supply More than 3.3V will burn out
GND Modules Power ground
TXD 3-5V Module sends data pin Can be directly connected 5v microcontroller, push-pull output type io

need to add current limiting resistor

If not sure, please use 3.3v microcontroller to connect

RXD 3-5V Module receives data pin Can be directly connected 5v microcontroller, push-pull output type io

need to add current limiting resistor

If not sure, please use 3.3v microcontroller to connect

FPC 0.5mm 8p clamshell

buy link:http://allinbest.com/40m-100m-2mm-precision-laser-distance-sensors-range-finder-ttl-uart-serial-port-module-ardunio/

13th Mar 2017

Recent Posts