Preview

serial port

Satisfactory Essays
Open Document
Open Document
816 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
serial port
Serial Port The microcontroller AT89C51 has an inbuilt UART for carrying out serial communication. The serial communication is done in the asynchronous mode. A serial port, like other PC ports, is a physical interface to establish data transfer between computer and an external hardware or device. This transfer, through serial port, takes place bit by bit.

IBM introduced the DB-9 RS-232 version of serial I/O standard, which is most widely used in PCs and several devices. In RS232, high and low bits are represented by flowing voltage ranges: Bit
Voltage Range (in V)
0
+3
+25
1
-25
-3 The range -3V to +3V is undefined. The TTL standards came a long time after the RS232 standard was set. Due to this reason RS232 voltage levels are not compatible with TTL logic. Therefore, while connecting an RS232 to microcontroller system, a voltage converter is required. This converter converts the microcontroller output level to the RS232 voltage levels, and vice versa. IC MAX232, also known as line driver, is very commonly used for this purpose. The simplest connection between a PC and microcontroller requires a minimum of three pins, RxD (receiver, pin2), TxD (transmitter, pin3) and ground (pin5) of the serial port of computer.

TxD pin of serial port connects to RxD pin of controller via MAX232. And similarly, RxD pin of serial port connects to the TxD pin of controller through MAX232. MAX232 has two sets of line drivers for transferring and receiving data. The line drivers used for transmission are called T1 and T2, where as the line drivers for receiver are designated as R1 and R2. The connection of MAX232 with computer and the controller is shown in the circuit diagram.

An important parameter considered while interfacing serial port is the Baud rate which is the speed at which data is transmitted serially. It is defined as number of bits transmitted or received per second. It is generally expressed in bps (bits per second).

You May Also Find These Documents Helpful

  • Good Essays

    ● Serial: 0 (RX) and 1 (TX); Serial 1: 19 (RX) and 18 (TX); Serial 2: 17 (RX) and 16 (TX); Serial 3: 15 (RX) and 14 (TX). TTL serial data can be transmitted and received. Pins 0 and 1 are connected to the respective pins of the ATmega8U2 USB-to-TTL Serial chip.…

    • 558 Words
    • 3 Pages
    Good Essays
  • Satisfactory Essays

    Dc Input D10 Unit 5

    • 256 Words
    • 2 Pages

    The module has a 2.4K retentive memory space for storing data. The system runs on the DirectSOFT programming software built into the system. The Device comes with RS-232-C port that transfers module data at 9600 baud. The system also has forced I/O, timer/event drum sequencing, and RLL diagram-style…

    • 256 Words
    • 2 Pages
    Satisfactory Essays
  • Powerful Essays

    Nt 2580 Project Part 2

    • 1249 Words
    • 5 Pages

    The D-Link DES-1026g is a 26 port plug and play switch. It provides 24 10/100 baseTX and 2 10/100/1000 baseTX ports. Where 10 would be mega bits per second, base stands for baseband and Tx is a minimum of…

    • 1249 Words
    • 5 Pages
    Powerful Essays
  • Satisfactory Essays

    NT1210 Unit 5 Questions

    • 821 Words
    • 3 Pages

    support autonegotiation. Both PCs connect to a LAN switch using a UTP cable. Both switch ports…

    • 821 Words
    • 3 Pages
    Satisfactory Essays
  • Satisfactory Essays

    PS/2 - This is the mouse and/or keyboard port. It's important to know that it was developed by IBM and contains a six pin connection configuration. In addition, it is still used with most IBM compatible computers even though USB has began to replace them.…

    • 677 Words
    • 3 Pages
    Satisfactory Essays
  • Powerful Essays

    Mt1310 Unit 7 Essay

    • 1045 Words
    • 5 Pages

    The Message Transfer Part (MTP) is divided into three levels. The lowest level, MTP Level 1, is equivalent to the OSI Physical Layer. MTP Level 1 defines the physical, electrical and functional characteristics of the digital signalling link. Physical interfaces defined include E-1 (2048 kb/s; 32 64 kb/s channels), DS-1 (1544 kb/s; 24 64kb/s channels), V.35 (64 kb/s), DS-0 (64 kb/s) and DS-0A (56 kb/s).…

    • 1045 Words
    • 5 Pages
    Powerful Essays
  • Satisfactory Essays

    USB portsnetwork ports, typically Ethernet and FireWirevideo ports, typically some combination of VGA, DVI, RCA/component, S-Video and HDMIaudio ports, typically some combination mini analog audio jacks or RCA…

    • 278 Words
    • 1 Page
    Satisfactory Essays
  • Satisfactory Essays

    ECT122 w1 iLab 3

    • 410 Words
    • 3 Pages

    2. What is the function of the COM connection? What color lead is placed in this connection?…

    • 410 Words
    • 3 Pages
    Satisfactory Essays
  • Powerful Essays

    Unit 3 P3

    • 1666 Words
    • 7 Pages

    This means that the transmission of data can be sent or received to a device and never the other way around. Radio broadcasting and communicating with a printer is an example of such communication, where the communication medium is used for one-way communication.m…

    • 1666 Words
    • 7 Pages
    Powerful Essays
  • Powerful Essays

    Nt1310 Unit 9 Lab Report

    • 2537 Words
    • 11 Pages

    International Journal of Computer Science and Network (IJCSN) Volume 1, Issue 3, June 2012 www.ijcsn.org ISSN 2277-5420 On Line Real Time Health Monitoring of ICU Patients using ARM7 1 1 Mrs. Rajashri Patil , 2Prof. Balaji Hogade Electronics Department, Datta Meghe College Of Engg , Airoli , Navi Mumbai , Maharashtra 400708, India 2 Department of Electronics, Terna Engg College, Nerul, Navi Mumbai , Maharashtra , 400708 , India…

    • 2537 Words
    • 11 Pages
    Powerful Essays
  • Good Essays

    Securing Windows Media

    • 481 Words
    • 2 Pages

    | Used for delivering data packets to clients that are streaming by using MMSU. Open only the necessary number of ports.…

    • 481 Words
    • 2 Pages
    Good Essays
  • Powerful Essays

    It 320 Hw 1.1

    • 1156 Words
    • 5 Pages

    Equipment that is located in the customer’s wiring closet and provides a clocking signal to the router.…

    • 1156 Words
    • 5 Pages
    Powerful Essays
  • Good Essays

    Router 10r2 Lab 1.2

    • 808 Words
    • 4 Pages

    A. The Interfaces that can be classifies as serial interfaces in Router 10R2 are as…

    • 808 Words
    • 4 Pages
    Good Essays
  • Better Essays

    Building Automation

    • 2847 Words
    • 12 Pages

    DS, Danish Standard, DS 21906. P-Net, Multi-master, multi-net fieldbus for sensor, actuator and controller communications.…

    • 2847 Words
    • 12 Pages
    Better Essays
  • Powerful Essays

    Universal Serial Bus (USB) is a serial bus standard to connect devices to a host computer. The USB 3.0 is the u version of the USB. The USB 3.0 is also called super speed USB because the USB 3.0 support a raw throughput of 500 MByte/s. In the new universal serialbus specification, there are many new features which are also included. The most important one is the fast speed data transfer. Thus the USB 3.0 can support more devices than the currently using specification which is using USB 2.0.…

    • 1397 Words
    • 6 Pages
    Powerful Essays