Lab Report on Serial Communication and Accessing IBM Comm. Ports Lab Title: Serial Communication and accessing IBM comm. ports using DOS and BIOS
1. One of the main differences between serial and parallel communication is the number of wires used to transfer the data. In parallel communication, there is one line for each data bit that is being transferred where as in the case of serial communication the data is sent on a single line 1 bit at a time. The major advantage of using serial data transfers is that it is much cheaper to build the system. With only one line, any amount of data can be multiplexed and sent. A parallel transfer system would eventually have to add more lines to keep up with the increased amount of data.
2. Asynchronous communication lets all of the data move throughout the system independently which generally makes it harder to troubleshoot or design. A common clock that goes to all parts of the system clocks a synchronous communication system. Operations can only be performed within the system or circuit on each clock pulse. This will synchronize all of the communications within the circuit. Because everything happens at the same time, it is easier to predict the outputs of any component and therefore easier to troubleshoot and design than an asynchronous system.
3. There are three basic types of communication, simplex, half-duplex, and full-duplex. Simplex communication means that the communication can only go one direction such as a computer to a printer. There is no need for a printer to send data back to the computer so a simplex communication system could be used. Half-duplex communication systems support data transfer in both directions but not at the same time where as a full-duplex system supports data transfer in both directions simultaneously. A half-duplex system has the advantage of only having one data transfer line that needs to be run but the disadvantage is that one device must wait until the other is done to transmit. A full-duplex system does have the ideal case in which data is transferred simultaneously in both directions but the disadvantage of this is that an extra data line must be run between the devices which may prove more costly than the electronic switching hardware that would be necessary to use half-duplex.
4. RS-232 was introduced in 1960, and is currently the most widely used communication standard. It is simple, inexpensive to implement, and though relatively slow, it is more than adequate for most simple serial communication devices such as keyboards and mice. RS-232 is a serial data transmission system, which means that it uses a single wire for data transmission. Signals are processed by determining whether they are positive or negative when compared with a ground. RS-232...