Lightware SF33 Product Manual Download Page 8

www

.lightware.co.za     •     info@

lightware.co.za

SF33

SF33

Multi-beam laser sensor 

Product manual

6. 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. 

Figure 6 :: Serial interface connections 

The distances measured by each of the three laser beams are sent out as a packet of binary coded bytes preceded by the header 
values 0xFF, 0xFF. The format of each packet is shown below: 

The “3: Serial port update rate” setting allows the output rate of the serial port to be set to any value within the limits imposed by 
the snapshot resolution. Values will be rounded in order to give whole number divisors of 3052 and limited automatically if they are 
too high for the resolution selected. 

The “4: Serial port baud rate” selection toggles through all the standard baud rates from 9600 to 921600. If the baud rate is set too 
low, there won’t be enough time for the data to complete a transmission before the next result is ready. The Serial port update rate 
is reduced if this situation occurs. Both the transmitted data and any received commands are at the same baud rate. 

Data packet structure

Data format of each distance result

Conversion of each result to distance in meters

0xFF, 0xFF, L1, H1, L2, H2, L3, H3

Byte_L, Byte_H

Distance = Byte_L / 256

Setting

Values

Description

3: Serial port  

update rate

@ 1.00 m

10 ... 3052 / sec

Sets the rate at which new results are output from the serial port when it 
is selected using “1. Active data port”. 

The actual value may be lower than the entered value depending on the 
setting “2: Snapshot resolution”. 

Only whole number fractions of 3052 will give an exact match between 
the entered and actual values.

@ 0.50 m

10 ... 1526 / sec

@ 0.25 m

10 ... 763 / sec

@ 0.03 m

10 ... 95 / sec

@ Filter

10 ... 95 / sec

4: Serial port baud rate

9600 ... 921600

Selects the baud rate for the serial port. If the “3. Serial port update 
rate” setting is too high for the selected baud rate then a warning notice 
will be displayed.

SF33 Multi-beam sensor - Product Manual - Revision 1 

 of 

© LightWare Optoelectronics (Pty) Ltd, 2016

8

15

Summary of Contents for SF33

Page 1: ...Configurable features and multiple hardware interfaces make connection with different types of controllers easy The SF33 uses a time of flight system to make very fast and accurate distance measureme...

Page 2: ...re 12 Dimension drawings of the SF33 10 Disclaimer Information found in this document is used entirely at the reader s own risk and whilst every effort has been made to ensure its validity neither Lig...

Page 3: ...ta Analog port An analog voltage proportional to the shortest distance reading Alarm A logic level signal that warns when the distance measured is below a preset value USB port Connects to a Terminal...

Page 4: ...inal software and click the Connect icon to open a communications port 5 If the connection isn t made automatically click the Laser icon and select the correct USB port from the list shown 6 Press the...

Page 5: ...10 3052 sec Sets the rate at which the analog port and the alarm signal are updated with distance readings The actual value may be lower than the entered value depending on the setting 2 Snapshot reso...

Page 6: ...be powered directly from the USB port of a PC or laptop This is particularly useful for testing the SF33 before it is installed in your system and also for changing the settings in readiness for the...

Page 7: ...USB cable it is convenient to have the distance results displaying in the Terminal window Select the USB option with the SF33 running and the distances from each laser beam along with the output volt...

Page 8: ...he baud rate is set too low there won t be enough time for the data to complete a transmission before the next result is ready The Serial port update rate is reduced if this situation occurs Both the...

Page 9: ...e changed on the fly and a serial port command set is provided for this purpose These commands will allow changes to a subset of the settings available through the USB port Serial port commands are se...

Page 10: ...r 10 95 Vnnnnn 1 00 m 10 3052 Sets the rate at which the analog port and the alarm signal are updated with distance readings The actual value may be lower than the entered value depending on the setti...

Page 11: ...Analog maximum range selection changes the value in meters that equates to 2 56 V This can be either 128 m 64 m 32 m 16 m or 8m depending upon the requirements of the application Setting Values Descr...

Page 12: ...s connected by pressing the X key 9 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 readable in the Terminal w...

Page 13: ...3 There are no user serviceable 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 SF33 but if the len...

Page 14: ...20 C Power supply voltage 5 0 V 0 5 V DC 5 0 V 0 5 V DC Power supply current 250 mA maximum 250 mA maximum Outputs interfaces Serial analog Serial analog Dimensions 30 x 56 5 x 50 millimeters 30 x 56...

Page 15: ...le type 1 35 cm Revision history Version Date Authors Comments Rev 1 2016 02 23 TLP Updated Appendix A Specifications to include FDA accession number 1610094 000 2016 02 page 14 Rev 0 2015 09 23 JEP F...

Reviews: