{"id":1621,"date":"2013-01-30T05:36:27","date_gmt":"2013-01-30T05:36:27","guid":{"rendered":"http:\/\/178.62.14.192\/?p=1621"},"modified":"2013-01-30T05:36:27","modified_gmt":"2013-01-30T05:36:27","slug":"serial-communication-between-raspberrypi-and-arduino","status":"publish","type":"post","link":"https:\/\/www.recantha.co.uk\/blog\/?p=1621","title":{"rendered":"Serial communication between #RaspberryPi and #Arduino"},"content":{"rendered":"<p style=\"text-align: center;\"><a href=\"http:\/\/neophob.com\/2013\/01\/serial-communication-between-raspberry-pi-and-arduino\/\"><img decoding=\"async\" class=\"alignleft\" alt=\"Serial communication between Raspberry Pi and Arduino\" src=\"\/blog\/wp-content\/uploads\/2013\/01\/ArduinoLogo1.gif\" \/><\/a><\/p>\n<p>Great little tutorial on powering an Arduino from the Pi&#8217;s 5V pin and also communicating via serial from the GPIO pins. Well worth a look if you want communication between the two to be faster. As the article points out, by using USB to connect an Arduino to the Pi, you introduce a latent delay between the two. Well worth a look for your Pi-Arduino projects.<\/p>\n<p><a href=\"http:\/\/neophob.com\/2013\/01\/serial-communication-between-raspberry-pi-and-arduino\/\">Serial communication between Raspberry Pi and Arduino<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Great little tutorial on powering an Arduino from the Pi&#8217;s 5V pin and also communicating via serial from the GPIO pins. Well worth a look if you want communication between the two to be faster. As the article points out,&hellip;<\/p>\n<p class=\"more-link-p\"><a class=\"more-link\" href=\"https:\/\/www.recantha.co.uk\/blog\/?p=1621\">Read more &rarr;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[55,51],"tags":[],"class_list":["post-1621","post","type-post","status-publish","format-standard","hentry","category-arduino","category-tutorials"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Serial communication between #RaspberryPi and #Arduino - Raspberry Pi Pod<\/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.recantha.co.uk\/blog\/?p=1621\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Serial communication between #RaspberryPi and #Arduino - Raspberry Pi Pod\" \/>\n<meta property=\"og:description\" content=\"Great little tutorial on powering an Arduino from the Pi&#8217;s 5V pin and also communicating via serial from the GPIO pins. Well worth a look if you want communication between the two to be faster. As the article points out,&hellip;Read more &rarr;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.recantha.co.uk\/blog\/?p=1621\" \/>\n<meta property=\"og:site_name\" content=\"Raspberry Pi Pod\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/recantha\/\" \/>\n<meta property=\"article:published_time\" content=\"2013-01-30T05:36:27+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2013\/01\/ArduinoLogo1.gif\" \/>\n<meta name=\"author\" content=\"Michael Horne\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@recantha\" \/>\n<meta name=\"twitter:site\" content=\"@recantha\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Michael Horne\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=1621#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=1621\"},\"author\":{\"name\":\"Michael Horne\",\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/#\/schema\/person\/c27c4ef2ee1c18b130f1fcd5dcdbb263\"},\"headline\":\"Serial communication between #RaspberryPi and #Arduino\",\"datePublished\":\"2013-01-30T05:36:27+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=1621\"},\"wordCount\":80,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/#organization\"},\"articleSection\":[\"Arduino\",\"Tutorials\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.recantha.co.uk\/blog\/?p=1621#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=1621\",\"url\":\"https:\/\/www.recantha.co.uk\/blog\/?p=1621\",\"name\":\"Serial communication between #RaspberryPi and #Arduino - Raspberry Pi Pod\",\"isPartOf\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/#website\"},\"datePublished\":\"2013-01-30T05:36:27+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=1621#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.recantha.co.uk\/blog\/?p=1621\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=1621#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.recantha.co.uk\/blog\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Serial communication between #RaspberryPi and #Arduino\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/#website\",\"url\":\"https:\/\/www.recantha.co.uk\/blog\/\",\"name\":\"Raspberry Pi Pod\",\"description\":\"Experiences with the Raspberry Pi micro computer and microcontroller\",\"publisher\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.recantha.co.uk\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/#organization\",\"name\":\"Raspberry Pi Pod\",\"url\":\"https:\/\/www.recantha.co.uk\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2016\/03\/cropped-PiPod-Logo-v3.png?fit=800%2C337&ssl=1\",\"contentUrl\":\"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2016\/03\/cropped-PiPod-Logo-v3.png?fit=800%2C337&ssl=1\",\"width\":800,\"height\":337,\"caption\":\"Raspberry Pi Pod\"},\"image\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/recantha\/\",\"https:\/\/x.com\/recantha\",\"https:\/\/www.linkedin.com\/in\/recantha\/\",\"https:\/\/www.youtube.com\/channel\/UCK4F9blabxzmk8Inzhs8tpg\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/#\/schema\/person\/c27c4ef2ee1c18b130f1fcd5dcdbb263\",\"name\":\"Michael Horne\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/479778b0677caadde0ceb54c4129804ef674914607e3ed0998808148357d10d8?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/479778b0677caadde0ceb54c4129804ef674914607e3ed0998808148357d10d8?s=96&d=mm&r=g\",\"caption\":\"Michael Horne\"},\"url\":\"https:\/\/www.recantha.co.uk\/blog\/?author=1\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Serial communication between #RaspberryPi and #Arduino - Raspberry Pi Pod","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.recantha.co.uk\/blog\/?p=1621","og_locale":"en_US","og_type":"article","og_title":"Serial communication between #RaspberryPi and #Arduino - Raspberry Pi Pod","og_description":"Great little tutorial on powering an Arduino from the Pi&#8217;s 5V pin and also communicating via serial from the GPIO pins. Well worth a look if you want communication between the two to be faster. As the article points out,&hellip;Read more &rarr;","og_url":"https:\/\/www.recantha.co.uk\/blog\/?p=1621","og_site_name":"Raspberry Pi Pod","article_publisher":"https:\/\/www.facebook.com\/recantha\/","article_published_time":"2013-01-30T05:36:27+00:00","og_image":[{"url":"https:\/\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2013\/01\/ArduinoLogo1.gif","type":"","width":"","height":""}],"author":"Michael Horne","twitter_card":"summary_large_image","twitter_creator":"@recantha","twitter_site":"@recantha","twitter_misc":{"Written by":"Michael Horne"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.recantha.co.uk\/blog\/?p=1621#article","isPartOf":{"@id":"https:\/\/www.recantha.co.uk\/blog\/?p=1621"},"author":{"name":"Michael Horne","@id":"https:\/\/www.recantha.co.uk\/blog\/#\/schema\/person\/c27c4ef2ee1c18b130f1fcd5dcdbb263"},"headline":"Serial communication between #RaspberryPi and #Arduino","datePublished":"2013-01-30T05:36:27+00:00","mainEntityOfPage":{"@id":"https:\/\/www.recantha.co.uk\/blog\/?p=1621"},"wordCount":80,"commentCount":0,"publisher":{"@id":"https:\/\/www.recantha.co.uk\/blog\/#organization"},"articleSection":["Arduino","Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.recantha.co.uk\/blog\/?p=1621#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.recantha.co.uk\/blog\/?p=1621","url":"https:\/\/www.recantha.co.uk\/blog\/?p=1621","name":"Serial communication between #RaspberryPi and #Arduino - Raspberry Pi Pod","isPartOf":{"@id":"https:\/\/www.recantha.co.uk\/blog\/#website"},"datePublished":"2013-01-30T05:36:27+00:00","breadcrumb":{"@id":"https:\/\/www.recantha.co.uk\/blog\/?p=1621#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.recantha.co.uk\/blog\/?p=1621"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.recantha.co.uk\/blog\/?p=1621#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.recantha.co.uk\/blog"},{"@type":"ListItem","position":2,"name":"Serial communication between #RaspberryPi and #Arduino"}]},{"@type":"WebSite","@id":"https:\/\/www.recantha.co.uk\/blog\/#website","url":"https:\/\/www.recantha.co.uk\/blog\/","name":"Raspberry Pi Pod","description":"Experiences with the Raspberry Pi micro computer and microcontroller","publisher":{"@id":"https:\/\/www.recantha.co.uk\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.recantha.co.uk\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.recantha.co.uk\/blog\/#organization","name":"Raspberry Pi Pod","url":"https:\/\/www.recantha.co.uk\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.recantha.co.uk\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2016\/03\/cropped-PiPod-Logo-v3.png?fit=800%2C337&ssl=1","contentUrl":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2016\/03\/cropped-PiPod-Logo-v3.png?fit=800%2C337&ssl=1","width":800,"height":337,"caption":"Raspberry Pi Pod"},"image":{"@id":"https:\/\/www.recantha.co.uk\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/recantha\/","https:\/\/x.com\/recantha","https:\/\/www.linkedin.com\/in\/recantha\/","https:\/\/www.youtube.com\/channel\/UCK4F9blabxzmk8Inzhs8tpg"]},{"@type":"Person","@id":"https:\/\/www.recantha.co.uk\/blog\/#\/schema\/person\/c27c4ef2ee1c18b130f1fcd5dcdbb263","name":"Michael Horne","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.recantha.co.uk\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/479778b0677caadde0ceb54c4129804ef674914607e3ed0998808148357d10d8?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/479778b0677caadde0ceb54c4129804ef674914607e3ed0998808148357d10d8?s=96&d=mm&r=g","caption":"Michael Horne"},"url":"https:\/\/www.recantha.co.uk\/blog\/?author=1"}]}},"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p2RsaV-q9","jetpack-related-posts":[{"id":1986,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=1986","url_meta":{"origin":1621,"position":0},"title":"A look at #RaspberryPi to #Arduino communication libraries \/ @Raspberry_Pi","author":"Michael Horne","date":"8 February 2013","format":false,"excerpt":"I've been using pyFirmata to power my PiPodCorder project that uses a RaspberryPi and an Arduino to read a load of sensors and display them to an LCD screen. However, I've been noticing that there are a few alternatives. I'm going to try and do a little on-paper evaluation of\u2026","rel":"","context":"In &quot;Arduino&quot;","block_context":{"text":"Arduino","link":"https:\/\/www.recantha.co.uk\/blog\/?cat=55"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":5997,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=5997","url_meta":{"origin":1621,"position":1},"title":"Sensing a laser signal between the #RaspberryPi &#038; #Arduino","author":"Michael Horne","date":"18 September 2013","format":false,"excerpt":"Christian Perone has blogged about his experiments using a laser light emitted by an Arduino and a detection circuit using a light dependent resistor (LDR) with a Raspberry Pi. Raspberry Pi & Arduino: a laser pointer communication and a LDR voltage sigmoid | Pyevolve.","rel":"","context":"In &quot;Arduino&quot;","block_context":{"text":"Arduino","link":"https:\/\/www.recantha.co.uk\/blog\/?cat=55"},"img":{"alt_text":"Raspberry Pi & Arduino: a laser pointer communication and a LDR voltage sigmoid | Pyevolve","src":"\/blog\/wp-content\/uploads\/2013\/09\/laser_ldr_on-300x1011.jpg","width":350,"height":200},"classes":[]},{"id":1169,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=1169","url_meta":{"origin":1621,"position":2},"title":"Raspberry Pi and Arduino &#8211; thank you Dr Monk!","author":"Michael Horne","date":"3 January 2013","format":false,"excerpt":"Very informative post on Dr Monk's blog about connecting an Arduino to the Pi and reading serial information using Python. Helped me have a very successful evening getting a Hello World experiment working. Saved my Pi from the bin, too! Dr. Monk's DIY Electronics Blog: Raspberry Pi and Arduino.","rel":"","context":"In &quot;Arduino&quot;","block_context":{"text":"Arduino","link":"https:\/\/www.recantha.co.uk\/blog\/?cat=55"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":2102,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=2102","url_meta":{"origin":1621,"position":3},"title":"#RaspberryPi Serial Communication: What, Why, and a Touch of How","author":"Michael Horne","date":"9 February 2013","format":false,"excerpt":"Great article by Jeff Skinner on the various communications options on the Pi. Raspberry Pi Serial Communication: What, Why, and a Touch of How \u00ab Jeff's Skinner Box. There is more information (a lot of it of a technical nature) on serial comms at LavaLink.com.","rel":"","context":"In &quot;Arduino&quot;","block_context":{"text":"Arduino","link":"https:\/\/www.recantha.co.uk\/blog\/?cat=55"},"img":{"alt_text":"","src":"\/blog\/wp-content\/uploads\/2013\/02\/raspberry-pi1.jpeg","width":350,"height":200},"classes":[]},{"id":1978,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=1978","url_meta":{"origin":1621,"position":4},"title":"PiSerial #Arduino Communication Library from Code and Life","author":"Michael Horne","date":"8 February 2013","format":false,"excerpt":"Libraries for communicating between the Raspberry Pi and the Arduino are starting to become something of a fashion. And there's a new kid on the block: PiSerial. Read about\u00a0PiSerial on Code and Life. \u00a0","rel":"","context":"In &quot;Arduino&quot;","block_context":{"text":"Arduino","link":"https:\/\/www.recantha.co.uk\/blog\/?cat=55"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":5797,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=5797","url_meta":{"origin":1621,"position":5},"title":"Cheap wireless communication between a #RaspberryPi and an #Arduino","author":"Michael Horne","date":"7 September 2013","format":false,"excerpt":"Conor O'Neill has worked out how to get the Arduino and the Pi communicating wirelessly using some cheap nRF24L01+ modules. These things cost all of 1.26 Euros and seem like a great addition to your electronics kit. Read more here","rel":"","context":"In &quot;Arduino&quot;","block_context":{"text":"Arduino","link":"https:\/\/www.recantha.co.uk\/blog\/?cat=55"},"img":{"alt_text":"Arduino and Raspberry Pi communicating over 2.4GHz with cheap nRF24L01+ modules | Cross Dominant","src":"\/blog\/wp-content\/uploads\/2013\/09\/2013-09-07-15.34.49-1024x5561.jpg","width":350,"height":200,"srcset":"\/blog\/wp-content\/uploads\/2013\/09\/2013-09-07-15.34.49-1024x5561.jpg 1x, \/blog\/wp-content\/uploads\/2013\/09\/2013-09-07-15.34.49-1024x5561.jpg 1.5x, \/blog\/wp-content\/uploads\/2013\/09\/2013-09-07-15.34.49-1024x5561.jpg 2x"},"classes":[]}],"_links":{"self":[{"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1621","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1621"}],"version-history":[{"count":0,"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1621\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1621"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1621"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1621"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}