Little Bird
OnOff SHIM
Add a tiny yet convenient power switch to your Pi with OnOff SHIM! Our SHIMs (Shove Hardware in the Middle) are a new range of boards designed to be small, a...
Add a tiny yet convenient power switch to your Pi with OnOff SHIM!
Our SHIMs (Shove Hardware in the Middle) are a new range of boards designed to be small, affordable, and handy. They're just 0.8mm thick (the bare board, not including mounted components) and designed to be soldered straight onto the GPIO pins of your Pi, if you wish, so that you can use them with HATs and pHATs on top.
Usage
Just plug your micro-USB power supply into the micro-B connector on OnOff SHIM, and then press the button once to switch on power and boot up your Pi. After installing our software (details below), you can press and hold the button for one second to initiate a clean shutdown and completely cut the power to your Pi.
Features
- super-small SHIM-format board
- 0.8mm thick PCB
- can be used with HATs and pHATs
- corner-mounted push button for on/off
- micro-B connector for power supply
- red status LED
- optional breakout pins to connect an external momentary button
- 2x6 female header included
- supports up to 2.5A power supply
- software daemon to shutdown cleanly
- requires soldering
Software
We've put together a one-line-installer to install the clean shutdown daemon. It watches the state of BCM pin 17 and, when pulled low (pressed), it initiates a clean shutdown. Last thing, just before your Pi shuts down, BCM pin 4 is pulled low to completely cut power to your Pi.
To install the software, open a terminal and type curl https://get.pimoroni.com/onoffshim | bash to run the one-line-installer.
Our software does not support Raspbian Wheezy.
Jargon buster
Plain-language definitions for the technical terms used above.
- breakout
- A breakout is a small circuit board that makes a tiny or hard-to-solder component easier to connect to with standard pins. It matters because this OLED module can be wired into a microcontroller project without needing to solder directly to the display’s fine contacts.
- GPIO
- General-purpose input/output pins are microcontroller pins you can set in software to read signals, switch devices on and off, or connect to peripherals. The number of GPIO pins matters because it limits how many buttons, LEDs, sensors, and other parts you can wire directly to the board.
- LED
- A light-emitting diode is a small electronic component that lights up when current flows through it in the correct direction. In this kit, LEDs create the flashing effect, so polarity and correct soldering matter for the project to work.
- PCB
- A printed circuit board is a rigid board with copper tracks that connect electronic parts without loose wires. For this kit, the PCBs also form the airplane shape, so they are both the circuit base and part of the finished model.
Find this product in
Brands
Components
Related Tutorials
Free guides on learn.littlebird.com.au