You are on page 1of 6

Quick Start

Module Type: B605B

Connections

One USB-TTL adaptor was attached for quick test, the wiring are:
1. BLACK: Ground;
2. RED: Power, DC, 2.0V~3.3V, 300mA+;
3.YELLOW: module Tx, please connect to controller Rx;
4.WHITE: module Rx, please connect to controller Tx;
5.GREEN: Control line for continuous measure; HIGH(default): one time measure
mode; LOW : continuous measure mode .
6.BLUE: Module Reset Line(optional).

1 15 R&D Experiences for Better and Smaller LDM


Command Codes
All commands are single ASCII character code in upper case.
1.‘O’(0x4F): Turn ON laser beam, and return “,OK!”;
2.'C'(0x43): Turn OFF laser beam, and return “, OK!”;
3.'S'(0x53): Module status read, module returns Temperature & Battery Voltage, e.g.:
“18.0’C, 2.7V”;
4.'D'(0x44): Auto mode Distance read,

( 1 ) Auto mode means module will adjust measure speed base on the laser beam

reflect level, strong reflection make measure faster than weak reflection.
(2)Module returns distant result and reflect Signal Quality(SQ) after the successful
measurement, returned string e.g.: “12.345m, 0079”, smaller SQ value stands for
more reliable distance result. If the distance is no more than 10.000 m, the tens digit
will be replace by a space character(HEX:0x20), then the string will be like:" 2.345m,
0079", this make the result string to fixed bytes.
(3)Module returns error code if measure failed, e.g.:":Er08!" for reporting weak
reflect level error, other error code and meaning can be found in error code table
below pages.
5.'M'(0x4D): Slow mode distance read for higher accuracy, returns same as 'D'
command. In weak reflect level condition, use this command for more reliable
distance result;
6.'F'(0x46): Fast mode distance read for lower accuracy, but higher speed, returns
same as 'D' command. In strong reflect level condition, use this command for fast
distance read.

Control line for continuous measurements

GREEN control line is used to distinguish continuous measure mode from


one time measure mode for 'D'/'M'/'F' commands. commands and control line level
combinations:

2 15 R&D Experiences for Better and Smaller LDM


Command Control Line Level Measure Measure
Char. Mode HIGH(default) LOW Speed Accuracy

D Auto 1-time measure Auto mode Auto Normal


Continuous
measurement
M Slow 1-time measure Slow mode Slow Higher
Continuous
measurement
F Fast 1-time measure Fast Mode Fast Lower
Continuous
measurement
Notice:
1.pull up or pull down control line before send D/M/F command code;
2.re-pull up control line to STOP continuous measure.

Error codes
Num Error code meaning
1 :Er01! Power input too low, power voltage should >= 2.0V
2 :Er02! Internal error, don't care
3 :Er03! Module temperature is too low(< -20℃)
4 :Er04! Module temperature is too high(> +40℃)
5 :Er05! Target out of range
6 :Er06! Measure result invalid
7 :Er07! Background light too strong
8 :Er08! Laser signal too weak
9 :Er09! Laser signal too strong
10 :Er10! Hardware fault 1
11 :Er11! Hardware fault 2
12 :Er12! Hardware fault 3

3 15 R&D Experiences for Better and Smaller LDM


13 :Er13! Hardware fault 4
14 :Er14! Hardware fault 5
15 :Er15! Laser signal not stable
16 :Er16! Hardware fault 6
17 :Er17! Hardware fault 7

Quick Test Steps


1.Plug & Install CH341 USB2TTL converter driver on your computer;
2.download & install the trial version serial port test software before start, software
download page : http://www.geshe.com/en/support/download Other serial port test
software are also Ok. for testing.
3.Start the software and follow the steps:

1.Software settings screen shot

2. Software Operation steps

4 15 R&D Experiences for Better and Smaller LDM


3. Active continuous measure mode
For test purposes, we've already tied the Module Control Line to serial port RTS, So
when RTS asserted, module control line goes LOW, this make module enter
continuous measure mode. Stop the continuous measure mode please de-assert the
RTS.

5 15 R&D Experiences for Better and Smaller LDM


The End, Thank You!

6 15 R&D Experiences for Better and Smaller LDM

You might also like