8051 MICROCONTROLLER TUTORIALS
 
MINICOM: SERIAL TERMINAL IN LINUX

Learn how to use Minicom in Linux
Keywords: HyperTerminal in Linux, How to use HyperTerminal in Linux, Serial terminal in Linux
Minicom is a text-based modem control and terminal emulation program for Linux operating systems, originally written by Miquel van Smoorenbur. Minicom (Hyperterminal in Windows) is easy and effective used for serial communication between Microcontroller for Testing and Analysis Purpose. Minicom helps you in Configuring Linux on Board, Running TFTP Server and others.

Although, Minicom is very much Similar HyperTerminal in Windows. But its configuration in quite tricky then of HyperTerminal.


Embedded Linux



In this document, you can see How to Set Up Minicom for Serial Communication.

Log in as Root in Linux (almost common for all Variant this particular in fedora 9)

Step 1: Go to System Tools>> Terminal
You will see following windows:


command prompt



Step 2:
Type minicom -s (No need to download from Net already in Fedora 9) You will see following windows:





Step 3:
Go to “Serial Port Setup” using Up/down Keys.


minicom setting



Step 4:
For Change Setting

Press A: Select ttyS0 for Serial Device (Same as COM1, COM2 in Windows).
Press B: Select Lock file location (as Home Folder) to avoid any access restrictions.    (userabc as other than root)
Press E
: Bps
Press F: Hardware Flow
Press G: Software Flow


minicom help



Step 5:
Press C for Bps
Change the Baud Rate According to you. We Generally Use 9600 8N1





Step6
: Now Press Enter then Save as dfl.


minicom save as



Step 7
: Wait for Configuration saved.

Step 8:
Type Minicom





Step 9
:  Wait for Initialization Modem.





Step9:
You will See Hello World!! As same Program (in Microcontroller) as you see in HyperTerminal in Windows. (It is assumed that you have connected any device to serial portl which is sending hello world string at serial port)


EmbeddedCraft : Published Date: 1-Dec-2018   |   Feedback: For any feedback please write to us at embeddedcraft_at_gmail_dot_com