Skip to main content

Questions tagged [serial-console]

The serial console is a text entry and display device for system administration connected through a serial link.

Filter by
Sorted by
Tagged with
0 votes
0 answers
31 views

Reading Serial (RS-485) Data (RPI5)

I have an RS-485 Shield that im using but none of the sample code or online guides for this that i can find seem to work. I'm not interested at this stage in doing anything with the data i just want ...
Elliott's user avatar
0 votes
1 answer
134 views

When is the 'disable-bt' dtoverlay necessary?

I have a Pi 3B+. There are a number of resources out there that suggest it is necessary to enable the disable-bt overlay in order to make use of the serial UART on GPIO 14 & 15. E.g., this ...
larsks's user avatar
  • 653
0 votes
1 answer
86 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 : ...
tester's user avatar
  • 1
0 votes
1 answer
44 views

Code hangs when receiveing data on UART using Gpio 15(RX)

I enabled the UART interface inside the /boot/config.txt file. I know I have correctly selected the serial port because ser.write(data_to_send.encode()) gets executed successfully. The line where my ...
Osama Khalid's user avatar
0 votes
0 answers
16 views

Unable to access Raspberry Pi through Serial Connection

With the setup I am using, the Pi fills up with logs. The ring buffer I have set up doesn't seem to work and fills the SD card. I accessed the unit before using serial connection but now I do not get ...
Johnny C's user avatar
0 votes
1 answer
86 views

Serial connection cannot send login information

I'm connected through a serial port to my Raspberry Pi 4 as: PC <--> USB adapter <--> serial port <--> RPI I enabled the shell login through the serial port with raspi-config and I ...
Franks's user avatar
  • 51
0 votes
1 answer
35 views

Is there any automatic fallback from PPP to regular serial console if all else fails?

I have a Raspberry Pi 4B (8gb RAM) connected to my laptop via TTL-to-USB (UART) cable operating at 115200 baud. The raspi runs Ubuntu 23.04 and the laptop runs Ubuntu 22.10 LTS. I have a slight ...
HackerDaGreat57's user avatar
1 vote
1 answer
63 views

Serial cable TTY behaves strangely in htop and simple graphics with lots of fill color

Context: I'm using this serial TTY cable to connect my Raspberry Pi 4B to my main laptop. Both run fully updated versions of Ubuntu 22.10, except the laptop runs the x64 version of course. I got the ...
HackerDaGreat57's user avatar
0 votes
2 answers
364 views

Unable to connect to raspberry pi 3b over minicom

I want to connect to my raspberry pi 3 model B V 1.2 to minicom using serial cable. I have attached serial cables to correct pins like this. image of my setup I have installed raspbian from the ...
Afaq Shah's user avatar
  • 101
2 votes
1 answer
1k views

Can't use Bluetooth COM ports from Windows 10

I have a Raspberry PI 3 model B, with built-in Bluetooth hardware, and I'm running the latest Debian distro on it (Linux raspberry 5.15.61-v7+). I successfully paired and connected from Raspberry (...
mariusmmg2's user avatar
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 ...
Omicron's user avatar
  • 119
1 vote
2 answers
871 views

UART (not the board itself) stopped working after connecting 5V to GND, can it be recovered?

I accidentally connected UART wires one row lower than it should be (see image): then I unplugged them shortly after that and then connected correctly, but serial console doesn't work anymore. USB ...
aryndin's user avatar
  • 201
0 votes
2 answers
546 views

(Pico) USB serial connection having noise?

I'm having some trouble trying to make a simple USB IO demo to test the Pico. Apparently, the USB serial connection seems to be noisy, and always puts something into the UART buffer even though I am ...
Francisco Ayrolo's user avatar
1 vote
1 answer
2k views

Accessing Raspberry Pi Pico REPL from Android Serial USB Terminal App with main.py present

I discovered that I can plug a Raspberry Pi Pico into my Android phone and use the app 'Serial USB Terminal' as a serial monitor. However, if the Pico has a main.py script uploaded to it, then it ...
cornerpocket's user avatar
0 votes
0 answers
63 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 ...
Max Dax's user avatar
0 votes
0 answers
416 views

Serial console to Pi 4b shows no output

I am trying to connect to the Pi 4b 8Gb via serial console, however, although I can connect to the serial adapter itself, I can't seem to get no output at all from it, nor using default raspbian ...
Pietro's user avatar
  • 1
0 votes
2 answers
3k views

How to enable console via uart1 in yocto for raspberrypi3 image

I'm using Yocto-dunfell for getting custom my Raspberrypi3 image. Here I want to enable serial-console via uart1. for that I have given change in my files- local.conf: ENABLE_UART = "1" ...
Prashant's user avatar
3 votes
2 answers
4k 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 ...
squircle's user avatar
  • 133
