All Questions
137
questions
0
votes
0
answers
46
views
Can't communicate device with his RS323 to 2 pins uart of GPIO
I have a a microbench device, it has his RS232 port.
but I just can read data from this microbench device with this cable:
The microbench device have tx pin with -9V. How can I comunícate microbench ...
0
votes
0
answers
33
views
Raspberry freezes when closing serial connection
I wrote a Python script with pyserial to read data from two different USB devices (Witmotion IMU, Ublox ZED-F9P GNSS Receiver). This works perfectly on Windows. Every time I run the same script on a ...
0
votes
1
answer
34
views
USB Python Script Issue Raspberry Pi OS
I'm encountering an issue where I'm trying to trigger a Python script in the background upon
plugging in up to four USB devices, all with the same USB vendor and product IDs.
To accomplish this, I've ...
0
votes
1
answer
188
views
Communication between two RP2040 devices with micropython
I have two RP2040 devices, one a Raspberry Pi Pico W(H), and one a Waveshare RP2040 LCD 1.28 device. I am trying to send data from the Waveshare to the Pico through a USB cable (USB-C on the ...
0
votes
0
answers
25
views
USB devices changes ttyACM and device rumber on automatic reconnect
I have a Quark elec AIS receiver connected to my raspberry pi 4 and after some randon amount of time it disconnects en reconnects. After this the device number and the ttyACM* number changes. See the ...
-1
votes
1
answer
2k
views
Using USB port as serial UART
So I have a circuit board (IWR6843ISK) that I want to connect to RPI400 via USB serial to send and receive data. Here are some details:
This board uses a USB to dual UART bridge (micro USB port).
I'...
1
vote
1
answer
577
views
Handling of USB connection breaks in Python3
I have USB connection from RPI4 to Pico, usually occupying ttyACM1, but occasionally after connection break/boot it may get values ACM2 or AMA0
I am trying to build an automatic recovery if USB is ...
1
vote
0
answers
598
views
Read serial data from incoming USB device on the Pico
So I am new to using the pico w and I am trying to connect a scoreboard controller device (Daktronics All Sport® 5000) that outputs real time data over serial. I have an RS323 to USB converter that is ...
1
vote
2
answers
88
views
close ttyACM0 takes 30 seconds (too slow)
Raspberry Pi 4 B pPython code basically does this:
fptr = open('/dev/ttyACMwa', 'rb')
... etc ...
fptr is used by AsyncReader
... etc ...
on shutdown:
loginf("before close")
TT1 = time.time(...
1
vote
3
answers
289
views
How to connect Arduino to Raspberry through USB-TTL (called like this in electronics shops)?
I want to connect an Arduino to Raspberry Pi through a USB-TTL converter like this one:
My doubt would be about logic voltage. I know that Arduino works with 5V logic, while Raspberry Pi does with 3....
1
vote
1
answer
245
views
How to access remote machine terminal that is connected via USB serial?
I have a remote machine running Ubuntu that has an on-board USB serial converter. I can easily access remote's terminal by connecting via USB to Windows and running PuTTY. However, is it possible to ...
1
vote
1
answer
1k
views
Raspberry Pi Pico doesn't create tty file
I've been using Raspberry Pi Pico for some time already and I'm using minicom for serial communication. But one day Pico stopped generating tty/ATCM0 when connected to USB port. Before this everything ...
-1
votes
1
answer
195
views
Program to test i2c communication with serial prints breaks RP pico
Background:
I am trying to test the communication of 2 raspberry pi pico using i2c. Firstly, i sent a string from one and receive it from the second one. Both of them print the results in the serial ...
1
vote
0
answers
199
views
Serial port vs USB serial adapter timing issues
I'm working on some code that communicates via RS-485/MODBUS RTU with some devices. Depending on my development needs, sometimes I use a USB-RS485 adapter, other times I use an RS-485 HAT that's ...
1
vote
3
answers
1k
views
can raspi zero 2 w be usb host on micro usb plug and on console cable on TX/RX at same time?
I want to run weewx on a raspi zero 2 w. I want an RTL-SDR radio dongle and an arduino uno to communicate with the raspi02w over two usb connections. If I replaced the raspi zero 2 w with a raspi 4 ...