SkoltechRobotics / rplidar

Python module for RPLidar A1 and A2 rangefinder scanners
MIT License
187 stars 126 forks source link

/dev/ttyUSB0 not found #29

Closed fishworx closed 4 years ago

fishworx commented 4 years ago

Hi, I'm running python3 on raspberry pi3b+.

The example code cant find the /dev/ttyUSB0 file.

I did the pip3 install as per the instructions. Is there any pre-requisite installs? Lidar is new out of the box.

lidar

newpavlov commented 4 years ago

/dev/ttyUSB0 is just an example path common for UART2USB on desktop Linux. I am not familiar with RPi3, but try a different path. IIUC with a correct configuration it should be /dev/serial0.

fishworx commented 4 years ago

all fixed, was not using the correct usb cable..... need to use a usb cable with power and data...