{"id":2890,"date":"2013-03-15T07:37:06","date_gmt":"2013-03-15T07:37:06","guid":{"rendered":"http:\/\/178.62.14.192\/?p=2890"},"modified":"2013-03-15T07:37:06","modified_gmt":"2013-03-15T07:37:06","slug":"controlling-a-slice-of-pio-with-python-on-the-raspberrypi","status":"publish","type":"post","link":"https:\/\/www.recantha.co.uk\/blog\/?p=2890","title":{"rendered":"Controlling a Slice of Pi\/O with Python on the #RaspberryPi"},"content":{"rendered":"<p style=\"text-align: center;\"><a href=\"http:\/\/raspberryalphaomega.org.uk\/?p=646\"><img src='\/blog\/wp-content\/uploads\/2013\/03\/IMG_5056__87876.1343390349.1280.12801.jpg' alt='Controlling a Slice of Pi\/O with Python | Raspberry Alpha Omega' \/><\/a><\/p>\n<p>Frank at Raspberry Alpha Omega has been experimenting with his Slice of Pi\/O board.\u00a0<a href=\"http:\/\/raspberryalphaomega.org.uk\/?p=646\">Read about his experiments here<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Frank at Raspberry Alpha Omega has been experimenting with his Slice of Pi\/O board.\u00a0Read about his experiments here<\/p>\n<p class=\"more-link-p\"><a class=\"more-link\" href=\"https:\/\/www.recantha.co.uk\/blog\/?p=2890\">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":[20],"tags":[],"class_list":["post-2890","post","type-post","status-publish","format-standard","hentry","category-gpio-boards"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Controlling a Slice of Pi\/O with Python on the #RaspberryPi - 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=2890\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Controlling a Slice of Pi\/O with Python on the #RaspberryPi - Raspberry Pi Pod\" \/>\n<meta property=\"og:description\" content=\"Frank at Raspberry Alpha Omega has been experimenting with his Slice of Pi\/O board.\u00a0Read about his experiments hereRead more &rarr;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.recantha.co.uk\/blog\/?p=2890\" \/>\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-03-15T07:37:06+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2013\/03\/IMG_5056__87876.1343390349.1280.12801.jpg\" \/>\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=2890#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=2890\"},\"author\":{\"name\":\"Michael Horne\",\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/#\/schema\/person\/c27c4ef2ee1c18b130f1fcd5dcdbb263\"},\"headline\":\"Controlling a Slice of Pi\/O with Python on the #RaspberryPi\",\"datePublished\":\"2013-03-15T07:37:06+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=2890\"},\"wordCount\":31,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/#organization\"},\"articleSection\":[\"GPIO boards\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.recantha.co.uk\/blog\/?p=2890#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=2890\",\"url\":\"https:\/\/www.recantha.co.uk\/blog\/?p=2890\",\"name\":\"Controlling a Slice of Pi\/O with Python on the #RaspberryPi - Raspberry Pi Pod\",\"isPartOf\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/#website\"},\"datePublished\":\"2013-03-15T07:37:06+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=2890#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.recantha.co.uk\/blog\/?p=2890\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=2890#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.recantha.co.uk\/blog\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Controlling a Slice of Pi\/O with Python on the #RaspberryPi\"}]},{\"@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":"Controlling a Slice of Pi\/O with Python on the #RaspberryPi - 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=2890","og_locale":"en_US","og_type":"article","og_title":"Controlling a Slice of Pi\/O with Python on the #RaspberryPi - Raspberry Pi Pod","og_description":"Frank at Raspberry Alpha Omega has been experimenting with his Slice of Pi\/O board.\u00a0Read about his experiments hereRead more &rarr;","og_url":"https:\/\/www.recantha.co.uk\/blog\/?p=2890","og_site_name":"Raspberry Pi Pod","article_publisher":"https:\/\/www.facebook.com\/recantha\/","article_published_time":"2013-03-15T07:37:06+00:00","og_image":[{"url":"https:\/\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2013\/03\/IMG_5056__87876.1343390349.1280.12801.jpg","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=2890#article","isPartOf":{"@id":"https:\/\/www.recantha.co.uk\/blog\/?p=2890"},"author":{"name":"Michael Horne","@id":"https:\/\/www.recantha.co.uk\/blog\/#\/schema\/person\/c27c4ef2ee1c18b130f1fcd5dcdbb263"},"headline":"Controlling a Slice of Pi\/O with Python on the #RaspberryPi","datePublished":"2013-03-15T07:37:06+00:00","mainEntityOfPage":{"@id":"https:\/\/www.recantha.co.uk\/blog\/?p=2890"},"wordCount":31,"commentCount":0,"publisher":{"@id":"https:\/\/www.recantha.co.uk\/blog\/#organization"},"articleSection":["GPIO boards"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.recantha.co.uk\/blog\/?p=2890#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.recantha.co.uk\/blog\/?p=2890","url":"https:\/\/www.recantha.co.uk\/blog\/?p=2890","name":"Controlling a Slice of Pi\/O with Python on the #RaspberryPi - Raspberry Pi Pod","isPartOf":{"@id":"https:\/\/www.recantha.co.uk\/blog\/#website"},"datePublished":"2013-03-15T07:37:06+00:00","breadcrumb":{"@id":"https:\/\/www.recantha.co.uk\/blog\/?p=2890#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.recantha.co.uk\/blog\/?p=2890"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.recantha.co.uk\/blog\/?p=2890#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.recantha.co.uk\/blog"},{"@type":"ListItem","position":2,"name":"Controlling a Slice of Pi\/O with Python on the #RaspberryPi"}]},{"@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-KC","jetpack-related-posts":[{"id":4678,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=4678","url_meta":{"origin":2890,"position":0},"title":"Product review: a Slice of Pi for #RaspberryPi","author":"Michael Horne","date":"17 June 2013","format":false,"excerpt":"Oxford-based Peter Haban has done a mini-review of the Slice of Pi GPIO breakout board. Seems like a very useful little board.\u00a0Read the review","rel":"","context":"In &quot;GPIO boards&quot;","block_context":{"text":"GPIO boards","link":"https:\/\/www.recantha.co.uk\/blog\/?cat=20"},"img":{"alt_text":"Product review \u2013 A Slice of Pi | Raspberry Pi-oneer","src":"\/blog\/wp-content\/uploads\/2013\/06\/2-1024x7681.jpg","width":350,"height":200,"srcset":"\/blog\/wp-content\/uploads\/2013\/06\/2-1024x7681.jpg 1x, \/blog\/wp-content\/uploads\/2013\/06\/2-1024x7681.jpg 1.5x, \/blog\/wp-content\/uploads\/2013\/06\/2-1024x7681.jpg 2x"},"classes":[]},{"id":5574,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=5574","url_meta":{"origin":2890,"position":1},"title":"Wireless Serial Communication with the #RaspberryPi &#8211; Part 1","author":"Michael Horne","date":"28 August 2013","format":false,"excerpt":"A blog post on A Slice of Raspberry Pi details how to set-up the Pi end of a wireless serial link. It uses the Slice of Pi GPIO board to do this. The second part, which shows how to set-up the client end of the system, is available here. Read\u2026","rel":"","context":"In &quot;Home automation&quot;","block_context":{"text":"Home automation","link":"https:\/\/www.recantha.co.uk\/blog\/?cat=25"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":12920,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=12920","url_meta":{"origin":2890,"position":2},"title":"Review of the Slice media player, powered by Raspberry Pi","author":"Michael Horne","date":"12 July 2015","format":false,"excerpt":"Sandy Macdonald has written a comprehensive review of his recently-arrived Raspberry Pi-powered media player, the Slice. The Slice was created by Five Ninjas and inside has a Raspberry Pi Compute Module which runs OpenElec and Kodi. You can read the review here. It's extremely positive with a few minor caveats.\u2026","rel":"","context":"In &quot;Compute Module&quot;","block_context":{"text":"Compute Module","link":"https:\/\/www.recantha.co.uk\/blog\/?cat=12"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/sandyjmacdonald.github.io\/assets\/slice_inside.jpg?resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/sandyjmacdonald.github.io\/assets\/slice_inside.jpg?resize=350%2C200 1x, https:\/\/i0.wp.com\/sandyjmacdonald.github.io\/assets\/slice_inside.jpg?resize=525%2C300 1.5x, https:\/\/i0.wp.com\/sandyjmacdonald.github.io\/assets\/slice_inside.jpg?resize=700%2C400 2x, https:\/\/i0.wp.com\/sandyjmacdonald.github.io\/assets\/slice_inside.jpg?resize=1050%2C600 3x"},"classes":[]},{"id":2196,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=2196","url_meta":{"origin":2890,"position":3},"title":"Farnell offers Slice of Pi and Humble Pi boards","author":"Michael Horne","date":"12 February 2013","format":false,"excerpt":"Farnell\/CPC are now selling these prototyping boards for \u00a34.09 each with free delivery if orders are placed online. Buy\u00a0Slice of Pi Buy\u00a0Humble Pi","rel":"","context":"In &quot;GPIO boards&quot;","block_context":{"text":"GPIO boards","link":"https:\/\/www.recantha.co.uk\/blog\/?cat=20"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":13807,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=13807","url_meta":{"origin":2890,"position":4},"title":"Slice: the story behind the Raspberry Pi media player","author":"Michael Horne","date":"1 December 2015","format":false,"excerpt":"The \"FiveNinjas\" (James Adams and Gordon Hollingworth from Raspberry Pi, Jonathan Williamson and Paul Beech of Pimoroni, and Mo Volans) have written an excellent blog post over at the Raspberry Pi Foundation in which they describe the trials and tribulations of getting the Slice media player to market using the\u2026","rel":"","context":"In &quot;Accessories&quot;","block_context":{"text":"Accessories","link":"https:\/\/www.recantha.co.uk\/blog\/?cat=54"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.raspberrypi.org\/wp-content\/uploads\/2015\/11\/IMG_5687-500x333.jpg?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":12205,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=12205","url_meta":{"origin":2890,"position":5},"title":"Slice media player powered by Raspberry Pi Compute Module starts shipping","author":"Michael Horne","date":"16 March 2015","format":false,"excerpt":"Following months of development, the Slice media player has started to ship to Kickstarter backers. It was announced on the Raspberry Pi blog that 1500 Slice kits were being assembled for delivery to backers and that a further 1500 were available for purchase from the\u00a0FiveNinjas store. You can read more\u2026","rel":"","context":"In &quot;Compute Module&quot;","block_context":{"text":"Compute Module","link":"https:\/\/www.recantha.co.uk\/blog\/?cat=12"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.raspberrypi.org\/wp-content\/uploads\/2015\/03\/slices-3colours-500x334.jpg?resize=350%2C200","width":350,"height":200},"classes":[]}],"_links":{"self":[{"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/posts\/2890","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=2890"}],"version-history":[{"count":0,"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/posts\/2890\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2890"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2890"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2890"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}