About 97,400 results
Open links in new tab
  1. 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 …

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

  3. Python Serial: How to use the read or readline function to read …

    Apr 18, 2013 · 13 Serial sends data 8 bits at a time, that translates to 1 byte and 1 byte means 1 character. You need to implement your own method that can read characters into a buffer until …

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

    Jul 20, 2017 · I am communicating with an SR830 lock-in amplifier via an RS232 cable. When reading the data as in the following code: import serial def main(): ser = serial.Serial( …

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

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

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

    Dec 17, 2016 · 2 uninstalling python and pyserial package completely and then installing python (python 3 in my case) back - for all users and add Paths correctly and then use pip3 for …

  8. python - Import serial doesnt work after using pip install pyserial ...

    May 27, 2021 · 1 pyserial is an annoying package. Although you install it using python3 -m pip install pyserial you need to import it using import serial. Linters have a hard time seeing that …

  9. Reading serial data in realtime in Python - Stack Overflow

    Nov 11, 2013 · I am using a script in Python to collect data from a PIC microcontroller via serial port at 2Mbps. The PIC works with perfect timing at 2Mbps, also the FTDI usb-serial port …

  10. Python serial port listener - Stack Overflow

    Sep 25, 2014 · I've begun writing some code using PySerial to send and receive data to a serial device. Up until now I've only been working on initiating a transaction from a terminal and …