Questions tagged [uart]

a Universal Asynchronous Receiver/Transmitter, better known as serial port

Filter by
Sorted by
Tagged with
0
votes
0answers
7 views

C# .NET Core application cannot open serial port

I'm running a .NET Core application on Raspberry Pi OS (32-bit Debian). The console app uses a standard2.0 classlib DLL to access a device via UART0. UART0 should be accessible via /dev/ttyAMA0. I'm ...
1
vote
2answers
59 views

How to enable the second serial port on a pi4

I am trying to use the second serial port. In /boot/config.txt I have put at the end : # swap UARTs dtoverlay=pi3-miniuart-bt dtoverlay=uart2 enable_uart=1 I have checked and re-checked the pin ...
1
vote
1answer
90 views

UART communication Raspberry Pi Pico to Raspberry Pi

*Update, new main.py for pico and read_serial for RPI 4. *I am having the same problem with uart.write(), see below. I am trying to communicate with a raspberry pi pico with my raspberry pi 4 over ...
-1
votes
0answers
30 views

Data transfer between Raspberry Pi 3 to Raspberry Pi zero

I connect the RC522 RFID reader to my Raspberry Pi3 (OS: Windows 10 IoT core) and the reading worked well. now I want to send cards data from my Pi3 to raspberry Pi zero (OS: Raspbian OS). How the ...
1
vote
1answer
30 views

How can I make gpsd restrict to a certain serial port?

After reinstalling Raspbian Buster I'm always running into an issue with my gpsd 3.17: Despite the fact that I start it with the corresponding device file /dev/ttyS0 as a parameter (because the GPS ...
1
vote
1answer
43 views

unable to gps data serially in raspi 4

I am trying to get ublox zed f9p module work with raspi 4. I am using this module I am running on ubuntu 20.04 desktop version on raspi 4 and i have connected the module serially(/dev/ttyS0) to my ...
2
votes
2answers
35 views

How can I prevent Raspbian from resetting user privileges on /dev/tttyS0?

I've got a GPS module hanging on the TTL UART wires of my Pi 3B. I don't access the module directly, but via gpsd. Now I've got the following issue: At every reboot, Raspbian (Buster) seems to reset ...
-2
votes
1answer
60 views

Raspberry Pi Zero w two UARTs

I use on my RPi Zero UART ports on GPIO 14&15 on device /dev/ttyS0, and that is ok. But I need another UART port, can I connect to micro USB port on board USB-UART converter CP2102 to get the ...
-1
votes
2answers
34 views

RPI0 W unable to read UART data

I have enabled uart serial port /dev/ttyAMA0 on my raspberry pi zero W. I was able to successfully connect the rpi uart rx and tx pins and check if i'm able send and receive data between these rpi ...
1
vote
0answers
13 views

My DT overlay doesn't work

