Sie sind auf Seite 1von 21

www.sigmatrainers.

com

TRAINERS Since 23 Years

DATA COMMUNICATION TRAINER MODEL-DATACOM100

More than 2000 Trainers

SIGMA TRAINERS AHMEDABAD (INDIA)

EXPERIMENTS
1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. Serial Data Communication - COM1 Serial Data Communication - COM2 Parallel Data Communication - LPT1 Fiber Optic Data Communication Infra Red Wireless Data Communication using IRDA devices Rj45 Cable Data Communication USB Data Communication Twisted pair Data Communication using FSK Modem Fire-wire/IEEE 1394 Data Communication Wifi Wireless Data Communication Bluetooth Wireless Data Communication

INTRODUCTION
This trainer has been designed with a view to provide practical and experimental knowledge of a different types of Data Communication technics on a SINGLE P.C.B of size 24 "x 15.

SPECIFICATIONS
1. Serial Communication 2. Parallel Communication Infrared Transmitter Infrared Receiver Baud Rate Carrier Frequency Transmitter Receiver 5. Modem Communication: Modulation : FSK Modulation : : : : : : : : RS-232 Com Port (9 pin & 25 pin) 25 pin LPT port IR LED 920nm Direct TTL output 2.4 kbps (max) 38 Khz Peak wavelength of emission 660 nm Photo detector with TTL logic

3. Wireless Communication :

4. Optic Fiber Communication:

EXPERIMENT - 1
SERIAL DATA COMMUNICATION THROUGH COM1- RS232C SERIAL PORT Part A Software Installation This experiment requires windows Direct cable Connection software Directcc.exe 1. Install The Direct Cable Connection Feature If It Is Not Already Installed

To check if Direct Cable Connection is already installed Look for the Direct Cable Connection on your Accessories Menu:
Windows 95 - Start / Programs / Accessories / Direct Cable Connection

