This guide describes  two different python based utilities to trigger audio file playback based on tactile button presses. Both of them can be installed on a modern Raspberry Pi

  1. RPi.GPIO - works with all Raspberry Pi Hardware
  2. CircuitPython on Raspberry Pi - Works with newer Raspberry Pi Hardware v2, v3 and Zero. This is the same interface we use with our SAMD21 based microcontrollers and is the recommended version to use. 

If you have not already used the Raspberry Pi as a input device this guide will show you how to wire up the buttons to the GPIO pins and access their state from a python script. 

This guide was first published on Jul 29, 2012. It was last updated on Jul 29, 2012. This page (Overview) was last updated on Dec 08, 2018.