0 votes
1 answer
744 views

Wierd output in python from serial connection output

Output: b'00000-000000\r\n' b'450302198011281530\r\n' b'' b'' b'+\x00--To--\r\x12-\x00000800\r\x12-\x00000800\r\x12' b'-\x00000800\r\x12-\x00000800\r\x12' b'-\x00000800\r\x12-\x00000800\r\x12' ...
user123928's user avatar
1 vote
1 answer
807 views

How come Rpi GPSD can read GPS data using USB to serial cable, but not using Rpi serial pins TxD, RxD?

I've been trying to setup an RPi0 with a GPS module. This is the GPS antenna I'm using This is the GPS module I'm using to connect to the Pi I've tried the module with USB on my desktop (Windows 10) ...
rohtua's user avatar
  • 459
0 votes
0 answers
262 views

Activate SPI & I2C, deactivate serial console programmatically

To enable I2C and SPI interfaces and deactivate the serial console, you can use the raspi-config tool which works as expected. As far as I am informed, for SPI and I2C activation, the tool is just ...
albert's user avatar
  • 121
1 vote
1 answer
100 views

How to make an MS-DOS style console program?

I want to make a console input/output program on Raspberry Pi. I'm just learning C programming by making some simple guessing games and calculator applications. I want to make an interface that's more ...
wgb22's user avatar
  • 111
3 votes
3 answers
4k views

RPi 4 -- Garbage on serial console (UART) using upstream kernel

I'm experimenting with upstream kernel and now I try to get serial console working. I'm getting only garbage symbols when I try to communicate: I think it is important to notice that I only get ...
aryndin's user avatar
  • 201
1 vote
2 answers
2k views

Serial Connection Enabled But Cannot Log in

I'm in strange situation where in the near future, I'll need serial access to my raspberry pi (via TRX, RXD and ground pins). In the mean time right now I'm trying to get the logins in order and make ...
Shaun the Sheep's user avatar
0 votes
0 answers
2k views

Modify cmdline.txt

I have raspberry-pi cm3 image using yocto poky warrior branch. I was trying to communicate using ttyAMA0 serial port. I was able to do that by first manually modifying cmdline.txt from console=...
thesillywhat's user avatar
17 votes
2 answers
47k views

What is the correct way to connect serial console on RPi4 Model B?

My config.txt has: dtoverlay=pi3-disable-bt enable_uart=1 at the end and my cmdline.txt has: root=/dev/mmcblk0p2 rootwait console=tty1 console=ttyAMA0,115200 And here's how I've connected it: I ...
Unmanned Player's user avatar
1 vote
0 answers
38 views

Why are my AT commands inconsistent?

Devices: RPi3B+, USB to TTL CH340, SIM800C GSM module Here are the connection between the USB to TTL and GSM module respectively 5V-VCC, TxD-RxD, RxD-TxD, GND-GND Then I attach this USB to TTL to ...
olivakyle's user avatar
2 votes
0 answers
159 views

How can I reconfigure the UART on the fly?

I have a Pi Zero with Raspbian which I'd like to use as a logger device with WiFi (it's not a W, I'm using an external WiFi stick). I need the UART to communicate with a microcontroller but sometimes ...
bmann's user avatar
  • 21
4 votes
4 answers
1k views

How an I improve sshd latency over WiFi?

I am using my pi4 as a portable dev server which I ssh into from a Chromebook over my home WiFi network. What I'm seeing is that the character latency is very high, seriously impacting my developer ...
pinoyyid's user avatar
3 votes
1 answer
401 views

Vintage terminal as RPi console

I want to connect a vintage 70s era terminal with a Raspberry Pi. The terminal uses a DB-25 connector and features hardware flow control (RTS/CTS/DTR etc). What would be the recommended way to hook it ...
m000's user avatar
  • 483
0 votes
0 answers
49 views

Why can't I TTL serial log to my computer or connect to WiFi with my Raspberry Pi Zero W

I haven't used my zero in about a year and I am trying to connect it to my new WiFi with no real success. I tried: -Editing the wpa_supplicant.config file and adding a shh file but when I check the ...
Aaron Rotem's user avatar
1 vote
2 answers
2k views

SIM800 UART Serial Corrupted Response Problem

I am adding a SIM800L module to a home burglar alarm system I'm building around a RPi3. I've already encountered, and overcome, the usual power problems, and I can successfully use the module to make ...
ephestione's user avatar
0 votes
2 answers
2k views

Bad serial connection on USB OTG Serial on pi Zero

