

The YDLIDAR GS5 is a 360-degree laser scanner designed for high-precision distance measurement and mapping. Manufactured by YDLIDAR, this compact and lightweight LiDAR sensor is ideal for robotic applications, including autonomous navigation, obstacle detection, and environmental mapping. Its ability to operate effectively in diverse environments makes it a versatile choice for developers and engineers working on robotics, drones, and other automation projects.








The following table outlines the key technical specifications of the YDLIDAR GS5:
| Parameter | Value |
|---|---|
| Measurement Range | 0.05 m to 25 m |
| Scanning Frequency | 5 Hz to 12 Hz (adjustable) |
| Angular Resolution | 0.18° to 0.36° |
| Field of View (FOV) | 360° |
| Distance Accuracy | ±2 mm (at 1 m) |
| Laser Wavelength | 905 nm (Infrared) |
| Laser Safety Class | Class 1 (Eye-safe) |
| Communication Interface | USB 2.0 / UART |
| Input Voltage | 5 V DC |
| Power Consumption | ≤3 W |
| Operating Temperature | -10°C to 50°C |
| Dimensions | 70 mm × 70 mm × 41 mm |
| Weight | 190 g |
The YDLIDAR GS5 uses a standard 4-pin interface for communication and power. The pin configuration is as follows:
| Pin | Name | Description |
|---|---|---|
| 1 | VCC | Power input (5 V DC) |
| 2 | GND | Ground |
| 3 | TXD | UART Transmit Data (to host device) |
| 4 | RXD | UART Receive Data (from host device) |
Below is an example of how to connect and use the YDLIDAR GS5 with an Arduino UNO:
| YDLIDAR GS5 Pin | Arduino UNO Pin |
|---|---|
| VCC | 5V |
| GND | GND |
| TXD | RX (Pin 0) |
| RXD | TX (Pin 1) |
#include <SoftwareSerial.h>
// Define RX and TX pins for SoftwareSerial
SoftwareSerial lidarSerial(10, 11); // RX = Pin 10, TX = Pin 11
void setup() {
Serial.begin(9600); // Initialize Serial Monitor
lidarSerial.begin(115200); // Initialize LIDAR communication
Serial.println("YDLIDAR GS5 Initialized");
}
void loop() {
if (lidarSerial.available()) {
// Read data from the LIDAR
String lidarData = lidarSerial.readStringUntil('\n');
Serial.println("LIDAR Data: " + lidarData); // Print data to Serial Monitor
}
}
Note: Replace
10and11with the appropriate pins if using different connections. Ensure the baud rate matches the GS5's default UART settings.
No Data Output
Inaccurate Measurements
Device Not Detected
Intermittent Power Issues
Q: Can the GS5 be used outdoors?
Q: What software is compatible with the GS5?
Q: How do I clean the sensor?
Q: Can I adjust the scanning frequency?