Skip to main content
Filter by
Sorted by
Tagged with
1 vote
1 answer
9k views

Using terminal : ls /dev/tty.* will give me many addresses . My usb cable is connected to Arduino UNO board. On the arduino IDE i see the port as : /dev/cu.usbmodem1421(Arduino Uno) ,but when i am ...
1 vote
1 answer
9k views

I want to read data frames sent by a GPS XBee protocol. The USB XStick receives the following data: CHARS : 15931 SENTENCES = 0 CHECKSUM : 58 Heading : 55 Tilt: -46 Roll:2 CHARS : .... ...
9 votes
3 answers
97k views

What is the best way to access a serial port from VBA? I have a need for some of our sales reps to be able to send a simple string over the serial port from an action button in PowerPoint. I don't ...
0 votes
2 answers
4k views

I purchased a Zebra LP 2844 label printer and would like to send ZPLII print jobs to it from a C++ program. I am able to connect to the printer and print test labels using the Zebra Setup Utilities ...
1 vote
4 answers
6k views

I am using two STM32H743 connected via RS232. These two modules connected to same power. They use UART with DMA. When I turn on modules at the same time, UART and DMA starts correctly. But when i ...
4 votes
2 answers
11k views

I trying to open two serial ports in Python with the following code: for i in range(0, 2): if platform.system() == "Darwin": pos = 2+i else: pos = i port = serial....
3 votes
1 answer
18k views

My node.js script uses the serialport npm package to read and write to COM5 port, which is connected to an RS-232 device. This device only writes to the serial port when it receives a command sent by ...
11 votes
9 answers
54k views

I am looking for a way to communicate with RS232 serial COM port on windows. I have found 2 solutions on the net, one which is not totally free (introduces deliberate delays on the function) and ...
5 votes
2 answers
7k views

I'm trying to understand how the STM32F091VB manages the send of data via serial protocol with the function HAL_UART_Transmit_IT() At the moment I've a function called in the main() that creates the ...
0 votes
0 answers
83 views

I'm currently using a SBC (a Raspberry Pi Zero 2W) to receive data from a device (let's call it Sensor). Sensor is connected to the micro USB port on the SBC through an adaptor with FTDI FT232R USB ...
0 votes
1 answer
148 views

I have been working on multiple projects of Embedded Linux from last 5 years but there is a small problem when I use UART. I am using STM32MP13F with MYIR board. The UART is connected to half duplex ...
1 vote
0 answers
71 views

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
3 answers
2k views

Please advise how I can cx-freeze my python program which uses serial : import serial import serial.tools.list_ports; print serial.tools.list_ports() Here's my setup.py import sys ...
1 vote
2 answers
999 views

I am trying to communicate with an Arduino over serial. The form is using: using System.IO.Ports; My code breaks here: SerialPort mySerialPort = new SerialPort("COM3"); The exception is: ...
0 votes
3 answers
2k views

Operating system : Ubuntu Serial Ports Using : USB->Serial adapter (prolific PL2303) I have a sample serial port read and write programs. While running the applications,I am trying to send 4100 ...
0 votes
1 answer
4k views

I am using Arduino (some micro-controller), and I made an ASP.NET page to communicate with it. I connected Arduino to serial-port COM4. When I run the ASP.NET website, I get the following error: ...
8 votes
5 answers
22k views

I have a program, using PySerial, and I want to test it without using a real serial port device. In Windows, I use com0com, and in Linux, I know there is a method to create a virtual serial port pair ...
1 vote
1 answer
9k views

I'm trying to learn how to program the ttyS0 serial port in Linux using C. I have another machine connected to my serial port sending alternating hex values of 5f and 6f about every two seconds. I'...
0 votes
2 answers
13k views

I'm currently experimenting with sending a string to my Arduino Yun and trying to get it to reply back depending on what I send it. I picked up a framework of some code here and have been ...
0 votes
2 answers
976 views

I am writing a C++ program to get and parse GNSS data from a device connected via serial port. After establishing the connection, all I get is some jibberish and not the expected NMEA sentences. Has ...
0 votes
1 answer
461 views

I developed a desktop application using JavaFX and Maven dependency manager. I used Java 8 and JSSC package to communicate with a serial port using USB. That time it was working as I expected. But now ...
1 vote
0 answers
55 views

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. ...
7 votes
1 answer
10k views

EDIT: I have done some testing with the following script (found here: PHP serial port data return from Arduino). It appears that even using fwrite to /dev/ttyUSB0 outputs my new command plus the last ...
1 vote
0 answers
100 views

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 votes
3 answers
3k views

Is there a way i can get a voltage input using rs232? What i am doing now is i have 2 pc hooked up to rs232 to communicate using gnd, tx and rx pin. Ive also connect DTR to a switch and when the ...

1
2 3 4 5
234