Top "Pyserial" questions

pySerial is a Python module that encapsulates the access for the serial port.

Handle exception in pyserial during disconnection

I have code which read data from serial port. try: dataIn = self.port.read(100) except serial.SerialException: #do some work …

python exception pyserial
Pyserial: could not configure port: (5, 'Input/output error)

I've been trying to get the following two lines of Python code to run for the past two days, without …

python linux ubuntu pyserial
Processing raw data read from serial port with Python serial library?

I am not a Python programmer but am rather electronic circuit designer, however this time I must process some raw …

python serial-port readline pyserial raw-data
How to expand input buffer size of pyserial

I want to communicate with the phone via serial port. After writing some command to phone, I used ser.read(…

python buffer pyserial
Identifying serial/usb device python

The solution to this problem is probably pretty simple, but I am new to interfacing with a device dynamically. What …

python serial-port pyserial usbserial
Disable DTR in pyserial from code

I'm trying to use pyserial to send data to an arduino. But when I open the COM port it sets …

python serial-port arduino pyserial
Reconnecting to device with pySerial

I am currently having a problem with the pySerial module in Python. My problem relates to connecting and disconnecting to …

python serial-port pyserial
What is the cross-platform method of enumerating serial ports in Python (including virtual ports)?

Note: I'm using Python 2.7, and pySerial for serial communications. I found this article which lists two ways: http://www.zaber.…

python cross-platform serial-port python-2.7 pyserial
Blinking an LED with an Arduino and pySerial

I feel really silly for asking this, but I've been shocked at my inability to find the simplest example I …

python arduino pyserial led
using serial port in python3 asyncio

i'm trying and, so far, failing to use python asyncio to access a serial port. i'd really appreciate any tips …

python serial-port python-3.4 pyserial python-asyncio