Introduction: Raspberry Pi - Serial Console

Picture of Raspberry Pi - Serial Console

I have been using Raspberry Pi for some time and I'm going to start writing a few projects using the Raspberry Pi. So lets start with getting the serial ready, the serial console is where I write most of the code and I don't use the GUI a lot. For using the serial you will not need any monitor or an Ethernet Cable.

In this instructable I'm going to show you how to get started with the raspberry pi serial console and you don't need any hardware except the raspberry pi and the serial to USB cable.

So lets get started...

Step 1: Tools and Components

Picture of Tools and Components

All that you need to get started is -

  • Raspberry Pi
  • Serial to USB Cable

You can get the above components on Adafruit.

Step 2: Software Installation

Picture of Software Installation

First you need to install the necessary drivers-

For mac users - link

For windows users - link

Linux Users - No driver required

Step 3: Getting Started

Picture of Getting Started

Once you got the drivers installed, you need to install putty if you are a windows user and screen if you are a Linux user. Screen can be installed by typing the below command in the terminal -

sudo apt-get install screen 

Then connect the serial console connector to the raspberry pi -

  • The red lead should be connected to 5V,
  • The black lead to GND,
  • The white lead to TXD.
  • The green lead to RXD.

Step 4: Starting Up

Picture of Starting Up

Now its time to launch the serial monitor -

Mac users type in the below command in a terminal window

screen /dev/cu.PL2303-00001004 115200

Linux users need to type in

sudo screen /dev/ttyUSB0 115200

To start communication with the Pi, press ENTER and you should see the login prompt from

the Pi.

If you are using putty then you need run putty on the suitable serial port.

Now you should have setup the serial console successfully, if you encountered any problem leave a comment below.

Comments

Saiyam (author)2015-08-28

Nice tutorial! This will help a lot.

About This Instructable

13,074views

179favorites

License:

Bio: Hi, I just launched an Indigogo campaign support my projects by backing it. https://www.indiegogo.com/projects/tinker-usb-a-wifi-based-badusb#/
More by ThisIsSteve:Linkit One Text to SpeechLinkit One Kitchen TimerIntel Edison Talks to Linkit One
Add instructable to: