Skip to content

Latest commit

 

History

History
49 lines (30 loc) · 5.89 KB

File metadata and controls

49 lines (30 loc) · 5.89 KB

Velodyne 3D lidar cabling guide

Author: Tobit Flatscher (2023)

Disclaimer

If you got yourself a lidar without the interface box - only with the M12 connector - you will have to make a cable for it yourself. Fortunately enough this can be done without any soldering. The pin-out for this can be found inside the offical data sheet.

At this point I want to make clear that this not the recommended way of interfacing the lidar, mainly for the following reasons:

  • The sensor does not have over-voltage nor reverse voltage protection as stated here. The power regulation is generally performed by the interface box. This means if you follow this guide you have to be careful that you provide 12V DC without any drastic current spikes as any high current spikes (e.g. when mounting it onto a robot with other actuators) might damage the lidar. From my personal experience lidars can deal with slight overvoltages (e.g. 18V DC). If you want to be sure that your precious lidar is not damaged you could add a small standard board for power regulation (e.g. this one).
  • The interface box allows you to use GPS time sync and sync the lidar to a GNSS receiver using pins 5 and 6 which I am not wiring in my guide but in case you need them it should be quite straight forward to wire them in: GPS_RXD_CNT should go to pin 5 while GPS_PULSE_CNT to pin 6 according to the schematics in the manual while you will have to provide the receiver with 5V and ground.

So if you need GPS sync or you can't provide a steady 12V DC voltage, either buy the interface box or make your own one starting from the schematics in the manual. Furthermore I do not recommend following this guide if you plan on using the lidar in any commercial environment.

Creating your own cable

Get yourself a cheap 12V 1A power supply such as this Zolt 45W, a corresponding pigtail power cable (in this case positive center), an Ethernet network cable and a female 8-pin M12 connector (see pictures below).

img img img Shielded M12 8 Pin A-Code Female Field Termination Connector, 24-20AWG -  M12FT8AFS
12V 1A power supply Pigtail 5.5mm x 2.1mm power cable Ethernet network cable Female 8-pin M12 connector

The Ethernet cable will likely be T-568 B (see image below). The cross-over cable depicted only serves illustrative purposes as this was the best picture I could find onlin that depicted both 568A and 568B layouts.

The Pros & Cons of T568a vs T568b & Which To Use

The female 8-pin M12 connector should already be numbered on the front. In case it is not please check the offical data sheet keeping in mind that the side depicted in the manual is the male sensor-side while you are interested in the matching (mirrored) female client-side which I sketched out below. In case you mess this up you might fatally damage your lidar!

You will have to connect the pins on the computer-side as follows:

Computer-side pin-out of the lidar

8-pin connector pin number Wire Signal
1 Ethernet T-568B green Ethernet RX-
2 Ethernet T-568B light-green Ethernet RX+
3 Ethernet T-568B orange Ethernet TX-
4 Ethernet T-568B light-orange Ethernet TX+
5 - -
6 - -
7 Power cable white +12V
8 Power cable black Ground

As described before GPS time sync should be using pins 5 and 6 as described above which I am not wiring in. I have no intention to sync my lidar to GPS in the near future and therefore did not test it. If you test it let me know and I will update this guide!

Before testing the cable with the lidar do yourself a favour and test the cable with a multi-meter and test every single wire for continuity.