Raspberry Pi - Serial Console




Introduction: 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

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

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

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

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.

Be the First to Share


    • Build a Tool Contest

      Build a Tool Contest
    • Remote Control Contest

      Remote Control Contest
    • Eggs Challenge

      Eggs Challenge



    1 year ago on Step 4

    Ummm this has got me thinking about my current setup.
    Currently I use the Rpi to run/drive a home control device..either a HomeVision board or an X-10 CM11 .
    The devices are / have RS232 serial connections...and I connect to them with the a prolific USB - RS232 adapter.
    Pi -USB to adapter to RS232.
    Just wondering ..the GPIO pins on the Pi...are they usable as a serial port directly ..so bypassing the need for the USB adapter.

    So I could make up a cable to go direct from the GPIO pins direct to the RS232 9 pic socket on the HomeVision baord..bypassign the need for Prolofic / or FTDi 'driver' etc..?


    2 years ago

    Nice and Simple. Thanks. I am trying to recreate this and it's not working. Would you please let me know which version of Raspberry PI OS did you use? It would be also great if you could share the config.txt and cmdline.txt that you used. Thanks in advance.


    4 years ago

    putty seems to be connected but when I press enter I don't see any response. BAUD rate = 115200 and all other Serial options are default.


    6 years ago

    Nice tutorial! This will help a lot.