I'm trying to activate the miniUART with RTS and CTS signals (on an RPi Compute Module). For this purpose I've created an overlay: /dts-v1/; /plugin/; /* Enable /dev/ttyS0 with RTS and CTS signals ...
0
votes
0answers
23 views

Raspberry Pi Zero W not interacting with GSM HAT

I have Raspberry Pi Zero W and this hat. I did the following things: disabled login shell through serial in rasp-config enabled serial port hardware in rasp-config removed console=serial0 in /boot/...
0
votes
1answer
50 views

Read from RFID sensor using UART

I have a board for the RDM6300 which can read RFID tags. I could successfully test the board using an ESP32. Here is the micropython code: from machine import UART, Pin import time uart = UART(1, ...
0
votes
0answers
20 views

RX pin of ttyS0 is always high

I am trying to configure a Pi 4 and eventually a CM3 for modbus communication. so far I have been able to see the TX send from the D+ and D- of the max485cpa+ but I have been unable to receive data ...
0
votes
0answers
30 views

How Install Ubuntu 21.04 (Desktop) on Raspberry Pi 4 using Serial Console? [duplicate]

Hello how can I install ubuntu desktop 21.04 on raspberry pi 4 using serial console? I want to use the Raspberry Pi 4 UART pins to communicate using TTL to USB convert device to my windows 10 OS using ...
0
votes
2answers
197 views

How to enable both UART (ttyS0 and ttyAMA0) on Raspberry Pi 3b?

I've already read dozens of manuals and stack topics, but I do not figure out if it even possible run both UARTs on RPi 3B. Some tutorials advice to map uart to other pins in /boot/config.txt I tried ...
0
votes
0answers
29 views

UART communication between Rhino DC servo motor and RPi4 B

I want to communicate with this Rhino DC servo motor with RPi4 B. I enable uart3 in RPi4 by modifying the /boot/config.txt file. In this file, I add dtoverlay=uart3 in the last. When I used ls /dev/...
1
vote
1answer
194 views

multiple UARTs on the 40-pin

i am trying to connect two devices via UART to a raspberry 4. one being a stepper driver (i dont need much throughput), one being an image sensor (the higher the baud rate is i can get, the better). ...
0
votes
1answer
31 views

Transmitting a signal without an external transmitter [closed]

I found a repository called rpitx which can be used to transmit a signal (e.g. the signal of the keyfob of my gate). I'm wondering how this is possible without an external transmitter connected to the ...
1
vote
0answers
60 views

redirect U-Boot Console to UART4 in rpi cm4 board

I am using Raspberry pi CM4 for my project. The Hardware is designed in such a way that i need to redirect all the debug messages coming through serial UART0 to UART4. I Use U-Boot as a boot loader ...
0
votes
1answer
87 views

Slow UART communication between Raspberry Pi Zero and 4B using pyserial

I'm testing serial communication between two Pi's (Zero -> Pi 4) with Python pyserial library. I am using Zero as camera with preprocessing and sending preprocessed data to Pi 4 via UART (/dev/...
0
votes
0answers
74 views

uart2-5 Raspberry Pi 4

I am using an Raspberry Pi 4 os-ubutun-mate 20.04(focal) I am trying to to enable uart2 and uart3 on my Raspberry Pi 4. However, I'm not sure how to do this? I've read several articles and posts ...
0
votes
1answer
68 views

Rpi zero w is not recognized as com port

When I connect my Rpi zero w to my PC (windows 10 via usb cable, I cannot see it under com port devices of PC. I am connecting micro usb side to the socket labeled as USB on Rpi. I want to establish a ...
0
votes
0answers
68 views

RS-485: UART configuration for 10 Mbit/s

I would like to use an RS-485 transceiver (e.g. SN65176BD) with my Raspberry Pi 3, to communicate on a network operating at 10 Mbit/s (a common speed for RS-485 networks). Using an unmodified ...
-1
votes
3answers
150 views

Pi Zero W uart not working

I have been trying without any success to setup the uart on my Pi Zero W. When I run tests, the output is blank. I am accessing the Pi Zero W via ssh. I have added enable_uart=1 to the /boot/config....
0
votes
1answer
29 views

Python - How to automaticly open first available serial port (COM/tty) [closed]

I am new at Python and I want to learn serial communication between Raspberry and other devices like PC, arduino, sensors... I often plug and unplug devices like arduino, FTDI, etc. to COM port... I ...
2
votes
0answers
94 views

pySerial - UART - Determining when a message has actually been sent (callbacks?) (RTS/CTS hacking?)

For reasons (explained at the end of the post) I need to have a pin change state immediately as the UART finishes outputting a set of bytes. I'm using pyserial & pigpiod on a RPi3B+ and bluetooth ...
0
votes
0answers
32 views

Serial communicaction problems between Raspberry Pi and Arduino

I am carrying out a project in which I transfer information between an Arduino Mega and two Raspberry Pi 3 Model B. On the first Raspberry there is running a console program that is connected to the ...
2
votes
0answers
626 views

Pi CM4 - Additional UART enabling does not work

I have a Compute Module 4 here, and i want to enable more UART ports The Datasheet, Page8 specifies that uart 2-5 can be enabled since their ports are not used by anything else I've run raspi-gpio get ...
0
votes
0answers
27 views

write and receive image to embedded modem via txd rxd in raspberry pi 3

How can I send and receive image (page) to embedded modem via Txd Rxd in raspberry pi3 using python ? And how can configure buadrate and flow control using Cts Rts?
1
vote
2answers
81 views

How can I simultaneously connect a UART device and an I2C device to a Raspberry Pi via a Cat6 cable?

I have been researching related questions to this one for a while but decided I needed to ask this myself, as no one seems to be having quite the same issue and I am not knowledgeable enough yet to ...
0
votes
0answers
362 views

How to enable DMA for all UARTs in RPi 4?

Using RPi 4B, image 2020-08-20-raspios-buster-armhf-lite.img with kernel 5.4.51-v7l+, but tried also to use Ubuntu Server with custom compiled kernel 5.4.83. I have trouble getting UARTs working with ...
0
votes
0answers
52 views

Hight Speed UART on RPI 3B+

I am currently developping an application on a Raspberry pi (current HW is 3B+) which has to discuss with a FPGA component à 5MBauds through an UART connexion. Default max value on ttyAMA0 is 3MBauds (...
0
votes
2answers
66 views

Connect 2 Pi's for file transfer, but with minimum networking [closed]

I want to connect two Pi's together for the purpose of transferring files, but I want to do it in the most secure method possible. One Pi ("Device 1") will be connected to the internet, and ...
0
votes
2answers
135 views

Cannot connect to UART via USB

I am trying to connect to a raspberry pi zero (and a pi3) via uart and USB (USB to TTL YP-01) I am connected to pin 8, pin 10 and a ground. tx -> rx, rx -> tx I have tried everything on this url ...
0
votes
1answer
110 views

Interfacing R307 to RPI without USB Serial Converter

Good day I am trying to interface the r307 fingerprint module in raspberry pi 4 however as what I can see every example or tutorials require USB SERIAL CONVERTER is it possible to interface the module ...
0
votes
2answers
166 views

UART not working until after first log on

I'm trying to run a service which uses the UART to control some hardware. The UART is using pins 8/10 (GPIO 14/15). raspi-config has been used to disable the login shell over serial and enable the ...
0
votes
1answer
828 views

Error when setting 4000000 UART Baud rate at RPI 4

I'm trying to run communication with my hardware using RPi built-in UART ports. I need to use 3 UART ports at 4M baud rate. I added to /boot/config.txt following lines at the end: dtoverlay=uart5 ...
0
votes
1answer
363 views

How to get full UART safely on Pi4?

I need to use full UART. I was using dtoverlay=pi3-miniuart-bt to achieve this but the name suggests it's for pi3, I have pi4. Should I use miniuart-bt instead, or disable-bt as I would want to turn ...
1
vote
1answer
125 views

Share Uart Pins

In my build i have a gsm module ( SIM800L ) connected to a RPI 0 W in this way: I would like to get also the current position of my device, for do so i was thinking to buy a Gps module ( NEO-6M STM32 ...
0
votes
0answers
31 views

How can I know the serial port of the device of outside (UART). Not USB

I want to ask. How do I know the serial port of the external UART from raspberry pi. This is a sensor. I connected the wire to the raspberry pi. But I can't find which is activate port. I searched ...
0
votes
2answers
36 views

UART and AP Question [closed]

I have a wifi access point that I need to connect to via UART/SERIAL as the console rj45 is broken. I have a USB UART cable on the way but it’s going to take a while to get here. Is there any way I ...
2
votes
1answer
92 views

Connect SIM800L with other GPIO pins in Raspberry PI 3B+

I have a SIM800L module and a keypad module that I want to connect to the raspberry pi 3B+ but then when I had all my modules and stuff I found out that the raspberry pi had only 1 UART (1RX & 1TX)...
2
votes
1answer
160 views

baudrate usart5 raspberry pi 4

I need to connect raspberry pi 4 to a microprocessor, and I am using uart5 (dtoverlay=uart5 at the end of config.txt). What I need is to change the baudrate to 4800, because this is the baudrate I use ...
1
vote
0answers
44 views

Can four UARTs plus either an SPI or i2c connection be used at the same time on a Pi 4?

Since using 5 UARTs at the same time on a Pi 4 is apparently not possible, is there any reason why 4 UARTs plus either an i2c or SPI connection at the same time (one or the other) would not work?
1
vote
1answer
78 views

How to use 2 serial ports on the same RaspberryPI?

In my case we need to connect two devices with raspberry pi using UART but I found only one RX/TX GPIOs (14,15) but we need another one. I don't know if I can usb port as UART ?
2
votes
1answer
306 views

Strange behavior when using UART0

I need to use all five of the PL011 UARTs on a Raspberry Pi 4. I am having no problems with UART2 - UART5. It is only UART0 that is giving me problems. I connect a serial cable from a laptop to the ...
2
votes
1answer
1k views

How can I disable the serial console on distributions that use U-Boot?

I'm trying to use a Raspberry Pi with a UART peripheral and a non-Raspbian Linux distribution. It seems like most of these distributions use U-Boot. I'm running into two problems: U-Boot outputs on ...
0
votes
0answers
117 views

screen and serial UART connection gibberish

I'm connecting my iMac (10.14.16) to my RPi 3b+ (Ubuntu 18.04.5 LTS ubuntu ttyS0, uname -a = Linux ubuntu 4.15.0-1067-raspi2 #71-Ubuntu SMP PREEMPT Fri Jul 10 01:36:10 UTC 2020 aarch64 aarch64 aarch64 ...
0
votes
1answer
103 views

3.5" LCD driver conflicts with UART

I'm using RPi Zero W with 3.5" LCD driver ( here ). Everything works well except the UART. Linux console is disabled and UART is enabled. When video output is on HDMI port, I can send and receive ...
0
votes
2answers
91 views

Raspberry Pi 3B Serial Port Flow Control Issue

I am trying to connect ESP-Prog to Raspberry Pi Model 3B. The Pi is back-powered by 5V power supply connected to the hat on the Pi. By default, serial port /dev/ttyUSB1 is connected for Espressif ...

1
2 3 4 5
7