{"id":103,"date":"2018-07-26T10:19:31","date_gmt":"2018-07-26T10:19:31","guid":{"rendered":"http:\/\/csp13.epgpbooks.inflibnet.ac.in\/?post_type=chapter&#038;p=103"},"modified":"2018-08-10T11:38:14","modified_gmt":"2018-08-10T11:38:14","slug":"serial-port-communication","status":"publish","type":"chapter","link":"https:\/\/ebooks.inflibnet.ac.in\/csp13\/chapter\/serial-port-communication\/","title":{"rendered":"Serial Port Communication"},"content":{"raw":"<div>\r\n\r\n&nbsp;\r\n<p style=\"text-align: justify\">In this lecture, serial port communication will be discussed in detail. Serial and parallel communication will be compared and contrasted, and RS232 standard will be discussed.<\/p>\r\n&nbsp;\r\n\r\n<strong>1. Introduction<\/strong>\r\n\r\n&nbsp;\r\n<p style=\"text-align: justify\">Data transfer is the physical transfer of data, over a point-to-point or point-to-multipoint communication channel. While analog transmission is the transfer of a continuously varying analog signal over an analog channel, digital communications is the transfer of discrete messages over a digital or an analog channel. Data transmitted may be digital messages originating from a data source, for example a computer or a keyboard. It may also be an analog signal such as a phone call or a video signal, digitized into a bit-stream for example using pulse-code modulation (PCM) or more advanced source coding schemes.<\/p>\r\n&nbsp;\r\n\r\nData is transferred by computer\u00a0 in two ways:\r\n\r\n&nbsp;\r\n<p style=\"text-align: justify\">\u25cf Parallel - 8 or more lines are used to transfer data to a device that is only a short distance.<\/p>\r\n<p style=\"text-align: justify\">\u25cf Serial - If data is to be transferred for long distance, serial communication is used. The data is sent one bit at a time.<\/p>\r\n&nbsp;\r\n\r\n<\/div>\r\n<img class=\"size-full wp-image-106 aligncenter\" src=\"http:\/\/csp13.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/62\/2018\/07\/2-46.png\" alt=\"\" width=\"653\" height=\"289\" \/>\r\n\r\n<strong style=\"text-align: initial;font-size: 1em\">1.1 Parallel communication<\/strong>\r\n\r\n&nbsp;\r\n<p style=\"text-align: justify\"><span style=\"text-align: justify;font-size: 1em\">In parallel transmission, multiple bits are sent simultaneously on different channels within the same cable, or radio path, and synchronized to a clock. Parallel devices have a wider data bus than serial devices and can therefore transfer data in words of one or more bytes at a time. As a result, there is a speedup in parallel transmission bit rate over serial transmission bit rate. However, this speedup is a tradeoff versus cost since multiple wires cost more than a single wire, and as a parallel cable gets longer, the synchronization timing between multiple channels becomes more sensitive with distance. The timing for parallel transmission is provided by a constant clocking signal sent over a separate wire within the parallel cable; thus parallel transmission is considered synchronous.<\/span><\/p>\r\n&nbsp;\r\n<p style=\"text-align: justify\"><strong style=\"text-align: initial;font-size: 1em\">1.2 Serial communication<\/strong><\/p>\r\n&nbsp;\r\n<p style=\"text-align: justify\"><span style=\"font-size: 1em\">Serial communication is a common method of transmitting data between a computer and a peripheral device such as a programmable instrument or even another computer. Serial communication transmits data one bit at a time, sequentially, over a single communication line to a receiver. It is also a most popular communication protocol that is used by many devices for instrumentation; numerous General Purpose Interface Bus(GPIB) devices also come with an RS-232 based port.<\/span><\/p>\r\n&nbsp;\r\n<p style=\"text-align: justify\"><span style=\"font-size: 1em\">This method is used when data transfer rates are very low or the data must be transferred over long distances and also where the cost of cable and synchronization difficulties makes parallel communication impractical. Serial communication is popular because most computers have one or more serial ports, so no extra hardware is needed other than a cable to connect the instrument to the computer or two computers together.<\/span><\/p>\r\n&nbsp;\r\n<p style=\"text-align: justify\"><span style=\"font-size: 1em\">Transmitter converts the byte of data into serial bits using parallel-in-serial-out shift register. Receiver has a serial-in-parallel-out shift register to receive the serial data and pack them into a byte. For Short distance, the digital signal can be transferred on a simple wire without modulation. To transfer data on the telephone line, it must be converted from 0s and 1s to audio tones. The device which performs 0s and 1s to audio tones is called a modem, \u201cModulator\/Demodulator\u201d.<\/span><\/p>\r\n&nbsp;\r\n<p style=\"text-align: justify\"><span style=\"text-align: initial;font-size: 1em\">Serial communication has two techniques:<\/span><\/p>\r\n&nbsp;\r\n<p style=\"text-align: justify\"><span style=\"text-align: initial;font-size: 1em\">1. Synchronous- transfer block of data(characters) at a time<\/span><\/p>\r\n<p style=\"text-align: justify\"><span style=\"text-align: initial;font-size: 1em\">2. Asynchronous- transfer single byte at a time<\/span><\/p>\r\n&nbsp;\r\n<p style=\"text-align: justify\"><span style=\"text-align: initial;font-size: 1em\">The following communications\u00a0 are done by hardware:<\/span><\/p>\r\n&nbsp;\r\n<p style=\"text-align: justify\"><span style=\"text-align: initial;font-size: 1em\">a)\u00a0\u00a0\u00a0 USART (universal synchronous-Asynchronous Receiver-transmitter)<\/span><\/p>\r\n<p style=\"text-align: justify\"><span style=\"text-align: initial;font-size: 1em\">b)\u00a0\u00a0\u00a0 UART (universal asynchronous Receiver transmitter)<\/span><\/p>\r\n<p style=\"text-align: justify\"><span style=\"text-align: initial;font-size: 1em\">c)\u00a0\u00a0\u00a0 8051 chip has a built-in UART<\/span><\/p>\r\n&nbsp;\r\n\r\n<span style=\"text-align: initial;font-size: 1em\">Serial data can be transmitted in three ways:<\/span>\r\n<p style=\"text-align: justify\"><span style=\"text-align: initial;font-size: 1em\">Simplex-It is a communication channel that sends information in one direction only (Fig.2(a)).<\/span><\/p>\r\n\r\n<div>\r\n\r\n<img class=\"size-full wp-image-107 aligncenter\" src=\"http:\/\/csp13.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/62\/2018\/07\/2-47.png\" alt=\"\" width=\"381\" height=\"135\" \/>\r\n\r\n&nbsp;\r\n<p style=\"text-align: justify\">Half duplex : Half-duplex data transmission means that data can be transmitted in both directions on a signal carrier, but not at the same time which is shown in Figure 2(b).<\/p>\r\n&nbsp;\r\n\r\n<img class=\"size-full wp-image-108 aligncenter\" src=\"http:\/\/csp13.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/62\/2018\/07\/2-48.png\" alt=\"\" width=\"397\" height=\"174\" \/>\r\n\r\n&nbsp;\r\n<p style=\"text-align: justify\">Duplex : Full-duplex data transmission means that data can be transmitted in both directions on a signal carrier at the same time as shown in figure 2(c).<\/p>\r\n<img class=\"size-full wp-image-109 aligncenter\" src=\"http:\/\/csp13.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/62\/2018\/07\/2-49.png\" alt=\"\" width=\"452\" height=\"178\" \/>\r\n\r\n&nbsp;\r\n\r\n<strong><em>1.2.1 Synchronous communication<\/em><\/strong>\r\n\r\n&nbsp;\r\n<p style=\"text-align: justify\">Synchronous communication requires that the <a href=\"https:\/\/en.wikipedia.org\/wiki\/Clock_signal\">clocks <\/a>in the transmitting and receiving devices are synchronized \u2013 running at the same rate \u2013 so the receiver can sample the signal at the same time intervals used by the transmitter. No start or stop bits are required.<\/p>\r\n&nbsp;\r\n<p style=\"text-align: justify\">In synchronous transmission, the stream of data to be transferred is encoded and sent on one line, and a periodic pulse of voltage which is often called the \"clock\" or \"strobe\" is put on another line that tells the receiver about the beginning and the ending of each bit (or byte). In general, such\u00a0<span style=\"font-size: 1em;text-align: initial\">synchronous transmission protocols are used for all the types of parallel communications. Figure.3 shows synchronous communication (data 61H) signal along with clock signal . In this the MSB bit first sent and LSB at end.<\/span><\/p>\r\n\r\n<\/div>\r\n<div>\r\n\r\n&nbsp;\r\n<p style=\"text-align: justify\">Synchronization can also be embedded into a signal on a single wire. In differential Manchester encoding, used in video-tape systems, each transition from a low to high or high to low represents a logical zero. A logical one is indicated when there are two transitions in the same time frame, i.e, one clock cycle.<\/p>\r\n&nbsp;\r\n\r\n<img class=\"size-full wp-image-110 aligncenter\" src=\"http:\/\/csp13.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/62\/2018\/07\/2-50.png\" alt=\"\" width=\"543\" height=\"397\" \/>\r\n\r\n&nbsp;\r\n\r\n<strong><em>1.2.2 Asynchronous communication<\/em><\/strong>\r\n\r\n&nbsp;\r\n<p style=\"text-align: justify\">Asynchronous communication is used for character-oriented transmissions. Each character is placed in between start and stop bits, this is called framing.<\/p>\r\n&nbsp;\r\n\r\n\u25cf start bit is always one bit\r\n\r\n&nbsp;\r\n\r\n\u25cf stop bit can be one or two bits\r\n\r\n&nbsp;\r\n\r\n\u25cf start bit is always a 0 (low)\r\n\r\n&nbsp;\r\n\r\n\u25cf stop bit(s) is 1 (high)\r\n\r\n&nbsp;\r\n\r\n\u25cf LSB is sent out first\r\n\r\n<\/div>\r\n<div>\r\n\r\n<img class=\"size-full wp-image-111 aligncenter\" src=\"http:\/\/csp13.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/62\/2018\/07\/2-51.png\" alt=\"\" width=\"671\" height=\"416\" \/>\r\n\r\n&nbsp;\r\n\r\n<strong><em>1.2.3 RS232 standards:<\/em><\/strong>\r\n\r\n&nbsp;\r\n<p style=\"text-align: justify\">RS-232 standard is related to serial data communication between host systems, commonly known as Data Terminal Equipment, or DTE and a peripheral system termed, Data communication Equipment (also known as Data Circuit-Terminating Equipment) or DCE. To be more specific, the device that connects to the RS-232 interface is called a Data Communications Equipment (DCE) and the device to which it connects (e.g., the computer) is called a Data Terminal Equipment (DTE).<\/p>\r\n&nbsp;\r\n<p style=\"text-align: justify\">It was first introduced by the Electronics Industry Alliance (EIA) in the early 1960s and is commonly known as RS-232 (Recommended Standard 232). EIA-232 or RS-232 or RS-232 C is a complete serial communication protocol, which specifies signal voltages, signal timing, signal function, pin wiring, and the mechanical connections (i.e.: either 25-pin DB-25 or 9-pin DB-9). In 1987, the EIA released a new version of the standard and changed the name to EIA-232-D. And in 1991, the EIA teamed up with Telecommunications Industry association (TIA) and issued a new version of the standard called EIA\/TIA-232-E. Many people, however, still refer to the standard name as RS-232C, or just RS-232. It is most widely used serial I\/O interfacing standard for serial communication. Input and output voltage levels are not TTL compatible. 1 bit\u00a0<span style=\"font-size: 1em;text-align: initial\">is represented by -3 to -25 V and 0 bit is +3 to +25 V and -3 to +3 is undefined. To connect RS232 to a microcontroller system, we must use voltage converters such as MAX232 to convert the TTL logic levels to the RS232 voltage levels, and vice versa. MAX232 IC chips are commonly referred to as line drivers.<\/span><\/p>\r\n\r\n<\/div>\r\n<div>\r\n\r\nIBM introduced the DB-9 version of the serial I\/O standard.\r\n\r\n&nbsp;\r\n\r\n<img class=\"size-full wp-image-112 aligncenter\" src=\"http:\/\/csp13.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/62\/2018\/07\/2-52.png\" alt=\"\" width=\"700\" height=\"313\" \/>\r\n\r\n&nbsp;\r\n\r\n&nbsp;\r\n\r\nThe data communication can be achieved\u00a0 through DTE and DCE.\r\n\r\n&nbsp;\r\n<p style=\"text-align: justify\">1. DTE (data terminal equipment) refers to terminal and computers that send and receive data<\/p>\r\n<p style=\"text-align: justify\">2. DCE (data communication equipment) refers to communication equipment, such as modems<\/p>\r\n<p style=\"text-align: justify\">3. Simplest connection between a PC and microcontroller requires a minimum of three pins, TxD, RxD, and ground<\/p>\r\n\r\n<\/div>\r\n<div>\r\n\r\n<img class=\"size-full wp-image-113 aligncenter\" src=\"http:\/\/csp13.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/62\/2018\/07\/2-53.png\" alt=\"\" width=\"586\" height=\"307\" \/>\r\n\r\n&nbsp;\r\n<p style=\"text-align: justify\">The terms DTE and DCE are very common in the data communications technologies. DTE is short for Data Terminal Equipment and DCE stands for Data Communications Equipment. But what do they really mean? As the full DTE name indicates, this is a piece of device that ends a communication line, whereas the DCE provides a path for communication.<\/p>\r\n&nbsp;\r\n\r\n<strong><em>1.2.4 8051 connection to RS232<\/em><\/strong>\r\n\r\n&nbsp;\r\n<p style=\"text-align: justify\">8051 has two pins namely RXD and TXD pins which are used for transferring and receiving data serially. TxD and RxD are part of the port 3 group (P3.0 and P3.1).Pin 11 (P3.1) of 8051 is assigned to TxD. Pin 10 (P3.0) of 8051 is designated as RxD. These pins are TTL compatible. It requires a line driver to make them RS232 compatible. The driver used for this is the MAX232 chip.<\/p>\r\n&nbsp;\r\n<p style=\"text-align: justify\">MAX232 converts from RS232 voltage levels to TTL voltage levels that are acceptable to 8051.It uses a +5 V power source , same as the source voltage of 8051.No dual power supplies are needed. MAX232 has two sets of line drivers for transferring and receiving data. Line drivers used for TxD are called T1 and T2.<\/p>\r\n\r\n<\/div>\r\n<div>\r\n\r\n<img class=\"size-full wp-image-114 aligncenter\" src=\"http:\/\/csp13.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/62\/2018\/07\/2-54.png\" alt=\"\" width=\"670\" height=\"331\" \/>\r\n\r\n&nbsp;\r\n<p style=\"text-align: justify\">Line drivers used for RxD are designated as R1 and R2. T1 and R1 are used together for TxD and RxD of the 8051. Second set is left unused. It requires four capacitors ranging from 1 to 22\u00b5F. MAX233 is used to save board space. It performs the same job as the MAX232.It eliminates the need for capacitors. It is much more expensive than the MAX232.<\/p>\r\n&nbsp;\r\n<p style=\"text-align: justify\">Null modem can also be used for interfacing 8051 with outside devices. Connection is very simple compared to other modems. In Null modem we have DCE, DTE and ground pins is there. DTE of 8051 connected to DCE of Null modem. DCE of 8051 should be connected to DTE of Null modem. Ground pin of both should connected.<\/p>\r\n\r\n<\/div>\r\n<div>\r\n\r\n<img class=\"size-full wp-image-115 aligncenter\" src=\"http:\/\/csp13.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/62\/2018\/07\/2-55.png\" alt=\"\" width=\"674\" height=\"337\" \/>\r\n\r\n&nbsp;\r\n\r\n<strong><em>1.2.5 Serial communication register<\/em><\/strong>\r\n\r\n&nbsp;\r\n<p style=\"text-align: justify\">SBUF is a 8-bit register used for serial communication. To transmit a byte of data via the TxD line, it must be placed in the SBUF register. When a byte is written into SBUF, it is framed with the start and stop bits and transferred serially via the TxD line. SBUF holds the byte of data when it is received by 8051 RxD line. When the bits are received serially via RxD, the 8051 deframes it by removing the stop and start bits, making a byte out of the data received, and then placing it in SBUF. Baud rate in 8051 is programmable. It is done with the help of Timer1 and different oscillators. The baud rate of 8051 system should be matched with the baud rate of the system to be interfaced.<\/p>\r\n&nbsp;\r\n\r\n<img class=\"size-full wp-image-116 aligncenter\" src=\"http:\/\/csp13.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/62\/2018\/07\/2-56.png\" alt=\"\" width=\"656\" height=\"476\" \/>\r\n<p style=\"text-align: justify\">Figure.8 shows the SCON register structure. In this SMO and SM1 bits combined to specify the serial mode. Usually mode 2 is prefered because the UART in 8051 supports this mode. REN bit is used to enable the receiving the serial data. So this bit has to be set to enable serial communication.<\/p>\r\n\r\n<\/div>\r\n<img class=\"size-full wp-image-117 aligncenter\" src=\"http:\/\/csp13.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/62\/2018\/07\/2-57.png\" alt=\"\" width=\"656\" height=\"412\" \/>\r\n\r\n<strong>2. Summary<\/strong>\r\n\r\n&nbsp;\r\n<p style=\"text-align: justify\">In this lecture basic of serial communication is discussed. The Serial communication concepts with 8051 and RS232 I\/O interface standard are discussed.<\/p>\r\n&nbsp;\r\n\r\n<strong>3. References<\/strong>\r\n<ol>\r\n \t<li>The 8051 Microcontroller and Embedded Systems Using Assembly and C Second Edition Muhammad Ali Mazidi, Janice Gillispie Mazidi and Rolin D.McKinlay.<\/li>\r\n<\/ol>\r\n&nbsp;\r\n\r\n<strong style=\"text-align: initial;font-size: 1em\">Supporting &amp; Reference Materials<\/strong>\r\n<ol>\r\n \t<li>The 8051 Microcontroller and Embedded Systems Using Assembly and C Second Edition Muhammad Ali Mazidi, Janice Gillispie Mazidi and Rolin D. McKinlay.<\/li>\r\n<\/ol>","rendered":"<div>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\">In this lecture, serial port communication will be discussed in detail. Serial and parallel communication will be compared and contrasted, and RS232 standard will be discussed.<\/p>\n<p>&nbsp;<\/p>\n<p><strong>1. Introduction<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\">Data transfer is the physical transfer of data, over a point-to-point or point-to-multipoint communication channel. While analog transmission is the transfer of a continuously varying analog signal over an analog channel, digital communications is the transfer of discrete messages over a digital or an analog channel. Data transmitted may be digital messages originating from a data source, for example a computer or a keyboard. It may also be an analog signal such as a phone call or a video signal, digitized into a bit-stream for example using pulse-code modulation (PCM) or more advanced source coding schemes.<\/p>\n<p>&nbsp;<\/p>\n<p>Data is transferred by computer\u00a0 in two ways:<\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\">\u25cf Parallel &#8211; 8 or more lines are used to transfer data to a device that is only a short distance.<\/p>\n<p style=\"text-align: justify\">\u25cf Serial &#8211; If data is to be transferred for long distance, serial communication is used. The data is sent one bit at a time.<\/p>\n<p>&nbsp;<\/p>\n<\/div>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-106 aligncenter\" src=\"http:\/\/csp13.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/62\/2018\/07\/2-46.png\" alt=\"\" width=\"653\" height=\"289\" srcset=\"https:\/\/ebooks.inflibnet.ac.in\/csp13\/wp-content\/uploads\/sites\/62\/2018\/07\/2-46.png 653w, https:\/\/ebooks.inflibnet.ac.in\/csp13\/wp-content\/uploads\/sites\/62\/2018\/07\/2-46-300x133.png 300w, https:\/\/ebooks.inflibnet.ac.in\/csp13\/wp-content\/uploads\/sites\/62\/2018\/07\/2-46-65x29.png 65w, https:\/\/ebooks.inflibnet.ac.in\/csp13\/wp-content\/uploads\/sites\/62\/2018\/07\/2-46-225x100.png 225w, https:\/\/ebooks.inflibnet.ac.in\/csp13\/wp-content\/uploads\/sites\/62\/2018\/07\/2-46-350x155.png 350w\" sizes=\"auto, (max-width: 653px) 100vw, 653px\" \/><\/p>\n<p><strong style=\"text-align: initial;font-size: 1em\">1.1 Parallel communication<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\"><span style=\"text-align: justify;font-size: 1em\">In parallel transmission, multiple bits are sent simultaneously on different channels within the same cable, or radio path, and synchronized to a clock. Parallel devices have a wider data bus than serial devices and can therefore transfer data in words of one or more bytes at a time. As a result, there is a speedup in parallel transmission bit rate over serial transmission bit rate. However, this speedup is a tradeoff versus cost since multiple wires cost more than a single wire, and as a parallel cable gets longer, the synchronization timing between multiple channels becomes more sensitive with distance. The timing for parallel transmission is provided by a constant clocking signal sent over a separate wire within the parallel cable; thus parallel transmission is considered synchronous.<\/span><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\"><strong style=\"text-align: initial;font-size: 1em\">1.2 Serial communication<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\"><span style=\"font-size: 1em\">Serial communication is a common method of transmitting data between a computer and a peripheral device such as a programmable instrument or even another computer. Serial communication transmits data one bit at a time, sequentially, over a single communication line to a receiver. It is also a most popular communication protocol that is used by many devices for instrumentation; numerous General Purpose Interface Bus(GPIB) devices also come with an RS-232 based port.<\/span><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\"><span style=\"font-size: 1em\">This method is used when data transfer rates are very low or the data must be transferred over long distances and also where the cost of cable and synchronization difficulties makes parallel communication impractical. Serial communication is popular because most computers have one or more serial ports, so no extra hardware is needed other than a cable to connect the instrument to the computer or two computers together.<\/span><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\"><span style=\"font-size: 1em\">Transmitter converts the byte of data into serial bits using parallel-in-serial-out shift register. Receiver has a serial-in-parallel-out shift register to receive the serial data and pack them into a byte. For Short distance, the digital signal can be transferred on a simple wire without modulation. To transfer data on the telephone line, it must be converted from 0s and 1s to audio tones. The device which performs 0s and 1s to audio tones is called a modem, \u201cModulator\/Demodulator\u201d.<\/span><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\"><span style=\"text-align: initial;font-size: 1em\">Serial communication has two techniques:<\/span><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\"><span style=\"text-align: initial;font-size: 1em\">1. Synchronous- transfer block of data(characters) at a time<\/span><\/p>\n<p style=\"text-align: justify\"><span style=\"text-align: initial;font-size: 1em\">2. Asynchronous- transfer single byte at a time<\/span><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\"><span style=\"text-align: initial;font-size: 1em\">The following communications\u00a0 are done by hardware:<\/span><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\"><span style=\"text-align: initial;font-size: 1em\">a)\u00a0\u00a0\u00a0 USART (universal synchronous-Asynchronous Receiver-transmitter)<\/span><\/p>\n<p style=\"text-align: justify\"><span style=\"text-align: initial;font-size: 1em\">b)\u00a0\u00a0\u00a0 UART (universal asynchronous Receiver transmitter)<\/span><\/p>\n<p style=\"text-align: justify\"><span style=\"text-align: initial;font-size: 1em\">c)\u00a0\u00a0\u00a0 8051 chip has a built-in UART<\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"text-align: initial;font-size: 1em\">Serial data can be transmitted in three ways:<\/span><\/p>\n<p style=\"text-align: justify\"><span style=\"text-align: initial;font-size: 1em\">Simplex-It is a communication channel that sends information in one direction only (Fig.2(a)).<\/span><\/p>\n<div>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-107 aligncenter\" src=\"http:\/\/csp13.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/62\/2018\/07\/2-47.png\" alt=\"\" width=\"381\" height=\"135\" srcset=\"https:\/\/ebooks.inflibnet.ac.in\/csp13\/wp-content\/uploads\/sites\/62\/2018\/07\/2-47.png 381w, https:\/\/ebooks.inflibnet.ac.in\/csp13\/wp-content\/uploads\/sites\/62\/2018\/07\/2-47-300x106.png 300w, https:\/\/ebooks.inflibnet.ac.in\/csp13\/wp-content\/uploads\/sites\/62\/2018\/07\/2-47-65x23.png 65w, https:\/\/ebooks.inflibnet.ac.in\/csp13\/wp-content\/uploads\/sites\/62\/2018\/07\/2-47-225x80.png 225w, https:\/\/ebooks.inflibnet.ac.in\/csp13\/wp-content\/uploads\/sites\/62\/2018\/07\/2-47-350x124.png 350w\" sizes=\"auto, (max-width: 381px) 100vw, 381px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\">Half duplex : Half-duplex data transmission means that data can be transmitted in both directions on a signal carrier, but not at the same time which is shown in Figure 2(b).<\/p>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-108 aligncenter\" src=\"http:\/\/csp13.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/62\/2018\/07\/2-48.png\" alt=\"\" width=\"397\" height=\"174\" srcset=\"https:\/\/ebooks.inflibnet.ac.in\/csp13\/wp-content\/uploads\/sites\/62\/2018\/07\/2-48.png 397w, https:\/\/ebooks.inflibnet.ac.in\/csp13\/wp-content\/uploads\/sites\/62\/2018\/07\/2-48-300x131.png 300w, https:\/\/ebooks.inflibnet.ac.in\/csp13\/wp-content\/uploads\/sites\/62\/2018\/07\/2-48-65x28.png 65w, https:\/\/ebooks.inflibnet.ac.in\/csp13\/wp-content\/uploads\/sites\/62\/2018\/07\/2-48-225x99.png 225w, https:\/\/ebooks.inflibnet.ac.in\/csp13\/wp-content\/uploads\/sites\/62\/2018\/07\/2-48-350x153.png 350w\" sizes=\"auto, (max-width: 397px) 100vw, 397px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\">Duplex : Full-duplex data transmission means that data can be transmitted in both directions on a signal carrier at the same time as shown in figure 2(c).<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-109 aligncenter\" src=\"http:\/\/csp13.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/62\/2018\/07\/2-49.png\" alt=\"\" width=\"452\" height=\"178\" srcset=\"https:\/\/ebooks.inflibnet.ac.in\/csp13\/wp-content\/uploads\/sites\/62\/2018\/07\/2-49.png 452w, https:\/\/ebooks.inflibnet.ac.in\/csp13\/wp-content\/uploads\/sites\/62\/2018\/07\/2-49-300x118.png 300w, https:\/\/ebooks.inflibnet.ac.in\/csp13\/wp-content\/uploads\/sites\/62\/2018\/07\/2-49-65x26.png 65w, https:\/\/ebooks.inflibnet.ac.in\/csp13\/wp-content\/uploads\/sites\/62\/2018\/07\/2-49-225x89.png 225w, https:\/\/ebooks.inflibnet.ac.in\/csp13\/wp-content\/uploads\/sites\/62\/2018\/07\/2-49-350x138.png 350w\" sizes=\"auto, (max-width: 452px) 100vw, 452px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p><strong><em>1.2.1 Synchronous communication<\/em><\/strong><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\">Synchronous communication requires that the <a href=\"https:\/\/en.wikipedia.org\/wiki\/Clock_signal\">clocks <\/a>in the transmitting and receiving devices are synchronized \u2013 running at the same rate \u2013 so the receiver can sample the signal at the same time intervals used by the transmitter. No start or stop bits are required.<\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\">In synchronous transmission, the stream of data to be transferred is encoded and sent on one line, and a periodic pulse of voltage which is often called the &#8220;clock&#8221; or &#8220;strobe&#8221; is put on another line that tells the receiver about the beginning and the ending of each bit (or byte). In general, such\u00a0<span style=\"font-size: 1em;text-align: initial\">synchronous transmission protocols are used for all the types of parallel communications. Figure.3 shows synchronous communication (data 61H) signal along with clock signal . In this the MSB bit first sent and LSB at end.<\/span><\/p>\n<\/div>\n<div>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\">Synchronization can also be embedded into a signal on a single wire. In differential Manchester encoding, used in video-tape systems, each transition from a low to high or high to low represents a logical zero. A logical one is indicated when there are two transitions in the same time frame, i.e, one clock cycle.<\/p>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-110 aligncenter\" src=\"http:\/\/csp13.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/62\/2018\/07\/2-50.png\" alt=\"\" width=\"543\" height=\"397\" srcset=\"https:\/\/ebooks.inflibnet.ac.in\/csp13\/wp-content\/uploads\/sites\/62\/2018\/07\/2-50.png 543w, https:\/\/ebooks.inflibnet.ac.in\/csp13\/wp-content\/uploads\/sites\/62\/2018\/07\/2-50-300x219.png 300w, https:\/\/ebooks.inflibnet.ac.in\/csp13\/wp-content\/uploads\/sites\/62\/2018\/07\/2-50-65x48.png 65w, https:\/\/ebooks.inflibnet.ac.in\/csp13\/wp-content\/uploads\/sites\/62\/2018\/07\/2-50-225x165.png 225w, https:\/\/ebooks.inflibnet.ac.in\/csp13\/wp-content\/uploads\/sites\/62\/2018\/07\/2-50-350x256.png 350w\" sizes=\"auto, (max-width: 543px) 100vw, 543px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p><strong><em>1.2.2 Asynchronous communication<\/em><\/strong><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\">Asynchronous communication is used for character-oriented transmissions. Each character is placed in between start and stop bits, this is called framing.<\/p>\n<p>&nbsp;<\/p>\n<p>\u25cf start bit is always one bit<\/p>\n<p>&nbsp;<\/p>\n<p>\u25cf stop bit can be one or two bits<\/p>\n<p>&nbsp;<\/p>\n<p>\u25cf start bit is always a 0 (low)<\/p>\n<p>&nbsp;<\/p>\n<p>\u25cf stop bit(s) is 1 (high)<\/p>\n<p>&nbsp;<\/p>\n<p>\u25cf LSB is sent out first<\/p>\n<\/div>\n<div>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-111 aligncenter\" src=\"http:\/\/csp13.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/62\/2018\/07\/2-51.png\" alt=\"\" width=\"671\" height=\"416\" srcset=\"https:\/\/ebooks.inflibnet.ac.in\/csp13\/wp-content\/uploads\/sites\/62\/2018\/07\/2-51.png 671w, https:\/\/ebooks.inflibnet.ac.in\/csp13\/wp-content\/uploads\/sites\/62\/2018\/07\/2-51-300x186.png 300w, https:\/\/ebooks.inflibnet.ac.in\/csp13\/wp-content\/uploads\/sites\/62\/2018\/07\/2-51-65x40.png 65w, https:\/\/ebooks.inflibnet.ac.in\/csp13\/wp-content\/uploads\/sites\/62\/2018\/07\/2-51-225x139.png 225w, https:\/\/ebooks.inflibnet.ac.in\/csp13\/wp-content\/uploads\/sites\/62\/2018\/07\/2-51-350x217.png 350w\" sizes=\"auto, (max-width: 671px) 100vw, 671px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p><strong><em>1.2.3 RS232 standards:<\/em><\/strong><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\">RS-232 standard is related to serial data communication between host systems, commonly known as Data Terminal Equipment, or DTE and a peripheral system termed, Data communication Equipment (also known as Data Circuit-Terminating Equipment) or DCE. To be more specific, the device that connects to the RS-232 interface is called a Data Communications Equipment (DCE) and the device to which it connects (e.g., the computer) is called a Data Terminal Equipment (DTE).<\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\">It was first introduced by the Electronics Industry Alliance (EIA) in the early 1960s and is commonly known as RS-232 (Recommended Standard 232). EIA-232 or RS-232 or RS-232 C is a complete serial communication protocol, which specifies signal voltages, signal timing, signal function, pin wiring, and the mechanical connections (i.e.: either 25-pin DB-25 or 9-pin DB-9). In 1987, the EIA released a new version of the standard and changed the name to EIA-232-D. And in 1991, the EIA teamed up with Telecommunications Industry association (TIA) and issued a new version of the standard called EIA\/TIA-232-E. Many people, however, still refer to the standard name as RS-232C, or just RS-232. It is most widely used serial I\/O interfacing standard for serial communication. Input and output voltage levels are not TTL compatible. 1 bit\u00a0<span style=\"font-size: 1em;text-align: initial\">is represented by -3 to -25 V and 0 bit is +3 to +25 V and -3 to +3 is undefined. To connect RS232 to a microcontroller system, we must use voltage converters such as MAX232 to convert the TTL logic levels to the RS232 voltage levels, and vice versa. MAX232 IC chips are commonly referred to as line drivers.<\/span><\/p>\n<\/div>\n<div>\n<p>IBM introduced the DB-9 version of the serial I\/O standard.<\/p>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-112 aligncenter\" src=\"http:\/\/csp13.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/62\/2018\/07\/2-52.png\" alt=\"\" width=\"700\" height=\"313\" srcset=\"https:\/\/ebooks.inflibnet.ac.in\/csp13\/wp-content\/uploads\/sites\/62\/2018\/07\/2-52.png 700w, https:\/\/ebooks.inflibnet.ac.in\/csp13\/wp-content\/uploads\/sites\/62\/2018\/07\/2-52-300x134.png 300w, https:\/\/ebooks.inflibnet.ac.in\/csp13\/wp-content\/uploads\/sites\/62\/2018\/07\/2-52-65x29.png 65w, https:\/\/ebooks.inflibnet.ac.in\/csp13\/wp-content\/uploads\/sites\/62\/2018\/07\/2-52-225x101.png 225w, https:\/\/ebooks.inflibnet.ac.in\/csp13\/wp-content\/uploads\/sites\/62\/2018\/07\/2-52-350x157.png 350w\" sizes=\"auto, (max-width: 700px) 100vw, 700px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>The data communication can be achieved\u00a0 through DTE and DCE.<\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\">1. DTE (data terminal equipment) refers to terminal and computers that send and receive data<\/p>\n<p style=\"text-align: justify\">2. DCE (data communication equipment) refers to communication equipment, such as modems<\/p>\n<p style=\"text-align: justify\">3. Simplest connection between a PC and microcontroller requires a minimum of three pins, TxD, RxD, and ground<\/p>\n<\/div>\n<div>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-113 aligncenter\" src=\"http:\/\/csp13.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/62\/2018\/07\/2-53.png\" alt=\"\" width=\"586\" height=\"307\" srcset=\"https:\/\/ebooks.inflibnet.ac.in\/csp13\/wp-content\/uploads\/sites\/62\/2018\/07\/2-53.png 586w, https:\/\/ebooks.inflibnet.ac.in\/csp13\/wp-content\/uploads\/sites\/62\/2018\/07\/2-53-300x157.png 300w, https:\/\/ebooks.inflibnet.ac.in\/csp13\/wp-content\/uploads\/sites\/62\/2018\/07\/2-53-65x34.png 65w, https:\/\/ebooks.inflibnet.ac.in\/csp13\/wp-content\/uploads\/sites\/62\/2018\/07\/2-53-225x118.png 225w, https:\/\/ebooks.inflibnet.ac.in\/csp13\/wp-content\/uploads\/sites\/62\/2018\/07\/2-53-350x183.png 350w\" sizes=\"auto, (max-width: 586px) 100vw, 586px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\">The terms DTE and DCE are very common in the data communications technologies. DTE is short for Data Terminal Equipment and DCE stands for Data Communications Equipment. But what do they really mean? As the full DTE name indicates, this is a piece of device that ends a communication line, whereas the DCE provides a path for communication.<\/p>\n<p>&nbsp;<\/p>\n<p><strong><em>1.2.4 8051 connection to RS232<\/em><\/strong><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\">8051 has two pins namely RXD and TXD pins which are used for transferring and receiving data serially. TxD and RxD are part of the port 3 group (P3.0 and P3.1).Pin 11 (P3.1) of 8051 is assigned to TxD. Pin 10 (P3.0) of 8051 is designated as RxD. These pins are TTL compatible. It requires a line driver to make them RS232 compatible. The driver used for this is the MAX232 chip.<\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\">MAX232 converts from RS232 voltage levels to TTL voltage levels that are acceptable to 8051.It uses a +5 V power source , same as the source voltage of 8051.No dual power supplies are needed. MAX232 has two sets of line drivers for transferring and receiving data. Line drivers used for TxD are called T1 and T2.<\/p>\n<\/div>\n<div>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-114 aligncenter\" src=\"http:\/\/csp13.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/62\/2018\/07\/2-54.png\" alt=\"\" width=\"670\" height=\"331\" srcset=\"https:\/\/ebooks.inflibnet.ac.in\/csp13\/wp-content\/uploads\/sites\/62\/2018\/07\/2-54.png 670w, https:\/\/ebooks.inflibnet.ac.in\/csp13\/wp-content\/uploads\/sites\/62\/2018\/07\/2-54-300x148.png 300w, https:\/\/ebooks.inflibnet.ac.in\/csp13\/wp-content\/uploads\/sites\/62\/2018\/07\/2-54-65x32.png 65w, https:\/\/ebooks.inflibnet.ac.in\/csp13\/wp-content\/uploads\/sites\/62\/2018\/07\/2-54-225x111.png 225w, https:\/\/ebooks.inflibnet.ac.in\/csp13\/wp-content\/uploads\/sites\/62\/2018\/07\/2-54-350x173.png 350w\" sizes=\"auto, (max-width: 670px) 100vw, 670px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\">Line drivers used for RxD are designated as R1 and R2. T1 and R1 are used together for TxD and RxD of the 8051. Second set is left unused. It requires four capacitors ranging from 1 to 22\u00b5F. MAX233 is used to save board space. It performs the same job as the MAX232.It eliminates the need for capacitors. It is much more expensive than the MAX232.<\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\">Null modem can also be used for interfacing 8051 with outside devices. Connection is very simple compared to other modems. In Null modem we have DCE, DTE and ground pins is there. DTE of 8051 connected to DCE of Null modem. DCE of 8051 should be connected to DTE of Null modem. Ground pin of both should connected.<\/p>\n<\/div>\n<div>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-115 aligncenter\" src=\"http:\/\/csp13.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/62\/2018\/07\/2-55.png\" alt=\"\" width=\"674\" height=\"337\" srcset=\"https:\/\/ebooks.inflibnet.ac.in\/csp13\/wp-content\/uploads\/sites\/62\/2018\/07\/2-55.png 674w, https:\/\/ebooks.inflibnet.ac.in\/csp13\/wp-content\/uploads\/sites\/62\/2018\/07\/2-55-300x150.png 300w, https:\/\/ebooks.inflibnet.ac.in\/csp13\/wp-content\/uploads\/sites\/62\/2018\/07\/2-55-65x33.png 65w, https:\/\/ebooks.inflibnet.ac.in\/csp13\/wp-content\/uploads\/sites\/62\/2018\/07\/2-55-225x113.png 225w, https:\/\/ebooks.inflibnet.ac.in\/csp13\/wp-content\/uploads\/sites\/62\/2018\/07\/2-55-350x175.png 350w\" sizes=\"auto, (max-width: 674px) 100vw, 674px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p><strong><em>1.2.5 Serial communication register<\/em><\/strong><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\">SBUF is a 8-bit register used for serial communication. To transmit a byte of data via the TxD line, it must be placed in the SBUF register. When a byte is written into SBUF, it is framed with the start and stop bits and transferred serially via the TxD line. SBUF holds the byte of data when it is received by 8051 RxD line. When the bits are received serially via RxD, the 8051 deframes it by removing the stop and start bits, making a byte out of the data received, and then placing it in SBUF. Baud rate in 8051 is programmable. It is done with the help of Timer1 and different oscillators. The baud rate of 8051 system should be matched with the baud rate of the system to be interfaced.<\/p>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-116 aligncenter\" src=\"http:\/\/csp13.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/62\/2018\/07\/2-56.png\" alt=\"\" width=\"656\" height=\"476\" srcset=\"https:\/\/ebooks.inflibnet.ac.in\/csp13\/wp-content\/uploads\/sites\/62\/2018\/07\/2-56.png 656w, https:\/\/ebooks.inflibnet.ac.in\/csp13\/wp-content\/uploads\/sites\/62\/2018\/07\/2-56-300x218.png 300w, https:\/\/ebooks.inflibnet.ac.in\/csp13\/wp-content\/uploads\/sites\/62\/2018\/07\/2-56-65x47.png 65w, https:\/\/ebooks.inflibnet.ac.in\/csp13\/wp-content\/uploads\/sites\/62\/2018\/07\/2-56-225x163.png 225w, https:\/\/ebooks.inflibnet.ac.in\/csp13\/wp-content\/uploads\/sites\/62\/2018\/07\/2-56-350x254.png 350w\" sizes=\"auto, (max-width: 656px) 100vw, 656px\" \/><\/p>\n<p style=\"text-align: justify\">Figure.8 shows the SCON register structure. In this SMO and SM1 bits combined to specify the serial mode. Usually mode 2 is prefered because the UART in 8051 supports this mode. REN bit is used to enable the receiving the serial data. So this bit has to be set to enable serial communication.<\/p>\n<\/div>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-117 aligncenter\" src=\"http:\/\/csp13.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/62\/2018\/07\/2-57.png\" alt=\"\" width=\"656\" height=\"412\" srcset=\"https:\/\/ebooks.inflibnet.ac.in\/csp13\/wp-content\/uploads\/sites\/62\/2018\/07\/2-57.png 656w, https:\/\/ebooks.inflibnet.ac.in\/csp13\/wp-content\/uploads\/sites\/62\/2018\/07\/2-57-300x188.png 300w, https:\/\/ebooks.inflibnet.ac.in\/csp13\/wp-content\/uploads\/sites\/62\/2018\/07\/2-57-65x41.png 65w, https:\/\/ebooks.inflibnet.ac.in\/csp13\/wp-content\/uploads\/sites\/62\/2018\/07\/2-57-225x141.png 225w, https:\/\/ebooks.inflibnet.ac.in\/csp13\/wp-content\/uploads\/sites\/62\/2018\/07\/2-57-350x220.png 350w\" sizes=\"auto, (max-width: 656px) 100vw, 656px\" \/><\/p>\n<p><strong>2. Summary<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\">In this lecture basic of serial communication is discussed. The Serial communication concepts with 8051 and RS232 I\/O interface standard are discussed.<\/p>\n<p>&nbsp;<\/p>\n<p><strong>3. References<\/strong><\/p>\n<ol>\n<li>The 8051 Microcontroller and Embedded Systems Using Assembly and C Second Edition Muhammad Ali Mazidi, Janice Gillispie Mazidi and Rolin D.McKinlay.<\/li>\n<\/ol>\n<p>&nbsp;<\/p>\n<p><strong style=\"text-align: initial;font-size: 1em\">Supporting &amp; Reference Materials<\/strong><\/p>\n<ol>\n<li>The 8051 Microcontroller and Embedded Systems Using Assembly and C Second Edition Muhammad Ali Mazidi, Janice Gillispie Mazidi and Rolin D. McKinlay.<\/li>\n<\/ol>\n","protected":false},"author":2,"menu_order":10,"template":"","meta":{"pb_show_title":"on","pb_short_title":"","pb_subtitle":"","pb_authors":[],"pb_section_license":""},"chapter-type":[],"contributor":[],"license":[],"class_list":["post-103","chapter","type-chapter","status-publish","hentry"],"part":3,"_links":{"self":[{"href":"https:\/\/ebooks.inflibnet.ac.in\/csp13\/wp-json\/pressbooks\/v2\/chapters\/103","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ebooks.inflibnet.ac.in\/csp13\/wp-json\/pressbooks\/v2\/chapters"}],"about":[{"href":"https:\/\/ebooks.inflibnet.ac.in\/csp13\/wp-json\/wp\/v2\/types\/chapter"}],"author":[{"embeddable":true,"href":"https:\/\/ebooks.inflibnet.ac.in\/csp13\/wp-json\/wp\/v2\/users\/2"}],"version-history":[{"count":5,"href":"https:\/\/ebooks.inflibnet.ac.in\/csp13\/wp-json\/pressbooks\/v2\/chapters\/103\/revisions"}],"predecessor-version":[{"id":443,"href":"https:\/\/ebooks.inflibnet.ac.in\/csp13\/wp-json\/pressbooks\/v2\/chapters\/103\/revisions\/443"}],"part":[{"href":"https:\/\/ebooks.inflibnet.ac.in\/csp13\/wp-json\/pressbooks\/v2\/parts\/3"}],"metadata":[{"href":"https:\/\/ebooks.inflibnet.ac.in\/csp13\/wp-json\/pressbooks\/v2\/chapters\/103\/metadata\/"}],"wp:attachment":[{"href":"https:\/\/ebooks.inflibnet.ac.in\/csp13\/wp-json\/wp\/v2\/media?parent=103"}],"wp:term":[{"taxonomy":"chapter-type","embeddable":true,"href":"https:\/\/ebooks.inflibnet.ac.in\/csp13\/wp-json\/pressbooks\/v2\/chapter-type?post=103"},{"taxonomy":"contributor","embeddable":true,"href":"https:\/\/ebooks.inflibnet.ac.in\/csp13\/wp-json\/wp\/v2\/contributor?post=103"},{"taxonomy":"license","embeddable":true,"href":"https:\/\/ebooks.inflibnet.ac.in\/csp13\/wp-json\/wp\/v2\/license?post=103"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}