Category "serial-port"

WSL and serial port

I am using Win10 and Linux Ubuntu on WSL 2.0. For testing purposes of some programs, I would like to use the serial port of my PC in "loopback" with Linux runni

Listening-in tty in Linux

I try to find an easy way to listen to the exchange with the desired tty in Linux. A have hardware device whose interface is exposed as /dev/ttyAMA0 and some d

Mettler toledo IND780 read weight through javascript

How one can communicate with Mettler toledo IND780 device for reading weight through browser application through javascript. I know ActiveXObject will work with

How to access window.navigator.serial in flutter web

On some browsers there exists the the property serial on the window.navigator object. I can see it on chrome but not on safari. How can I access that object via

Serial port becomes unresponsive on Ubuntu 20.04, but works on Ubuntu 18.04

I wrote a C++ program to continuously read data from a device, via serial over USB. The program works flawlessly in Ubuntu 18.04 (Bionic Beaver). I have an

Qt serial communication using UART RS232C

I want to connect qt and a device using UART cable (RS232C) in linux. I´m writing code, making ui and operating, but it does not work. I want to connect

Receipt printing via serial port (RS-232)

I'd like to write a c++ program(windows console application) to print receipts from a server (via websocket) to a locally connected(via rs-232) receipt printer(

USB considered as COM port

Why most of devices connected to a PC via USB are considered as connected to COM port? As I've read, COM port is referred to RS232 serial port with DB9 connecto

Python SerialException: Device reports readiness to read but returned no data (device disconnected?)

I've got two Raspberry Pi's sending data to each other using the Serial Port and a pair of XRF Radio's. Generally they work fine and the full program loops mult

Qt serial port: write and read data

I'm able to connect to my serial port, but I need to read data from it all the time. It's working for about 39 minutes, but after it stops at line serial.flush(

How do I write and read data in a browser with a COM port?

I am trying to read and write data from hardware through the browser. Here's what the hardware does: Send --> Data is simply sent from the unit. Writing --&g

Sending And Receiving SMS From GSM modem

I am trying to send message from GSM modem. I can submit AT commands the response is OK without any ERRORS. But the problem is I can't send message or read mess

Octave: How can I plot unknown length serial data using the instrument-control package?

I found this example which sorta works... but it's not perfect. For starters it plots 10 at once but that's an easy fix. Problem is that it does not dynamically

Uncommon baud rate on serial port - Linux

I'm currently trying to make a programm to read a serial port. On this port I receive data with a baud rate of 875000. It's really uncommon and I don't succeed

Why can't I call the PyUSB function dev.read() repeatedly without getting a timeout error?

I have a USB connection between a Macbook Air and a microcontroller sensor that streams hex data continuously. I'm trying to use PyUSB in Python to acquire the

Why can't I call the PyUSB function dev.read() repeatedly without getting a timeout error?

I have a USB connection between a Macbook Air and a microcontroller sensor that streams hex data continuously. I'm trying to use PyUSB in Python to acquire the

Receive RS485 Commands via C#

I have been googling and haven't found any code to help me with this, maybe I missed something? I want to receive RS485 commands. At the moment I am just recei