Home » Hardware Platforms » RaspberryPi » Enabling Serial Console on Raspberry Pi (RPi) using USB to TTL Serial Cable

Enabling Serial Console on Raspberry Pi (RPi) using USB to TTL Serial Cable

For enabling Serial console on RPi, so that we can get serial console on RPi, we bought cable from Amazon link “USB to TTL Serial Cable – Debug / Console Cable for Raspberry Pi” [ https://www.amazon.in/xcluma-Debugger-Raspberry-Beaglebone-Cubietruck/dp/B072TDMJW3?tag=googinhydr18418-21 ]

Now, we connect the “black”, “white” and “green” wires as shown in below image,

To enable serial console, from RPi3 we need change the boot/config.txt from the first partition of the SD card, hence Edit boot/config.txt and append line “enable_uart=1” at the end of the file. Connect SD card to RPi.

Connect Serial to USB cable to ubuntu laptop/desktop and type “dmesg” command on terminal as,

This shows now that Serial to USB cable detected and created /dev/ttyUSB0 as device node. Now, lets start minicom on terminal as,

One opened windows, goto “Serial Port Setup” and make the settings as below,

Once thats done, go to “Exit” and hit “Enter” key, so it will start minicom on /dev/ttyUSB0 port and will be ready to receive strings with below message,

Now connect the Power Cable to RPi, and you should see the booting messages flowing on minicom terminal. Enjoy !

Reference – https://cdn-learn.adafruit.com/downloads/pdf/adafruits-raspberry-pi-lesson-5-using-a-console-cable.pdf


Subscribe our Rurban Life YouTube Channel.. "Rural Life, Urban LifeStyle"

Leave a Comment