{"id":19358,"date":"2019-02-13T18:49:45","date_gmt":"2019-02-13T17:49:45","guid":{"rendered":"https:\/\/www.recantha.co.uk\/blog\/?p=19358"},"modified":"2019-02-13T19:06:21","modified_gmt":"2019-02-13T18:06:21","slug":"raspberry-pi-physical-computing-library-gpio-zero-gets-an-upgrade-to-v1-5-includes-physical-pin-numbering","status":"publish","type":"post","link":"https:\/\/www.recantha.co.uk\/blog\/?p=19358","title":{"rendered":"Raspberry Pi physical computing library GPIO Zero gets an upgrade to v1.5 &#8211; includes physical pin numbering!"},"content":{"rendered":"<p><a href=\"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2019\/02\/gpio_zero_v15.jpg?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-19359\" src=\"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2019\/02\/gpio_zero_v15.jpg?resize=560%2C420&#038;ssl=1\" alt=\"\" width=\"560\" height=\"420\" srcset=\"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2019\/02\/gpio_zero_v15.jpg?w=768&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2019\/02\/gpio_zero_v15.jpg?resize=300%2C225&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2019\/02\/gpio_zero_v15.jpg?resize=560%2C420&amp;ssl=1 560w, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2019\/02\/gpio_zero_v15.jpg?resize=260%2C195&amp;ssl=1 260w, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2019\/02\/gpio_zero_v15.jpg?resize=160%2C120&amp;ssl=1 160w\" sizes=\"auto, (max-width: 560px) 100vw, 560px\" \/><\/a><\/p>\n<p>Ben Nuttall over at Raspberry Pi has <a href=\"https:\/\/www.raspberrypi.org\/blog\/gpio-zero-v1-5\/\" target=\"_blank\" rel=\"noopener\">announced<\/a> the release of GPIO Zero 1.5. This is a significant release and includes several enhancements.<\/p>\n<ul>\n<li>Improvements to the <code>DistanceSensor<\/code> class giving more accurate and reliable readings.<\/li>\n<li>Improvements to the source\/value functionality meaning you could just do: <code>led.source = button<\/code> to have a button activate an LED.<\/li>\n<li>Improvements to the pinout command so you can pass the -x or &#8211;xyz argument to show the <a href=\"https:\/\/pinout.xyz\" target=\"_blank\" rel=\"noopener\">pinout.xyz<\/a> website in your browser.<\/li>\n<li>Support for more boards, including <a href=\"https:\/\/www.modmypi.com\/jam-hat\" target=\"_blank\" rel=\"noopener\">Jam HAT<\/a>, PumpkinPi, PiHutXmasTree and TonalBuzzer classes.<\/li>\n<li>Better handling of accidents.<\/li>\n<li>Support for\u00a0<strong>physical pins<\/strong>. This is something several of us have championed for a while. It&#8217;s not\u00a0<em>perfect<\/em> but it does solve the problem in terms of specifying pins for inputs and outputs. To use physical pin numbering, just use the <code>BOARD<\/code> prefix when defining pin usage. For example, instead of <code>led = LED(17)<\/code>, you would do <code>led = LED('BOARD11')<\/code>. Note the quotes round the BOARD declaration &#8211; they&#8217;re important! There is also support for the WiringPi way of numbering &#8211; use the prefix WP.<br \/>\nThis is very welcome, so thanks Ben and Dave for listening to the community! \ud83d\ude42<\/li>\n<\/ul>\n<p>You can upgrade to the latest version by putting the following commands into a Terminal on your Raspberry Pi:<\/p>\n<pre>sudo apt update\r\nsudo apt install python3-gpiozero python-gpiozero<\/pre>\n<p>If you still haven&#8217;t started to use GPIO Zero and want to see what the differences are between RPi.GPIO and this newer, easier-to-use library, <a href=\"https:\/\/gpiozero.readthedocs.io\/en\/stable\/migrating_from_rpigpio.html\" target=\"_blank\" rel=\"noopener\">take a look here<\/a>.<\/p>\n<p><a href=\"https:\/\/www.raspberrypi.org\/blog\/gpio-zero-v1-5\/\" target=\"_blank\" rel=\"noopener\">Read the official announcement over at Raspberry Pi<\/a>\u00a0or <a href=\"https:\/\/gpiozero.readthedocs.io\/en\/stable\/changelog.html\" target=\"_blank\" rel=\"noopener\">delve into the ChangeLog to see <em>all\u00a0<\/em>the enhancements<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Ben Nuttall over at Raspberry Pi has announced the release of GPIO Zero 1.5. This is a significant release and includes several enhancements. Improvements to the DistanceSensor class giving more accurate and reliable readings. Improvements to the source\/value functionality meaning&hellip;<\/p>\n<p class=\"more-link-p\"><a class=\"more-link\" href=\"https:\/\/www.recantha.co.uk\/blog\/?p=19358\">Read more &rarr;<\/a><\/p>\n","protected":false},"author":1,"featured_media":19359,"comment_status":"open","ping_status":"closed","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,39],"tags":[493],"class_list":["post-19358","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-gpio-boards","category-programming","tag-gpio-zero"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Raspberry Pi physical computing library GPIO Zero gets an upgrade to v1.5 - includes physical pin numbering! - 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=19358\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Raspberry Pi physical computing library GPIO Zero gets an upgrade to v1.5 - includes physical pin numbering! - Raspberry Pi Pod\" \/>\n<meta property=\"og:description\" content=\"Ben Nuttall over at Raspberry Pi has announced the release of GPIO Zero 1.5. This is a significant release and includes several enhancements. Improvements to the DistanceSensor class giving more accurate and reliable readings. Improvements to the source\/value functionality meaning&hellip;Read more &rarr;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.recantha.co.uk\/blog\/?p=19358\" \/>\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=\"2019-02-13T17:49:45+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2019-02-13T18:06:21+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2019\/02\/gpio_zero_v15.jpg?fit=768%2C576&ssl=1\" \/>\n\t<meta property=\"og:image:width\" content=\"768\" \/>\n\t<meta property=\"og:image:height\" content=\"576\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\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=\"1 minute\" \/>\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=19358#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=19358\"},\"author\":{\"name\":\"Michael Horne\",\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/#\/schema\/person\/c27c4ef2ee1c18b130f1fcd5dcdbb263\"},\"headline\":\"Raspberry Pi physical computing library GPIO Zero gets an upgrade to v1.5 &#8211; includes physical pin numbering!\",\"datePublished\":\"2019-02-13T17:49:45+00:00\",\"dateModified\":\"2019-02-13T18:06:21+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=19358\"},\"wordCount\":268,\"commentCount\":1,\"publisher\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=19358#primaryimage\"},\"thumbnailUrl\":\"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2019\/02\/gpio_zero_v15.jpg?fit=768%2C576&ssl=1\",\"keywords\":[\"gpio zero\"],\"articleSection\":[\"GPIO boards\",\"Programming\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.recantha.co.uk\/blog\/?p=19358#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=19358\",\"url\":\"https:\/\/www.recantha.co.uk\/blog\/?p=19358\",\"name\":\"Raspberry Pi physical computing library GPIO Zero gets an upgrade to v1.5 - includes physical pin numbering! - Raspberry Pi Pod\",\"isPartOf\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=19358#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=19358#primaryimage\"},\"thumbnailUrl\":\"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2019\/02\/gpio_zero_v15.jpg?fit=768%2C576&ssl=1\",\"datePublished\":\"2019-02-13T17:49:45+00:00\",\"dateModified\":\"2019-02-13T18:06:21+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=19358#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.recantha.co.uk\/blog\/?p=19358\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=19358#primaryimage\",\"url\":\"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2019\/02\/gpio_zero_v15.jpg?fit=768%2C576&ssl=1\",\"contentUrl\":\"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2019\/02\/gpio_zero_v15.jpg?fit=768%2C576&ssl=1\",\"width\":768,\"height\":576},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=19358#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.recantha.co.uk\/blog\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Raspberry Pi physical computing library GPIO Zero gets an upgrade to v1.5 &#8211; includes physical pin numbering!\"}]},{\"@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":"Raspberry Pi physical computing library GPIO Zero gets an upgrade to v1.5 - includes physical pin numbering! - 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=19358","og_locale":"en_US","og_type":"article","og_title":"Raspberry Pi physical computing library GPIO Zero gets an upgrade to v1.5 - includes physical pin numbering! - Raspberry Pi Pod","og_description":"Ben Nuttall over at Raspberry Pi has announced the release of GPIO Zero 1.5. This is a significant release and includes several enhancements. Improvements to the DistanceSensor class giving more accurate and reliable readings. Improvements to the source\/value functionality meaning&hellip;Read more &rarr;","og_url":"https:\/\/www.recantha.co.uk\/blog\/?p=19358","og_site_name":"Raspberry Pi Pod","article_publisher":"https:\/\/www.facebook.com\/recantha\/","article_published_time":"2019-02-13T17:49:45+00:00","article_modified_time":"2019-02-13T18:06:21+00:00","og_image":[{"width":768,"height":576,"url":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2019\/02\/gpio_zero_v15.jpg?fit=768%2C576&ssl=1","type":"image\/jpeg"}],"author":"Michael Horne","twitter_card":"summary_large_image","twitter_creator":"@recantha","twitter_site":"@recantha","twitter_misc":{"Written by":"Michael Horne","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.recantha.co.uk\/blog\/?p=19358#article","isPartOf":{"@id":"https:\/\/www.recantha.co.uk\/blog\/?p=19358"},"author":{"name":"Michael Horne","@id":"https:\/\/www.recantha.co.uk\/blog\/#\/schema\/person\/c27c4ef2ee1c18b130f1fcd5dcdbb263"},"headline":"Raspberry Pi physical computing library GPIO Zero gets an upgrade to v1.5 &#8211; includes physical pin numbering!","datePublished":"2019-02-13T17:49:45+00:00","dateModified":"2019-02-13T18:06:21+00:00","mainEntityOfPage":{"@id":"https:\/\/www.recantha.co.uk\/blog\/?p=19358"},"wordCount":268,"commentCount":1,"publisher":{"@id":"https:\/\/www.recantha.co.uk\/blog\/#organization"},"image":{"@id":"https:\/\/www.recantha.co.uk\/blog\/?p=19358#primaryimage"},"thumbnailUrl":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2019\/02\/gpio_zero_v15.jpg?fit=768%2C576&ssl=1","keywords":["gpio zero"],"articleSection":["GPIO boards","Programming"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.recantha.co.uk\/blog\/?p=19358#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.recantha.co.uk\/blog\/?p=19358","url":"https:\/\/www.recantha.co.uk\/blog\/?p=19358","name":"Raspberry Pi physical computing library GPIO Zero gets an upgrade to v1.5 - includes physical pin numbering! - Raspberry Pi Pod","isPartOf":{"@id":"https:\/\/www.recantha.co.uk\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.recantha.co.uk\/blog\/?p=19358#primaryimage"},"image":{"@id":"https:\/\/www.recantha.co.uk\/blog\/?p=19358#primaryimage"},"thumbnailUrl":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2019\/02\/gpio_zero_v15.jpg?fit=768%2C576&ssl=1","datePublished":"2019-02-13T17:49:45+00:00","dateModified":"2019-02-13T18:06:21+00:00","breadcrumb":{"@id":"https:\/\/www.recantha.co.uk\/blog\/?p=19358#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.recantha.co.uk\/blog\/?p=19358"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.recantha.co.uk\/blog\/?p=19358#primaryimage","url":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2019\/02\/gpio_zero_v15.jpg?fit=768%2C576&ssl=1","contentUrl":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2019\/02\/gpio_zero_v15.jpg?fit=768%2C576&ssl=1","width":768,"height":576},{"@type":"BreadcrumbList","@id":"https:\/\/www.recantha.co.uk\/blog\/?p=19358#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.recantha.co.uk\/blog"},{"@type":"ListItem","position":2,"name":"Raspberry Pi physical computing library GPIO Zero gets an upgrade to v1.5 &#8211; includes physical pin numbering!"}]},{"@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":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2019\/02\/gpio_zero_v15.jpg?fit=768%2C576&ssl=1","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p2RsaV-52e","jetpack-related-posts":[{"id":15078,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=15078","url_meta":{"origin":19358,"position":0},"title":"GPIO Zero reference ruler for the Raspberry Pi &#8211; new Kickstarter","author":"Michael Horne","date":"19 July 2016","format":false,"excerpt":"Alex Eames, of RasPiO and RasPi.TV fame has just launched his latest Kickstarter. This one is for a rather nice 30cm\/12\"\u00a0ruler filled with GPIO Zero reference code, as pictured above. Alex previously did an RPi.GPIO reference ruler that was half the size so we know that the quality of this\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.recantha.co.uk\/blog\/wp-content\/uploads\/2016\/07\/raspio_gpio_zero_ruler.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2016\/07\/raspio_gpio_zero_ruler.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2016\/07\/raspio_gpio_zero_ruler.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2016\/07\/raspio_gpio_zero_ruler.png?resize=700%2C400&ssl=1 2x, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2016\/07\/raspio_gpio_zero_ruler.png?resize=1050%2C600&ssl=1 3x, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2016\/07\/raspio_gpio_zero_ruler.png?resize=1400%2C800&ssl=1 4x"},"classes":[]},{"id":16374,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=16374","url_meta":{"origin":19358,"position":1},"title":"Maketronix Alarm system for the Raspberry Pi gets GPIO Zero software","author":"Michael Horne","date":"9 February 2017","format":false,"excerpt":"Recently, the Maketronix Alarm kit was fully-funded on IndieGoGo. It is an add-on board and sensor for the Raspberry Pi that allows you to put together your own movement-activated alarm system. It comes with educational material that can be used in the classroom. Finding that the material doesn't use the\u2026","rel":"","context":"In &quot;Crowdfunding&quot;","block_context":{"text":"Crowdfunding","link":"https:\/\/www.recantha.co.uk\/blog\/?cat=13"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2017\/02\/maketronix_alarm.jpg?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":15445,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=15445","url_meta":{"origin":19358,"position":2},"title":"Happy Birthday to Raspberry Pi Python library GPIO Zero as it hits v1.3","author":"Michael Horne","date":"14 September 2016","format":false,"excerpt":"One year ago, Ben Nuttall and Dave Jones began work on GPIO Zero, a Python library which sought to simplify access to the Raspberry Pi's GPIO pins. As of yesterday, it is now one year old and Ben has just announced that version 1.3 is now available. This release includes\u2026","rel":"","context":"In &quot;Camera module&quot;","block_context":{"text":"Camera module","link":"https:\/\/www.recantha.co.uk\/blog\/?cat=8"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/bennuttall.com\/wp-content\/uploads\/2016\/09\/mcp3008-2pots-led-825x510.png?resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/bennuttall.com\/wp-content\/uploads\/2016\/09\/mcp3008-2pots-led-825x510.png?resize=350%2C200 1x, https:\/\/i0.wp.com\/bennuttall.com\/wp-content\/uploads\/2016\/09\/mcp3008-2pots-led-825x510.png?resize=525%2C300 1.5x, https:\/\/i0.wp.com\/bennuttall.com\/wp-content\/uploads\/2016\/09\/mcp3008-2pots-led-825x510.png?resize=700%2C400 2x"},"classes":[]},{"id":16172,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=16172","url_meta":{"origin":19358,"position":3},"title":"Pimoroni releases solderless headers for the Raspberry Pi Zero and add-on boards","author":"Michael Horne","date":"5 January 2017","format":false,"excerpt":"If you are scared to solder, or don't want to go to the expense of buying one, there are a few things that you just can't do with the Raspberry Pi. It's true that many add-on boards come with their GPIO headers fitted, but some (like the Pi Zero and\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\/cdn.shopify.com\/s\/files\/1\/0174\/1800\/products\/hammer-header-4_1024x1024.jpg?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/cdn.shopify.com\/s\/files\/1\/0174\/1800\/products\/hammer-header-4_1024x1024.jpg?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/cdn.shopify.com\/s\/files\/1\/0174\/1800\/products\/hammer-header-4_1024x1024.jpg?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/cdn.shopify.com\/s\/files\/1\/0174\/1800\/products\/hammer-header-4_1024x1024.jpg?resize=700%2C400&ssl=1 2x"},"classes":[]},{"id":14417,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=14417","url_meta":{"origin":19358,"position":4},"title":"Code a holdable button with GPIO Zero on the Raspberry Pi","author":"Michael Horne","date":"26 March 2016","format":false,"excerpt":"Martin O'Hanlon has worked out how to extend GPIO Zero\u00a0and has coded up a 'holdable button'. This means that you can code a physical button to do one thing on a momentary press and another thing when the button is held for more than a specified amount of time. Hopefully\u2026","rel":"","context":"In &quot;Programming&quot;","block_context":{"text":"Programming","link":"https:\/\/www.recantha.co.uk\/blog\/?cat=39"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/razzpisampler.oreilly.com\/images\/rpck_1101.png?resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/razzpisampler.oreilly.com\/images\/rpck_1101.png?resize=350%2C200 1x, https:\/\/i0.wp.com\/razzpisampler.oreilly.com\/images\/rpck_1101.png?resize=525%2C300 1.5x, https:\/\/i0.wp.com\/razzpisampler.oreilly.com\/images\/rpck_1101.png?resize=700%2C400 2x, https:\/\/i0.wp.com\/razzpisampler.oreilly.com\/images\/rpck_1101.png?resize=1050%2C600 3x"},"classes":[]},{"id":14852,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=14852","url_meta":{"origin":19358,"position":5},"title":"New products from The Pi Hut and Average Man for the Raspberry Pi","author":"Michael Horne","date":"8 June 2016","format":false,"excerpt":"Today sees the release of two brand new products, available exclusively from The Pi Hut\u00a0and designed by Richard Saville (aka the Average Man). The first is a\u00a0very pretty new motor driver board called MotoZero. It allows you to control four DC motors independently, courtesy of two H-bridge chips. It is\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.recantha.co.uk\/blog\/wp-content\/uploads\/2016\/06\/MotoZero.jpg?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2016\/06\/MotoZero.jpg?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2016\/06\/MotoZero.jpg?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2016\/06\/MotoZero.jpg?resize=700%2C400&ssl=1 2x"},"classes":[]}],"_links":{"self":[{"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/posts\/19358","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=19358"}],"version-history":[{"count":5,"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/posts\/19358\/revisions"}],"predecessor-version":[{"id":19366,"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/posts\/19358\/revisions\/19366"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/media\/19359"}],"wp:attachment":[{"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=19358"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=19358"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=19358"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}