View source for Talk:RPi Serial Connection

From eLinux.org
Revision as of 07:18, 22 February 2012 by Spotthemaniac (talk | contribs) (confirmation of usb serial adapter usage)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Talk:RPi Serial Connection
Jump to: navigation, search

I have confirmed that this adapter works with a synology TTL serial comm port. [[1]] also confirmed the voltage is 3.3 from this convertor as loads of people were worried about degradation or failure using a 5v ttl serial convertor Waiting on the real thing to try it out.

USB serial connection to Raspian with systemd

The page was a little vague on how to do this with my version of Raspian. My uname -a:

Linux raspberrypi 4.9.41-v7+ #1023 SMP Tue Aug 8 16:00:15 BST 2017 armv7l GNU/Linux

My system uses systemd. This is what ended up working for me:

  1. I plugged a USB to female crossover serial cable into the Raspberry Pi
  2. With my Arch Linux PC, I plugged in a USB to male serial straight-through and plugged that into the female of the Pi's crossover
  3. Verify the /dev/ttyUSB* port (it was /dev/ttyUSB0 for me) on the RPi. Then execute a serial getty in Raspian: systemctl start serial-getty@ttyUSB0.service (if you want it to start at boot, do systemctl enable serial-getty@ttyUSB0.service)
  4. From my Arch Linux PC I was able to connect with minicom -D /dev/ttyUSB1

It shouldn't really matter which host gets the straight through or which gets the crossover. However, if the PC has a serial port connected to its motherboard, you can plug the female end of the crossover directly into the PC's serial port and won't need another cable.

Just wanted to share in case this is helpful to someone else. I plan to use the built in serial port to control another device, but even if you don't this is a handy out of band connection to a RPi and/or lets you interact with your RPi's TTY console without a monitor and keyboard.

15:31, 28 November 2017

Create a new page re: the manual configuration needed to prevent Linux from using the serial port

I suggest to create a new page regarding the manual configuration needed to prevent Linux from using the serial port and place a link here because a) the text of that section is by far much longer than the other 2 methods b) almost everybody will use the other 2 methods and very-very few the manual one

00:48, 20 May 2016

Glitch when serial port is opened

You do not have permission to edit this page, for the following reasons:

  • The action you have requested is limited to users in the group: Users.
  • You must confirm your email address before editing pages. Please set and validate your email address through your user preferences.

You can view and copy the source of this page.

 

Return to Thread:Talk:RPi Serial Connection/Glitch when serial port is opened.