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
1answer
52 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 ...
3
votes
3answers
1k 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 ...
3
votes
1answer
1k 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 ...
0
votes
2answers
278 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" ...
1
vote
1answer
2k views

Serial console produce garbage even with dtoverlay=pi3-disable-bt

I'm using 2016-09-23-raspbian-jessie and have done all the updates steps everyone suggests (apt-get update ; apt-get upgrade). After that (and enable_uart=1) didn't work I added dtoverlay=pi3-disable-...
0
votes
0answers
35 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
0answers
41 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 ...
11
votes
3answers
29k views

Change/reset password WITHOUT monitor/keyboard

I forgot the password to my Pi, but don't have access to a compatible monitor/keyboard. I've seen methods like these but they all involve editing cmdline.txt and then booting with a monitor and ...
4
votes
3answers
620 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 ...
0
votes
0answers
18 views

no getty on ttyS0 when booting from a USB drive

I have customized a headless raspberry pi OS (Dec 2020 version). I performed all customizations while running the OS from a microSD card. As a last step , I dd the microSD to a USB drive. The system ...
2
votes
3answers
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 ...
0
votes
2answers
1k 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 ...
0
votes
1answer
192 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' ...
0
votes
0answers
840 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 ...
1
vote
1answer
371 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) ...
0
votes
0answers
70 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 ...
1
vote
1answer
47 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 ...
3
votes
4answers
13k views

USB to Serial converter / connect to pi?

I have a drawer full of USB/RS232 adapters... is it possible to attach the Tx/Rx pins on the serial end of this cable to the Tx/Rx GPIO pins on the pi and have console access? EDIT: Bought this: http:...
12
votes
2answers
17k 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
2answers
346 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
0answers
567 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=...
1
vote
0answers
28 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
0answers
120 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 ...
3
votes
1answer
177 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 ...
1
vote
2answers
883 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
1answer
49 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 ...
0
votes
0answers
32 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
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
309 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?
7
votes
3answers
9k 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/...
1
vote
3answers
370 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 ...
3
votes
2answers
4k views

How to enable or fix the TTL console connection on the Raspberry Pi?

EDIT: Finally got it to work, see answer below for a complete guide on how to make this thing work starting from scratch I have a PL2303HX cable connected to the GPIO on 5V GND RXD TXD and it IS ...
1
vote
0answers
377 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 ...
0
votes
0answers
203 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 ...
1
vote
0answers
1k 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 -> ...
10
votes
4answers
49k views

How to identify the USB to Serial wire mismatched?

I am not alone, I experienced a similar problem as: "...instead of having the pin connections described as they should be they were mismatched so GND is described as TXD, TXD as RXD, and RXD as GDN." ...
1
vote
1answer
442 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 ...
1
vote
1answer
548 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 ...
0
votes
2answers
465 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 ...
1
vote
0answers
32 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 ...
1
vote
1answer
99 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
2answers
3k views

Connecting Raspberry Pi to Arduino via USB port. Run python scripts with PySerial

I connect my Rasberry Pi to Arduino Nano (Uno) and all works when I send every command through python shell: pi@raspberrypi ~ $ python2 Python 2.7.3 (default, Mar 18 2014, 05:13:23) [GCC 4.6.3] on ...
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] ...
2
votes
2answers
2k views

No communication between GPRS module RaspberryPi Zero serial GPIO ports

I am trying to use my RaspberryPi Zero to communicate with an A6 GPRS module (http://www.inkocean.in/gprs-a6-module-sms-board-gsm-gprs-wireless-data-transmission-over-sim900a) Drawing of physical ...
1
vote
2answers
368 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
1answer
718 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,-...
2
votes
1answer
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 ...
2
votes
1answer
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 ...
0
votes
1answer
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 ...
2
votes
1answer
447 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 ...