I am running Ubuntu 18.04 with Jakeday's surface linux kernel on a Surface Book 2. I had a serial connection working yesterday. I had this problem on another pi zero. I researched the "failed to set ...
StealthBadger747's user avatar
1 vote
1 answer
2k 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, ...
Petrus Theron's user avatar
0 votes
0 answers
551 views

How can I disable the serial debugging console?

I am using raspberry pi 3b model with android things. I need to attach GPS module NEO6mv2 with the pi. How can I disable the serial debugging console?
PraSoon GosWami's user avatar
1 vote
3 answers
550 views

Reading time off of a cellular modem with python 2.7 and pyserial

TL;DR: I need to read the time off of my Hologram Nova USB cellular modem on /dev/ttyACM0 and update the system clock after the pi restarts. I'd like to do it in Python but it isn't reading the ...
Shrout1's user avatar
  • 152
0 votes
0 answers
325 views

raspberry pi and ltc 2873 cufd (RS 232 and RS 485)

I have a raspberry pi compute module 3 on an I/O board in which gpio 12 is contolling the mode in ltc 2873. If it is ground it will be working in the RS 232 mode. so if I have to write something into ...
roshini's user avatar
  • 25
1 vote
0 answers
2k views

How to login compute module via serial port?

I tried to login to compute module 3 io board from a USB serial port in my PC, but PUTTY just hangs there. Following procedures have been made: raspi-config -> interface options -> serial port -> ...
jiandingzhe's user avatar
1 vote
1 answer
597 views

Extracting or storing a serial number during production

I am designing a product for which the Raspberry Pi is part of the system. It is basically used as the bridge for BLE sensors to communicate with cloud servers. Basically, each time my product is ...
Alex C's user avatar
  • 111
1 vote
1 answer
673 views

Control RaspberryPI 3 via Serial/GPIO

So I'm working on a bit of a little project with a PI for work. I'm making the PI into a little portable NAS where i can connect it to a network and on boot, it will email me its IP Address (if it ...
xR34P3Rx's user avatar
  • 113
1 vote
0 answers
549 views

rfcomm service not working for Bluetooth over serial

I'm trying to connect with a terminal to my Raspberry Pi over Bluetooth, however with my current configuration (which is what I have found in numerous places online) when any device pairs and connects ...
Evan's user avatar
  • 11
1 vote
0 answers
33 views

How to stop yellow and grey boxes on serial console during boot?

I have a Raspberry Pi Zero W running Raspian Stretch. When it boots, it prints grey and yellow square characters to the serial console before displaying "Last login ..." and the login prompt. I ...
nkizz's user avatar
  • 41
0 votes
2 answers
618 views

Debricking WNR2000v3 with Raspberry PI and a serial connection?

I don't actually need to debrick this WNR2000v3, I'm just trying to learn how to connect to an embedded device using a serial connection to see if I can do it. I believe I have setup the wires so ...
leeand00's user avatar
  • 714
2 votes
3 answers
3k views

Disable UART such that it will not be on during the boot process, but only after

I am using UART sensors that do not allow the RPI to finish the boot when the serial console and the bluetooth are on. I did disable them using the dtoverlay=pi3-disable-bt in /boot/config.txt and ...
Mika's user avatar
  • 33
1 vote
1 answer
102 views

Can I use the USB connector to transfer plaintext data (via serial console / socket) to a linux PC?

I have a script on my pi that currently simply outputs some numbers from a sensor to the console, several times a second. I am using this for a demonstration, and need a way to reliably (not over the ...
Ethan McTague's user avatar
1 vote
0 answers
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] ...
Sterling Butters's user avatar
-1 votes
1 answer
58 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 ...
sigmasrb's user avatar
2 votes
2 answers
472 views

How to connect to the pi over serial [duplicate]

So I am trying to connect to my pi over serial. I have never used serial, so I hope what I have is fine. I can't order anything new. I have a USB to serial adapter (RS232 I think, you can check the ...
Sam Richards's user avatar
0 votes
1 answer
858 views

Direct connect router UART 3.3v to pi3B UART 3.3v and use debug console

Can I use a Raspberry PI model B to interact directly to a router debug console (undocumented) via "screen". TX <-> RX RX <-> TX GND <-> GND # screen -L /dev/ttyAMA0 115200,-...
01BTC10's user avatar
  • 103
2 votes
1 answer
4k views

Can you hot-plug a USB to TTL Serial Cable to the Raspberry Pi?

Generally speaking, hot-plugging devices/sensors onto the GPIO pins of a running Pi is a potentially device/Pi damaging bad practice. But does that hold true for a PL2303TA chipset-based USB to TTL ...
sitting_duck's user avatar