sick_lms200_with_matlab_and_serial_terminal
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
sick_lms200_with_matlab_and_serial_terminal [2018/10/18 11:06] – vpuri | sick_lms200_with_matlab_and_serial_terminal [2018/10/19 10:06] (current) – vpuri | ||
---|---|---|---|
Line 39: | Line 39: | ||
+ | * **Serial Communication between SICK LMS200 and PC** | ||
+ | |||
+ | |||
+ | USB to Serial Converter is the perfect solution for making a bridge between the PC and Sick LMS200. It supports traditional RS232 serial port. | ||
+ | |||
+ | **USB to Serial Communication Port** | ||
+ | |||
+ | {{ : | ||
+ | |||
+ | |||
+ | **Overview Communication setup for SICK LMS200 with PC** | ||
+ | |||
+ | {{ : | ||
+ | |||
+ | |||
+ | **Interfacing commands for the SICK LMS200 with Serial Terminal(Realterm)** | ||
+ | |||
+ | **Setup the Baud rate** | ||
+ | * Default Baud Rate for SICK LMS200 is **38400** | ||
+ | | ||
+ | **Establish a connection with SICK LMS200** | ||
+ | * Turn on the power for LMS | ||
+ | * First Yellow and Red LED are active, It means trying to startup LMS200 | ||
+ | * Changes to Green LED, means ready for the communication | ||
+ | |||
+ | **Connected with Real Term** | ||
+ | * Open the Real Term Serial Capture Program | ||
+ | * Go to Port => Baud: 38400, Port: USB to RS232 communication port and click on Open | ||
+ | * Go to Display change Displays as Hex+ASCII and click on Change | ||
+ | * Go to Send | ||
+ | |||
+ | {{ : | ||
+ | |||
+ | **Step by Step Commands for the Communication(Commands in Hex Values)** | ||
+ | |||
+ | When you connect the LMS to the Realterm, it generates some welcome message | ||
+ | |||
+ | {{ : | ||
+ | |||
+ | **//Some Command for Configuring// | ||
+ | * LMS TO PC: 02 00 01 00 31 15 12 :: PC TO LMS 06 02 ..... (Making a connection between | ||
+ | * LMS TO PC: 02 00 02 00 20 24 34 08 :: PC TO LMS 06 02 81 03 00 A0 00 10 36 1A (Continous Data Receive from LMS) | ||
+ | |||
+ | **Interfacing of SICK LMS200 with MATLAB** | ||
+ | |||
+ | **Program for Interfacing with MATLAB** | ||
+ | |||
+ | {{ : | ||
+ | |||
+ | **Output** | ||
+ | |||
+ | {{ : | ||
+ | |||
+ | |||
+ | **FINAL WORDS** | ||
+ | |||
+ | If you have any questions, please contact me at vikrampuri03@gmail.com | ||
sick_lms200_with_matlab_and_serial_terminal.1539885995.txt.gz · Last modified: 2018/10/18 11:06 by vpuri