{"id":27814,"date":"2019-12-11T11:28:16","date_gmt":"2019-12-11T03:28:16","guid":{"rendered":"\/blog\/?p=27814"},"modified":"2020-12-09T16:18:17","modified_gmt":"2020-12-09T08:18:17","slug":"rs232-vs-ttl-beginner-guide-to-serial-communication","status":"publish","type":"post","link":"https:\/\/www.seeedstudio.com\/blog\/2019\/12\/11\/rs232-vs-ttl-beginner-guide-to-serial-communication\/","title":{"rendered":"RS232 vs TTL: Beginner Guide to Serial Communication"},"content":{"rendered":"\n<p>Serial communication is a way for data transmission over long distances. Commonly associated with RS232 and TTL serial, it enables Arduino and other microcontrollers to communicate with your computer or other serial devices.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter is-resized\"><img fetchpriority=\"high\" decoding=\"async\" src=\"https:\/\/blog.seeedstudio.com\/wp-content\/uploads\/2019\/12\/serial-communication-guide-RS232-vs-TTL.png\" alt=\"Guide to serial communication, RS232 vs TTL\" class=\"wp-image-27847\" width=\"460\" height=\"266\" srcset=\"https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2019\/12\/serial-communication-guide-RS232-vs-TTL.png 735w, https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2019\/12\/serial-communication-guide-RS232-vs-TTL-300x173.png 300w\" sizes=\"(max-width: 460px) 100vw, 460px\" \/><\/figure><\/div>\n\n\n\n<p>Though technology has advanced and we currently have faster means of data transfer such as USB, serial communication is still widely seen and applicable in our lives. <\/p>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>In today&#8217;s blog, we&#8217;ll talk about serial communication, namely the following:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>What is Serial Communication<\/li><li>Characteristics of Serial Communication<\/li><li>How does Serial Communication work<\/li><li> Transmission modes in serial communication <\/li><li>Serial vs Parallel communication<\/li><li>Hardware Implementations of Serial Communication<\/li><li>RS232 explained<\/li><li>TTL explained<\/li><li>RS232 vs TTL<\/li><\/ul>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>What is Serial Communication?<\/strong><\/h2>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"http:\/\/www.codrey.com\/wp-content\/uploads\/2017\/09\/Serial-Communication.png\" alt=\"\"\/><figcaption>Image credits: <a href=\"https:\/\/www.codrey.com\/wp-content\/uploads\/2017\/09\/Serial-Communication.png\">Codrey Electronics<\/a><\/figcaption><\/figure>\n\n\n\n<p>Serial Communication is a way for data transfer, transmitting over one wire, one bit, at a time. Involving two parties; Transmitter and Receiver, data transferred is in the form of binary pulses through different methods of serial digital binary.  <\/p>\n\n\n\n<p>Sounds complex? Not to worry, I&#8217;ll break it down into different parts! <\/p>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Characteristics of Serial Communication<\/strong><\/h3>\n\n\n\n<p>To first understand what&#8217;s Serial Communication, you&#8217;ll need to understand its characteristics! These characteristics are crucial for communication with serial ports. <\/p>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p><strong>Baud Rate<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Used to measure the speed of transmission, it refers to the number of bits passing in one second.<\/li><li>Higher baud rates indicate a higher number of bigs per second passed<\/li><\/ul>\n\n\n\n<p><strong>Stop Bits<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Stop Bits are used for a single packet to stop the transmission denoted as &#8220;T&#8221;. Typical values are 1, 1.5 &amp; 2 bits<\/li><\/ul>\n\n\n\n<p><strong>Parity Bit<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Parity Bit is a function used to find errors in the data. There are of 4 kinds, i.e., even, odd, marked and spaced<\/li><\/ul>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>How does Serial Communication work?<\/strong><\/h3>\n\n\n\n<p><strong>Serial Communication process simplified:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Serial communicating first involves two serial devices, each having two serial pins;<ul><li>The receiver, RX<\/li><li>The transmitter, TX<\/li><\/ul><\/li><li>Both devices are then wired by connecting wires from the master device&#8217;s TX to the listener&#8217;s RX line <\/li><li>Devices communicate serially through signal methods, popular ones being; TTL serial, RS-232 <\/li><\/ul>\n\n\n\n<p>For a detailed explanation of how does the Serial Communication work, you can check out this <a href=\"https:\/\/circuitdigest.com\/article\/rs232-serial-communication-protocol-basics-specifications\">article!<\/a><\/p>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Transmission Modes in Serial Communication<\/strong><\/h3>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"http:\/\/www.codrey.com\/wp-content\/uploads\/2017\/09\/Transmission-Modes-Serial-Communication.png\" alt=\"\"\/><figcaption>Image Credits; <a href=\"https:\/\/www.codrey.com\/wp-content\/uploads\/2017\/09\/Serial-Communication.png\">Codrey Electronics<\/a><\/figcaption><\/figure>\n\n\n\n<p>From above, we&#8217;ve understood that serial communication involves two parties; Transceiver and Receiver. However, do you know they each could play a different role depending on the transmission modes?<\/p>\n\n\n\n<p>When transmitting data in Serial Communication, there are different transmission modes that result in a difference!<\/p>\n\n\n\n<p>You may be wondering what are they? Well, there are 3 modes; Simplex, Half Duplex, Full Duplex.<\/p>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p><strong>Simplex Method<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>One way communication, only the sender or receiver is active at a time. <\/li><li>Example: Radio, Television<\/li><\/ul>\n\n\n\n<p><strong>Half-Duplex Mode<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Both the sender and receiver are active but not at a time. If the sender transmits, the receiver can accept but cannot send, vice versa. <\/li><li>Example: Internet<\/li><\/ul>\n\n\n\n<p><strong>Full-Duplex Mode (Most commonly used)<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Both the sender and receiver can transmit and receive at the same time. <\/li><li>Example: Smartphone communication<\/li><\/ul>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Serial vs Parallel Communication <\/strong><\/h2>\n\n\n\n<p style=\"color:#1a1a1a\" class=\"has-text-color\">We&#8217;ve now understood more about Serial, but do you know there&#8217;s another communication method? Serial communication is one way, but the other would be through parallel communication.<\/p>\n\n\n\n<p style=\"color:#000000\" class=\"has-text-color\">Here&#8217;s a quick comparison to help you get a better understanding of both worlds:  <\/p>\n\n\n\n<table>\n  <tr>\n    <th><\/th>\n    <th>Serial Communication<\/th>\n    <th>Parallel Communication<\/th>\n  <\/tr>\n  <tr>\n    <td>Data Transfer<\/td>\n    <td>Bits are sent bit by bit at one clock pulse<\/td>\n    <td>Sends data in multiple bits at a time<\/td>\n  <\/tr>\n  <tr>\n    <td>Speed<\/td>\n    <td>Slower transmission speed<\/td>\n    <td>Faster transmission speed<\/td>\n  <\/tr>\n  <tr>\n    <td>Connection<\/td>\n    <td>Uses fewer connections and cables<br>Suitable for long distance communication<\/td>\n    <td>Uses more wires, may result in signal distortion<br>Not suitable for long distance transmission<\/td>\n  <\/tr>\n  <tr>\n    <td>Cost and Space<\/td>\n    <td>Less cost and space needed as it uses fewer wires<\/td>\n    <td>Higher cost and space needed to accomodate more wires<\/td>\n  <\/tr>\n  <tr>\n    <td>Sending and Receiving Data<\/td>\n    <td>Full duplex or Half Duplex<\/td>\n    <td>Semi duplex or Half Duplex<\/td>\n  <\/tr>\n  <tr>\n    <td>Examples<\/td>\n    <td>PC to PC, PC to MCU<\/td>\n    <td>PC to multi function printer<\/td>\n  <\/tr>\n<\/table>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p style=\"color:#000000\" class=\"has-text-color\">The main difference between serial communication and parallel communication would be:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>Serial<\/strong>: Sending data one bit at a time<\/li><li><strong>Parallel<\/strong>: Sending data in multiple bits at a time<\/li><\/ul>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>Is serial communication or parallel communication better?<\/strong><\/h4>\n\n\n\n<p style=\"background-color:#ebffef;color:#000000;font-size:18px\" class=\"has-text-color has-background\"><strong>Serial Communication is better, here&#8217;s why!<\/strong><\/p>\n\n\n\n<p style=\"color:#000000\" class=\"has-text-color\">Though parallel communication may seem like the better choice with its higher data transfer rate, Serial communication supports full-duplex, allowing for simultaneous transmission and reception of data. With this, it&#8217;s still possible for serial to be faster!<\/p>\n\n\n\n<p style=\"color:#000000\" class=\"has-text-color\">Also, with microcontrollers like Arduino using serial communication, it&#8217;s way more applicable to modern-day usages!<\/p>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Hardware Implementations of Serial&nbsp;Communication<\/strong><\/h2>\n\n\n\n<p>We&#8217;ve now understood about serial communication and what it does. Moving on, we&#8217;ll be taking a look at two of the more popular hardware implementations of serial: TTL and RS-232. First up, RS-232!<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>What is RS232? <\/strong><\/h2>\n\n\n\n<p>When working with Serial Communication, you&#8217;ll bound to come across the term RS-232. What&#8217;s RS232 you may ask?<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large is-resized\"><img decoding=\"async\" src=\"https:\/\/static-cdn.seeedstudio.com\/media\/catalog\/product\/cache\/9d0ce51a71ce6a79dfa2a98d65a0f0bd\/2\/_\/2_1.jpg\" alt=\"\" width=\"375\" height=\"281\"\/><\/figure><\/div>\n\n\n\n<p>RS232 is the first serial communication protocol that&#8217;s widely used as a communication method for computers and devices by serial ports. Similar to your microcontroller serial signals, it transmits data a bit at one time. <\/p>\n\n\n\n<p>RS232 works by connecting Data Transmission Equipment (DTE) and Data Communication Equipment (DCE), which has pins like TXD, RXD, and RTS&amp;CTS. <\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>TXD: Transmitter<\/li><li>RXD: Receiver<\/li><li>RTS: Request to Send<\/li><li>CTS: Clear to Send<\/li><li>GND: Ground<\/li><\/ul>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>RS232 Features and Parameters:<\/strong><\/h3>\n\n\n\n<table>\n  <tr>\n    <th>Parameters<\/th>\n    <th>RS232<\/th>\n  <\/tr>\n  <tr>\n    <td>Transmission Mode<\/td>\n    <td>Simplex<\/td>\n  <\/tr>\n  <tr>\n    <td>Max connected devices<\/td>\n    <td>2 devices: <br>1 driver, 1 receiver<\/td>\n  <\/tr>\n  <tr>\n    <td>Max. transmission rate<\/td>\n    <td>20Kbps<\/td>\n  <\/tr>\n  <tr>\n    <td>Max. cable length<\/td>\n    <td>15m<\/td>\n  <\/tr>\n  <tr>\n    <td>Operation mode<\/td>\n    <td>Single-ended (unbalanced type)<\/td>\n  <\/tr>\n  <tr>\n    <td>Features<\/td>\n    <td>Short distance<br>Full-duplex<br>1:1 connection<\/td>\n  <\/tr>\n<\/table>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Advantages and Disadvantages of RS232<\/strong><\/h3>\n\n\n\n<p><strong>Advantages<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Low cost <\/li><li>Widely available and applicable due to its long presence in the telecommunications industry<\/li><li>Simple wiring and connectors with only max support for 1 driver and 1 receiver<\/li><\/ul>\n\n\n\n<p><strong>Disadvantages<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Data transfer speed floats around 20kilobytes per second, slower than what we&#8217;re used to now<\/li><li>No more than 50 feet apart for a point-to-point connection between a computer and device<\/li><\/ul>\n\n\n\n<p style=\"background-color:#eefded\" class=\"has-background\"><strong>Note: RS232 standard is a protocol of the physical level and does not define the transmission speed of all related devices. Transport protocols vary based on devices used. <\/strong><\/p>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>RS232 Communication devices<\/strong><\/h3>\n\n\n\n<p>Now that you&#8217;ve gotten a basic understanding on the RS232, let&#8217;s take a look at a few RS232 devices and its usages:<\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><strong><a href=\"https:\/\/www.seeedstudio.com\/Grove-RS232.html?utm_source=blog&amp;utm_medium=blog\">Grove &#8211; RS232:&nbsp;Stable&nbsp;and&nbsp;high-speed&nbsp;option<\/a><\/strong><\/h4>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large is-resized\"><img decoding=\"async\" src=\"https:\/\/static-cdn.seeedstudio.com\/media\/catalog\/product\/cache\/9d0ce51a71ce6a79dfa2a98d65a0f0bd\/1\/_\/1_1_1.jpg\" alt=\"\" width=\"396\" height=\"297\"\/><\/figure><\/div>\n\n\n\n<p>The Grove &#8211; RS232 allows Arduino serial communication to take place, connecting through a plug and play instead of having to solder, use jumper wires, etc.<\/p>\n\n\n\n<p>Can&#8217;t believe how easy it is? Thanks to our <a href=\"http:\/\/wiki.seeedstudio.com\/Grove_System\/\">Grove system<\/a>, it&#8217;s indeed that easy!<\/p>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h4 class=\"wp-block-heading\"><strong><a href=\"https:\/\/www.seeedstudio.com\/USB-TO-RS232-RS485-TTL-Industrial-Isolated-Converter-p-3231.html?utm_source=blog&amp;utm_medium=blog\">USB TO RS232 \/ RS485 \/ TTL Industrial Isolated Converter<\/a><\/strong><\/h4>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/static-cdn.seeedstudio.com\/media\/catalog\/product\/cache\/9d0ce51a71ce6a79dfa2a98d65a0f0bd\/h\/t\/httpsstatics3.seeedstudio.comseeedfile2018-12bazaar1004130_usbtors232485ttl01.jpg\" alt=\"\" width=\"344\" height=\"258\"\/><\/figure><\/div>\n\n\n\n<ul class=\"wp-block-list\"><li>This is an industrial USB to RS232\/485\/TTL isolated converter with the original FT232RL inside.<\/li><li> The USB TO RS232\/485\/TTL is very easy to use, fully automatic transceiving without delay. Due to its fast communication, stability, reliability, and safety, it is an ideal choice for industrial control equipment and\/or applications with high communication requirements. <\/li><li>It features:<ul><li>Embedded protection circuits such as power isolation, ADI magnetical isolation, and TVS diode, etc.<\/li><li>An aluminium alloy enclosure which makes it solid and durable<\/li><\/ul><\/li><\/ul>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>What is TTL serial<\/strong>?<\/h2>\n\n\n\n<p>TTL stands for <strong>Transistor-Transistor Logic<\/strong>, a serial communication commonly found in UART (universally asynchronous receiver\/transmitter) transmission method, a method seen in most microcontrollers these days. <\/p>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Advantages and Disadvantages of TTL Serial<\/strong><\/h3>\n\n\n\n<p><strong>Advantages:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Low cost<\/li><li>High availability<\/li><li>High compatibility with microcontroller<\/li><li>Ease of usage<\/li><\/ul>\n\n\n\n<p><strong>Disadvantages:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Noisy, due to poor noise margin<\/li><li>Limited speed and frequency<\/li><li>Higher power consumption at higher frequencies<\/li><\/ul>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>RS232 vs TTL: What&#8217;s the difference?<\/strong><\/h2>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p style=\"background-color:#ebffef;color:#000000\" class=\"has-text-color has-background\"><strong>Susceptibility to external conditions<\/strong><\/p>\n\n\n\n<p style=\"color:#000000\" class=\"has-text-color\">RS232 more extreme voltages help make it less susceptible to noise, interference, and degradation.<\/p>\n\n\n\n<p style=\"background-color:#ebffef;color:#000000\" class=\"has-text-color has-background\"><strong>Minimum and Maximum voltages<\/strong><\/p>\n\n\n\n<p style=\"color:#000000\" class=\"has-text-color\">The minimum and maximum voltages of RS-232 signals are +\/-13V, while TTL signals are 0 to 3.3V\/5V.<\/p>\n\n\n\n<p style=\"background-color:#ebffef;color:#000000\" class=\"has-text-color has-background\"><strong>Ease of pairing with a microcontroller<\/strong><\/p>\n\n\n\n<p style=\"color:#000000\" class=\"has-text-color\">TTL serial would be an easier option for microcontroller pairing since it operates nicely between a microcontroller voltage supply range. <\/p>\n\n\n\n<p style=\"background-color:#ebffef;color:#000000\" class=\"has-text-color has-background\"><strong>Logic levels<\/strong><\/p>\n\n\n\n<p style=\"color:#000000\" class=\"has-text-color\">Logic levels between the RS232 and TTL are inverted, with the &#8220;1&#8221;s and &#8220;0&#8221;s inverted from each other.<\/p>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Summary<\/strong><\/h2>\n\n\n\n<p>Overall, TTL is much easier to implement into embedded circuits. However, lower voltage levels limit long transmission usages. This makes the RS232 a more versatile all-around option. <\/p>\n\n\n\n<p>As the RS232 is complex in nature, do consider the recommended RS232 products for easy connection with your Arduino or other microcontrollers!<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>RS232 module: <strong><a href=\"https:\/\/www.seeedstudio.com\/Grove-RS232.html?utm_source=blog&amp;utm_medium=blog\">Grove &#8211; RS232<\/a><\/strong><\/li><li>Connecting computer with MCU:  <br><strong><a href=\"https:\/\/www.seeedstudio.com\/RS-232-To-TTL-Conveter-MAX3232IDR-p-2851.html?utm_source=blog&amp;utm_medium=blog\">RS-232 To TTL Converter (MAX3232IDR)<\/a><\/strong> <\/li><li>Industrial Application purposes:  <br><strong><a href=\"https:\/\/www.seeedstudio.com\/USB-TO-RS232-RS485-TTL-Industrial-Isolated-Converter-p-3231.html?utm_source=blog&amp;utm_medium=blog\">USB TO RS232 \/ RS485 \/ TTL Industrial Isolated Converter<\/a><\/strong><a href=\"https:\/\/www.seeedstudio.com\/USB-TO-RS232-RS485-TTL-Industrial-Isolated-Converter-p-3231.html?utm_source=blog&amp;utm_medium=blog\"> <\/a><\/li><\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Serial communication is a way for data transmission over long distances. Commonly associated with RS232<\/p>\n","protected":false},"author":2850,"featured_media":27847,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_lmt_disableupdate":"","_lmt_disable":"","_price":"","_stock":"","_tribe_ticket_header":"","_tribe_default_ticket_provider":"","_tribe_ticket_capacity":"0","_ticket_start_date":"","_ticket_end_date":"","_tribe_ticket_show_description":"","_tribe_ticket_show_not_going":false,"_tribe_ticket_use_global_stock":"","_tribe_ticket_global_stock_level":"","_global_stock_mode":"","_global_stock_cap":"","_tribe_rsvp_for_event":"","_tribe_ticket_going_count":"","_tribe_ticket_not_going_count":"","_tribe_tickets_list":"[]","_tribe_ticket_has_attendee_info_fields":false,"iawp_total_views":0,"footnotes":""},"categories":[1],"tags":[2256,2296,2301],"class_list":["post-27814","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-news","tag-rs232","tag-serial-communication","tag-serial-communication-guide"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.0 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>RS232 vs TTL: Beginner Guide to Serial Communication - Latest News from Seeed Studio<\/title>\n<meta name=\"description\" content=\"Serial communication is a way for data transmission over long distances. Commonly associated with RS232 and TTL serial, it enables Arduino and other microcontrollers to communicate with your computer or other serial devices.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.seeedstudio.com\/blog\/2019\/12\/11\/rs232-vs-ttl-beginner-guide-to-serial-communication\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"RS232 vs TTL: Beginner Guide to Serial Communication - Latest News from Seeed Studio\" \/>\n<meta property=\"og:description\" content=\"Serial communication is a way for data transmission over long distances. Commonly associated with RS232 and TTL serial, it enables Arduino and other microcontrollers to communicate with your computer or other serial devices.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.seeedstudio.com\/blog\/2019\/12\/11\/rs232-vs-ttl-beginner-guide-to-serial-communication\/\" \/>\n<meta property=\"og:site_name\" content=\"Latest News from Seeed Studio\" \/>\n<meta property=\"article:published_time\" content=\"2019-12-11T03:28:16+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2020-12-09T08:18:17+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2019\/12\/serial-communication-guide-RS232-vs-TTL.png\" \/>\n\t<meta property=\"og:image:width\" content=\"735\" \/>\n\t<meta property=\"og:image:height\" content=\"424\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Shawn\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Shawn\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"7 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.seeedstudio.com\/blog\/2019\/12\/11\/rs232-vs-ttl-beginner-guide-to-serial-communication\/\",\"url\":\"https:\/\/www.seeedstudio.com\/blog\/2019\/12\/11\/rs232-vs-ttl-beginner-guide-to-serial-communication\/\",\"name\":\"RS232 vs TTL: Beginner Guide to Serial Communication - Latest News from Seeed Studio\",\"isPartOf\":{\"@id\":\"https:\/\/www.seeedstudio.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.seeedstudio.com\/blog\/2019\/12\/11\/rs232-vs-ttl-beginner-guide-to-serial-communication\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.seeedstudio.com\/blog\/2019\/12\/11\/rs232-vs-ttl-beginner-guide-to-serial-communication\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2019\/12\/serial-communication-guide-RS232-vs-TTL.png\",\"datePublished\":\"2019-12-11T03:28:16+00:00\",\"dateModified\":\"2020-12-09T08:18:17+00:00\",\"author\":{\"@id\":\"https:\/\/www.seeedstudio.com\/blog\/#\/schema\/person\/c9b61b761840d544e2d830b0e3bc9fe2\"},\"description\":\"Serial communication is a way for data transmission over long distances. Commonly associated with RS232 and TTL serial, it enables Arduino and other microcontrollers to communicate with your computer or other serial devices.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.seeedstudio.com\/blog\/2019\/12\/11\/rs232-vs-ttl-beginner-guide-to-serial-communication\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.seeedstudio.com\/blog\/2019\/12\/11\/rs232-vs-ttl-beginner-guide-to-serial-communication\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.seeedstudio.com\/blog\/2019\/12\/11\/rs232-vs-ttl-beginner-guide-to-serial-communication\/#primaryimage\",\"url\":\"https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2019\/12\/serial-communication-guide-RS232-vs-TTL.png\",\"contentUrl\":\"https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2019\/12\/serial-communication-guide-RS232-vs-TTL.png\",\"width\":735,\"height\":424,\"caption\":\"serial communication guide RS232 vs TTL\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.seeedstudio.com\/blog\/2019\/12\/11\/rs232-vs-ttl-beginner-guide-to-serial-communication\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.seeedstudio.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"RS232 vs TTL: Beginner Guide to Serial Communication\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.seeedstudio.com\/blog\/#website\",\"url\":\"https:\/\/www.seeedstudio.com\/blog\/\",\"name\":\"Latest News from Seeed Studio\",\"description\":\"Emerging IoT, AI and Autonomous Applications on the Edge\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.seeedstudio.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.seeedstudio.com\/blog\/#\/schema\/person\/c9b61b761840d544e2d830b0e3bc9fe2\",\"name\":\"Shawn\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.seeedstudio.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/5afdc71205d9d485de69bc4b192294e3?s=96&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/5afdc71205d9d485de69bc4b192294e3?s=96&r=g\",\"caption\":\"Shawn\"},\"url\":\"https:\/\/www.seeedstudio.com\/blog\/author\/shawn\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"RS232 vs TTL: Beginner Guide to Serial Communication - Latest News from Seeed Studio","description":"Serial communication is a way for data transmission over long distances. Commonly associated with RS232 and TTL serial, it enables Arduino and other microcontrollers to communicate with your computer or other serial devices.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.seeedstudio.com\/blog\/2019\/12\/11\/rs232-vs-ttl-beginner-guide-to-serial-communication\/","og_locale":"en_US","og_type":"article","og_title":"RS232 vs TTL: Beginner Guide to Serial Communication - Latest News from Seeed Studio","og_description":"Serial communication is a way for data transmission over long distances. Commonly associated with RS232 and TTL serial, it enables Arduino and other microcontrollers to communicate with your computer or other serial devices.","og_url":"https:\/\/www.seeedstudio.com\/blog\/2019\/12\/11\/rs232-vs-ttl-beginner-guide-to-serial-communication\/","og_site_name":"Latest News from Seeed Studio","article_published_time":"2019-12-11T03:28:16+00:00","article_modified_time":"2020-12-09T08:18:17+00:00","og_image":[{"width":735,"height":424,"url":"https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2019\/12\/serial-communication-guide-RS232-vs-TTL.png","type":"image\/png"}],"author":"Shawn","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Shawn","Est. reading time":"7 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.seeedstudio.com\/blog\/2019\/12\/11\/rs232-vs-ttl-beginner-guide-to-serial-communication\/","url":"https:\/\/www.seeedstudio.com\/blog\/2019\/12\/11\/rs232-vs-ttl-beginner-guide-to-serial-communication\/","name":"RS232 vs TTL: Beginner Guide to Serial Communication - Latest News from Seeed Studio","isPartOf":{"@id":"https:\/\/www.seeedstudio.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.seeedstudio.com\/blog\/2019\/12\/11\/rs232-vs-ttl-beginner-guide-to-serial-communication\/#primaryimage"},"image":{"@id":"https:\/\/www.seeedstudio.com\/blog\/2019\/12\/11\/rs232-vs-ttl-beginner-guide-to-serial-communication\/#primaryimage"},"thumbnailUrl":"https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2019\/12\/serial-communication-guide-RS232-vs-TTL.png","datePublished":"2019-12-11T03:28:16+00:00","dateModified":"2020-12-09T08:18:17+00:00","author":{"@id":"https:\/\/www.seeedstudio.com\/blog\/#\/schema\/person\/c9b61b761840d544e2d830b0e3bc9fe2"},"description":"Serial communication is a way for data transmission over long distances. Commonly associated with RS232 and TTL serial, it enables Arduino and other microcontrollers to communicate with your computer or other serial devices.","breadcrumb":{"@id":"https:\/\/www.seeedstudio.com\/blog\/2019\/12\/11\/rs232-vs-ttl-beginner-guide-to-serial-communication\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.seeedstudio.com\/blog\/2019\/12\/11\/rs232-vs-ttl-beginner-guide-to-serial-communication\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.seeedstudio.com\/blog\/2019\/12\/11\/rs232-vs-ttl-beginner-guide-to-serial-communication\/#primaryimage","url":"https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2019\/12\/serial-communication-guide-RS232-vs-TTL.png","contentUrl":"https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2019\/12\/serial-communication-guide-RS232-vs-TTL.png","width":735,"height":424,"caption":"serial communication guide RS232 vs TTL"},{"@type":"BreadcrumbList","@id":"https:\/\/www.seeedstudio.com\/blog\/2019\/12\/11\/rs232-vs-ttl-beginner-guide-to-serial-communication\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.seeedstudio.com\/blog\/"},{"@type":"ListItem","position":2,"name":"RS232 vs TTL: Beginner Guide to Serial Communication"}]},{"@type":"WebSite","@id":"https:\/\/www.seeedstudio.com\/blog\/#website","url":"https:\/\/www.seeedstudio.com\/blog\/","name":"Latest News from Seeed Studio","description":"Emerging IoT, AI and Autonomous Applications on the Edge","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.seeedstudio.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.seeedstudio.com\/blog\/#\/schema\/person\/c9b61b761840d544e2d830b0e3bc9fe2","name":"Shawn","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.seeedstudio.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/5afdc71205d9d485de69bc4b192294e3?s=96&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/5afdc71205d9d485de69bc4b192294e3?s=96&r=g","caption":"Shawn"},"url":"https:\/\/www.seeedstudio.com\/blog\/author\/shawn\/"}]}},"modified_by":"Gigi","views":211404,"featured_image_urls":{"full":["https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2019\/12\/serial-communication-guide-RS232-vs-TTL.png",735,424,false],"thumbnail":["https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2019\/12\/serial-communication-guide-RS232-vs-TTL-80x80.png",80,80,true],"medium":["https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2019\/12\/serial-communication-guide-RS232-vs-TTL-300x173.png",300,173,true],"medium_large":["https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2019\/12\/serial-communication-guide-RS232-vs-TTL.png",640,369,false],"large":["https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2019\/12\/serial-communication-guide-RS232-vs-TTL.png",640,369,false],"1536x1536":["https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2019\/12\/serial-communication-guide-RS232-vs-TTL.png",735,424,false],"2048x2048":["https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2019\/12\/serial-communication-guide-RS232-vs-TTL.png",735,424,false],"visody_icon":["https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2019\/12\/serial-communication-guide-RS232-vs-TTL.png",32,18,false],"magazine-7-slider-full":["https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2019\/12\/serial-communication-guide-RS232-vs-TTL.png",735,424,false],"magazine-7-slider-center":["https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2019\/12\/serial-communication-guide-RS232-vs-TTL.png",735,424,false],"magazine-7-featured":["https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2019\/12\/serial-communication-guide-RS232-vs-TTL.png",735,424,false],"magazine-7-medium":["https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2019\/12\/serial-communication-guide-RS232-vs-TTL.png",659,380,false],"magazine-7-medium-square":["https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2019\/12\/serial-communication-guide-RS232-vs-TTL.png",675,389,false]},"author_info":{"display_name":"Shawn","author_link":"https:\/\/www.seeedstudio.com\/blog\/author\/shawn\/"},"category_info":"<a href=\"https:\/\/www.seeedstudio.com\/blog\/category\/news\/\" rel=\"category tag\">News<\/a>","tag_info":"News","comment_count":"0","_links":{"self":[{"href":"https:\/\/www.seeedstudio.com\/blog\/wp-json\/wp\/v2\/posts\/27814","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.seeedstudio.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.seeedstudio.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.seeedstudio.com\/blog\/wp-json\/wp\/v2\/users\/2850"}],"replies":[{"embeddable":true,"href":"https:\/\/www.seeedstudio.com\/blog\/wp-json\/wp\/v2\/comments?post=27814"}],"version-history":[{"count":3,"href":"https:\/\/www.seeedstudio.com\/blog\/wp-json\/wp\/v2\/posts\/27814\/revisions"}],"predecessor-version":[{"id":38673,"href":"https:\/\/www.seeedstudio.com\/blog\/wp-json\/wp\/v2\/posts\/27814\/revisions\/38673"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.seeedstudio.com\/blog\/wp-json\/wp\/v2\/media\/27847"}],"wp:attachment":[{"href":"https:\/\/www.seeedstudio.com\/blog\/wp-json\/wp\/v2\/media?parent=27814"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.seeedstudio.com\/blog\/wp-json\/wp\/v2\/categories?post=27814"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.seeedstudio.com\/blog\/wp-json\/wp\/v2\/tags?post=27814"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}