Posts: 7
Joined: Sat Oct 05, 2013 7:18 pm

USB Serial in Plan 9

Mon Aug 13, 2018 1:40 pm

There is a device connected via USB, which provides data via the Serial interface (ie the device gives data as a COM port). How can I read the data that is issued?
usb / probe device sees.

Posts: 3672
Joined: Fri Jun 08, 2012 6:03 pm

Re: USB Serial in Plan 9

Mon Aug 13, 2018 2:33 pm

I've used either MiniCOM and GTKTerm so read data from serial ports before. These work well if you just want to read the raw serial data.

Most programming languages have a way to read from serial ports too. For example the PySerial module allows python to read from serial ports. You'd use a programming lanugage and it's serial port 'library code' to do more complex interactions with the serial port. For example displaying a graph of the data from the serial port rather than just seeing the text scroll on the screen.
Electronic and Computer Engineer
Pi Interests: Home Automation, IOT, Python and Tkinter

Return to “Plan 9”