About 96,400 results
Open links in new tab
  1. How to read and write from a COM port using PySerial?

    I have Python 3.6.1 and PySerial installed. I am able to get a list of COM ports connected. I want to send data to the COM port and receive responses: import serial.tools.list_ports as port_list po...

  2. python - Failing to get response from serial port using pyserial ...

    0 I'm trying to connect to a device using a serial port. I tried two ways – 1) pyserial in Python and 2) PuTTY. I managed to connect to the device and use it, using PuTTY. However, in Python I can only …

  3. python - No module named serial - Stack Overflow

    Serial is not included with Python. It is a package that you'll need to install separately. Since you have pip installed you can install serial from the command line with:

  4. Python Serial: How to use the read or readline function to read more ...

    Apr 18, 2013 · Python Serial: How to use the read or readline function to read more than 1 character at a time Asked 12 years, 8 months ago Modified 1 year, 8 months ago Viewed 477k times

  5. Python serial (pySerial) Reading lines with EOL \r instead of \n

    Jul 20, 2017 · Python serial (pySerial) Reading lines with EOL \r instead of \n Asked 8 years, 4 months ago Modified 3 years, 1 month ago Viewed 24k times

  6. What has happened to python-serial? - Stack Overflow

    Jan 12, 2022 · I have had replace an old PI2B, Jessie, Python 2.7, which satisfactorily ran some python code, with PI3B, Buster, Python 3.7, but I now cannot find/load python-serial. 'sudo apt-get install …

  7. python - AttributeError: module 'serial' has no attribute 'Serial ...

    Dec 17, 2016 · 2 I was getting the same error, but what works for me was: uninstall serial : pip3 uninstall serial uninstall pyserial: pip3 uninstall pyserial reinstall a previous version of pyserial: pip3 install …

  8. Has python package serial been renamed to pyserial?

    Oct 16, 2020 · The serial package on Pypi is something different to pyserial. Maybe what's confusing you is that you need to install Pyserial with pip install pyserial, but import it with serial.

  9. How to write integers to port using PySerial - Stack Overflow

    Jul 25, 2014 · I am trying to write data to the first serial port, COM1, using PySerial.

  10. python - readline () in pySerial sometimes captures incomplete values ...

    Every one second, Arduino prints (in serial) ' current time in milliseconds and Hello world '. On serial monitor, the output looks fine. But in pySerial, sometimes there is line break at the middle of string.