Questions tagged [uart]

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

Filter by
Sorted by
Tagged with
-1
votes
0answers
15 views

Can't connect a Pi Zero's console to Pi 3 B+ as a terminal via UARTs (3B+ to 3B+ and Zero to Zero both work ok)

After nearly two months I'm still my head against the wall with PI3 B+ UART, has anyone ever got the UART to work. I want to connect a zero's console to a B3+'s UART as a terminal. I can easily do ...
0
votes
0answers
20 views

Unable to open serial port GPIO pins

I'm trying to connect a barcode reader on the UART of the GPIO pins of the Raspberry Pi 3B+. I've installed minicom to read the serialport and have allready added the user pi to the groups tty and ...
1
vote
1answer
53 views

Mini UART Bluetooth PAN on Pi Zero W

I followed these instructions to enable a Bluetooth PAN on my Raspberry Pi Zero W. It mostly works fine, but it occupies a serial port. I need UART (mounted at /dev/ttyAMA0) for serial communications, ...
8
votes
1answer
1k views

Pi 4 I/O interface options… and where to find them

The BCM2711's hardware documentation lists multiple I/O interface options. Among others these are: up to 6 × I2C, up to 6 × UART (muxed with I2C), up to 6 × SPI (only five exposed on Raspberry Pi ...
0
votes
0answers
23 views

Interfacing SIM800L with PPP [LCP Terminated by Peer]

I am using SIM800L, and managed to interface it with RPi3. After successful configuration on /etc/ppp/peers/rnet, my file looks like this connect "/usr/sbin/chat -v -f /etc/chatscripts/gprs -T ...
2
votes
1answer
39 views

How to connect 3V3 UART logic level to the 5 V RS232 C logic level?

How to connect the 3.3 V Raspberry Pi UART logic level to the 5 volt RS232 C logic level?
1
vote
1answer
58 views

Simple command line to write and read data from UART (serial) loopback

I want to connect the TX and RX pins together and from the command line echo some text into /dev/ttyAMA0 and tail the result (from somewhere). I ultimately want to communicate with an Arduino but ...
1
vote
1answer
22 views

Connecting Raspberry Pi to SFM3520-OP fingerprint module

I want to connect an SFM3520-OP fingerprint module with the RS232C serial port to the Raspberry Pi UART but I am doubtful about their logic level. Should I use a Max2323 or does it not need it?
2
votes
0answers
34 views

SPI0 and UART0 interference caused by SPI interrupt

