background image

SF30 Accelerated laser rangefinder    

Product manual

 

The  USB,  serial,  and  analog  output  rates  are  decoupled  from  the  exposure  time  setting.  For  example,  you  can  still  run  with  an 
exposure time of ~50 microseconds, but only output at 40 results per second on the USB port. Each of these results will be made up 
of a single laser shot, but by limiting the output you don't need to process all 20010 shots on your host controller. 

7. Communicating with the serial port 

The  serial  port  is  used  to  transmit  distance  readings  to  an  embedded  host  processor  such  as  the  flight  controller  in  a  UAV.  The 
hardware  interface  uses  3.3  V  logic  levels  and  can  be  connected  directly  to  any  similar,  compatible  interface.  The  serial  port 
protocol should be set to 8 data bits, 1 stop bit and no parity or handshaking (8N1). 

        

 

Figure 6 :: Serial interface connections 

Distances are output as a 2 byte binary number. You can identify which byte you are reading by looking at the most significant bit. If 
the MSB is not set then you have received the low byte, if the MSB is set then you have received the high byte. The high byte is 
always  sent  first  for  an  individual  reading.  The  remaining  7  bits  in  each  byte  combine  to  make  a  14  bit  distance  reading  in 
centimetres. 

Composition of a reading: 

Example of converting the high and low bytes into a reading: 

 

Reading = ((Byte_H & 0x7F) * 128) + (Byte_L & 0x7F) 

The “4: Serial port baud rate” selection toggles through all the standard baud rates from 9600 to 1440000. 

The “5: Serial port output rate” setting allows the output rate of the serial port to be set to any value within the limits imposed by 
the exposure time. Values will also be limited by the serial port baud rate. 

Byte

Description

High byte

MSB (Bit 7) set to 1.

Low byte

MSB (Bit 7) set to 0.

Reading bits

13

12

11

10

9

8

7

6

5

4

3

2

1

0

High byte bits

6

5

4

3

2

1

0

Low byte bits

6

5

4

3

2

1

0

Setting

Values

Description

4: Serial port baud rate

9600 … 1440000 bps

Selects the baud rate for the serial port. 

5: Serial port output rate

39 … 20010 readings / sec Sets the rate at which new results are output from the serial port when 

it is selected using “1: Output type”. 

If the chosen serial baud rate is too low then this value will be limited. 

The maximum value is limited to the “2: Exposure time” setting.

SF20 Rangefinder - Product manual - Revision 8

  |  

   of  

  |  

© LightWare Optoelectronics (Pty) Ltd, 2018

  |  

www.lightware.co.za    

9

14

Содержание SF30 Series

Страница 1: ...laser altimeter for accurate mapping and obstacle detection Features Update rate of 20K readings per second Accurate reliable measurements unaffected by speed wind changes in barometric pressure nois...

Страница 2: ...een made to ensure its validity neither LightWare Optoelectronics Pty Ltd nor its representatives make any warranties with respect the accuracy of the information contained herein Product ordering cod...

Страница 3: ...igured using a simple software menu that is accessible through the built in micro B USB port The interfaces are as follows Serial port Provides distance readings and other communications to an embedde...

Страница 4: ...DC 5 0 V 0 5 V DC Power supply current 250 mA maximum 250 mA maximum Outputs interfaces USB serial analog USB serial analog Dimensions 30 x 56 5 x 50 millimeters 30 x 56 5 x 50 millimeters Weight 35 g...

Страница 5: ...icon to open a communications port 7 If the connection isn t made automatically click the Laser icon and select the correct USB port from the list shown 8 Press the SPACE key to display the main menu...

Страница 6: ...serial port 5 Serial port output rate 39 20010 readings sec Sets the rate at which new results are output from the serial port when it is selected using 1 Output type If the chosen serial baud rate i...

Страница 7: ...port of a PC or laptop This is particularly useful for testing the SF30 before it is installed in your system and also for changing the settings in readiness for the final application Figure 3 Power...

Страница 8: ...the Terminal window Results are available in the following formats distance in m distance plus signal strength or analog voltage The results from the analog port are displayed continuously while the S...

Страница 9: ...The high byte is always sent first for an individual reading The remaining 7 bits in each byte combine to make a 14 bit distance reading in centimetres Composition of a reading Example of converting t...

Страница 10: ...ending upon the requirements of the application The 7 Analog port output rate setting allows the output rate of the analog port to be set to any value within the limits imposed by the exposure time Se...

Страница 11: ...et can be initiated from the USB port by sending an X 10 USB port settings The 9 USB port update rate setting allows the user to adjust the update rate of the distance readings to make them more reada...

Страница 12: ...erviceable parts and maintenance or repair must only be carried out by the manufacturer or a qualified service agent No regular maintenance is required for the SF30 but if the lenses start to collect...

Страница 13: ...inder Product manual Appendix A Dimensions Figure 10 Dimension drawings of the SF30 Appendix B Main cable type 1 35 cm SF20 Rangefinder Product manual Revision 8 of LightWare Optoelectronics Pty Ltd 2...

Страница 14: ...alues available pages 5 7 Amended references of 2 Snapshot resolution to 2 Resolution Smoothing filter pages 5 7 8 11 Amended the 2 Resolution Smoothing filter values available pages 5 7 10 Updated th...

Отзывы: