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
0answers
25 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
1answer
47 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
1answer
50 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
20 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
30 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 ...
2
votes
3answers
156 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 ...
1
vote
2answers
42 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
132 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=...
4
votes
2answers
2k 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
0answers
26 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
50 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 ...
4
votes
2answers
193 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
1answer
93 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 ...
0
votes
0answers
28 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
2answers
362 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
621 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
1answer
754 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
116 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
3answers
212 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 ...
0
votes
0answers
130 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
677 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
1answer
381 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
498 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 ...
1
vote
0answers
273 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 ...
1
vote
0answers
28 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 ...
0
votes
2answers
390 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 ...
2
votes
2answers
614 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 ...
1
vote
1answer
97 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
0answers
1k 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] ...
0
votes
1answer
43 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
2answers
313 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
599 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
2k 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 ...
1
vote
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
47 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
0answers
2k views

How to connect to Raspberry Pi from linux PC with serial connection

I've bought a Raspberry Pi 3 model b and a new design of Berryclip which is supposed to include the USB to serial adapter as an additional microUSB port for the Raspberry. Now I've been told that the ...
1
vote
0answers
964 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 ...
5
votes
3answers
7k 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
1answer
393 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
0answers
753 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 ...
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 ...
0
votes
1answer
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
0answers
404 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 ...
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 ...
2
votes
1answer
1k 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-...
1
vote
1answer
1k views

Raspberry Pi 3 with Python and XBee S2 Pro

I used to use the RPi 2b and had no problems with my Xbee codes but this new RPi3 is killing me. I can not read from my XBee model S2 Pro anymore. Following instructions from other forums I have ...
0
votes
1answer
2k views

TXD0/RXD0 to D+/D-

I am working on a project involving serial communication with the Raspberry Pi (for which I was using a USB to serial cable). I'm currently building the final version of the hardware, and I'm ...
1
vote
1answer
579 views

Raspbian system-wide hang after using “reset” and logging-off from the serial console

I'm looking for an explanation and/or a solution for resolving an issue when connecting to the Pi by its serial console connection: After using the "reset" command at any point during a session - a ...
0
votes
1answer
2k views

Change default console TERM from vt102 to xterm?

When connecting to the Pi by the serial console, I'd like to have the default TERM be xterm, rather than the current default of vt102: pi@raspberrypi:~$ echo $TERM vt102 pi@raspberrypi:~$ tty /dev/...
0
votes
2answers
1k views

Disabling serial console/kernel messages on Pi B 2 while still being able to write/read to serial port

I would like to disable the serial console and boot up messages while still being able to write to the port. I have tried disabling the port in raspi-config. This disables the console and the kernel ...