11,666 questions
-4
votes
1
answer
129
views
Serial USB communication on ESP32-S3 as host [closed]
I have an ESP32-S3-N16R8 devkit board with two USB ports and I have a device that communicates via Serial USB. I want to read serial data from ESP32 board and process it. So the ESP32 board should act ...
1
vote
0
answers
94
views
Trying to Get Serial info to separate it from other
I have a list of 12 serial COM ports and I am trying to pick only the ones made from a specific Manufacturer, "FTDI". For some reason, I cannot pull this info without using the Systems....
1
vote
0
answers
71
views
Read/write to USB serial device while it's in use
I have a C# application that uses the USB serial device mounted to /dev/ttyUSB0.
I need to send a status request to this device, which I can do very easily with printf "\00\48\ee\ff" > /...
1
vote
1
answer
43
views
SerialPort Read() vs BaseStream.Read()
I'm currently reading the serial port via .BaseStream.Read(), but I noticed this in the documentation:
Because the SerialPort class buffers data, and the stream contained in the BaseStream property ...
1
vote
0
answers
55
views
Raspberry Pi + EBYTE E32‑900T30S over UART — AUX=HIGH but no AT response
I’m trying to talk to an EBYTE E32-900T30S LoRa module from a Raspberry Pi 4 using the Pi’s UART and a small Python wrapper. The module’s AUX pin goes HIGH, but I get no response to AT queries (e.g. ...
1
vote
0
answers
35
views
Why does my modem send a DTMF 9 tone three times even when AT+VTS is only called once?
I'm working on a project where I use a StarTech USB56KEMH2 modem with Python (PySerial) on Linux to call my building's buzzer (MICROM system) and open the door by sending a DTMF 9 tone.
The modem is ...
2
votes
1
answer
117
views
Serial Port Connection Fails on Subsequent Attempts (Jetson Orin Nano - RS485)
I am experiencing an issue with a serial port connection on my Seeed Studio reComputer J30 (Jetson Orin Nano Industrial). When I reboot the device, the serial port connection works fine on the first ...
0
votes
1
answer
71
views
ESP32 and Fingerprint Sensor – Serial Monitor Shows Nothing
I'm trying to connect a fingerprint sensor (Adafruit type) to my ESP32 (DOIT ESP32 Devkit V1), but the Serial Monitor remains completely blank, even though I'm using Serial.begin(9600) and printing ...
1
vote
0
answers
100
views
Cannot read data from the digital force gauge by using Pyserial
I want to get force values from a digital force gauge which has a RS232 port. According to the FH Data Connection protocol, if I send ASCII '9' by using Pyserial, the device should send the force ...
1
vote
1
answer
138
views
Read data from RFID card reader connected to serial port
I am trying to read data from RFID card reader connected to serial port using javascript's Web Serial API. I was able to connect to my card reader but I am unable to read the data. The data is logged ...
1
vote
0
answers
121
views
Pyserial communication issue
I'm using pyserial with most of my project and I often have communication issue.
Software Setup:
Windows 10
Python 3.11.9
Pyserial 3.5 (installed with pip on venv)
port settings:
self.port = serial....
0
votes
0
answers
51
views
SIM8200EA-M2 5G Module Not Recognized on Windows 11 Despite Driver Installation
I can communicate with the 5G module from a Raspberry Pi running the latest Raspberry Pi OS via the serial interface without any issues. However, when I attempted the same on my Windows 11 laptop, I ...
0
votes
0
answers
124
views
Decoding the h.264 stream from a serial port
I would like to know if there is a reliable way to decode an H.264 NAL stream coming through a serial port using software.
So far, I have managed to decode a single frame using a python script. In ...
1
vote
0
answers
146
views
How to set up ESP32 on macOS for the first time and resolve serial connection issues?
I’m new to the ESP32 and trying to get it working on macOS. The board is connected (red light is on), but I’m facing couple of issues.
#What I have tried so far
I ran ls /dev/cu.* and see /dev/cu....
0
votes
2
answers
82
views
How to create an if statement with serial data?
How would I write the code so if I recieve 'hello' it runs a function?
import serial
ser = serial.Serial(port='/dev/tty.usbmodem11201',baudrate=9600)
while True:
value= ser.readline()
...
1
vote
1
answer
138
views
Proper method to send and receive binary data over serial port with boost asio?
I am trying to write a serial communication protocol between a C++ application and ESP32 microcontroller. The basic structure uses 1 byte headers specify the category of data followed by various ...
0
votes
0
answers
42
views
In my flutter app I am getting two connecting popups when serial device attach
I have developed a mobile app using flutter that will establish a serial communication. Now I am using flutter_serial_communication package, and I have also tried usb_serial before both communication ...
3
votes
1
answer
104
views
How can I avoid Thread leak with reading SerialPort in C#?
I have an application that requests a response from 3 virtual serial ports using serialPort.DataReceived. This can cause threads to accumulate. Each serial port runs in its own thread.
I can see the ...
0
votes
0
answers
60
views
.Net SerialPort overrun cause?
I have a .Net Windows desktop application that reads a data packet from an external device via a serial port. This is a very infrequent action (once a minute, if that), and the data packet is approx ...
-1
votes
1
answer
25
views
Two functions reach the identical socketio.emit line. One emits the other doesn't. Can't wrap my head around it
from flask import Flask, send_from_directory
from flask_socketio import SocketIO
import time
import threading
import os
import serial
# Serial Configuration (Modify COM Port if needed)
SERIAL_PORT = &...
0
votes
0
answers
61
views
Serial/uart configuration on RPi 4
Quick question
I'm recovering from breakdown on my RPi 4. Old RPi was scrapped and copying all setup on new RPi. Unfortunatelly setap which use to work now does not respond. I have noticed settings of ...
0
votes
0
answers
34
views
The qt application periodically reads serial port data, but nothing is read
In a piece of qt code, I use QSerial to receive serial port data. When I use the signal and slot , I can read the data correctly. However, if I do not use the signal and slot but read the data ...
0
votes
1
answer
84
views
SerialPort.DataReceived Event and thread safe
If SerialPort_obj_DataReceived called by multi thread , in this case should I to use a lock or not ?
similar question here:
serial port thread locking while processing data read from serial port
Thank ...
0
votes
1
answer
499
views
Unable to access /dev/ttyS0 as a regular user, despite having the right permissions
I'm trying to access the UART connected to the standard GPIO pins 14/15. As root, I can access them just fine. As a regular user, I always see a super abstract message:
$ minicom -b 115200 -D /dev/...
1
vote
0
answers
110
views
Unable to Pair with an RFCOMM Bluetooth Server on Raspberry Pi
I'm running an RFCOMM Bluetooth server on my Raspberry Pi (headless ubuntu) using the BlueZ stack. My goal is to allow a smartphone or PC to pair with the Raspberry Pi via the GUI (e.g., from the ...