Skip to main content

Questions tagged [serial-port]

A serial port is a physical interface through which data is transferred (uni- or bidirectionally) one bit at a time. The term usually refers to the RS-232 port with a 9-pin d-sub connector that was once the standard serial interface on a PC.

0 votes
1 answer
53 views

Is there a way to make tasks/threads that execute in multiple stages?

I am trying to figure out how to improve my use of C# and solve a few problems in my code (which is the subject of a much more panicked question I posted earlier and which I will likely take down for ...
Cameron Hadland's user avatar
0 votes
1 answer
24 views

Serial Error: Could not open port 'COM5': PermissionError... when trying to send byte over Virtual serial port

I am trying to run 2 very basic test scripts, a read script and a write test script over serial communication using loopback. I have the read script in a while loop to read bytes received. I have the ...
Fisch's user avatar
  • 1
0 votes
0 answers
23 views

Why running tera term from Jenkins does not working?

I am trying to automate sending file through serial port using tera-term software. When i run command using cmd it works. but when i try to run the same command from jenkins script it does not work. ...
Saifur Rahman Bhuiyan's user avatar
1 vote
0 answers
18 views

Connect Android Emulator to Windows COM Port to Send/ Receive data

I am developing a mobile app that will communicate with external devices through USB serial cable I have done this with physical device, but I want this with android emulator (Virtual mobile). I think ...
Athikur rahuman S's user avatar
0 votes
0 answers
22 views

pySerialTransfer Two Way Communication Issues

I wrote a minimal two way python and serial communication script that sends an integer to the arduino. Then, the arduino increments the integer and sends it back over serial. comm.py from time import ...
itisyeetimetoday's user avatar
0 votes
0 answers
45 views

Sending float continuously from python to arduino via serial

I'm trying to send lots of float data from python to arduino. But when I check the values, some of them are wrong. the part of python code: arduino = serial.Serial(port=args.port, baudrate=115200, ...
PriceWang's user avatar
-2 votes
0 answers
19 views

Disable serial port printer in case of errors

I only recently started working on serial printers. In this case, the printer is available to print whether it has an error condition (eg. Open lid, no paper and so on) or not. I would like to ...
Helios Lucifer's user avatar
-1 votes
0 answers
44 views

Correct way of COM port paralleling [closed]

I have to make a program in C# to program some micro controllers. The controllers a programmed via a UART to USB adapter that windows recognizes as a COM device. The programming is fairly simple, I ...
user26316452's user avatar
0 votes
0 answers
50 views

Flutter serial port reads wrong bytes

I've tried to write an app in flutter to read a serial port connected to an Arduino Mega or ESP32 using flutter_libserialport. The problem is when I connect the device and open the port in flutter, ...
amirre's user avatar
  • 21
2 votes
1 answer
38 views

How to clear the receive buffer in a serial bus (SERDEV) kernel driver

I'm writing a very simple linux kernel driver for my serial keyboard, employing serdev. The driver works and the function static size_t serdev_keyboard_recv(struct serdev_device *serdev, ...
Victor Modamio's user avatar
0 votes
1 answer
18 views

C# .NET set DCD Data Carrier Detect on Serial Line

I need to write a Modem emulation, and so I need to set the DCD "pin" inside my C# .NET application. The SerialPort Class does only have a method for CDHolding, which reads the DCD state. ...
Manuel's user avatar
  • 645
0 votes
1 answer
25 views

PyQT5 QtSerialPort checksum prefix question

The follow configuration: Raspberry Rpi4B / Python 3.11.2 / PyQt5 5.15.9 The follow configuration: Raspberry Rpi4B / Python 3.11.2 / PyQt5 5.15.9 I have a question about how to adjust prefix checksum ...
Eric's user avatar
  • 11
1 vote
0 answers
33 views

wxPython: Cycling update of wx.ListCtrl DataTable from RS232 interface

I'm trying to make a program that reads in cycle the data from RS232 interface and shows it on wx.ListCtrl. The problem I have is that the data updates each 1 second and it's seems to be to high to ...
dim_dim's user avatar
  • 11
-2 votes
0 answers
15 views

How load, close and set default settings in Minnicom on Mac OS X

how can I do following with the minicom tool on Mac OS : load a configuration, which I have previously saved? exit Minicom without closing the entire terminal? configure it so, that it opens the ...
LysandrosAn's user avatar
-1 votes
0 answers
39 views

Fatal error caused by java xbee lib when sending data

I am trying to write code that will communicate between an xbee connected to my computer through USB with another xbee that I have connected to an arduino. I downloaded the library and set up ...
Miguel Rodriguez's user avatar

15 30 50 per page
1
2 3 4 5
782