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’s GPIO pins and still allow you to use HATs and pHATs at the same time. You may also solder the included female header onto the Button SHIM and use it as a standalone board. The buttons and status LED stick out from the top edge of your Raspberry Pi board, making them easy to access.
If you want to add physical interaction and visual feedback to your project, the Button SHIM is the perfect product. It is an ideal controller for LED boards such as Unicorn pHAT and Blinkt!. Besides, you can make your Raspberry Pi work as an alarm clock or timer or stopwatch if you use it with a Four Letter pHAT.
Button SHIM Features:
- 5 tactile, right-angle push buttons
- Single RGB LED (APA102)
- Buttons driven through an IO expander (TCA9554A)
- Super-slim SHIM-format board
- 0.8mm thick PCB
- Suitable to be used with HATs and pHATs
- Button SHIM pinout
- Compatible with Raspberry Pi 4, 3, 2, B+, A+, Zero, and Zero W boards
- Python library
- 2×20 female header included
- Requires soldering
The Raspberry Pi board is not included with this product. It can be purchased separately.
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’s pins, supposing the I2C address (0x3f) does not clash.
Software
To install the Button SHIM Python library 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’s audio and status LED, and also how to replicate key presses.
This software can be installed by opening a terminal and typing curl https://get.pimoroni.com/buttonshim | bash to run the one-line-installer.
Notes
In order to install the Button SHIM correctly, it is important that the buttons face outwards from your Raspberry Pi with the buttons on the top (please check the pictures on this page if you have any doubt).
Board dimensions: 65x13x4,5mm (WxHxD, depth includes buttons).
Button dimensions: 7×3,5×3,75mm (WxHxD)
Pimoroni Name: Button SHIM [PIM301]
There are no reviews yet.