Windows 98/Me - Start / Programs / Accessories / Communications / Direct Cable Connection If Direct Cable Connection is not installed do the following:
Go to My Computer (on your desktop) Open Control Panel Open Add/Remove Programs Click on Tab marked Windows Setup Highlight Communications Double-Click Click on Direct Cable Connection there will be a ( to the left when selected. Double-Click on Apply you may or may not need your Windows disk. Click OK Look for the Direct Cable Connection on your Accessories Menu as above

2. Windows Networking Setup For Direct Cable Connection In the Network Panel (Start/Settings/Control Panel/Network) or (My Computer on your Desktop/Control Panel/Network) or (Right Click on Network Neighborhood) Click on the Configuration Tab of the Network panel to examine your network components. You may already have some of these network components installed.

You will need to have Client for Microsoft Networks, Dial-Up Adapter, TCP/IP, NetBEUI, (optional IPX/SPX), and File and Printer Sharing for Microsoft Networks.

Adding Protocols and Services that are not already installed: Click on Add Button - Highlight/Select Client - Double-Click Client or Click Add In the Select Network Client panel: Highlight/Select Microsoft - Highlight/Select Client for Microsoft Networks - Click OK* If the TCP/IP protocol is not already installed, do steps P1 P4 below: P1 - Click Add on the Configuration Tab of the Network panel P2 - Highlight/Select Protocol in the Select Network Component Type panel - Click Add P3 - Highlight/Select Microsoft - the protocols will show up on the right P4 - Highlight/Select TCP/IP - Click OK Repeat Steps P1 thru P4 above for the NetBEUI protocol and the optional IPX/SPX protocol. Still in the Network panel: Double Click on the File and Printer Sharing button Select both: I want to give others access to my files and I want to be able to allow others to print to my printer(s) Do not Click OK yet.

* Note - make sure that Clients for Microsoft Networks shows as your Primary Network Logon
3. Naming Your Computer In the Network Panel (Start/Settings/Control Panel/Network) or (My Computer on your Desktop/Control Panel/Network) or (Right Click on Network Neighborhood) Click on the Identification Tab of the Network panel to examine your computer's name. Computer Name - select and type a name. Each computer must have a unique "Computer Name." Workgroup you must type something in this field. The workgroup name does not have to match your other computer's workgroup name. Computer Description - for personal use. The computer description does not apply to configuring the network for Direct Cable Connection Restart Your Computer so that File and Printer Sharing is fully installed or you will not be able to do the next step 4. Sharing Files In the Network Panel

(Start/Settings/Control Panel/Network) or (My Computer on your Desktop/Control Panel/Network) or (Right Click on Network Neighborhood)

Select Access Control tab - Click on Shared Level Access Control Click OK

5. Sharing Your Drives Go to My Computer - Right-Click on C: Drive Click on Sharing. Click on Shared As - Shared name "C" will automatically appear in the box by default. *** Select Access Type Full - allows user to decide type of access granted to other users. Password to protect your C drive - a password is not required here for operation of Direct Cable Connection. If you have selected a password for a particular shared drive, you will be prompted for the 6

password during the Direct Cable Connection startup process when you try to access that shared drive from the remote computer -- so if you use a password, choose one you can remember. Click OK

*** Note: Now when you click on My Computer your icon for your shared C Drive should show a hand below it representing that it is shared.
Repeat this process for all drives that you wish to be shared. Now Restart Your Computer before starting Direct Cable Connection. 6. Repeat Network Setup, Naming Computer and Sharing Your Drives for Your Other Computer

Part B Data transmission 1. Connect input COM1 Port of Serial communication circuit to COM1 port of first computer. 2. Connect output COM1 Port of Serial communication circuit to COM1 port of second computer

3. Start up Direct Cable Connection from Start / Programs / Accessories / (Communications /)


Direct Cable Connection. When Direct Cable Connection (DCC) opens, follow the Wizard and set up one computer as the Host and the other as the Guest.

4. Starting with the Host computer -- Select Host - Click Next - Select the Serial port COM1. Click
Next - Click Finish. The Host computer DCC connection will start listening to Serial port COM1

5. The Serial port for a DCC connection attempt from the Guest computer and it will display a message

"Waiting for a guest computer to connect ...". If it does not get a DCC connection attempt from the Guest computer within about 30 seconds, it will continue to listen but will change the message in the DCC window to "Status: Waiting to connect ..." and "Is the guest computer running?". The Host computer will continue to listen and wait for the Guest Computer to make a valid DCC connection.

6. On the Guest computer -- Select Guest - Click Next - Select the Serial port COM1.Click Next - Click
Finish. The Guest computer will attempt to connect to the Host computer and will display "Status: Connecting via ...". 7. Once the DCC connection is established it is recommended that you Map a Host shared drive on the Guest computer. 8. Drive mapping allows for full use of resources on the other computer. This allows full peer to peer networking over your Direct (Cable) Connection.

EXPERIMENT - 2
SERIAL DATA COMMUNICATION THROUGH COM2- RS232C SERIAL PORT Part A Software Installation Software is already installed in above exp no. 1. Part B Data transmission 1. Connect input COM2 Port of Serial communication circuit to COM2 port of first computer. 2. Connect output COM2 Port of Serial communication circuit to COM2 port of second computer

3. Start up Direct Cable Connection from Start / Programs / Accessories / (Communications /)


Direct Cable Connection. When Direct Cable Connection (DCC) opens, follow the Wizard and set up one computer as the Host and the other as the Guest.

4. Starting with the Host computer -- Select Host - Click Next - Select the Serial port COM2. Click
Next - Click Finish. The Host computer DCC connection will start listening to Serial port COM2

5. The Serial port for a DCC connection attempt from the Guest computer and it will display a message

"Waiting for a guest computer to connect ...". If it does not get a DCC connection attempt from the Guest computer within about 30 seconds, it will continue to listen but will change the message in the DCC window to "Status: Waiting to connect ..." and "Is the guest computer running?". The Host computer will continue to listen and wait for the Guest Computer to make a valid DCC connection.

6. On the Guest computer -- Select Guest - Click Next - Select the Serial port COM1.Click Next - Click
Finish. The Guest computer will attempt to connect to the Host computer and will display "Status: Connecting via ...". 7. Once the DCC connection is established it is recommended that you Map a Host shared drive on the Guest computer. 8. Drive mapping allows for full use of resources on the other computer. This allows full peer to peer networking over your Direct (Cable) Connection.

EXPERIMENT - 3
PARALLEL DATA COMMUNICATION THROUGH LPT1 PARALLEL PORT Part A Software Installation Software is already installed in above exp no. 1. Part B Data transmission 1. Connect input LPT1 Port of Parallel communication circuit to LPT1 port of first computer. 2. Connect output LPT1 Port of parallel communication circuit to LPT1 port of second computer

3. Start up Direct Cable Connection from Start / Programs / Accessories / (Communications /)


Direct Cable Connection. When Direct Cable Connection (DCC) opens, follow the Wizard and set up one computer as the Host and the other as the Guest.

4. Starting with the Host computer -- Select Host - Click Next - Select the Parallel Port LPT1. Click
Next - Click Finish. The Host computer DCC connection will start listening to Parallel port LPT1

5. The Parallel port for a DCC connection attempt from the Guest computer and it will display a
message "Waiting for a guest computer to connect ...". If it does not get a DCC connection attempt from the Guest computer within about 30 seconds, it will continue to listen but will change the message in the DCC window to "Status: Waiting to connect ..." and "Is the guest computer running?". The Host computer will continue to listen and wait for the Guest Computer to make a valid DCC connection.

6. On the Guest computer -- Select Guest - Click Next - Select the Parallel port LPT1.Click Next Click Finish. The Guest computer will attempt to connect to the Host computer and will display "Status: Connecting via ...". 7. Once the DCC connection is established it is recommended that you Map a Host shared drive on the Guest computer. 8. Drive mapping allows for full use of resources on the other computer. This allows full peer to peer networking over your Direct (Cable) Connection.

10

EXPERIMENT - 4
FIBER OPTIC DATA COMMUNICATION Part A Software Installation This experiment requires Serial COM1 TX RX software for Fiber optic transmission. 1. Copy SERIAL Folder from given CD to the desktop of both computers.

Part B Data transmission 1. 2. 3. 4. 5. 6. Connect input first COM1 Port of fiber optic circuit to COM1 port of first computer. Connect input second COM1 Port of fiber optic circuit to COM1 port of second computer. Keep direction switch at 1-2 position. Keep 2 n d computer in receiving mode by applying COM1Rx command on desktop. Keep 1 s t computer in transmitting mode by applying COM1TX command on desktop. Apply any word data on 1 s t Computer and observe received data on 2 n d computer.

7. Now keep direction switch at 2-1 position. 8. Repeat above experiment in reverse direction.

11

EXPERIMENT - 5
INFRARED DATA COMMUNICATION Part A Software Installation This experiment requires IR 200-S driver software for Infrared transmission.

12

13

Part B Data transmission Connect input first COM1 Port of fiber optic circuit to COM1 port of first computer. Connect input second COM1 Port of fiber optic circuit to COM1 port of second computer.

14

EXPERIMENT - 6
MODEM DATA COMMUNICATION (TWISTED PAIR COMMUNICATION) Part A Software Installation This experiment requires modem driver to be installed.

15

16

Part B Data transmission Connect COM Port of Modem 1 to COM1 port of first computer. Connect COM Port of Modem 2 to COM1 port of second computer. Using HyperTerminal Install hyper terminal from Win98 CD. The program that starts HyperTerminal is HYPERTRM.EXE. It is located under Start Menu: Programs; Accessories: Hyperterminal. The HYPERTRM.EXE icon looks like a computer connected to a modem. Double-click on the icon to start the modem program. The first time you start HYPERTRM.EXE, you will be prompted for country code and area code. You do not have to fill in these codes. To avoid problems with the default value for the area code, uncheck the "Use country code and area code" box at the bottom of the dialog window. Choose OK to proceed and you will not encounter this screen again. HyperTerminal will then prompt you for information on the connection you would like to establish. 1. On the first screen, enter a name for your connection, and choose an icon to represent it. These can be anything 2. On the second screen, enter the phone number for your new connection 3. The third screen allows you to connect to the phone number you have chosen, but it also has a host of other options. If you click on the Modify button, you can turn on the "redial" option. You can also click on the Dialing Properties button to add a digit to the number to dial out from your office, or to charge the call on a dialing card. After you are done setting these options, click on the Dial button. 4. Once you are connected to your site (and everything works properly), go to the File menu and choose "save." This saves your settings for the current phone number permanently to your hard drive. In general, only use HYPERTRM.EXE when you want to add a new phone number. If you save your locations after using HYPERTRM.EXE (as in step #4), your HyperTerminal directory will store unique icons for these different locations. Each unique setting you create will become a new icon specific to that new setting. To access a saved location, double-click on its icon instead of using the Hyperterm program. This will start the program with the correct settings already loaded.

The Button Bar


Like many Windows applications, HyperTerminal has a button bar on the top of its screen that incorporates the most often-used features of the program. The functions of these buttons are as follows:

New: Allows you to enter to a different phone number / group of settings. This process follows steps #1-#4 in the previous section. Open: Allows you to open a different phone number / group of settings that you have saved previously. Connect: If you are not already connected, this dials the current phone number. 17

Disconnect: Hangs up a connection. Send: Sends a file from your local computer to the remote computer to which you are connected. If you are not sure where the file is you wish to send, click on the Browse button. You may also want to check to see if the protocol menu item is set to Zmodem (the transfer option most commonly used at CCSF). Receive: Once a file has been sent from the remote computer, click on this button to start receiving it on your local computer. Again, check to make sure the protocol matches the one used to send the file (typically Zmodem). Properties: Allows you to change the various configuration options for the session.

File Transfer Procedure


Depending on whether you will be uploading or downloading, the procedure for using ZModem or Kermit to transfer files will be different. In either case, however, you will need to establish a connection to fog with your modem and Hyperterminal software. You will also need to have the files that you want to transfer saved either in your home directory on fog (ready for downloading) or on your PC (ready for uploading).

When transfering files between your PC and fog, you will need to invoke the ZModem or Kermit command at the command prompt on fog. You must be at a prompt before taking the following steps. To return to the menu, type exit. For additional information about using your account, consult Unix: Getting Started.

Uploading from your PC


Uploading with Zmodem
1. Type rz at the $ prompt on fog to invoke the Receive Zmodem program. ZModem should respond with the message: "rz ready. To begin transfer, type "sz file. . ." to your modem program." 2. Click on the Send File button in the button bar or go to the Transfer menu and go to the Send File option. This will bring up a window with two selection areas in it. 3. You may either type in the name of the file you wish to upload or click on the Browse button to find the file on your machine. Make sure the lower area says "Zmodem". 4. Click on the Send button at the bottom of that window. Hyperterminal will then bring up another window which tells about the status of the current upload.

Uploading with Kermit


1. Type kermit at the $ prompt on fog to invoke the Kermit program. When Kermit is running, your prompt will look like this: C-Kermit> 2. At the Kermit prompt, if you will be transferring a text file, type set file type text. If you will be transferring a binary file, set file type binary. A text file is any file containing only characters from the basic ascii character set; a binary file is anything else. Examples of binary files include programs, graphics, and word processing documents. Press Enter after whichever of these commands. 3. Type receive, and press Enter. Kermit should respond with the message: Return to your local Kermit and give a SEND command. KERMIT READY TO RECEIVE... 18

4. Click on the Send File button or go to the Transfer menu and choose the Send File option. This brings up a window containing a line for the folder to be downloaded into and a selection box for the receiving protocol. 5. Type in the folder you want the file to be downloaded into or click on the browse button to choose one. Then choose Kermit for the Protocol and click on the Send button at the bottom of the window. 6. The file transfer should begin. HyperTerminal will open a window that reports details about the transfer and informs you when it is finished.

Downloading to your PC
Downloading with ZModem
1. Type sz -e at the $ prompt on fog to invoke the send ZModem program. The "-e option tells the ZModem program to "escape all control characters", which is absolutely necessary for a reliable file transfer. 2. Type another space followed by the name of the file you want to download. If the file does not reside in your present working directory, you will need to provide an absolute path name. Remember that Unix is case sensitive. For example: sz -e filename 3. Press Enter. The file transfer should begin automatically. HyperTerminal will open a window that reports details about the transfer and informs you when it is finished.

Downloading with Kermit


1. Type kermit at the $ prompt on fog to invoke the Kermit program. When Kermit is running, your prompt will look like this: C-Kermit> 2. At the Kermit prompt, if you will be transferring a text file, type set file type text. If you will be transferring a binary file, set file type binary. Press Enter after whichever of these commands. 3. Type send, a space, and the name of the file you want to download: send filename. Kermit should respond with the message: Return to your local Kermit and give a RECEIVE command. KERMIT READY TO SEND... 4. Click on the Receive File button or go to the Transfer menu and choose the Receive File option. This brings up a window containing a line for the folder to be downloaded into and a selection box for the receiving protocol. 5. Type in the folder you want the file to be downloaded into or click on the browse button to choose one. Then choose Kermit in the Use receiving protocol and click on the Receive button at the bottom of the window. 6. The file transfer should begin. HyperTerminal will open a window that reports details about the transfer and informs you when it is finished.

19

EXPERIMENT - 7
PARALLEL PRINTER DATA COMMUNICATION 1. 2. 3. Connect input LPT1 Port of parallel printer section to LPT1 port of first computer. Connect output LPT1 Port of parallel printer section to LPT1 port of printer. Print any page (DATA) from computer and observe printing on printer with different control signals at test points.

20

21