Skip to main content

Questions tagged [serial]

is the process of sending data one bit at a time, sequentially, over a communication channel or computer bus. Traditionally "serial" relates to a three (or more with hardware handshaking) wire system (TIA-232-F), now using ∓25V Voltages. Technically speaking the specialized SPI (Serial Peripheral Interface) and I2C (Inter-Integrated Circuit) buses are serial communication systems as well - use one of those tags if they would be more appropriate!

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 ...
Torprendido's user avatar
0 votes
0 answers
17 views

U-Boot on alternative pins

My GPIO 14/15 pins (and I believe UART0 and UART1) are broken, so I cannot use the default serial port for U-Boot. How can I get U-Boot to boot on a different serial port on my Raspberry Pi 4B?
Jeremy Salwen's user avatar
-1 votes
1 answer
37 views

Minimal config.txt for enabling UART0

I am attempting to connect to the UART0 on my Raspberry Pi 4B. I have shorted together GPIO pins 14 and 15 (pins 8 an 10 on the header). I then run picocom /dev/ttyAMA0 and see if it's echoing (it ...
Jeremy Salwen's user avatar
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 ...
pythom2's user avatar
-1 votes
1 answer
28 views

Unable to use UART and Bluetooth in RPi3 with audio output simulatneously

I am using Rpi 3b+ and I am trying to use the Bluetooth and UART simultaneously. with ls -l /dev: Serial 0 - ttyAMA0 Serial 1 - ttyS0 I had to use the UART (for reading coordinates in GPS) and ...
Aryan's user avatar
  • 1
0 votes
0 answers
32 views

Reading Serial (RS-485) Data (RPI5)

I have an RS-485 Shield that im using but none of the sample code or online guides for this that i can find seem to work. I'm not interested at this stage in doing anything with the data i just want ...
Elliott's user avatar
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 ...
Figaro's user avatar
  • 1
0 votes
1 answer
140 views

When is the 'disable-bt' dtoverlay necessary?

I have a Pi 3B+. There are a number of resources out there that suggest it is necessary to enable the disable-bt overlay in order to make use of the serial UART on GPIO 14 & 15. E.g., this ...
larsks's user avatar
  • 653
0 votes
0 answers
63 views

USB serial port

Trying to connect USB serial port device to raspberry Pi4. But command below does not show any changes ls -l /dev/tty* I was expected to get new device that starts with /dev/tty . Correct me if I'm ...
vico's user avatar
  • 163
0 votes
0 answers
33 views

Which Cable Should I Use to Send Serial Data From my PCB to a Raspberry Pi via USB?

My PCB has a 16-pin male connector with a 2.54mm pitch. I was going to connect this to my Raspberry Pi via its GPIO, but I have a PiSound sitting on it now, so my only other option is to connect to it ...
Jelani Thompson's user avatar
-1 votes
1 answer
66 views

Rpi Pico receiving on multiple UARTs by C-SDK [closed]

How make by C-SDK same Rpi Pico receiving on multiple UARTs
YAsunari GEN's user avatar
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 ...
Andrew Stacey's user avatar
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 ...
Daan's user avatar
  • 1
0 votes
1 answer
91 views

How to disable sysrq on UART

I am trying to talk to a device over serial (ttyAMA0 or serial0) and it works, but sometimes I get the following TX from my rpi4, which crashes the device I talk to: [22763.820857] sysrq: HELP : ...
tester's user avatar
  • 11
0 votes
0 answers
77 views

Timeout Issues in PySerial. Arduino randomly starts timing out

