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 LightWare Optoelectronics (Pty) Ltd nor its representatives make any warranties with respect the accuracy of the informationcontained herein.
No regular maintenance is required for the SF40/C but if the lenses start to collect dust then they may be wiped with suitable lens cleaning materials. Make sure that the SF40/C is switched OFF before lookinginto the lenses.
5.1. Overview The SF40/C uses a scanning laser rangefinder to measure on a 360 degree disc with a radius of 100 meters. Collected data is stored in memory and continually refreshed as the laser scans around. The speed of rotationis 5.5 revolutions per second at a resolution of +-3 cm.
The SF40/C uses a 3.3 V (5 V tolerant) TTL serial UART for communication.Communicationis performedusing encapsulated packets for both sending and receiving data. Every packet that is sent to the SF40/C is known as a and a request will always be repliedto witha .
Each packet has a 2 byte checksum which is used to validate data integrity.The algorithmis CRC-16-CCI TT (idendtical to the one used for the XMODEM protocol). 0x1021 The CRC must be correctly formedfor the SF40/C to accept and process packets. Below are some examples in various languages forCRC calculation: C/C++ ui nt 16_t...
7.5. Handling request & response Every request sent to the SF40/C will receive a response, it is often useful to use the response as a way to determine if the request was received and processed. Here is the recommended procedure for sending a command...
This will always be followed by a null terminator. 16 byt e st r i ng SF40 You can use this to verify the SF40/C is connected and operational over the selected interface. Read Write Persists 16 byt e st r i ng 9.2.
SF40/C Product manual A null terminatedASCII string. The SF40/C will send this command when it needs to communicate a human readable message. Read Write Persists 9.6. User data [9] This command allows 16 bytes to be stored and read for any purpose.
Product manual 9.10. Stage firmware [16] The first part of uploading firmware to the SF40/C is to stage the data. This command accepts pages of the firmware,each long, and an index to indicate which page is being uploaded.Pages are created by 128 byt es dividing the firmware upgrade file into multiple 128 byte chunks.
Persists ui nt 32 9.13. Stream [30] The SF40/C can continuously outputdata without individual request commands being issued. Reading from the command will indicate what type of data is being streamed. Writing to the command will set the St r eam St r eam type of data to be streamed.