Button SHIM review
By Lucy Hattersley. Posted
Advertisement
Get started with Raspberry Pi – everything you need to know to start your journey!
The Button SHIM from Pimoroni (£6/$7) adds five buttons and an LED to your Raspberry Pi. So far, so simple. What’s neat about it is that it gives you full use of all of your Pi’s pins. The GPIO pins poke through the SHIM so you can get to them.
Most obviously, that means you can use the Button SHIM to add some input controls to an electronics project. If you’re running out of GPIO pins, getting five buttons for free is a real plus.
This review was written by Phil King and first appeared in The MagPi #66. You can download a free copy of The MagPi and sign up for our newsletter to know when each new issue is available.
Pimoroni Button Shim review
The Button SHIM also plays nicely with many HATs, so you can use it to add input controls to an output HAT. The Unicorn HAT, for example, provides a grid of colourful LEDs that can be used for visual displays or scrolling messages. By adding buttons, you can create more flexible applications that can run without a keyboard.
The buttons stick out above the top edge of your Raspberry Pi. As a result, your Button SHIM project is unlikely to fit in an existing Pi case. Positioned at a right angle, the buttons press in towards the Raspberry Pi, and are labelled from A to E.
To set up the SHIM, you’ll need to be competent with a soldering iron. The SHIM has a set of holes, so you slide it over your GPIO pins. You then need to solder several of the Raspberry Pi’s pins to the board. It’s a good idea to solder an additional couple of pins at the other end of the board to help hold the SHIM in place. As with anything that involves soldering the GPIO pins, it’s an unavoidably fiddly job because the pins are only a few millimetres apart. If there is any excess solder on a pin, it might stop a HAT from sitting on the GPIO pins properly afterwards.
There is also a female header included which you can solder to the Button SHIM if you want to use it by itself.
The RGB LED in the corner of the board is a great bonus, and ideal for adding status signals to a project. The rainbow example program shows how the buttons can be used to change the light colour. It’s a great ‘hello world’ demo, and a perfect showcase for the Python library.
Button SHIM: The Last Word
A convenient and compact way to add some controls to a Pi project or HAT. The Python library and examples will get you up and running quickly, and the status LED is a nice bonus.
4/5
Lucy is Editor of Raspberry Pi Official Magazine.
Subscribe to Raspberry Pi Official Magazine
Save up to 37% off the cover price and get a FREE Raspberry Pi Pico 2 W with a subscription to Raspberry Pi Official Magazine.
More articles
Get started with Raspberry Pi in Raspberry Pi Official Magazine 161
There’s loads going on in this issue: first of all, how about using a capacitive touch board and Raspberry Pi 5 to turn a quilt into an input device? Nicola King shows you how. If you’re more into sawing and drilling than needlework, Jo Hinchliffe has built an underwater rover out of plastic piping and […]
Read more →
Win one of three DreamHAT+ radars!
That’s right, an actual working radar for your Raspberry Pi. We reviewed it a few months ago and have since been amazed at some of the projects that have used it, like last month’s motion sensor from the movie Aliens. Sound good? Well we have a few to give away, and you can enter below. […]
Read more →
RP2350 Pico W5 review
It’s Raspberry Pi Pico 2, but with a lot more memory
Read more →