{"id":10059,"date":"2019-08-12T12:25:49","date_gmt":"2019-08-12T10:25:49","guid":{"rendered":"https:\/\/www.pilover.com\/negozio\/button-shim-2\/"},"modified":"2026-07-24T15:16:56","modified_gmt":"2026-07-24T13:16:56","slug":"button-shim-2","status":"publish","type":"product","link":"https:\/\/www.pilover.com\/en\/shop\/button-shim-2\/","title":{"rendered":"Button SHIM"},"content":{"rendered":"<h2>Button SHIM: adds 5 push buttons to the Raspberry Pi<\/h2>\n<p><strong>Button SHIM<\/strong> is <a href=\"https:\/\/www.pilover.com\/it\/categoria\/hat-phat-e-shim\/hat\/\" target=\"_blank\" rel=\"noopener noreferrer\">HAT<\/a> and <a href=\"https:\/\/www.pilover.com\/it\/categoria\/hat-phat-e-shim\/phat\/\" target=\"_blank\" rel=\"noopener noreferrer\">pHAT<\/a>-compatible and gives you <strong>five handy, physical buttons and an RGB status LED<\/strong>.<\/p>\n<p>The SHIM-format boards are designed to slip neatly onto your Raspberry Pi&#8217;s GPIO pins and still allow you to use HATs and pHATs at the same time. <strong>You may also solder the included female header onto the Button SHIM and use it as a standalone board.<\/strong> The buttons and status LED stick out from the top edge of your Raspberry Pi board, making them easy to access.<\/p>\n<p>If you want to add <strong>physical interaction and visual feedback<\/strong> to your project, the Button SHIM is the perfect product. It is an ideal controller for LED boards such as <a href=\"https:\/\/www.pilover.com\/it\/?post_type=product&#038;p=117\" target=\"_blank\" rel=\"noopener noreferrer\">Unicorn pHAT<\/a> and <a href=\"https:\/\/www.pilover.com\/it\/negozio\/blinkt-otto-indicatori-led-rgb\/\" target=\"_blank\" rel=\"noopener noreferrer\">Blinkt!<\/a>. Besides, you can make your Raspberry Pi work as an alarm clock or timer or stopwatch if you use it with a <a href=\"https:\/\/www.pilover.com\/it\/negozio\/four-letter-phat-display-verde\/\" target=\"_blank\" rel=\"noopener noreferrer\">Four Letter pHAT<\/a>.<\/p>\n<h3>Button SHIM Features:<\/h3>\n<ul>\n<li>5 tactile, right-angle push buttons<\/li>\n<li>Single RGB LED (APA102)<\/li>\n<li>Buttons driven through an IO expander (TCA9554A)<\/li>\n<li>Super-slim SHIM-format board<\/li>\n<li>0.8mm thick PCB<\/li>\n<li>Suitable to be used with HATs and pHATs<\/li>\n<li><a href=\"https:\/\/pinout.xyz\/pinout\/button_shim\" target=\"_blank\" rel=\"noopener noreferrer\">Button SHIM pinout<\/a><\/li>\n<li>Compatible with <a href=\"https:\/\/www.pilover.com\/it\/categoria\/ufficiali-raspberry-pi\/schede-raspberry-pi\/\" target=\"_blank\" rel=\"noopener noreferrer\">Raspberry Pi 4, 3, 2, B+, A+, Zero, and Zero W boards<\/a><\/li>\n<li>Python library<\/li>\n<li>2&#215;20 female header included<\/li>\n<li><strong>Requires soldering<\/strong><\/li>\n<\/ul>\n<p><strong>The Raspberry Pi board is not included with this product.<\/strong> It can be purchased separately.<\/p>\n<p>An IO expander has been used to read the states of the button and also drive the LED, so you may still have fully access to all of your Raspberry Pi&#8217;s pins, supposing the I2C address (0x3f) does not clash.<\/p>\n<p><strong>Software<\/strong><br \/>\nTo install the <a href=\"https:\/\/github.com\/pimoroni\/button-shim\" target=\"_blank\" rel=\"noopener noreferrer\">Button SHIM Python library<\/a> you can use a quick one-line-installer. You may want to have a look at a few example programs that explain how to use the Button SHIM to control your Raspberry Pi&#8217;s audio and status LED, and also how to replicate key presses.<\/p>\n<p>This software can be installed by opening a terminal and typing curl https:\/\/get.pimoroni.com\/buttonshim | bash to run the one-line-installer.<\/p>\n<p><strong>Notes<\/strong><br \/>\nIn order to install the Button SHIM correctly, <strong>it is important that the buttons face outwards from your Raspberry Pi with the buttons on the top<\/strong> (please check the pictures on this page if you have any doubt).<\/p>\n<p>Board dimensions: 65x13x4,5mm (WxHxD, depth includes buttons).<\/p>\n<p>Button dimensions: 7&#215;3,5&#215;3,75mm (WxHxD)<\/p>\n<p><strong>Pimoroni Name:<\/strong> Button SHIM [PIM301]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Button SHIM: adds 5 push buttons to the Raspberry Pi Button SHIM is HAT and pHAT-compatible and gives you five handy, physical buttons and an RGB status LED. The SHIM-format boards are designed to slip neatly onto your Raspberry Pi&#8217;s GPIO pins and still allow you to use HATs and pHATs at the same time. [&hellip;]<\/p>\n","protected":false},"featured_media":10054,"comment_status":"open","ping_status":"closed","template":"","meta":[],"product_brand":[2236],"product_cat":[2000,2003],"product_tag":[2040],"class_list":["post-10059","product","type-product","status-publish","has-post-thumbnail","product_brand-pimoroni","product_cat-hats-phats-and-shims","product_cat-shim","product_tag-i2c","first","instock","shipping-taxable","purchasable","product-type-simple"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.5 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Button SHIM - PiLover<\/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.pilover.com\/en\/shop\/button-shim-2\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Button SHIM - PiLover\" \/>\n<meta property=\"og:description\" content=\"Button SHIM: adds 5 push buttons to the Raspberry Pi Button SHIM is HAT and pHAT-compatible and gives you five handy, physical buttons and an RGB status LED. The SHIM-format boards are designed to slip neatly onto your Raspberry Pi&#8217;s GPIO pins and still allow you to use HATs and pHATs at the same time. [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.pilover.com\/en\/shop\/button-shim-2\/\" \/>\n<meta property=\"og:site_name\" content=\"PiLover\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/OfficialPiLover\" \/>\n<meta property=\"article:modified_time\" content=\"2026-07-24T13:16:56+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.pilover.com\/wp-content\/uploads\/2019\/08\/Button-SHIM__.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1024\" \/>\n\t<meta property=\"og:image:height\" content=\"1024\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.pilover.com\\\/en\\\/shop\\\/button-shim-2\\\/\",\"url\":\"https:\\\/\\\/www.pilover.com\\\/en\\\/shop\\\/button-shim-2\\\/\",\"name\":\"Button SHIM - PiLover\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.pilover.com\\\/en\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.pilover.com\\\/en\\\/shop\\\/button-shim-2\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.pilover.com\\\/en\\\/shop\\\/button-shim-2\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.pilover.com\\\/wp-content\\\/uploads\\\/2019\\\/08\\\/Button-SHIM__.jpg\",\"datePublished\":\"2019-08-12T10:25:49+00:00\",\"dateModified\":\"2026-07-24T13:16:56+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.pilover.com\\\/en\\\/shop\\\/button-shim-2\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.pilover.com\\\/en\\\/shop\\\/button-shim-2\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.pilover.com\\\/en\\\/shop\\\/button-shim-2\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.pilover.com\\\/wp-content\\\/uploads\\\/2019\\\/08\\\/Button-SHIM__.jpg\",\"contentUrl\":\"https:\\\/\\\/www.pilover.com\\\/wp-content\\\/uploads\\\/2019\\\/08\\\/Button-SHIM__.jpg\",\"width\":1024,\"height\":1024},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.pilover.com\\\/en\\\/shop\\\/button-shim-2\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.pilover.com\\\/en\\\/home\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Shop\",\"item\":\"https:\\\/\\\/www.pilover.com\\\/en\\\/shop\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Button SHIM\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.pilover.com\\\/en\\\/#website\",\"url\":\"https:\\\/\\\/www.pilover.com\\\/en\\\/\",\"name\":\"PiLover\",\"description\":\"Make it a board\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.pilover.com\\\/en\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.pilover.com\\\/en\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"OnlineStore\",\"@id\":\"https:\\\/\\\/www.pilover.com\\\/en\\\/#organization\",\"name\":\"PiLover\",\"url\":\"https:\\\/\\\/www.pilover.com\\\/en\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.pilover.com\\\/en\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.pilover.com\\\/wp-content\\\/uploads\\\/2019\\\/08\\\/logo_190x60.png\",\"contentUrl\":\"https:\\\/\\\/www.pilover.com\\\/wp-content\\\/uploads\\\/2019\\\/08\\\/logo_190x60.png\",\"width\":190,\"height\":60,\"caption\":\"PiLover\"},\"image\":{\"@id\":\"https:\\\/\\\/www.pilover.com\\\/en\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/OfficialPiLover\",\"https:\\\/\\\/www.instagram.com\\\/officialpilover\\\/\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Button SHIM - PiLover","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.pilover.com\/en\/shop\/button-shim-2\/","og_locale":"en_US","og_type":"article","og_title":"Button SHIM - PiLover","og_description":"Button SHIM: adds 5 push buttons to the Raspberry Pi Button SHIM is HAT and pHAT-compatible and gives you five handy, physical buttons and an RGB status LED. The SHIM-format boards are designed to slip neatly onto your Raspberry Pi&#8217;s GPIO pins and still allow you to use HATs and pHATs at the same time. [&hellip;]","og_url":"https:\/\/www.pilover.com\/en\/shop\/button-shim-2\/","og_site_name":"PiLover","article_publisher":"https:\/\/www.facebook.com\/OfficialPiLover","article_modified_time":"2026-07-24T13:16:56+00:00","og_image":[{"width":1024,"height":1024,"url":"https:\/\/www.pilover.com\/wp-content\/uploads\/2019\/08\/Button-SHIM__.jpg","type":"image\/jpeg"}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.pilover.com\/en\/shop\/button-shim-2\/","url":"https:\/\/www.pilover.com\/en\/shop\/button-shim-2\/","name":"Button SHIM - PiLover","isPartOf":{"@id":"https:\/\/www.pilover.com\/en\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.pilover.com\/en\/shop\/button-shim-2\/#primaryimage"},"image":{"@id":"https:\/\/www.pilover.com\/en\/shop\/button-shim-2\/#primaryimage"},"thumbnailUrl":"https:\/\/www.pilover.com\/wp-content\/uploads\/2019\/08\/Button-SHIM__.jpg","datePublished":"2019-08-12T10:25:49+00:00","dateModified":"2026-07-24T13:16:56+00:00","breadcrumb":{"@id":"https:\/\/www.pilover.com\/en\/shop\/button-shim-2\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.pilover.com\/en\/shop\/button-shim-2\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.pilover.com\/en\/shop\/button-shim-2\/#primaryimage","url":"https:\/\/www.pilover.com\/wp-content\/uploads\/2019\/08\/Button-SHIM__.jpg","contentUrl":"https:\/\/www.pilover.com\/wp-content\/uploads\/2019\/08\/Button-SHIM__.jpg","width":1024,"height":1024},{"@type":"BreadcrumbList","@id":"https:\/\/www.pilover.com\/en\/shop\/button-shim-2\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.pilover.com\/en\/home\/"},{"@type":"ListItem","position":2,"name":"Shop","item":"https:\/\/www.pilover.com\/en\/shop\/"},{"@type":"ListItem","position":3,"name":"Button SHIM"}]},{"@type":"WebSite","@id":"https:\/\/www.pilover.com\/en\/#website","url":"https:\/\/www.pilover.com\/en\/","name":"PiLover","description":"Make it a board","publisher":{"@id":"https:\/\/www.pilover.com\/en\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.pilover.com\/en\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"OnlineStore","@id":"https:\/\/www.pilover.com\/en\/#organization","name":"PiLover","url":"https:\/\/www.pilover.com\/en\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.pilover.com\/en\/#\/schema\/logo\/image\/","url":"https:\/\/www.pilover.com\/wp-content\/uploads\/2019\/08\/logo_190x60.png","contentUrl":"https:\/\/www.pilover.com\/wp-content\/uploads\/2019\/08\/logo_190x60.png","width":190,"height":60,"caption":"PiLover"},"image":{"@id":"https:\/\/www.pilover.com\/en\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/OfficialPiLover","https:\/\/www.instagram.com\/officialpilover\/"]}]}},"_links":{"self":[{"href":"https:\/\/www.pilover.com\/en\/wp-json\/wp\/v2\/product\/10059","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.pilover.com\/en\/wp-json\/wp\/v2\/product"}],"about":[{"href":"https:\/\/www.pilover.com\/en\/wp-json\/wp\/v2\/types\/product"}],"replies":[{"embeddable":true,"href":"https:\/\/www.pilover.com\/en\/wp-json\/wp\/v2\/comments?post=10059"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.pilover.com\/en\/wp-json\/wp\/v2\/media\/10054"}],"wp:attachment":[{"href":"https:\/\/www.pilover.com\/en\/wp-json\/wp\/v2\/media?parent=10059"}],"wp:term":[{"taxonomy":"product_brand","embeddable":true,"href":"https:\/\/www.pilover.com\/en\/wp-json\/wp\/v2\/product_brand?post=10059"},{"taxonomy":"product_cat","embeddable":true,"href":"https:\/\/www.pilover.com\/en\/wp-json\/wp\/v2\/product_cat?post=10059"},{"taxonomy":"product_tag","embeddable":true,"href":"https:\/\/www.pilover.com\/en\/wp-json\/wp\/v2\/product_tag?post=10059"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}