You are on page 1of 3

Experiment No.

Objective: - To establish a serial communication in asynchronous serial mode using


RS232

Experimental Setup:-

60-pin FRC cable 9-pin RS232 cable

80c51 main Communication


controller card module

80c51 main controller Communnication


card Module

 Insert the EPROM labeled “DCCT expts” to both of the 8051 controller cards.
 Connect the communication module to the main controller card using 60 pin FRC
cable
 Connect the power supply and switch on.
 Connect the RS232c cable to RS232 ports of the 2 communication modules
 Select from the menu for serial communication by pressing key 2 on the main
menu. The LCD will be cleared and the following screen spears on the screen.

Enter your choice


1. 1200 baud rate
2. 300 baud rate
Menu 2

press key 1 on the embedded nodes on menu2 for the baud rate of 1200.
 The LCD screen will be cleared and the following screen appears on LCD

Menu 3
Enter your choice
1.RS 232 medium
2. FSK/FO medium
3 . PC-to-PC commn

 Now press key 1 to choose the communication through RS2342 medium.


 The LCD screen will be cleared and the following screen appears on the LCD.

Enter your choice


(RS-232 medium)
1. synchronous mode
2. asynchronous mode
Menu 4

 Now press 2 in menu 4 to choose the asynchronous mode of communication. The


LCD screen will be cleared and the following screen spears on the LCD

Enter your choice


(RS-232 medium)
1.Async Tx mode
2. Async Rx mode Menu 5

Procedure: -
 The trainer has an option to act both as transmitter and receiver and works in a
half duplex communication
 One node is selected in transmission mode and the other node in reception mode.
 Transmitting node accepts the data from the keyboard and transmits to the
receiving end when ENTER KEY is pressed. The size of the buffer is fixed to 60
bytes (characters). The data will also be transmitted after prompting the user when
the buffer is filled (i.e. when user enters more than 60 byrtes of data)
 After transmitting data the control returns to previous menu (menu5)
 The received data will be displayed on the lcd of the receiving node. Press ESC
key on the keyboard to return to the previous menu(menu5)
 Repeat the expt for 300 baud rate.

OBSERVATION:-
In this expt the student shall observe and analyse the
 Principles of asynchronous mode of serial communication
 Conversion of signals. Signals levels are changed from TTL to RS232 levels (i.e.
logical low signal is represented as +3 to +12 volts & logical high signal is
represented as -3 to -12 volts), hence the noise interfrrence can be avoided up to
15 mts or 50 feets.
 Cable used for communication is of 3 lines (Tx, Rx, and Gnd).
 Data received is slower than parallel communication
 Behaviour of DTEs with different baud rate.

You might also like