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. 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, 9 months ago Modified 1 year, 10 months ago Viewed 478k times

  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 (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, 6 months ago Modified 3 years, 3 months ago Viewed 24k times

  5. 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 works great at …

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

  7. python - Using pyserial to send binary data - Stack Overflow

    I know there has been a lot of discussion on this but I still have a question. I am trying to send hex values through pyserial to my device using pyserial command="\\x89\\x45\\x56" ser.write(command)

  8. python - PySerial non-blocking read loop - Stack Overflow

    Remember Python has a GIL and at one time only one thread can execute. Now please note that pyserial module is a wrapper over an OS implementation of accessing the serial port.

  9. python - SerialException: could not open port (Access is denied ...

    serial.serialutil.SerialException: could not open port 'COM4': WindowsError(5, 'Access is denied.') Here are what I did: 1) I check device manager, COM 4 can be seen, but cannot open 2) In my code, I do …

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