{"id":59936,"date":"2021-02-15T01:32:43","date_gmt":"2021-02-15T06:32:43","guid":{"rendered":"https:\/\/www.engineersgarage.com\/microcontroller-projects-tf\/atmega162-programmed-using-arduino-ide\/"},"modified":"2023-06-29T15:08:06","modified_gmt":"2023-06-29T19:08:06","slug":"atmega162-programmed-using-arduino-ide","status":"publish","type":"post","link":"https:\/\/www.engineersgarage.com\/atmega162-programmed-using-arduino-ide\/","title":{"rendered":"Atmega162 UAR serial communication using Arduino IDE"},"content":{"rendered":"<div id=\"content\">\n<div id=\"wsite-content\" class=\"wsite-elements wsite-not-footer\">\n<div><\/div>\n<div class=\"paragraph\" style=\"text-align: justify;\">\n<p><span style=\"font-size: medium;\">I started working on a project with involves Atmega162 to be programmed in order to achieve the desired output. I started to write code using Atmel studio ide but I found it very hard to work with the Atmel studio ide. Atmel studio is slow and finding bugs etc is also very difficult. So I decided to switch to the Arduino ide. Somebody added Atmega162 support to Arduino ide, so I used it. In order to install the Atmega162 support to your Arduino ide please see my post.<br \/>\n<a href=\"\/programming-atmega162-microcontroller-with-arduino-ide.html\" target=\"_blank\" rel=\"noopener noreferrer\">Atmega162 with Arduino Ide<\/a>\u00a0<\/span><\/p>\n<p>Although he added the atmega162 support to Arduino ide, the support lacks the serial interface(uart). UART initialization and data sending commands Seial.begin() and Serial.send() did not work if using the above support provided by someone. So I decided to ope-rationalize the atmega162 microcontroller UART by individual register configuration. I made a separate header file for UART initialization and working &#8220;Uart.h&#8221;. \u00a0In uart.h i defined the values for individual uart registers. Uart initialization code in c++ and assembly is given in the atmega162 datasheet. Almost all the atmega series microcontrollers UARTS are initialized using the same registers, the registers are same for almost all the microcontrollers. I copied the initialization code from there. For a full description of the registers and code, I recommend seeing the datasheet.<\/p>\n<\/div>\n<div>\n<div class=\"wsite-multicol\">\n<div class=\"wsite-multicol-table-wrap\" style=\"margin: 0 -15px;\">\n<table class=\"wsite-multicol-table\">\n<tbody class=\"wsite-multicol-tbody\">\n<tr class=\"wsite-multicol-tr\">\n<td class=\"wsite-multicol-col\" style=\"width: 50%; padding: 0 15px;\">\n<div>\n<div class=\"wsite-image wsite-image-border-none \" style=\"padding-top: 10px; padding-bottom: 10px; margin-left: 0px; margin-right: 0px; text-align: center;\">\n<p><a href=\"\/wp-content\/uploads\/2\/2\/1\/5\/22159166\/uart_orig.png\" rel=\"lightbox\"> <img decoding=\"async\" style=\"width: auto; max-width: 100%;\" src=\"\/wp-content\/uploads\/2\/2\/1\/5\/22159166\/uart_orig.png\" alt=\"Atmega162 uart initialization, register values calculation formula.\" \/> <\/a><\/p>\n<div style=\"display: block; font-size: 90%;\">Atmega162 uart initialization, register values calculation formula.<\/div>\n<\/div>\n<\/div>\n<\/td>\n<td class=\"wsite-multicol-col\" style=\"width: 50%; padding: 0 15px;\">\n<div class=\"paragraph\"><span style=\"font-size: medium;\">Most important register in initializing Uart is UBRR. Its a 16 bit register. Divided in to two 8- bit registers UBRRL and UBRRH. In order to set the desired baud rate. We have to calculate the value for this register. The formula for calculating the value is given on right side. &#8220;Baud Rate&#8221; is the desired baud rate that we need. Fpb is the clock\/crystal frequency on which the microcontroller is working. UxBRG is UBRR 16-bit register. After calculating the value, upload the higher 8-bits in UBRRH and lower 8-bits in UBRRL.<\/span><\/div>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<\/div>\n<p class=\"wsite-content-title\"><strong>Atmega162 Serial Communication with MAX232(Rs232 Interface)<\/strong><\/p>\n<div>\n<div class=\"wsite-image wsite-image-border-none \" style=\"padding-top: 10px; padding-bottom: 10px; margin-left: 0px; margin-right: 0px; text-align: center;\">\n<p><a href=\"\/wp-content\/uploads\/2\/2\/1\/5\/22159166\/atmega162-rs232-interface_orig.png\" rel=\"lightbox\"> <img decoding=\"async\" style=\"width: auto; max-width: 100%;\" src=\"\/wp-content\/uploads\/2\/2\/1\/5\/22159166\/atmega162-rs232-interface_orig.png\" alt=\"Atmega162 Uart Serial Communication using Max232 Level converter\" \/> <\/a><\/p>\n<div style=\"display: block; font-size: 90%;\">Atmega162 Uart Serial Communication using Max232 Level converter<\/div>\n<\/div>\n<\/div>\n<p class=\"wsite-content-title\"><strong>Atmega162 Serial Communication with FT232(USB to Uart Interface)<\/strong><\/p>\n<div>\n<div class=\"wsite-image wsite-image-border-none \" style=\"padding-top: 10px; padding-bottom: 10px; margin-left: 0px; margin-right: 0px; text-align: center;\">\n<p><a href=\"\/wp-content\/uploads\/2\/2\/1\/5\/22159166\/atmega162-ft232uart-orig_orig.png\" rel=\"lightbox\"> <img decoding=\"async\" style=\"width: auto; max-width: 100%;\" src=\"\/wp-content\/uploads\/2\/2\/1\/5\/22159166\/atmega162-ft232uart-orig_orig.png\" alt=\"Atmega162 Uart Serial Communication using ft232 USB to Uart Level converter\" \/> <\/a><\/p>\n<div style=\"display: block; font-size: 90%;\">Atmega162 Uart Serial Communication using ft232 USB to Uart Level converter<\/div>\n<\/div>\n<\/div>\n<div class=\"paragraph\" style=\"text-align: justify;\">\n<p><span style=\"font-size: medium;\"><span style=\"color: #2a2a2a;\">Atmega162 has 2 uarts 0 and 1. I am using uart-0 for this post. You can use the uart-1 if you want. Uart-0 is at pins#10,11 and Uart-1 is at pin#3,4. In the demo project i initialized the baud rate to 9600. I am sending my website name from atmega162 serial port to my pc(personal computer). For viewing the output on my computer i am using an putty. \u00a0<\/span>\u200b<\/span><\/p>\n<p>A status led is connected to pin#25. It blinks after every second. Shows the program status, if the hardware is working or not. Note: The led is connected to pin#25 where as in code its declared as pin#22, its because for programming the pins are assigned different numbers. Remember the upper tutorial see that for more clarification.<\/p>\n<\/div>\n<div>\n<div id=\"227784076349770278\" class=\"wcustomhtml\" style=\"width: 100%; overflow-y: hidden;\" align=\"left\">\n<div><script src=\"https:\/\/gist.github.com\/d-boz-wtwh\/bc42b49e1dbf4dc1932f2f79e617bdef.js\"><\/script><\/div>\n<\/div>\n<\/div>\n<div class=\"paragraph\" style=\"text-align: justify;\"><span style=\"font-size: medium;\">Since the boot loader written \u00a0for atmega162 does not worked for me. so i directly upload the code from arduino ide to atmega162 microcontroller using an external USBasp programmer.<\/span><\/div>\n<div>\n<div id=\"900926052795716984\" class=\"wcustomhtml\" style=\"width: 100%; overflow-y: hidden;\" align=\"left\"><span style=\"color: black; font-size: large;\"> Download the project .ino file. Code is written in arduino ide. Please provide us your feed back on the project. <\/span><\/div>\n<\/div>\n<div>\n<div id=\"137097738449414011\" class=\"wcustomhtml\" style=\"width: 100%; overflow-y: hidden;\" align=\"left\">\n<p>&nbsp;<\/p>\n<h2>Watch the Project Video Here.<\/h2>\n<p><iframe loading=\"lazy\" style=\"border: none; overflow: hidden;\" src=\"https:\/\/www.facebook.com\/plugins\/video.php?href=https%3A%2F%2Fwww.facebook.com%2Felectronicsgru%2Fvideos%2F1050954641700841%2F&amp;show_text=0&amp;width=400\" width=\"400\" height=\"400\" frameborder=\"0\" scrolling=\"no\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/p>\n<\/div>\n<\/div>\n<div class=\"paragraph\" style=\"text-align: right;\"><a href=\"\/wp-content\/uploads\/2\/2\/1\/5\/22159166\/atmega162_uart.rar\">Atmega162 microcontroller uart files\u00a0<\/a><\/div>\n<div class=\"paragraph\" style=\"text-align: justify;\"><span style=\"font-size: medium;\">More Projects on Serial Uart Communication using different types of microcontrollers. Each project contains free source code and circuit diagram of the project. Tutorials list is below<\/span><strong><span style=\"font-size: large;\"><br \/>\n\u200b<\/span><\/strong><br \/>\n<span style=\"font-size: medium;\"><a href=\"\/serial-data-received-from-pc-using-8051.html\">Serial Communication using Uart of 8051(89c51,89c52) microcontroller<\/a><br \/>\n<a href=\"\/serial-communication-with-pic16f877.html\" target=\"_blank\" rel=\"noopener noreferrer\">Serial Communication using Uart of Pic16f877 Microchip microcontroller<br \/>\n\u200b<\/a><a href=\"\/serial-data-transmission.html\" target=\"_blank\" rel=\"noopener noreferrer\">Serial data Transmission using 89c51 Communication<br \/>\n\u200b<\/a><a href=\"\/rs485-communication-between-arduino-mega-and-arduino-pro-mini.html\" target=\"_blank\" rel=\"noopener noreferrer\">Serial rs485 communication between arduino uno and leonardo<br \/>\n\u200b<\/a><\/span><span style=\"font-size: medium;\"><a href=\"\/atmega32a-uart-with-arduino-ide.html\" target=\"_blank\" rel=\"noopener noreferrer\">Serial Communication using Atmega32A<\/a><br \/>\n<a href=\"\/serial-data-receive-from-pc-using-pic-microcontroller.html\" target=\"_blank\" rel=\"noopener noreferrer\">Serial data received from pc using Microchip Pic Microcontroller<\/a><\/span><\/div>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>I started working on a project with involves Atmega162 to be programmed in order to achieve the desired output. I started to write code using Atmel studio ide but I found it very hard to work with the Atmel studio ide. Atmel studio is slow and finding bugs etc is also very difficult. So I&hellip;<\/p>\n","protected":false},"author":394,"featured_media":59935,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_genesis_hide_title":false,"_genesis_hide_breadcrumbs":false,"_genesis_hide_singular_image":false,"_genesis_hide_footer_widgets":false,"_genesis_custom_body_class":"","_genesis_custom_post_class":"","_genesis_layout":"","footnotes":""},"categories":[4043,13],"tags":[],"class_list":{"2":"type-post","9":"entry","10":"has-post-thumbnail"},"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v25.2 (Yoast SEO v25.2) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Atmega162 UAR serial communication using Arduino IDE<\/title>\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.engineersgarage.com\/atmega162-programmed-using-arduino-ide\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Atmega162 UAR serial communication using Arduino IDE\" \/>\n<meta property=\"og:description\" content=\"I started working on a project with involves Atmega162 to be programmed in order to achieve the desired output. I started to write code using Atmel studio ide but I found it very hard to work with the Atmel studio ide. Atmel studio is slow and finding bugs etc is also very difficult. So I&hellip;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.engineersgarage.com\/atmega162-programmed-using-arduino-ide\/\" \/>\n<meta property=\"og:site_name\" content=\"Engineers Garage\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/engineersgarage\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.engineersgarage.com\/wp-content\/uploads\/2019\/10\/uart_orig-1.png\" \/>\n\t<meta property=\"og:image:width\" content=\"362\" \/>\n\t<meta property=\"og:image:height\" content=\"190\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"EG Projects\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@EngineersGarage\" \/>\n<meta name=\"twitter:site\" content=\"@EngineersGarage\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"EG Projects\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.engineersgarage.com\/atmega162-programmed-using-arduino-ide\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.engineersgarage.com\/atmega162-programmed-using-arduino-ide\/\"},\"author\":{\"name\":\"EG Projects\",\"@id\":\"https:\/\/www.engineersgarage.com\/#\/schema\/person\/46bbd53b9db1c5d1580cd604e3d6a2f2\"},\"headline\":\"Atmega162 UAR serial communication using Arduino IDE\",\"datePublished\":\"2021-02-15T06:32:43+00:00\",\"dateModified\":\"2023-06-29T19:08:06+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.engineersgarage.com\/atmega162-programmed-using-arduino-ide\/\"},\"wordCount\":617,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.engineersgarage.com\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.engineersgarage.com\/atmega162-programmed-using-arduino-ide\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.engineersgarage.com\/wp-content\/uploads\/2019\/10\/uart_orig-1.png\",\"articleSection\":[\"AVR\",\"Electronic Projects\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.engineersgarage.com\/atmega162-programmed-using-arduino-ide\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.engineersgarage.com\/atmega162-programmed-using-arduino-ide\/\",\"url\":\"https:\/\/www.engineersgarage.com\/atmega162-programmed-using-arduino-ide\/\",\"name\":\"Atmega162 UAR serial communication using Arduino IDE\",\"isPartOf\":{\"@id\":\"https:\/\/www.engineersgarage.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.engineersgarage.com\/atmega162-programmed-using-arduino-ide\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.engineersgarage.com\/atmega162-programmed-using-arduino-ide\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.engineersgarage.com\/wp-content\/uploads\/2019\/10\/uart_orig-1.png\",\"datePublished\":\"2021-02-15T06:32:43+00:00\",\"dateModified\":\"2023-06-29T19:08:06+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.engineersgarage.com\/atmega162-programmed-using-arduino-ide\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.engineersgarage.com\/atmega162-programmed-using-arduino-ide\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.engineersgarage.com\/atmega162-programmed-using-arduino-ide\/#primaryimage\",\"url\":\"https:\/\/www.engineersgarage.com\/wp-content\/uploads\/2019\/10\/uart_orig-1.png\",\"contentUrl\":\"https:\/\/www.engineersgarage.com\/wp-content\/uploads\/2019\/10\/uart_orig-1.png\",\"width\":362,\"height\":190},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.engineersgarage.com\/atmega162-programmed-using-arduino-ide\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.engineersgarage.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Atmega162 UAR serial communication using Arduino IDE\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.engineersgarage.com\/#website\",\"url\":\"https:\/\/www.engineersgarage.com\/\",\"name\":\"Engineers Garage\",\"description\":\"Electronic Projects, Electrical Engineering Resources, Makers Articles and Product News\",\"publisher\":{\"@id\":\"https:\/\/www.engineersgarage.com\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.engineersgarage.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.engineersgarage.com\/#organization\",\"name\":\"Engineer's Garage - WTWH Media\",\"url\":\"https:\/\/www.engineersgarage.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.engineersgarage.com\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.engineersgarage.com\/wp-content\/uploads\/2019\/08\/EGlogo.png\",\"contentUrl\":\"https:\/\/www.engineersgarage.com\/wp-content\/uploads\/2019\/08\/EGlogo.png\",\"width\":372,\"height\":52,\"caption\":\"Engineer's Garage - WTWH Media\"},\"image\":{\"@id\":\"https:\/\/www.engineersgarage.com\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/engineersgarage\",\"https:\/\/x.com\/EngineersGarage\",\"https:\/\/www.youtube.com\/channel\/UC0VITh11JSYk-UW7toLebUw\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.engineersgarage.com\/#\/schema\/person\/46bbd53b9db1c5d1580cd604e3d6a2f2\",\"name\":\"EG Projects\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.engineersgarage.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/258abb93057dea88a2a5a7616dccf9a0dc3a77d050ca970493853035a0e6f634?s=96&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/258abb93057dea88a2a5a7616dccf9a0dc3a77d050ca970493853035a0e6f634?s=96&r=g\",\"caption\":\"EG Projects\"},\"url\":\"https:\/\/www.engineersgarage.com\/author\/eg-projects\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Atmega162 UAR serial communication using Arduino IDE","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.engineersgarage.com\/atmega162-programmed-using-arduino-ide\/","og_locale":"en_US","og_type":"article","og_title":"Atmega162 UAR serial communication using Arduino IDE","og_description":"I started working on a project with involves Atmega162 to be programmed in order to achieve the desired output. I started to write code using Atmel studio ide but I found it very hard to work with the Atmel studio ide. Atmel studio is slow and finding bugs etc is also very difficult. So I&hellip;","og_url":"https:\/\/www.engineersgarage.com\/atmega162-programmed-using-arduino-ide\/","og_site_name":"Engineers Garage","article_publisher":"https:\/\/www.facebook.com\/engineersgarage","og_image":[{"width":362,"height":190,"url":"https:\/\/www.engineersgarage.com\/wp-content\/uploads\/2019\/10\/uart_orig-1.png","type":"image\/png"}],"author":"EG Projects","twitter_card":"summary_large_image","twitter_creator":"@EngineersGarage","twitter_site":"@EngineersGarage","twitter_misc":{"Written by":"EG Projects","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.engineersgarage.com\/atmega162-programmed-using-arduino-ide\/#article","isPartOf":{"@id":"https:\/\/www.engineersgarage.com\/atmega162-programmed-using-arduino-ide\/"},"author":{"name":"EG Projects","@id":"https:\/\/www.engineersgarage.com\/#\/schema\/person\/46bbd53b9db1c5d1580cd604e3d6a2f2"},"headline":"Atmega162 UAR serial communication using Arduino IDE","datePublished":"2021-02-15T06:32:43+00:00","dateModified":"2023-06-29T19:08:06+00:00","mainEntityOfPage":{"@id":"https:\/\/www.engineersgarage.com\/atmega162-programmed-using-arduino-ide\/"},"wordCount":617,"commentCount":0,"publisher":{"@id":"https:\/\/www.engineersgarage.com\/#organization"},"image":{"@id":"https:\/\/www.engineersgarage.com\/atmega162-programmed-using-arduino-ide\/#primaryimage"},"thumbnailUrl":"https:\/\/www.engineersgarage.com\/wp-content\/uploads\/2019\/10\/uart_orig-1.png","articleSection":["AVR","Electronic Projects"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.engineersgarage.com\/atmega162-programmed-using-arduino-ide\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.engineersgarage.com\/atmega162-programmed-using-arduino-ide\/","url":"https:\/\/www.engineersgarage.com\/atmega162-programmed-using-arduino-ide\/","name":"Atmega162 UAR serial communication using Arduino IDE","isPartOf":{"@id":"https:\/\/www.engineersgarage.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.engineersgarage.com\/atmega162-programmed-using-arduino-ide\/#primaryimage"},"image":{"@id":"https:\/\/www.engineersgarage.com\/atmega162-programmed-using-arduino-ide\/#primaryimage"},"thumbnailUrl":"https:\/\/www.engineersgarage.com\/wp-content\/uploads\/2019\/10\/uart_orig-1.png","datePublished":"2021-02-15T06:32:43+00:00","dateModified":"2023-06-29T19:08:06+00:00","breadcrumb":{"@id":"https:\/\/www.engineersgarage.com\/atmega162-programmed-using-arduino-ide\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.engineersgarage.com\/atmega162-programmed-using-arduino-ide\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.engineersgarage.com\/atmega162-programmed-using-arduino-ide\/#primaryimage","url":"https:\/\/www.engineersgarage.com\/wp-content\/uploads\/2019\/10\/uart_orig-1.png","contentUrl":"https:\/\/www.engineersgarage.com\/wp-content\/uploads\/2019\/10\/uart_orig-1.png","width":362,"height":190},{"@type":"BreadcrumbList","@id":"https:\/\/www.engineersgarage.com\/atmega162-programmed-using-arduino-ide\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.engineersgarage.com\/"},{"@type":"ListItem","position":2,"name":"Atmega162 UAR serial communication using Arduino IDE"}]},{"@type":"WebSite","@id":"https:\/\/www.engineersgarage.com\/#website","url":"https:\/\/www.engineersgarage.com\/","name":"Engineers Garage","description":"Electronic Projects, Electrical Engineering Resources, Makers Articles and Product News","publisher":{"@id":"https:\/\/www.engineersgarage.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.engineersgarage.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.engineersgarage.com\/#organization","name":"Engineer's Garage - WTWH Media","url":"https:\/\/www.engineersgarage.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.engineersgarage.com\/#\/schema\/logo\/image\/","url":"https:\/\/www.engineersgarage.com\/wp-content\/uploads\/2019\/08\/EGlogo.png","contentUrl":"https:\/\/www.engineersgarage.com\/wp-content\/uploads\/2019\/08\/EGlogo.png","width":372,"height":52,"caption":"Engineer's Garage - WTWH Media"},"image":{"@id":"https:\/\/www.engineersgarage.com\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/engineersgarage","https:\/\/x.com\/EngineersGarage","https:\/\/www.youtube.com\/channel\/UC0VITh11JSYk-UW7toLebUw"]},{"@type":"Person","@id":"https:\/\/www.engineersgarage.com\/#\/schema\/person\/46bbd53b9db1c5d1580cd604e3d6a2f2","name":"EG Projects","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.engineersgarage.com\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/258abb93057dea88a2a5a7616dccf9a0dc3a77d050ca970493853035a0e6f634?s=96&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/258abb93057dea88a2a5a7616dccf9a0dc3a77d050ca970493853035a0e6f634?s=96&r=g","caption":"EG Projects"},"url":"https:\/\/www.engineersgarage.com\/author\/eg-projects\/"}]}},"featured_image_src":"https:\/\/www.engineersgarage.com\/wp-content\/uploads\/2019\/10\/uart_orig-1.png","featured_image_src_square":"https:\/\/www.engineersgarage.com\/wp-content\/uploads\/2019\/10\/uart_orig-1.png","author_info":{"display_name":"EG Projects","author_link":"https:\/\/www.engineersgarage.com\/author\/eg-projects\/"},"_links":{"self":[{"href":"https:\/\/www.engineersgarage.com\/wp-json\/wp\/v2\/posts\/59936","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.engineersgarage.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.engineersgarage.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.engineersgarage.com\/wp-json\/wp\/v2\/users\/394"}],"replies":[{"embeddable":true,"href":"https:\/\/www.engineersgarage.com\/wp-json\/wp\/v2\/comments?post=59936"}],"version-history":[{"count":0,"href":"https:\/\/www.engineersgarage.com\/wp-json\/wp\/v2\/posts\/59936\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.engineersgarage.com\/wp-json\/wp\/v2\/media\/59935"}],"wp:attachment":[{"href":"https:\/\/www.engineersgarage.com\/wp-json\/wp\/v2\/media?parent=59936"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.engineersgarage.com\/wp-json\/wp\/v2\/categories?post=59936"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.engineersgarage.com\/wp-json\/wp\/v2\/tags?post=59936"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}