{"id":1103,"date":"2012-12-27T15:34:54","date_gmt":"2012-12-27T15:34:54","guid":{"rendered":"http:\/\/178.62.14.192\/?p=1103"},"modified":"2012-12-27T15:34:54","modified_gmt":"2012-12-27T15:34:54","slug":"linking-arduino-to-the-raspberry-pi","status":"publish","type":"post","link":"https:\/\/www.recantha.co.uk\/blog\/?p=1103","title":{"rendered":"Linking Arduino to the Raspberry Pi"},"content":{"rendered":"<p><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"alignleft\" alt=\"\" src=\"https:\/\/i0.wp.com\/www.mouser.com\/images\/suppliers\/ArduinoLogo.gif?resize=200%2C139\" width=\"200\" height=\"139\" \/>I own, thanks to a competition, a Dreamer Nano v4. This is a micro clone of an Arduino Leonardo.<\/p>\n<p>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 on X Windows, I&#8217;m not a great fan of the Arduino IDE. I find it tends to crash horribly when you upload and then use the serial monitor. So, I&#8217;ve decided to get the Arduino working over USB via the command line.<\/p>\n<p>Here&#8217;s the steps I took. Remember, this is\u00a0<em>my<\/em> experience. Your mileage may vary if you are not using a Leonardo, or if you have different things installed.<\/p>\n<p>Python should already be installed on your Pi.<\/p>\n<p>For using an Arduino over the command line, I use something called &#8216;ino&#8217;. Visit <a href=\"http:\/\/inotool.org\/\">http:\/\/inotool.org<\/a> to find out more. Suffice to say, ino makes it a lot easier to compile your code and transfer it to your Arduino.<\/p>\n<p>ino requires you to install something called picocom. So:<\/p>\n<p><strong>apt-get install picocom<\/strong><\/p>\n<p>You will also need to make sure you have a couple of Python libraries installed:<\/p>\n<p><strong>apt-get install python-pip<br \/>\n<\/strong><strong>easy-install configobj<br \/>\n<\/strong><strong>easy-install jinja2<\/strong><\/p>\n<p>If the last one doesn&#8217;t work (the website that hosts it was down when I tried). So, I found this webpage:\u00a0http:\/\/pypi.python.org\/pypi\/Jinja2 and then got and installed it manually:<\/p>\n<p><strong>wget http:\/\/pypi.python.org\/packages\/source\/J\/Jinja2\/Jinja2-2.6.tar.gz#md5=1c49a8825c993bfdcf55bb36897d28a2<\/strong><br \/>\n<strong>cd Jinja2-2-6<\/strong><br \/>\n<strong>make<\/strong><br \/>\n<strong>python setup.py install<\/strong><\/p>\n<p>Now install ino itself:<\/p>\n<p><strong>easy_install ino<\/strong><\/p>\n<p>Now that lot&#8217;s done, I can create a new sketch. It has to be a new sketch as the ino commands fail if the folder is not empty.<\/p>\n<p>So&#8230; create a folder then initialise it using ino.<\/p>\n<p><strong>mkdir tester<\/strong><br \/>\n<strong>cd tester<\/strong><br \/>\n<strong>ino init<\/strong><\/p>\n<p>I added my sketch to the src folder.<\/p>\n<p>Now, in order for me to build the uploadable file, I need to set up a new file called\u00a0<strong>ino.ini<\/strong>. This lets you configure the board you&#8217;re coding for and the port it&#8217;s on. Into ino.ini, I added:<\/p>\n<p><strong>board-model = leonardo<\/strong><br \/>\n<strong>serial-port = \/dev\/ttyACM0<\/strong><\/p>\n<p>Then, to build I typed:<\/p>\n<p><strong>ino build<\/strong><\/p>\n<p>The first time this is run, a few other files get built too, so don&#8217;t worry about that. Hopefully, it will happen without error like it did with me.<\/p>\n<p>Then you transfer it to the Arduino:<\/p>\n<p><strong>ino upload<\/strong><\/p>\n<p>Next you want to monitor the serial line:<\/p>\n<p><strong>ino serial<\/strong><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>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&hellip;<\/p>\n<p class=\"more-link-p\"><a class=\"more-link\" href=\"https:\/\/www.recantha.co.uk\/blog\/?p=1103\">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-1103","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>Linking Arduino to the 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=1103\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Linking Arduino to the Raspberry Pi - Raspberry Pi Pod\" \/>\n<meta property=\"og:description\" content=\"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&hellip;Read more &rarr;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.recantha.co.uk\/blog\/?p=1103\" \/>\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=\"2012-12-27T15:34:54+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/www.mouser.com\/images\/suppliers\/ArduinoLogo.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\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 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=1103#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=1103\"},\"author\":{\"name\":\"Michael Horne\",\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/#\/schema\/person\/c27c4ef2ee1c18b130f1fcd5dcdbb263\"},\"headline\":\"Linking Arduino to the Raspberry Pi\",\"datePublished\":\"2012-12-27T15:34:54+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=1103\"},\"wordCount\":438,\"commentCount\":6,\"publisher\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=1103#primaryimage\"},\"thumbnailUrl\":\"http:\/\/www.mouser.com\/images\/suppliers\/ArduinoLogo.gif\",\"articleSection\":[\"Arduino\",\"Tutorials\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.recantha.co.uk\/blog\/?p=1103#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=1103\",\"url\":\"https:\/\/www.recantha.co.uk\/blog\/?p=1103\",\"name\":\"Linking Arduino to the Raspberry Pi - Raspberry Pi Pod\",\"isPartOf\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=1103#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=1103#primaryimage\"},\"thumbnailUrl\":\"http:\/\/www.mouser.com\/images\/suppliers\/ArduinoLogo.gif\",\"datePublished\":\"2012-12-27T15:34:54+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=1103#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.recantha.co.uk\/blog\/?p=1103\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=1103#primaryimage\",\"url\":\"http:\/\/www.mouser.com\/images\/suppliers\/ArduinoLogo.gif\",\"contentUrl\":\"http:\/\/www.mouser.com\/images\/suppliers\/ArduinoLogo.gif\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=1103#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.recantha.co.uk\/blog\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Linking Arduino to the 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":"Linking Arduino to the 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=1103","og_locale":"en_US","og_type":"article","og_title":"Linking Arduino to the Raspberry Pi - Raspberry Pi Pod","og_description":"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&hellip;Read more &rarr;","og_url":"https:\/\/www.recantha.co.uk\/blog\/?p=1103","og_site_name":"Raspberry Pi Pod","article_publisher":"https:\/\/www.facebook.com\/recantha\/","article_published_time":"2012-12-27T15:34:54+00:00","og_image":[{"url":"http:\/\/www.mouser.com\/images\/suppliers\/ArduinoLogo.gif","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":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.recantha.co.uk\/blog\/?p=1103#article","isPartOf":{"@id":"https:\/\/www.recantha.co.uk\/blog\/?p=1103"},"author":{"name":"Michael Horne","@id":"https:\/\/www.recantha.co.uk\/blog\/#\/schema\/person\/c27c4ef2ee1c18b130f1fcd5dcdbb263"},"headline":"Linking Arduino to the Raspberry Pi","datePublished":"2012-12-27T15:34:54+00:00","mainEntityOfPage":{"@id":"https:\/\/www.recantha.co.uk\/blog\/?p=1103"},"wordCount":438,"commentCount":6,"publisher":{"@id":"https:\/\/www.recantha.co.uk\/blog\/#organization"},"image":{"@id":"https:\/\/www.recantha.co.uk\/blog\/?p=1103#primaryimage"},"thumbnailUrl":"http:\/\/www.mouser.com\/images\/suppliers\/ArduinoLogo.gif","articleSection":["Arduino","Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.recantha.co.uk\/blog\/?p=1103#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.recantha.co.uk\/blog\/?p=1103","url":"https:\/\/www.recantha.co.uk\/blog\/?p=1103","name":"Linking Arduino to the Raspberry Pi - Raspberry Pi Pod","isPartOf":{"@id":"https:\/\/www.recantha.co.uk\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.recantha.co.uk\/blog\/?p=1103#primaryimage"},"image":{"@id":"https:\/\/www.recantha.co.uk\/blog\/?p=1103#primaryimage"},"thumbnailUrl":"http:\/\/www.mouser.com\/images\/suppliers\/ArduinoLogo.gif","datePublished":"2012-12-27T15:34:54+00:00","breadcrumb":{"@id":"https:\/\/www.recantha.co.uk\/blog\/?p=1103#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.recantha.co.uk\/blog\/?p=1103"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.recantha.co.uk\/blog\/?p=1103#primaryimage","url":"http:\/\/www.mouser.com\/images\/suppliers\/ArduinoLogo.gif","contentUrl":"http:\/\/www.mouser.com\/images\/suppliers\/ArduinoLogo.gif"},{"@type":"BreadcrumbList","@id":"https:\/\/www.recantha.co.uk\/blog\/?p=1103#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.recantha.co.uk\/blog"},{"@type":"ListItem","position":2,"name":"Linking Arduino to the 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-hN","jetpack-related-posts":[{"id":1180,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=1180","url_meta":{"origin":1103,"position":0},"title":"Measure temperature with Arduino and MCP9700","author":"Michael Horne","date":"4 January 2013","format":false,"excerpt":"Found a useful tutorial on using this tiny temperature sensor with the Arduino. Using the Raspberry Pi to program the Arduino using 'ino' and then monitoring the serial output with 'ino serial', I got a temperature reading and the whole thing, including wiring up, took me less than 15 minutes!\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":5461,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=5461","url_meta":{"origin":1103,"position":1},"title":"New edition of The MagPi (August 2013) for the #RaspberryPi","author":"Michael Horne","date":"3 August 2013","format":false,"excerpt":"This month's MagPi is out and contains the following articles: Using Nanpy to connect your Raspberry Pi to an Arduino Using the Ino command line toolkit to do command line Arduino programming. Advanced operation of the camera module Timekeeping with a real-time clock Part 3 of the Pi Matrix series\u2026","rel":"","context":"In &quot;Magazines&quot;","block_context":{"text":"Magazines","link":"https:\/\/www.recantha.co.uk\/blog\/?cat=29"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":2547,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=2547","url_meta":{"origin":1103,"position":2},"title":"Using a HMC5883L magnetometer\/compass with the #RaspberryPi","author":"Michael Horne","date":"2 March 2013","format":false,"excerpt":"This blog post describes getting an HMC5883L magnetic compass sensor to work with a Raspberry Pi. The pictures below show the sensor breakout board in question. For Arduino Leonardo If you do not have an Arduino, or just want the instructions for the Raspberry Pi, please skip this section. I\u2026","rel":"","context":"In &quot;Arduino&quot;","block_context":{"text":"Arduino","link":"https:\/\/www.recantha.co.uk\/blog\/?cat=55"},"img":{"alt_text":"P1370736","src":"\/blog\/wp-content\/uploads\/2013\/03\/P13707361-300x270.jpg","width":350,"height":200},"classes":[]},{"id":1621,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=1621","url_meta":{"origin":1103,"position":3},"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":18711,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=18711","url_meta":{"origin":1103,"position":4},"title":"Bringing together darts and an online game with a Raspberry Pi and an Arduino","author":"Michael Horne","date":"5 April 2018","format":false,"excerpt":"An Imgur user and his brother have built a dartboard scorer surround and inside is buried a Raspberry Pi. Button presses to keep track of the score are detected by an Arduino Leonardo and these are then fed into a Pi which translates them into calls which keep track 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":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2018\/04\/dart_board.jpg?fit=900%2C1200&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2018\/04\/dart_board.jpg?fit=900%2C1200&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2018\/04\/dart_board.jpg?fit=900%2C1200&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2018\/04\/dart_board.jpg?fit=900%2C1200&ssl=1&resize=700%2C400 2x"},"classes":[]},{"id":1169,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=1169","url_meta":{"origin":1103,"position":5},"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":[]}],"_links":{"self":[{"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1103","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=1103"}],"version-history":[{"count":0,"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1103\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1103"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1103"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1103"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}