from get_connected_arduinos import get_arduinos serial_devices = [] def initialize(serial_device): print("initializing", serial_device) try: serial_device["serial"...
UnityBug's user avatar
0 votes
1 answer
205 views

How should I go about making a serial to ethernet server on a Pico varient?

I am trying to make a serial to ethernet server, similar to a regular pi board and ser2net, using a pico variant. I am using a Waveshare RP2040-ETH Mini Development Board, but there is very little out ...
Michael H.'s user avatar
0 votes
0 answers
121 views

Test functionality of a PL2303 USB-to-UART converter

I want to connect my computer to my raspberry pi (Model 3 A+) via serial console. Here is what I did (following the setup instructions described here): In the Raspbian OS enable serial in the ...
Josef's user avatar
  • 101
0 votes
0 answers
70 views

How to clear the serial buffer of Raspberry Pi

I use MATLAB to control the serial communication of Raspberry Pi, but its communication frequency is too fast, and the serial buffer is easily full. I want to know how to clear the serial buffer? Here ...
Jackson Zhang's user avatar
0 votes
1 answer
44 views

Code hangs when receiveing data on UART using Gpio 15(RX)

I enabled the UART interface inside the /boot/config.txt file. I know I have correctly selected the serial port because ser.write(data_to_send.encode()) gets executed successfully. The line where my ...
Osama Khalid's user avatar
0 votes
0 answers
16 views

Connecting two or more arduino boards to a single Pi board

I was wondering what are the pin configurations/connections and scripting to connect more than 1 arduino to a single raspberry Pi board via serial connection.
Syed Hassan's user avatar
0 votes
0 answers
43 views

BlueDot Serial Bluetooth server for OBD

I am building an OBD Raspberry PI car dashboard and I've been struggling to get the adapter to connect and send info. I recently learned that the rfcomm support was dropped years ago by bluez and was ...
Soham's user avatar
  • 1
0 votes
0 answers
45 views

OBD Raspberry Pi bluetooth and serial connections issues

So I've been trying to get my digital dashboard code working and I have to connect to the OBD plug to the Pi but ive run into a plethora of issues since then. The first time I did it, the OBD device ...
Soham's user avatar
  • 1
0 votes
2 answers
263 views

SOLVED Incorrect baud rate on RPI 3 serial port

I have written an app to communicate with an intelligent UPS. It works fine on a Raspberry Pi 2, but seems to operate at the wrong baud rate on a Raspberry Pi 3 model B running Raspbian bullseye. This ...
JavaLatte's user avatar
  • 119
-1 votes
1 answer
1k views

How to enable serial communication on Pi 4 using BookWorm OS?

Raspberry Pi 4 and Latest Raspbian Bookworm OS. I want to have Pi 4 communicate over serial connection using GPIO14 (BCM) and GPIO15 (BCM) or UART TX and UART RX. I have followed the same setups that ...
ThN's user avatar
  • 1,063
0 votes
0 answers
11 views

pymodus unknown message

I am using Pymodbus in Raspberry Pi for data acquisition from Modbus rtu (RS485) sensors. Other sensors worked perfectly fine so coding is ok. However one particular sensors is giving me this message ...
Brian's user avatar
  • 1
-1 votes
1 answer
53 views

ttyAMA0 serial port error

I'm trying to get gps data through ttyAMA0 serial port. Sometimes I could get gps data but I also get errors such as OSError Error11 resource unavailability. It used to be working but I get errors ...
Jooseok Lee's user avatar
0 votes
0 answers
114 views

I am trying to print "Hello World" 15 times from my Raspberry Pi Pico to a text file on my windows desktop via serial communication

Here is my code: Main.py (PICO code) import time for i in range(15): print("Hello World") time.sleep(1) Windows Desktop Python Code import serial port = "COM5" ser = ...
HEL's user avatar
  • 1
-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'...
Discombobulous's user avatar
1 vote
0 answers
97 views

Transmitting Serial data via Wi-Fi from Raspberry Pi to Wi-Fi Module

I previously built two separate projects for sending/receiving data between an Arduino and a Raspberry Pi 3. One transmitted via Bluetooth (HC-05 Module on the Arduino-side to the built-in BT module ...
JoeBro391's user avatar
0 votes
0 answers
292 views

how to enable ttyAMA0 on raspberrypi 4 and how to make it to communicate with pixhawk?

I am trying to make communication between raspberrypi4 and pixhawk board to control the drone using dronekit library and to get telemetry info. I have used pin 14 and 15 for serial communication. But ...
Kavyashree T's user avatar

15 30 50 per page
1
2 3 4 5
25