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
2 votes
1 answer
77 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 ...
  • 121
1 vote
2 answers
73 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 ...
  • 201
0 votes
0 answers
59 views

How to connect UART and TPM in Raspberry pi 4

I want to connect Infineon 9670 tpm 2.0 with raspberry pi 4b. TPM takes GPIO pin 1 to 26 and UART needs pin 8 and 10. So basically I cannot connect both simultaneously. (which is the requirement in my ...
0 votes
2 answers
222 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 ...
1 vote
1 answer
833 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 ...
0 votes
0 answers
56 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 ...
0 votes
0 answers
137 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 ...
  • 1
0 votes
2 answers
999 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" ...
3 votes
1 answer
2k 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 ...
  • 133
0 votes
1 answer
322 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' ...
1 vote
1 answer
529 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) ...
  • 459
0 votes
0 answers
123 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 ...
  • 121
1 vote
1 answer
67 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 ...
  • 111
3 votes
3 answers
2k 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 ...
  • 201
1 vote
2 answers
822 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 ...
0 votes
0 answers
1k 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=...
12 votes
2 answers
28k 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 ...
1 vote
0 answers
29 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 ...
2 votes
0 answers
132 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 ...
  • 21
4 votes
3 answers
884 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 ...
3 votes
1 answer
266 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 ...
  • 483
0 votes
0 answers
37 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 ...
1 vote
2 answers
1k 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 ...
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 ...
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, ...
0 votes
0 answers
435 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?
1 vote
3 answers
471 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 ...
  • 133
0 votes
0 answers
252 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 ...
  • 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 -> ...
1 vote
1 answer
482 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 ...
  • 111
1 vote
1 answer
612 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 ...
  • 113
1 vote
0 answers
441 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 ...
  • 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 ...
  • 41
0 votes
2 answers
532 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 ...
  • 704
2 votes
3 answers
2k 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 ...
  • 33
1 vote
1 answer
100 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 ...
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] ...
-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 ...
1 vote
2 answers
413 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 ...
0 votes
1 answer
785 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,-...
  • 103
2 votes
1 answer
3k 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 ...
  • 123
2 votes
1 answer
4k views

Connect PC to Rpi3 using serial connexion in puTTY

As specified in the title, I try to connect my Rpi 3 running Raspbian Jessie Lite from 2017-07-05 to my Windows 10 PC using puTTY on serial mode with this cable. I tried to follow a few tutorials ...
  • 133
0 votes
1 answer
52 views

RPI3: how can I use the UART to communicate with a non-console device?

I need to communicate via the RPi3 serial port with a device that only understands hex commands. I have read and implemented the steps shown in: How do I make serial work on the Raspberry Pi3 and my ...
1 vote
0 answers
1k views

Send data from arduino ble to raspberry pi 2 as serial over bluetooth

Im trying to send data from an arduino with integrated ble (bluno nano from DFRobot) to a raspberry pi 2 which has an hm10 ble module connected to its serial0 gpio14 and 15 pins. I link the devices ...
7 votes
3 answers
10k views

Debugging USB OTG Serial on the Pi Zero W

I have a whole bunch of Pi Zeros and Zero Ws. I've flashed SD cards with the latest Raspbian Jessie Lite, and I've followed the instructions at https://gist.github.com/gbaman/...
2 votes
1 answer
549 views

Can the raspberry pi be used as a serial converter to debug other boards?

I have a board running linux and it doesn't boot when connecting a specific hardware, the board doesn't even load the kernel so i have to use a serial cable to see what's causing the issue, currently ...
0 votes
0 answers
886 views

How to use UART for console and other UART peripheral for expansion boards on 3 model b v1.1

I don't have SSH access or a dedicated external monitor and keyboard for this raspberry pi, so I would prefer to have serial access, which I have working with a device-tree overlay. The thing is, I ...
  • 655
0 votes
1 answer
3k views

Control Raspberry Pi 3 through bluetooth connection

I have a raspberry Pi3 with bluetooth connection to my MAC computer. I need to control raspberry from MAC using bluetooth like serial interface (uart) Is there any way to do that? I only see using ...
  • 5
0 votes
1 answer
2k views

Unable to open serial connection to modem

I posted a thread on the raspberry pi forums, but I believe my problem is too obscure to be helped there. Info below: Hello, I absolutely an unable to get my raspberry pi to open a serial connection ...
2 votes
0 answers
418 views

Lost Serial on Pi3 running Pixel

I have just upgraded to the latest OS Raspbian Pixel and my serial connection has stopped working. I know that the hardware is configured correctly as it worked pre-update. I have updated to the ...