About 50 results
Open links in new tab
  1. python - Full examples of using pySerial package - Stack Overflow

    Can someone please show me a full python sample code that uses pyserial, i have the package and am wondering how to send the AT commands and read them back!

  2. 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...

  3. python - No module named serial - Stack Overflow

    Download zip from pyserial and save extracted library in Lib>>site-packages folder of Python. Download wheel and install wheel using command: pip install <wheelname>

  4. Pyserial install for Python 3.X (64bit windows) - Stack Overflow

    Feb 25, 2016 · Try installing PySerial from the command line in Windows. Just make sure 'pip' is in your PATH. C:\Users\User>pip install pyserial By the way, newer versions of PySerial have some bugs …

  5. Access USB serial ports using Python and pyserial

    How do I access the USB port using pyserial? I have seen an example with: import serial ser = serial.Serial ('/dev/ttyUSB0') I used to access the serial port from MATLAB on Windows and using the

  6. 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 …

  7. python - Installing Serial library in PyCharm - Stack Overflow

    Jul 15, 2022 · after PySerial library is installed: enter image description here I try to Run a simple program, and it says that No module named 'serial' is found. enter image description here Thanks in …

  8. python 3.x - Can't import serial in VSCode - Stack Overflow

    Nov 15, 2022 · 1 import serial Yellow line underneath "serial". When I hover my cursor it says 2 things: "serial" is not accessed Pylance Import "serial" could not be resolved Pylance (reportMissingImports) …

  9. How to read from the serial port in python without using external APIs ...

    Unfortunately it is difficult to successfully access a Windows serial port using only native Python libraries. The pyserial library provides a uniform, cross-platform way of accessing serial ports. It …

  10. python - Encode/decode data from RS232 serial port - Stack Overflow

    Mar 24, 2020 · This is the first time I've had to connect to a device via RS232 serial to read/write data and I'm stuck on the encoding/decoding procedures. I'm doing everything in Python 3 using the …