{"id":1986,"date":"2013-02-08T10:01:38","date_gmt":"2013-02-08T10:01:38","guid":{"rendered":"http:\/\/178.62.14.192\/?p=1986"},"modified":"2013-02-08T10:01:38","modified_gmt":"2013-02-08T10:01:38","slug":"a-look-at-raspberrypi-to-arduino-communication-libraries-raspberry_pi","status":"publish","type":"post","link":"https:\/\/www.recantha.co.uk\/blog\/?p=1986","title":{"rendered":"A look at #RaspberryPi to #Arduino communication libraries \/ @Raspberry_Pi"},"content":{"rendered":"<p><a href=\"http:\/\/codeandlife.com\/2013\/02\/03\/piserial-arduino-communication-library\/\"><img decoding=\"async\" class=\"alignleft\" alt=\"Code and Life \u2013 PiSerial Arduino Communication Library\" src=\"\/blog\/wp-content\/uploads\/2013\/02\/rbpi-arduino1.png\" \/><\/a><\/p>\n<p>I&#8217;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&#8217;ve been noticing that there are a few alternatives. I&#8217;m going to try and do a little on-paper evaluation of the three I&#8217;ve found so far.<\/p>\n<p><strong>Warning: This might be a little rambling.<\/strong><\/p>\n<p>First of all, there is\u00a0<a href=\"https:\/\/github.com\/tino\/pyFirmata\">pyFirmata\u00a0<\/a>which relies on the StandardFirmata sketch (or other sketch) being uploaded to the Arduino. pyFirmata is easy enough to use as it&#8217;s a Python library on the Pi. It also has the advantage of being a standard sketch issued with the Arduino IDE. The one issue I find with the Firmata sketch on the Arduino is that it does some weird-arse conversions between digital and analog readings. Take a sensor reading. As I understand it, normally on the Arduino a reading is taken from 0-1023. However, Firmata then converts this to a figure from 0-1. Which means that you then have to re-convert it on the Pi if you want the original reading. Obviously, 0-1 gives you a handy percentage reading, but I&#8217;d much rather do that conversion myself on the Pi.<\/p>\n<p>Secondly, there&#8217;s\u00a0<a href=\"http:\/\/178.62.14.192\/?p=1899\">nanpy<\/a>. I <a href=\"http:\/\/178.62.14.192\/?p=1899\">covered it previously<\/a> but have not yet used it. There is a firmware side and a client-side for the Pi, but it is not fully developed yet and it&#8217;s slightly unclear as to what it offers apart from the basics. Of course, the &#8220;basics&#8221; are what I will be using, so I&#8217;m going to give it a go!<\/p>\n<p>And now, there&#8217;s\u00a0<a href=\"http:\/\/codeandlife.com\/2013\/02\/03\/piserial-arduino-communication-library\/\">PiSerial<\/a>. PiSerial is interesting because it&#8217;s not a fully-fledged library. There&#8217;s no client-side at the moment (although the author is working on a Python implementation) and it&#8217;s basically a parser that sits on the Arduino waiting for commands over the serial line. Now, I&#8217;m not sure how efficient this is. The author of PiSerial says that Firmata communicates using binary, whereas PiSerial is (as the name infers) strictly text-based over the Serial line. I&#8217;m not so sure this is a big problem in terms of performance. The pyFirmata library must communicate over serial, as there is no other way of communicating between the Pi and the Arduino, it&#8217;s just the format of the commands that differs, I would have thought. In fact, thinking about it, if Firmata\u00a0<em>does<\/em>\u00a0use binary, there must be a fair amount of packing and unpacking of the commands on both sides&#8230; which surely must introduce overhead.\u00a0<strong>Anyway<\/strong>, I haven&#8217;t got the tools and ability to test out that overhead yet, so I&#8217;m hoping Code and Life will do this in time.<br \/>\nThe most important difference between Firmata and PiSerial, however, is that\u00a0<em>you control the code on the Arduino<\/em>. That&#8217;s right: the PiSerial is merely a framework on which you hang your own command parser. I don&#8217;t want to replicate all the text from Code and Life here, so I suggest you\u00a0<a href=\"http:\/\/codeandlife.com\/2013\/02\/03\/piserial-arduino-communication-library\/\">read it yourself to find out how the communication is achieved<\/a>.<\/p>\n<p>In summary, Firmata is quite a beast for what I want it to do for the PiPodCorder project. Essentially, all I want it to do is to do sensor readings and I&#8217;m not sure that it&#8217;s the best solution for that, what with the 0-1023 conversion it does. So, I think I will try to convert my PiPodCorder Python code to use nanpy and then, when the client-side is written on PiSerial, try that as well. Hopefully that will give me an insight into which one is &#8216;best&#8217; for my needs and which one is more educational\/interesting to use.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;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&#8217;ve been noticing that there are a few alternatives. I&#8217;m&hellip;<\/p>\n<p class=\"more-link-p\"><a class=\"more-link\" href=\"https:\/\/www.recantha.co.uk\/blog\/?p=1986\">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,22,37,39],"tags":[],"class_list":["post-1986","post","type-post","status-publish","format-standard","hentry","category-arduino","category-geeky-techiness","category-picorder","category-programming"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>A look at #RaspberryPi to #Arduino communication libraries \/ @Raspberry_Pi - 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=1986\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"A look at #RaspberryPi to #Arduino communication libraries \/ @Raspberry_Pi - Raspberry Pi Pod\" \/>\n<meta property=\"og:description\" content=\"I&#8217;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&#8217;ve been noticing that there are a few alternatives. I&#8217;m&hellip;Read more &rarr;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.recantha.co.uk\/blog\/?p=1986\" \/>\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-02-08T10:01:38+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2013\/02\/rbpi-arduino1.png\" \/>\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\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\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=1986#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=1986\"},\"author\":{\"name\":\"Michael Horne\",\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/#\/schema\/person\/c27c4ef2ee1c18b130f1fcd5dcdbb263\"},\"headline\":\"A look at #RaspberryPi to #Arduino communication libraries \/ @Raspberry_Pi\",\"datePublished\":\"2013-02-08T10:01:38+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=1986\"},\"wordCount\":636,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/#organization\"},\"articleSection\":[\"Arduino\",\"Geeky Techiness\",\"Picorder\",\"Programming\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.recantha.co.uk\/blog\/?p=1986#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=1986\",\"url\":\"https:\/\/www.recantha.co.uk\/blog\/?p=1986\",\"name\":\"A look at #RaspberryPi to #Arduino communication libraries \/ @Raspberry_Pi - Raspberry Pi Pod\",\"isPartOf\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/#website\"},\"datePublished\":\"2013-02-08T10:01:38+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=1986#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.recantha.co.uk\/blog\/?p=1986\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=1986#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.recantha.co.uk\/blog\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"A look at #RaspberryPi to #Arduino communication libraries \/ @Raspberry_Pi\"}]},{\"@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":"A look at #RaspberryPi to #Arduino communication libraries \/ @Raspberry_Pi - 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=1986","og_locale":"en_US","og_type":"article","og_title":"A look at #RaspberryPi to #Arduino communication libraries \/ @Raspberry_Pi - Raspberry Pi Pod","og_description":"I&#8217;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&#8217;ve been noticing that there are a few alternatives. I&#8217;m&hellip;Read more &rarr;","og_url":"https:\/\/www.recantha.co.uk\/blog\/?p=1986","og_site_name":"Raspberry Pi Pod","article_publisher":"https:\/\/www.facebook.com\/recantha\/","article_published_time":"2013-02-08T10:01:38+00:00","og_image":[{"url":"https:\/\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2013\/02\/rbpi-arduino1.png","type":"","width":"","height":""}],"author":"Michael Horne","twitter_card":"summary_large_image","twitter_creator":"@recantha","twitter_site":"@recantha","twitter_misc":{"Written by":"Michael Horne","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.recantha.co.uk\/blog\/?p=1986#article","isPartOf":{"@id":"https:\/\/www.recantha.co.uk\/blog\/?p=1986"},"author":{"name":"Michael Horne","@id":"https:\/\/www.recantha.co.uk\/blog\/#\/schema\/person\/c27c4ef2ee1c18b130f1fcd5dcdbb263"},"headline":"A look at #RaspberryPi to #Arduino communication libraries \/ @Raspberry_Pi","datePublished":"2013-02-08T10:01:38+00:00","mainEntityOfPage":{"@id":"https:\/\/www.recantha.co.uk\/blog\/?p=1986"},"wordCount":636,"commentCount":0,"publisher":{"@id":"https:\/\/www.recantha.co.uk\/blog\/#organization"},"articleSection":["Arduino","Geeky Techiness","Picorder","Programming"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.recantha.co.uk\/blog\/?p=1986#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.recantha.co.uk\/blog\/?p=1986","url":"https:\/\/www.recantha.co.uk\/blog\/?p=1986","name":"A look at #RaspberryPi to #Arduino communication libraries \/ @Raspberry_Pi - Raspberry Pi Pod","isPartOf":{"@id":"https:\/\/www.recantha.co.uk\/blog\/#website"},"datePublished":"2013-02-08T10:01:38+00:00","breadcrumb":{"@id":"https:\/\/www.recantha.co.uk\/blog\/?p=1986#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.recantha.co.uk\/blog\/?p=1986"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.recantha.co.uk\/blog\/?p=1986#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.recantha.co.uk\/blog"},{"@type":"ListItem","position":2,"name":"A look at #RaspberryPi to #Arduino communication libraries \/ @Raspberry_Pi"}]},{"@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-w2","jetpack-related-posts":[{"id":5717,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=5717","url_meta":{"origin":1986,"position":0},"title":"New expansion board for #RaspberryPi announced by Element14 &#8211; chipKIT Pi","author":"Michael Horne","date":"4 September 2013","format":false,"excerpt":"Just saw this on the blogosphere so thought I'd share it. Element 14\/Farnell have just announced that they're asking for people to register interest in a new product. I'll just copy-paste in from their site: chipKIT\u2122 Pi (Designed for Raspberry Pi) is the latest Arduino\u2122 compatible chipKIT\u2122 platform from Microchip\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":1103,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=1103","url_meta":{"origin":1986,"position":1},"title":"Linking Arduino to the Raspberry Pi","author":"Michael Horne","date":"27 December 2012","format":false,"excerpt":"I own, thanks to a competition, a Dreamer Nano v4. This is a micro clone of an Arduino Leonardo. Having tried to get the Arduino IDE running on Windows 7 64-bit and failed with the serial monitor part, I decided to switch my development effort to the Raspberry Pi. Even\u2026","rel":"","context":"In &quot;Arduino&quot;","block_context":{"text":"Arduino","link":"https:\/\/www.recantha.co.uk\/blog\/?cat=55"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.mouser.com\/images\/suppliers\/ArduinoLogo.gif?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":11048,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=11048","url_meta":{"origin":1986,"position":2},"title":"Use Firmata to communicate with an Arduino from a Raspberry Pi","author":"Michael Horne","date":"21 September 2014","format":false,"excerpt":"Here's a great tutorial, and accompanying video (see below), from \"Android Eric\" in which he describes how to use the Firmata sketch on an Arduino and a python library on the Raspberry Pi.","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":1951,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=1951","url_meta":{"origin":1986,"position":3},"title":"A Guide to the #Arduino by guru Ben Heck with notes from me!","author":"Michael Horne","date":"7 February 2013","format":false,"excerpt":"In this video, electronics guru Ben Heck\u00a0examines and explains the Arduino including Outputs, Inputs, PWM and Analog Input. You can view the video below, but I suggest reading the next bit for some background and hints. I recommend watching from the 1 minute mark as the beginning is an intro\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":1621,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=1621","url_meta":{"origin":1986,"position":4},"title":"Serial communication between #RaspberryPi and #Arduino","author":"Michael Horne","date":"30 January 2013","format":false,"excerpt":"Great little tutorial on powering an Arduino from the Pi'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,\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":3641,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=3641","url_meta":{"origin":1986,"position":5},"title":"Arduino-controlled #RaspberryPi speech synthesizer","author":"Michael Horne","date":"18 April 2013","format":false,"excerpt":"Phillipines-based Kuya Marc has teamed up an Arduino with a Raspberry Pi to make an Arduino-controlled speak synthesiser. 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":"","src":"","width":0,"height":0},"classes":[]}],"_links":{"self":[{"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1986","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=1986"}],"version-history":[{"count":0,"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1986\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1986"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1986"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1986"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}