About 97,800 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 …

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

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

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

  5. linux - python serial port - Stack Overflow

    Feb 6, 2012 · I want to communicate with my serial port in python. I installed pyserial and uspp for linux: import serial ser = serial.Serial ('/dev/pts/1', 19200, timeout=1) print ser.portstr #check …

  6. Python: Writing to and Reading from serial port - Stack Overflow

    Oct 2, 2013 · I have a list of all COM Ports in use by Modems connected to the computer. From this list, I try to open it, send it a command, and if it says anything back, add it to another list. …

  7. python - Listing serial (COM) ports on Windows? - Stack Overflow

    Jul 30, 2009 · I'm looking for a robust way to list the available serial (COM) ports on a Windows machine. There's this post about using WMI, but I would like something less .NET specific - I …

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

  9. Python read serial (RS-232) data over TCP/IP - Stack Overflow

    Nov 7, 2014 · I am using a Moxa NPort 5110 serial-to-ethernet adapter to transfer serial data over a TCP/IP connection to my computer on port 4001. I am able to create a socket connection on …

  10. python - Sending serial communication from Raspberry pi - Stack …

    Feb 19, 2014 · I am sending serial data from a Raspberry Pi to an Arduino using a Python program. I am running Python 2.7.3. The program is: import serial ser = serial.Serial …

Refresh