{"id":14417,"date":"2016-03-26T10:00:58","date_gmt":"2016-03-26T09:00:58","guid":{"rendered":"http:\/\/www.recantha.co.uk\/blog\/?p=14417"},"modified":"2016-03-25T19:36:53","modified_gmt":"2016-03-25T18:36:53","slug":"code-a-holdable-button-with-gpio-zero-on-the-raspberry-pi","status":"publish","type":"post","link":"https:\/\/www.recantha.co.uk\/blog\/?p=14417","title":{"rendered":"Code a holdable button with GPIO Zero on the Raspberry Pi"},"content":{"rendered":"<p><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"alignnone\" src=\"https:\/\/i0.wp.com\/razzpisampler.oreilly.com\/images\/rpck_1101.png?resize=560%2C434\" alt=\"\" width=\"560\" height=\"434\" \/><\/p>\n<p>Martin O&#8217;Hanlon has worked out how to extend GPIO Zero\u00a0and has coded up a &#8216;holdable button&#8217;. 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 this will be absorbed into the main GPIO Zero library at some point. Until then, you can <a href=\"http:\/\/www.stuffaboutcode.com\/2016\/03\/raspberry-pi-gpiozero-holdable-button.html\" target=\"_blank\">download the code from Martin&#8217;s blog<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Martin O&#8217;Hanlon has worked out how to extend GPIO Zero\u00a0and has coded up a &#8216;holdable button&#8217;. This means that you can code a physical button to do one thing on a momentary press and another thing when the button is&hellip;<\/p>\n<p class=\"more-link-p\"><a class=\"more-link\" href=\"https:\/\/www.recantha.co.uk\/blog\/?p=14417\">Read more &rarr;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"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":[39,51],"tags":[],"class_list":["post-14417","post","type-post","status-publish","format-standard","hentry","category-programming","category-tutorials"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Code a holdable button with GPIO Zero on 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=14417\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Code a holdable button with GPIO Zero on the Raspberry Pi - Raspberry Pi Pod\" \/>\n<meta property=\"og:description\" content=\"Martin O&#8217;Hanlon has worked out how to extend GPIO Zero\u00a0and has coded up a &#8216;holdable button&#8217;. This means that you can code a physical button to do one thing on a momentary press and another thing when the button is&hellip;Read more &rarr;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.recantha.co.uk\/blog\/?p=14417\" \/>\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=\"2016-03-26T09:00:58+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/razzpisampler.oreilly.com\/images\/rpck_1101.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<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=14417#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=14417\"},\"author\":{\"name\":\"Michael Horne\",\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/#\/schema\/person\/c27c4ef2ee1c18b130f1fcd5dcdbb263\"},\"headline\":\"Code a holdable button with GPIO Zero on the Raspberry Pi\",\"datePublished\":\"2016-03-26T09:00:58+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=14417\"},\"wordCount\":87,\"commentCount\":2,\"publisher\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=14417#primaryimage\"},\"thumbnailUrl\":\"http:\/\/razzpisampler.oreilly.com\/images\/rpck_1101.png\",\"articleSection\":[\"Programming\",\"Tutorials\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.recantha.co.uk\/blog\/?p=14417#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=14417\",\"url\":\"https:\/\/www.recantha.co.uk\/blog\/?p=14417\",\"name\":\"Code a holdable button with GPIO Zero on the Raspberry Pi - Raspberry Pi Pod\",\"isPartOf\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=14417#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=14417#primaryimage\"},\"thumbnailUrl\":\"http:\/\/razzpisampler.oreilly.com\/images\/rpck_1101.png\",\"datePublished\":\"2016-03-26T09:00:58+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=14417#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.recantha.co.uk\/blog\/?p=14417\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=14417#primaryimage\",\"url\":\"http:\/\/razzpisampler.oreilly.com\/images\/rpck_1101.png\",\"contentUrl\":\"http:\/\/razzpisampler.oreilly.com\/images\/rpck_1101.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=14417#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.recantha.co.uk\/blog\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Code a holdable button with GPIO Zero on 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":"Code a holdable button with GPIO Zero on 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=14417","og_locale":"en_US","og_type":"article","og_title":"Code a holdable button with GPIO Zero on the Raspberry Pi - Raspberry Pi Pod","og_description":"Martin O&#8217;Hanlon has worked out how to extend GPIO Zero\u00a0and has coded up a &#8216;holdable button&#8217;. This means that you can code a physical button to do one thing on a momentary press and another thing when the button is&hellip;Read more &rarr;","og_url":"https:\/\/www.recantha.co.uk\/blog\/?p=14417","og_site_name":"Raspberry Pi Pod","article_publisher":"https:\/\/www.facebook.com\/recantha\/","article_published_time":"2016-03-26T09:00:58+00:00","og_image":[{"url":"http:\/\/razzpisampler.oreilly.com\/images\/rpck_1101.png","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=14417#article","isPartOf":{"@id":"https:\/\/www.recantha.co.uk\/blog\/?p=14417"},"author":{"name":"Michael Horne","@id":"https:\/\/www.recantha.co.uk\/blog\/#\/schema\/person\/c27c4ef2ee1c18b130f1fcd5dcdbb263"},"headline":"Code a holdable button with GPIO Zero on the Raspberry Pi","datePublished":"2016-03-26T09:00:58+00:00","mainEntityOfPage":{"@id":"https:\/\/www.recantha.co.uk\/blog\/?p=14417"},"wordCount":87,"commentCount":2,"publisher":{"@id":"https:\/\/www.recantha.co.uk\/blog\/#organization"},"image":{"@id":"https:\/\/www.recantha.co.uk\/blog\/?p=14417#primaryimage"},"thumbnailUrl":"http:\/\/razzpisampler.oreilly.com\/images\/rpck_1101.png","articleSection":["Programming","Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.recantha.co.uk\/blog\/?p=14417#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.recantha.co.uk\/blog\/?p=14417","url":"https:\/\/www.recantha.co.uk\/blog\/?p=14417","name":"Code a holdable button with GPIO Zero on the Raspberry Pi - Raspberry Pi Pod","isPartOf":{"@id":"https:\/\/www.recantha.co.uk\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.recantha.co.uk\/blog\/?p=14417#primaryimage"},"image":{"@id":"https:\/\/www.recantha.co.uk\/blog\/?p=14417#primaryimage"},"thumbnailUrl":"http:\/\/razzpisampler.oreilly.com\/images\/rpck_1101.png","datePublished":"2016-03-26T09:00:58+00:00","breadcrumb":{"@id":"https:\/\/www.recantha.co.uk\/blog\/?p=14417#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.recantha.co.uk\/blog\/?p=14417"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.recantha.co.uk\/blog\/?p=14417#primaryimage","url":"http:\/\/razzpisampler.oreilly.com\/images\/rpck_1101.png","contentUrl":"http:\/\/razzpisampler.oreilly.com\/images\/rpck_1101.png"},{"@type":"BreadcrumbList","@id":"https:\/\/www.recantha.co.uk\/blog\/?p=14417#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.recantha.co.uk\/blog"},{"@type":"ListItem","position":2,"name":"Code a holdable button with GPIO Zero on 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-3Kx","jetpack-related-posts":[{"id":15078,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=15078","url_meta":{"origin":14417,"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":14603,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=14603","url_meta":{"origin":14417,"position":1},"title":"GPIO Zero v1.2 for the Raspberry Pi hits Raspbian","author":"Michael Horne","date":"21 April 2016","format":false,"excerpt":"GPIO Zero, the easy-to-use Python library for the Raspberry Pi's GPIO pins has just had an update on the Raspbian repository. It's been available for a couple of weeks now via a slightly convoluted route, but is now available with a simple: sudo apt-get update && sudo apt-get install python3-gpiozero\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\/bennuttall.com\/wp-content\/uploads\/2016\/04\/GPIO_Zero_Cheatsheet-500x510.png?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":13581,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=13581","url_meta":{"origin":14417,"position":2},"title":"Extending a traffic lights project on the Raspberry Pi","author":"Michael Horne","date":"20 October 2015","format":false,"excerpt":"Giles Booth previously\u00a0started to construct a circuit and write code that would display a traffic lights sequence on LEDs connected to his Pi using GPIO Zero. This time, he has added a momentary tactile switch to the circuit so that he can wait for the button press before 'stopping traffic'\u2026","rel":"","context":"In &quot;Making&quot;","block_context":{"text":"Making","link":"https:\/\/www.recantha.co.uk\/blog\/?cat=50"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.suppertime.co.uk\/blogmywiki\/wp-content\/uploads\/2015\/10\/traffic-lights-switch-736x1024.png?resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.suppertime.co.uk\/blogmywiki\/wp-content\/uploads\/2015\/10\/traffic-lights-switch-736x1024.png?resize=350%2C200 1x, https:\/\/i0.wp.com\/www.suppertime.co.uk\/blogmywiki\/wp-content\/uploads\/2015\/10\/traffic-lights-switch-736x1024.png?resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.suppertime.co.uk\/blogmywiki\/wp-content\/uploads\/2015\/10\/traffic-lights-switch-736x1024.png?resize=700%2C400 2x"},"classes":[]},{"id":19358,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=19358","url_meta":{"origin":14417,"position":3},"title":"Raspberry Pi physical computing library GPIO Zero gets an upgrade to v1.5 &#8211; includes physical pin numbering!","author":"Michael Horne","date":"13 February 2019","format":false,"excerpt":"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 you could just do: led.source = button to have a\u2026","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":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2019\/02\/gpio_zero_v15.jpg?fit=768%2C576&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2019\/02\/gpio_zero_v15.jpg?fit=768%2C576&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2019\/02\/gpio_zero_v15.jpg?fit=768%2C576&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2019\/02\/gpio_zero_v15.jpg?fit=768%2C576&ssl=1&resize=700%2C400 2x"},"classes":[]},{"id":16374,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=16374","url_meta":{"origin":14417,"position":4},"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":17445,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=17445","url_meta":{"origin":14417,"position":5},"title":"Remote control a robot using GPIO Zero on a Raspberry Pi","author":"Michael Horne","date":"4 August 2017","format":false,"excerpt":"Ben Nuttall has been having a go with the new Remoting facilities available on the v1.4 release of GPIO Zero. He's used the virtual joystick on the\u00a0SenseHAT emulator\u00a0as the controller and then sent commands remotely to another Pi which has the motor controller and motors on board. He's then changed\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\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2017\/08\/sense-emu-mock-robot.png?fit=1200%2C685&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2017\/08\/sense-emu-mock-robot.png?fit=1200%2C685&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2017\/08\/sense-emu-mock-robot.png?fit=1200%2C685&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2017\/08\/sense-emu-mock-robot.png?fit=1200%2C685&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2017\/08\/sense-emu-mock-robot.png?fit=1200%2C685&ssl=1&resize=1050%2C600 3x"},"classes":[]}],"_links":{"self":[{"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/posts\/14417","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=14417"}],"version-history":[{"count":1,"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/posts\/14417\/revisions"}],"predecessor-version":[{"id":14418,"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/posts\/14417\/revisions\/14418"}],"wp:attachment":[{"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=14417"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=14417"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=14417"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}