Questions tagged [uart]

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

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

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

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
votes
0answers
17 views

Transmit JPG Images from Raspberry Pi to PC (GCS) - UART [closed]

Hello I am looking for someone to help me construct a code where I can send images via UART. The main issue that arises within this is rebuilding the picture (JPG) in the GCS receiving end after it is ...
1
vote
0answers
30 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
26 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
102 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
25 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
58 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
80 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
30 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
54 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
86 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
66 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
91 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
230 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
116 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
82 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
27 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
32 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
71 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
106 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
33 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
42 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
216 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
489 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
76 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
55 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
61 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
488 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
75 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
33 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
854 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 ...
0
votes
0answers
39 views

Buttons connected to uart including standby/power button

I have a electronics project (32x32 pixel LED panel) with a Raspberry PI as a computing unit. This device has a self made PCB with holds 2 voltage regulators, one for the onboard micro controller (...
1
vote
0answers
18 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
296 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
45 views

Unable to verify serial port is working on my pi

I've connected pins 8/10 to setup a loopback to verify my serial port is working. I'm using minicom to verify that it's working correctly to see if my input will echo back to me and I'm not getting ...
0
votes
0answers
35 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
658 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
506 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
61 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
49 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
vote
0answers
996 views

How to enable more uart port on raspberry pi 4 ubuntu server 20.04

i recently got the raspberry pi 4 for a university project. I installed ubuntu server 20.04 on it. Now I tried to enable a second uart port, because for the project I need to connect multiple sensors ...
2
votes
2answers
62 views

Why is UART-USB link inserting many unexpected bytes when using /dev/serial0 with dev/ttyUSB0?

My first post and my first Pi project. I'm experimenting with data transfer between Pi and external UART-enabled devices. As part of this, I want to prototype simple bi-directional data transfer ...
0
votes
0answers
110 views

minicom cannot write to UART on certain laptop, works on different one

I have connected UART according to https://learn.sparkfun.com/tutorials/headless-raspberry-pi-setup/serial-terminal and set enable_uart=1 and dtoverlay=miniuart-bt in config.txt. Running the system, ...
1
vote
0answers
254 views

Raspberry pi 4 model b uart is unable to write

I got some questions about uart in raspberry pi 4 model b. I used to run my program in rpi 3 model b+, but everything went wrong when I tried to do the same thing on pi 4. First of all, each time I ...
1
vote
0answers
260 views

RPI Serial Communication through USB

I am trying to set up serial communication between my Raspberry Pi Zero W and my PSoC. I want to do this through a normal microUSB to USB 2.0 converter cable, which looks somewhat like this picture: ...
1
vote
0answers
65 views

RPI3b+: UART serial communication problem

I have my RPI setup to communicate serially with another board. Currently, I have a usb to serial converter which is plugged into one of the RPI ports. This works well but, I want to take that out and ...
0
votes
0answers
25 views

Sending an image from one Raspberry Pi 3B to another using Rx/Tx

I'm working on a project where I need to transmit a picture from one Pi to another using serial communication .. it is not possible to send it via the network .. it is required in the project to send ...
0
votes
2answers
248 views

Reading serial data from thermal camera MLX90640/GY-MCU90640 with Raspberry Pi 4 returns garbage characters

I am trying to read data from an MLX90640 thermal camera using the GY-MCU90640 board based on this tutorial. VIN is connected to 5V (4) GND is connected to GND (6) RX is connected to TX/GPIO14 (8) TX ...
1
vote
0answers
52 views

Uart Communication pi to pi

I first connected two raspberry pi, one is Model 4B(transmitter) and another Model 3 B+(receiver) via Uart. Done all uart enable steps (sudo raspi-config>Interfacing Options>Serial>Serial Interface is ...

1
2 3 4 5 6