Page 1 of 1

Read serial data from usb port

Posted: 23 Dec 2020, 10:20
by giova77
Hi,

i need to read data from a device using a USB to TTL Serial 5V Cable. For that I suppose I need to install the cable driver for Linux in the Rpi , is it correct?

Thanks in advance,
Giovanni

Re: Read serial data from usb port

Posted: 23 Dec 2020, 10:39
by Amar
First check if usb device is found.
ls -la /dev/ttyUSB*

If found, you can access the serial port. eg. Python application
https://pyserial.readthedocs.io/en/late ... intro.html