Questions tagged [uart]

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

Filter by
Sorted by
Tagged with
0
votes
0answers
9 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
33 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 ...
-1
votes
0answers
16 views

Sending data using RS485

I have a solution which depend on RS485 to communicate with other device, I need some help for these questions: How can I enable Rts and Cts pins on Raspberry pi4 ? Also, How can implement C# code ...
0
votes
1answer
502 views

Serial commands over Ethernet RPi 3b

I am trying to send LinBus protocol serial commands over the ethernet port of my Raspberry pi to a linear actuator connected on the other end via ethernet. Currently, I am using pyserial script to ...
2
votes
2answers
31 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 ...
1
vote
1answer
151 views

PIGPIO bit banging UART - SLR to plaintext

I've managed to read UART input by SLRO and SLR commands from pgpiod, however, SLR returns UART bit-banged data in the following format: [number of read bytes] [bytes] http://abyz.me.uk/rpi/pigpio/...
2
votes
1answer
992 views

RPi Zero: Two UART devices at the same time

I need to read UART data from one device, and send different data to the other device, all via raspberry pi zero. It has only one UART TX and one UART RX on GPIO pins, but I heard that it is possible ...
0
votes
2answers
89 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 ...
-2
votes
1answer
44 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
29 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
2answers
117 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 ...
1
vote
0answers
12 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 ...
1
vote
2answers
2k views

Raspberry pi 3 reading serial port

I have a python code that reads the serial port of the raspberry pi 3to obtain GPS positions from a fona808. The code works for some time and then throws this error. Traceback (most recent call last):...
2
votes
1answer
1k views

UART pins not reading sensor output RPI3

This is my first pi project so im a bit new at this. Im trying to connect a senseair K-30 CO2 sensor to the pi via the UART gpio pins. This is the sensor I am using: https://www.co2meter.com/products/...
0
votes
1answer
49 views

Modifying what is shown in the uART

I am working on establishing user communication (one may say a basic UI) from the user's PC to my Raspberry Pi, where the RPI would accept pre-defined commands from the user via uART and then process ...
1
vote
1answer
45 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
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/...
1
vote
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
26 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 ...
2
votes
1answer
2k views

SIM800 GSM Module To Raspberry Pi UART Serial Communication Problem

I am new to Raspberry Pi Zero and I want to connect it with a GSM module for GPRS connectivity. I bought the SIM800A GSM module but its LED is not even blinking one single time. I am able to turn on ...
2
votes
1answer
930 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
1answer
133 views

Raspberry PI UART doesn't work all the time

I am trying to communicate to a UART device using Raspberry Pi (Raspberry Pi 3B with Raspbian stretch) Header pins with pyserial. I have followed all the steps mentioned in https://www.raspberrypi.org/...
0
votes
1answer
58 views

Edit the UART communication protocol

Is it possible to manipulate the bytes on a bit level prior to sending through the hardware UART, or do I have to implement a software version (bit-banging)? I was thinking of changing the clock ...
1
vote
1answer
76 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
1answer
208 views

Question about Pi3 and UART finger printer

I have a Pi3 board and a UART Fingerprint that brand is Waveshare link is https://www.waveshare.com/wiki/UART_Fingerprint_Reader but When I receive it I have totally no idea how to use pi3 to read ...
0
votes
0answers
25 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
votes
3answers
112 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....
1
vote
1answer
123 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). ...
1
vote
1answer
851 views

use GPIO and/or UART to slow initiate K-line (ISO9141-2) communication with Audi ECU

Related to this question I'm learning to use the Pi GPIO and Python serial to communicate through an IC (L9637D) to interrogate PIDs for alarms etc. I can't get past the slow initiation sequence! ...
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 ...
0
votes
1answer
614 views

Lego EV3 infrared sensor to raspberry pi 3 direct connection via UART?

I connected this sensor with raspberry via UART( I have found that this IR sensor is one of few Lego sensors that connects via UART), and make serial_read and serial_write python scripts, just to test ...
1
vote
0answers
52 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
0answers
64 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
45 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 ...
1
vote
1answer
1k 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 ...
0
votes
0answers
65 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 ...
0
votes
1answer
27 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
68 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 ...
-1
votes
2answers
569 views

Send uart commands through bluetooth

I bought a raspberry pi 3. I ordered the Move controller it's a Kickstarter project. They use the phone to send uart commands through Bluetooth and they put a Dev documentation online. What I fail ...
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
492 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?
2
votes
2answers
4k views

How should I properly communicate 2 Raspberry Pi via UART?

I'm testing serial communication with Python pyserial module. I try to communicate some strings between two Raspberry Pi's ... I tested transmitter and receiver code at same device connecting it's ...
1
vote
2answers
80 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 ...
4
votes
1answer
662 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 ...
0
votes
0answers
320 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
2answers
61 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
0answers
49 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
128 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 ...
36
votes
11answers
60k views

How to get more than one uart interface

Ok, I have one uart interface (TXD GPIO 14, RXD GPIO 15). I want at least one more uart interface. Possible solutions: Bit banging: Use two unrelated spare GPIOs. I understand that timing is a ...

1
2 3 4 5
7