About 292,000 results
Open links in new tab
  1. 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?

    On Windows, you need to install pyserial by running pip install pyserial then your code would be import serial import time serialPort = serial.Serial( port="COM4", baudrate=9600, bytesize=8, …

  3. python - pyserial: No module named tools - Stack Overflow

    Jan 1, 2013 · What is the explanation for why pip install pyserial installs the tools sub-module and apt-get install python-serial doesn't?

  4. 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: pip install pyserial Or, you …

  5. Failing to get response from serial port using pyserial

    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 connect to the device (open the port) but I …

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

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

  8. What is the equivalent of Serial.available () in pyserial?

    Jul 29, 2016 · In all the introductory tutorials for pyserial, I have never seen the command ser.in_waiting. Is there a reason it is avoided? Serial.available() is ubiquitous in Arduino C …

  9. pyserial - Listing available com ports with Python - Stack Overflow

    Aug 23, 2012 · I am searching for a simple method to list all available com port on a PC. I have found this method but it is Windows-specific: Listing serial (COM) ports on Windows? I am …

  10. How can I improve PySerial read speed - Stack Overflow

    Apr 10, 2015 · Is PySerial poorly optimized, or is there some mistake in my code I missed? I could just run cat /dev/ttyACM0 > somefile from Python and then read that file, but that's not really a …