I have a raspberry CM3 running a custom Linux version created by buildroot (kernel: 4.19.44-v7). The CM3 is configured to be part of a measurement system that is used on a quad-bike (so a lot of ...
1
vote
1answer
169 views

How to enable CTS/RTS (Hardware Flow Control) for MAIN UART (PL011) on Raspberry Pi 3 B+ module?

I am working on Raspberry Pi 3 B+ module with raspbian stretch lite os. I Wants to configure UART interface on Raspberry Pi 3. I have referred the following link & I am able to test UART ...
1
vote
1answer
59 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
187 views

Obtaining GPS & Internet together with Waveshare GSM/GPRS/GNSS HAT module

I'm using Stretch installed Raspberry Pi 3 B and Waveshare GSM/GPRS/GNSS HAT to obtain GPS real-time location and internet. What I have done : Used USB-UART interface and connected jumper Using ...
1
vote
1answer
90 views

Enable mini UART on CM3

I wan't to enable the mini UART on a CM3 for Linux console access in emergency cases. The full UART will be used for other purposes. With a newly flashed CM3 I can access the Linux console using ...
1
vote
3answers
86 views

Options to add 20 UART to RPi

So I am undergoing a project where I will need to add 20 UART (RX/TX) to a single raspberry Pi 3. Each device runs at 9600 After looking at the pi, I found it only has 1 UART on it. What would be ...
1
vote
1answer
75 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 ...
1
vote
1answer
44 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/...
1
vote
1answer
38 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 ...
1
vote
2answers
76 views

Error while using wiringSerial

I am new to the Raspberry subject and only figure out some basics. I want to use a Nextion-Display withe a Raspberry pi 3b+ and communicate over the UART pins. For this I found wiringPi and that it ...
2
votes
2answers
342 views

Serial to Arduino totally non-responsive

I'm trying to connect my Arduino to my Raspberry Pi using the GPIO pins. I understand that the Pi uses a 3.3V signal while the Arduino uses a 5V signal so I bought a bi-directional logic level ...
1
vote
0answers
41 views

Do Rpi3 UART devices inherit their device ID from the on-board UART0 controller (GPIO pins 8 & 10)?

I am working on a device prototype which reads load cell data to an Arduino which sends the load cell data via (hardware, not USB) Serial to the Rpi3 running Win10 IoT. The communication link ...
1
vote
2answers
291 views

5V-3.3V Sensors Confusion

Most of the sensors available in the market requires 3.3V-5V. The GPIO of the Raspberry Pi is 3.3V max only and not 5V tolerant. I have seen tutorials around the internet that they supply the sensors ...
0
votes
0answers
72 views

How to access Tx Rx of UART to TTL converter on RPi 3B?

I accessed the hardware by connecting it to GPIO pins (TX-RX) and wrote a code that that could send instructions to that hardware and receive outputs from it successfully. The first few lines of code ...
1
vote
0answers
24 views

UART 0 PCLK not registered (pi 3)

I'm using a rpi 3 and so to use the UART 0 I had to disconnect the bluetooth from it: enable_uart=1 dtoverlay=pi3-miniuart-bt dtoverlay=midi-uart0 in /boot/config.txt It works great but now at ...
0
votes
2answers
51 views

capture Image with picam then send to another pi via UART

I would like to send an image(JPEG) captured by a pi-zero (in a in-closed container) to an pi3 for storage and analysis. Currently I have UART via gpio set up, but so far I have only been able to send ...
0
votes
1answer
139 views

raspi-config is not working after installing Xenomai on Raspberry Pi 3

I followed the instructions given here to install Xenomai on a Raspberry Pi 3. After installing the kernel (now the RPi uses the kernel-xenomai.img during boot) I couldn't access my network, neither ...
0
votes
0answers
65 views

Change UART default pins

On of on my pi zero I think my RXD pin is out. When trying to connect through usb/serial I receive all the loading of the boot and the login console but cannot send anything (thus cannot login). I ...
1
vote
0answers
46 views

Toggle UART (enable_uart=1) without rebooting

Which pins can can I manually toggle to enable or disable UART on a Raspberry Pi Zero or 3B+ without rebooting? As I understand, /boot/config.txt is parsed before Linux is started, but I don't mind ...
0
votes
0answers
21 views

how to connect STM32F103C8T6 toboth of raspberry pi3 and GPS module via UART

I want to build a quadcopter based on STM32F103C8T6 microcontroller and two sensors(MPU-6050i, Baromter 5611) I will also add GPS NEO-M8N and Picamera, instead of radio controling i will use a wifi ...
0
votes
2answers
105 views

can I use SSH and GPIO UART simutaniously?

I am connected to my Raspberry PI 3 B+ running Raspbian through an SSH terminal, and I am trying to make an application that uses the UART through the GPIO. Whenever I try to open the port "/dev/...
0
votes
0answers
60 views

Serial communication between RPi and PIC uC uart receiver accuracy

I am currently working on serial communication between RPi and PIC. I am new to Raspberry Pi and python world.... okay following is my code: from serial import * from time import * import RPi.GPIO as ...
1
vote
0answers
51 views

Adafruit Ultimate GPS with Rpi 3 “Permission Denied”

I am trying to connect an Adafruit Ultimate GPS to my Raspberry Pi 3 and read data from it using the WiringPi Serial library. I have set the serial connection up and removed the serial console through ...
0
votes
0answers
50 views

How to connect maxbotix ultrasonic range sensor through GPIO

I got a Raspberry Pi 3 B+ over Christmas which came with a breadboard (i.e. I'm new to all of this). I recently bought a Maxbotix HRLV-EZ4 ultrasonic sensor. I am using the Canakit GPIO Breakout ...
-2
votes
1answer
31 views

Ser.write() ,when checked shows only the length

I have used a=ser.write("TEST".encode()) in my code to send data using UART gpio in Rpi. The code shows no error but when I print a,it gives me the length only. Actually i am trying to interface Rpi ...
-1
votes
1answer
512 views

Serial Port & C Code

I have a sensor connected to an ODROID UART (Basically an RPi just a different name for the UART port) and using the WiringPi Serial library. I am able to echo/cat to the sensor via two terminal ...
1
vote
2answers
116 views

software solution for non-blocking UART communications

For UART communication on Raspberry Pi one can write a program in Python with the pyserial package or a program in C. Pyserial requires Threading for non-blocking UART, while C libraries allow to use ...
0
votes
1answer
33 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/...
4
votes
2answers
439 views

Impact of using UART

I'm trying to understand the impact of using UART communication of the Raspberry's GPIO pins. So I'm reading the Raspberry UART documentation, but I'm not sure if I get everything right. It says: ...
1
vote
1answer
450 views

UART Raspberry pi IoT (Windows IoT Core)

UART data transmission Raspberry pi UART (RX TX) Arduino I know should avoid async void. They are only used for event handling. For other methods return Task. async and await Where can there be a ...
4
votes
1answer
84 views

Is Fingerprint Scanner - TTL (GT-511C3) compatible with Raspberry Pi Zero

I have a question regarding Fingerprint Scanner - TTL (GT-511C3). Here is a link. Please help me. Is this fingerprint scanner compatible with Raspberry Pi Zero? please give me the answer.
0
votes
0answers
26 views

SimpleBGC No response on CMD_READ_FILE command

I am trying to get a SBGC V3.O board (a gimbal controller) connected with my SimpleBGC32 GUI running on raspberry pi. I see the roll pitch and yaw meters updating fine but I am getting a popup window ...
0
votes
1answer
237 views

Problems connecting to pi 3 via ttl (cp2102)

I'm following raspberrypi.org THE RASPBERRY PI UARTS guide, trying to connect from mac 10.13.6 High Sierra to Pi 3 using screen. I had to disable system integrity protection on mac (high sierra) to ...
0
votes
1answer
161 views

pigpio library serial_wave confusion

I am trying to use joan's pigpio for python to try to write a command from a rpi3 GPIO pin to a peripheral device. the peripheral device uses UART and when it receives a data packet it will then ...
0
votes
1answer
119 views

Is SPI in Raspberry Pi Reliable..?

I'am trying to initiate a two way communication between Raspberry pi and Arduino. I worked with spidev library and directly using the SPDR register in the Arduino micro-controller without being able ...
0
votes
2answers
96 views

Restore UART pins 8 & 10 after GPIO.cleanup() without reboot

A Raspberry Pi 3B+ is talking to an STM32 chip via UART over pins 8 (TXD) & 10 (RXD). When I take control of those pins using GPIO.setup(8, GPIO.OUTPUT); GPIO.output(8, GPIO.LOW); and later ...
2
votes
1answer
198 views

How do you use both USB Serial Gadget and UART on Pi Zero?

Just like the title says, I want to use both the GPIO UART and the USB Gadget at the same time. Background: I've been working on modding up one of the Adafruit IoT printer projects, which uses the pi ...
2
votes
1answer
945 views

UART RX stops reading data after working correctly

I'm trying to read an continuous stream of data from my device (laser altimeter). The device is connected to the UART Rx pin of raspberry Pi 3B+. Everything works fine with this python code: import ...
1
vote
0answers
52 views

What is (typically) GPIO's UART RXD input impedance in a RPi 3 Model B?

I'm sorry if this is a trivial (or already answered) question, but I really couldn't find an answer on the web. I'm trying to connect an AVR board, which operates at 5V, to a Raspberry Pi 3 Model B's ...
3
votes
0answers
247 views

Bare Metal RPI 3B UART not working

I have referred many tutorials to get UART working in bare metal environment on RPI 3. https://github.com/dwelch67/raspberrypi/tree/master/uart05 https://github.com/mrvn/RaspberryPi-baremetal/tree/...
1
vote
0answers
35 views

USB Dongle not working if it's connected by default to my Raspberry Pi

I have a USB Dongle That I communicate with it using UART commands. So if I connect my dongle after starting the system I can send commands and I'm able to receive info, But if I leave the dongle ...
0
votes
1answer
342 views

Using Serial to Read Ultrasonic Sensor?

I have an HRLV-EZ4 ultrasonic sensor hooked up to my RPi 3 B+ like so: Serial output --> pi RX (pin 10) V+ --> pi 5V GND --> pi GND I've already gotten it to work with an analog voltage output and ...