Questions tagged [uart]

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

Filter by
Sorted by
Tagged with
1
vote
0answers
18 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
24 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 ...
1
vote
2answers
34 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
19 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
59 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
30 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
28 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 ...
1
vote
1answer
70 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
39 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
30 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
61 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
84 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
26 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 ...
1
vote
0answers
49 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
30 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 ...
1
vote
0answers
361 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
26 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
72 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
211 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
42 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
58 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
105 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
92 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
124 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
526 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
204 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
104 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
28 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
34 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
76 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
145 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
35 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
57 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
267 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 ...
1
vote
1answer
784 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
95 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
86 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
1answer
76 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
vote
0answers
18 views

Need for Additional Serial Port for communication with 3G module [duplicate]

I want to connect a UC15 3G Module to RPI 3B and use ppp protocol in order to connect RPI to internet over 3G. But the problem is that UART0 on RPI is already occupied by another device and also I can'...
2
votes
2answers
707 views

what is the equivalent of scp for the serial console?

I am configuring my raspberry pi device of the serial console (like this https://learn.adafruit.com/adafruits-raspberry-pi-lesson-5-using-a-console-cable/overview) How can I do the equivalent of scp? ...
1
vote
1answer
104 views

UART - wiringSerial.h vs standard Linux open/close

I'm making an application that uses the UART port from the 40pin headers and I found online that there's a library called wiringSerial.h I was wondering what's the difference between wiringSerial.h ...
0
votes
1answer
44 views

how to acces mini uart on a raspberry pi 0?

I would want to be able to access the serial console and have an extra serial port so is there any way to access the mini uart with the gpio since its not being used for bluetooth. I'm using a ...
0
votes
0answers
1k views

Raspberry Pi 3 Model B FTDI USB to Serial converter driver problem

I've been suffering to introduce my USB to Serial (RS232) FTDI converter on Raspbian 10 on my Raspberry pi 3 Model B. In Windows 10 it works without installing an additional driver. FTDI drivers ...
1
vote
0answers
19 views

How do I fix my crashed bluetooth? [duplicate]

After an apt update today, my bluetooth menu disappeared from the menu bar. Even the services are not running anymore. Whenever I am trying to fix something(with systemctl and apt), this message ...
1
vote
0answers
368 views

How can Rpi4B use multiple on board and USB based UART / serial ports?

there. I am trying to use rpi 4 to access my own device through UART. However, the number of UART port isn't enough for me since I'm trying to access more device in same time. Thus, I want to know if ...
0
votes
0answers
44 views

Raspberry Pi receives its own sent USART bytes (pyserial)

I have an understanding question about the USART interface on the Raspberry Pi, in connection with the library pyserial 3.4 (https://pypi.org/project/pyserial/). After the bytes have been sent out of ...
3
votes
3answers
944 views

RPi 4 — Garbage on serial console (UART) using upstream kernel

I'm experimenting with upstream kernel and now I try to get serial console working. I'm getting only garbage symbols when I try to communicate: I think it is important to notice that I only get ...
4
votes
1answer
598 views

How do I use a Raspberry Pi to install OpenWrt firmware on a BT HomeHub 5a or PlusNet Hub One router

I have a spare BT HomeHub 5a clone (actually a PlusNet Hub One router). I would like to install the OpenWRT firmware on it, in order to reliably use it as a wired wifi range extender without a DHCP ...
1
vote
0answers
67 views

reading from 2 UART at the same time

I am reading values from 2 UARTs. i want to read at the same time (without time shift between the 2 UART) the values they send in order to add them. How do I achieve that? I am searching on google, I ...
0
votes
1answer
69 views

UART input from programmable IC to Pi Zero W

I'm trying to send a signal from a programable IC to my Pi Zero W but all I get is b' ' My IC is setup to send an alternating value between AA and 55. The data is sent on the UART line every .35 ...

1
2 3 4 5
7