Questions tagged [uart]

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

Filter by
Sorted by
Tagged with
3
votes
2answers
4k views

Rpi to Arduino Serial UART Communication Tutorial

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
1answer
741 views

How can Rpi4B python UART talk to XY PWM Signal Generators?

Currently I am trying to automate a coil winding machine using stepper motors. I wrote a Python code to send frequencies to the stepper motors. But for some reason, the frequencies produced by ...
37
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 ...
2
votes
3answers
1k views

Multiple Rpi Serial Ports Problem

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 ...
8
votes
3answers
28k views

How to connect SIM800 GSM ADD-ON to RaspberryPi 3

I am confused about how to connect SIM800 GSM module to RaspBerry PI 3. I connect the module to RaspBerry PI using the GPIO pins. What happends now? Are those GPIO pins automatically connected to ...
11
votes
2answers
17k views

PiGPIO Library Example for Bit-Banging a UART

The PiGPIO library http://abyz.me.uk/rpi/pigpio/index.html mentions that one of it's features is "software serial links using any user gpio". I take this to mean that you can use it to generate a ...
3
votes
5answers
19k views

UART problems on my Pi3

I am trying to send and receive radio signals using my Raspberry, but I am already stuck at the first step :) My Radio module uses UART for communication but I have failed to set up my serial ...
10
votes
7answers
10k views

True 9-bit serial port data?

I have an existing, half complete, vending machine project running on an Atmel UTC, which I want to port to the Pi. In order to talk to peripherals, such as coin acceptor, it has to support Multi-...
6
votes
1answer
4k 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 ...
-3
votes
2answers
9k views

UART interrupt in Raspberry PI with c or c++

I want use GSM module with raspberry pi i can send data bur for receiving data i want to use a interrupt function.pulling is valuable for me.
3
votes
1answer
6k views

Pi 3 Boot with UART console

I use Raspberry Pi 3 with image "RASPBIAN JESSIE" which is 2016-02-26 build. I plug in micro-usb to power on. Then I use USB to TTL adapter to try to login. I've set baud rate 115200, and connect GND, ...
1
vote
1answer
4k 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 ...
5
votes
4answers
11k views

Connect sim800 to Raspberry PI (RX, TX)

I've been trying to connect my sim800L to my Raspberry pi 3 model B (rasbian) but without success... I'm at the very first step, and since I'm new to Raspberry pi, I don't understand very well how it ...
3
votes
2answers
3k views

9 Data Bits on UART pins?

I am wondering if it is possible to send 9 data bits framed with a start/stop bit at 1.25MBaud. I am currently using PySerial to configure the UART pins on the pi. I've stumbled across a few ...
3
votes
2answers
59k views

How can I test if the serial / UART is good on a Raspberry Pi?

I've purchased a used Raspberry Pi and have followed the instructions from Wolf Paulus's Journal to connect to the Raspberry Pi from my computer using a PL2303 USB adapter. The specifications on the ...
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 ...
1
vote
2answers
758 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 ...
0
votes
1answer
381 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 ...
7
votes
2answers
21k views

Where are the uarts on the raspberry pi 4?

The raspberry pi 4 has at least two uarts (as shown here), I know where I can connect to one of them. Pins 8, 10 and 12 have a uart as an option. Source: This site describes accessing uart1, where ...
14
votes
2answers
50k views

How can I set the UART speed?

How should you set the baud rate of the UART Bonus question: What baud rates are available on the RPi? Edit: Since reading up from Steve's answer, I have found that there are two UARTs available. ...
10
votes
1answer
4k 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 ...
16
votes
3answers
2k views

How do I connect my printer to the serial GPIO pins?

I've purchased a Mini Thermal Printer from Adafruit. The documentation states: This printer is ideal for interfacing with a microcontroller, you simply need a 3.3V to 5V TTL serial output from ...
7
votes
2answers
6k views

Is there a way to make a regular GPIO pin into a Tx UART pin?

I'm working on a project that is going to need two different UART interfaces. Is there a way to make a regular GPIO pin into a Tx UART pin, I don't need an Rx pin too. Is there a software solution ...
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 ...
2
votes
1answer
10k views

Set default baud rate on /dev/ttyAMA0 and keep after reboot

I have a ITead Studio GPS attached to my RasPi Model B 2.0's UART serial port and it's specifications require baud rate to be set at 38400. I am using gpsd on Raspbian, which attempts to use baud ...
1
vote
1answer
1k 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, ...
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 ...
4
votes
2answers
2k views

Binary garbage on the UART when powering the RPi

I have a strange issue I cannot figure out. I have a thermal printer (https://www.adafruit.com/products/597) plugged to the UART (/dev/ttyAMAO). I configured the RPi to remove the console on /dev/...
3
votes
2answers
2k views

Serial Communication between Raspi and Arduino Mega

I apologize for the double post, but I asked this question earlier and somehow it does not appear under my user and I can't make any edit or comments to it: Trouble with UART Serial Communication with ...
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

Unable receive character properly in UART

I am trying to send and receive character using UART (GPIO14 as Tx & GPIO15 as Rx). I can transmit character successfully which I can check on minicom. Now I have short my RX and Tx pin so that I ...
1
vote
0answers
302 views

xterm-256color behavior on Mac OS X

I have succeeded getting a minimalist connection between my Mac and my Raspberry Pi (RPi). With one USB-Serial adapter cable, I login to my RPi and do command-line work, even using Vim to edit files, ...
1
vote
0answers
2k views

Can't Login to Pi0 console from Pi3 B+ via UART Serial USB-TTY Adapter

I am new to RPi's so bear with me please: I am trying to log in to the Pi0 console via sudo screen /dev/ttyUSB0 115200 but I just get a blank screen. Ouput of dmesg | grep tty: [ 0.000000] ...
0
votes
2answers
420 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
1k views

How to use serial and bluetooth at the same time

I'm working on a drone project using a mobile phone do send pitch/roll/throttle and yaw to a Rpi 4 2GB over bluetooth. This is no problem. But, then I want to send these values to the ...