I bought an RPLidar A1M8-R6 from the following site: https://www.dfrobot.com/product-1125.html?tracking=585c2ddea9c83

I am trying to connect RPLidar to Arduino so I could get information on the degrees and distance detected by the Lidar. I was following the instructions from the video on the following site: https://dronebotworkshop.com/getting-started-with-lidar/

My problem is that I am unable to figure out which wires to connect to Arduino. I was trying to follow the video but the colors of the wires in the video and their orientation is not the same in the product I have. Can somebody please help me identify the wires? I'm trying to figure out which one is Ground, 5v, Tx, Rx, Motoctl, Vmoto and vcc. Thank you very much! I'm attaching the picture of the wires here.

enter image description here

enter image description here

  • $\begingroup$ How do I identify the different wires on RPLidar? ... by reading the datasheet $\endgroup$
    – jsotola
    Commented Sep 18, 2021 at 14:45

1 Answer 1


Like jsotola mentioned, the way to find information on a thing is to look at its datasheet. From the datasheet (warning: direct download, found on the bottom-right of this page):

enter image description here

So, comparing your picture to the datasheet, it looks like:

Signal     | Color
TX           Yellow
RX           Green
VCC_5V       Orange
GND          White
GND_MOTO     Black
5V_MOTO      Red

You're really going to want to read the datasheet, because that's where you're going to get all the information about baud rate, packet format, parameter settings, voltages, power consumption, etc.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.