hokuyo_urg-04lx_with_matlab
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
hokuyo_urg-04lx_with_matlab [2018/10/19 11:34] – vpuri | hokuyo_urg-04lx_with_matlab [2018/10/19 14:36] (current) – vpuri | ||
---|---|---|---|
Line 3: | Line 3: | ||
The main goal of this tutorial is to interface the HOKUYO URG 04LX with MATLAB for the understanding of basic commands. | The main goal of this tutorial is to interface the HOKUYO URG 04LX with MATLAB for the understanding of basic commands. | ||
- | | + | '' |
The Hokuyo URG 04LX is a 2D low cost, small and accurate laser finder that is perfect suitable for the robotics applications. It has 240 degree arc with 0.36 angular revolution and also able for the detection range from 20mm to 5600mm. It is compatible with serial as well as USB communication both. | The Hokuyo URG 04LX is a 2D low cost, small and accurate laser finder that is perfect suitable for the robotics applications. It has 240 degree arc with 0.36 angular revolution and also able for the detection range from 20mm to 5600mm. It is compatible with serial as well as USB communication both. | ||
+ | |||
+ | **Power Consumption for the HOKUYO URG:** | ||
+ | |||
+ | Voltage : 5 Volt | ||
+ | |||
+ | Current : 500 mA | ||
+ | |||
+ | **//It is allowed to use with battery operated platforms// | ||
+ | |||
+ | '' | ||
+ | |||
+ | **HOKUYO URG 04LX** | ||
+ | |||
+ | {{ : | ||
+ | |||
+ | **USB CONNECTOR** | ||
+ | |||
+ | {{ : | ||
+ | |||
+ | '' | ||
+ | |||
+ | **Download the Software** : [[https:// | ||
+ | |||
+ | **Configure with the software** | ||
+ | |||
+ | Change the COM Port (according to the connected port) | ||
+ | Click the connectivity button | ||
+ | Device is connected and ready to see!! | ||
+ | |||
+ | **Screenshot for PORT** | ||
+ | |||
+ | | ||
+ | {{ : | ||
+ | |||
+ | |||
+ | **Output Window** | ||
+ | |||
+ | |||
+ | {{ : | ||
+ | |||
+ | |||
+ | '' | ||
+ | |||
+ | The main procedure behind the implementation is as follow: | ||
+ | |||
+ | 1. Configuration of LiDAR with initialization Commands | ||
+ | |||
+ | 2. Read the data from the LiDAR | ||
+ | |||
+ | 3. Decode the Data into mm | ||
+ | |||
+ | 4. Plot this points on the Graph | ||
+ | |||
+ | |||
+ | **Configuration of LiDAR with initialization Commands** | ||
+ | |||
+ | Initialization Commands -- (Default Baudrate for Hokuyo is: 19200) | ||
+ | |||
+ | {{ : | ||
+ | |||
+ | |||
+ | Read the data from the LiDAR | ||
+ | |||
+ | {{ :read.jpg |}} | ||
+ | |||
+ | |||
+ | Decode Data for LiDAR | ||
+ | |||
+ | {{ :decode.jpg |}} | ||
+ | |||
+ | GUI for the decode Data | ||
+ | |||
+ | {{ :gui.jpg |}} | ||
+ | |||
+ | **OUTPUT from MATLAB** | ||
+ | |||
+ | Command Window output | ||
+ | |||
+ | {{ : | ||
+ | |||
+ | |||
+ | GUI output | ||
+ | |||
+ | {{ :out11.jpg |}} | ||
+ | |||
+ | **Final Word** | ||
+ | |||
+ | If you have any query please feel free to ask at [email protected] | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ |
hokuyo_urg-04lx_with_matlab.txt · Last modified: 2018/10/19 14:36 by vpuri