Skip to main content

Questions tagged [serial]

is the process of sending data one bit at a time, sequentially, over a communication channel or computer bus. Traditionally "serial" relates to a three (or more with hardware handshaking) wire system (TIA-232-F), now using ∓25V Voltages. Technically speaking the specialized SPI (Serial Peripheral Interface) and I2C (Inter-Integrated Circuit) buses are serial communication systems as well - use one of those tags if they would be more appropriate!

54 votes
4 answers
292k views

How do I make serial work on the Raspberry Pi3 (PiZeroW, Pi4 or later models)

My Pi3 serial console produces rubbish and fails to respond to the keyboard.
Milliways's user avatar
  • 60.7k
9 votes
2 answers
18k views

How many serial ports are on the Pi 3?

How many serial ports are on the Pi 3? There is one on the GPIO pin that goes to ttyS0. Is there a separate one for USB? I have read somewhere about /dev/ttyUSB0. Is that a separate serial port? ...
Lightsout's user avatar
  • 429
3 votes
2 answers
8k 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 ...
soapergem's user avatar
  • 149
3 votes
3 answers
4k views

How can Rpi connect a GPS module?

I've tried reconnecting an old GPS module to the UART pins on my raspberry pi, but it seems it's not able to get a satellite fix. I've had troubles trying to get gpsd started, but I'm able to test ...
Rob's user avatar
  • 31
1 vote
2 answers
4k views

Rpi Neo-6M / Neo-8M GPS Module Setup / Fix / Update Problems

Hi i'm tryng to change the update rate of my gps tracker(neo 6m ublok) i know the byte that i need to send are 0xB5,0x62,0x06,0x08,0x06,0x00,0xC8,0x00,0x01,0x00,0x01,0x00,0xDE,0x6A i've tried echo -e &...
awaska's user avatar
  • 23
1 vote
2 answers
2k 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 ...
Nicholas Francis's user avatar
2 votes
3 answers
5k views

How can Rpi read ADS1256 ADC Data

I am using the AD/DA Hat from WaveShare https://www.waveshare.com/wiki/High-Precision_AD/DA_Board I want to realize a continuous readout of the data. It worked very well so far, but I am not so ...
markus321's user avatar
1 vote
1 answer
3k views

Rpi Python Serial Test Program

In Terminal its working but not working using python code. My Code: import serial from time import sleep ser = serial.Serial ("/dev/ttyS0") while True: received_data = ser.read() ...
Ragul Murugan's user avatar
8 votes
3 answers
3k views

Serial output in case of no OS

I am using the raspberry pi 4. I have no screen connected to the raspberry pi, I do everything trough ethernet cable. I am currently changing kernels and thus sometimes I cannot boot, since I created ...
Cheiron's user avatar
  • 183
3 votes
5 answers
20k 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 ...
Georg's user avatar
  • 193
3 votes
3 answers
1k views

How can a 12VDC power supply stepped down to 5VDC for Rpi?

Good day, I have a Raspberry Pi Zero W that I would like to deploy onto a tower that is supplied with 12VDC power from a photovoltaic solar panel. I'm currently looking at powering the Pi Zero W ...
sirukin's user avatar
  • 31
2 votes
2 answers
648 views

Rpi Zero and Projector's USB RS232 Serial Cable Interface/Connection Problem

I know there are similar posts on this topic, but I've scoured them all and haven't been able to figure this out. I'm trying to control my projector via a R232 port. I have a USB to R232 cable, ...
ledhed2222's user avatar
6 votes
1 answer
5k 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 ...
FrantišekV's user avatar
3 votes
3 answers
2k views

Raspbian Wheezy, Raspberry Pi 3 and HC05

I now this is a long shot, but some reasons I was using Raspbian wheezy on Raspberry Pi 2, and I was able to use HC05 bluetooth module with wiringpi. Lately I had switched it to Raspberry Pi 3, yet ...
ozgeneral's user avatar
  • 223
2 votes
2 answers
16k views

data packet of hex values sent over serial

I have googled, read, experimented etc and still have had no luck sending a packet of 5 hex values over serial. Here is what I have tried: import serial import time ser = serial.Serial( port='...
mScientist's user avatar

15 30 50 per page
1
2 3 4 5 6