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!

0 votes
1 answer
91 views

How to disable sysrq on UART

I am trying to talk to a device over serial (ttyAMA0 or serial0) and it works, but sometimes I get the following TX from my rpi4, which crashes the device I talk to: [22763.820857] sysrq: HELP : ...
0 votes
2 answers
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):...
1 vote
1 answer
1k views

Raspberry Pi Pico doesn't create tty file

I've been using Raspberry Pi Pico for some time already and I'm using minicom for serial communication. But one day Pico stopped generating tty/ATCM0 when connected to USB port. Before this everything ...
1 vote
2 answers
601 views

Real TTY Driver installation - Moxa 5110 not able to connect /dev/ttyr01: Input/output error

trying to get my Moxa Nport 5110 to work with the RPI4. Currently Using: Raspbian GNU/Linux 10 (buster) installed moxa-real-tty-drivers-for-linux-kernel-5.x-v5.1 added some tty ports automatically (...
1 vote
1 answer
2k views

PN532 with Raspberry Pi Pico

I have PN532 NFC Module that looks like this I am trying to connect this NFC Module with Pico, but I have no luck in finding library that allows me this. What can I do to control it? Can you ...
1 vote
2 answers
170 views

Incorrect TTYS0 input from sensor

I am trying to read data from a LV-MaxSonar-EZ0's TX pin connected to the RX pin on a Raspberry Pi Zero W. The problem I'm running into is that the data I'm getting does not fit what the sensor's ...
-1 votes
1 answer
28 views

Unable to use UART and Bluetooth in RPi3 with audio output simulatneously

I am using Rpi 3b+ and I am trying to use the Bluetooth and UART simultaneously. with ls -l /dev: Serial 0 - ttyAMA0 Serial 1 - ttyS0 I had to use the UART (for reading coordinates in GPS) and ...
12 votes
2 answers
28k views

Why does USB port enumeration change?

I'm using a Huawei GMS/UMTS USB modem with Gnokii and Gammu. The modem was in the lower port on Pi. With dmesg | grep tty it would show up on /dev/ttyUSB0 and /dev/ttyUSB1. (2 USB devices on 1 stick ...
1 vote
1 answer
4k views

SIM800 GSM Module To Raspberry Pi UART Serial Communication Problem [closed]

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 ...
0 votes
1 answer
2k views

pyserial and parity check

I am using pyserial library to deal with serial communications between my CM4 and a particular device. This are my settings: _baudrate = 9600 _parity=serial.PARITY_EVEN _stopbits=serial.STOPBITS_ONE ...
1 vote
1 answer
593 views

Missing dtbo overlays in Yocto build for Compute Module 4, what do I need to get them added?

So I have a problem that I have half solved and was hoping someone would know how to solve the rest. So yesterday I encounted a problem that I asked and partially solved at the link below. CM4 Uart 0 ...
0 votes
0 answers
46 views

Can't communicate device with his RS323 to 2 pins uart of GPIO

I have a a microbench device, it has his RS232 port. but I just can read data from this microbench device with this cable: The microbench device have tx pin with -9V. How can I comunícate microbench ...
2 votes
1 answer
3k views

Serial communication over USB port of Pi Zero

I want to send/receive data between PC and Pi-Zero over USB port near PWR port. I followed the instructions here https://www.tal.org/tutorials/raspberry-pi-zero-usb-serial-console But I don't enable ...
1 vote
1 answer
90 views

DS18B20 reading double after long use

I installed two DS18B20s on a pi almost a year ago. They have worked great until the last couple months. I am doing a bit of a stress test on them and have been polling them every second for almost a ...
0 votes
1 answer
687 views

/dev/ttyusb0 cannot be find while starting script on boot for raspberrry pi

(Currently using Raspbian Jessie latest) So currently I am trying to start a script that reads from the rf receiver and gathers the data and sends it over to the cloud... I am trying to start this ...

15 30 50 per page
1
2 3 4 5
50