Difference between revisions of "Playing sound (with the MP3 shield) & pressure plates"

From Interaction Station Wiki
Jump to navigation Jump to search
Line 19: Line 19:
  
 
'''Step 2: installing the libraries for the Sparkfun MP3 shield'''<br>
 
'''Step 2: installing the libraries for the Sparkfun MP3 shield'''<br>
The Sparkfun MP3 shield uses some libraries we need to set up in the Arduino IDE. Download [[MP3Libraries.zip]] and extract it on your computer
+
The Sparkfun MP3 shield uses some libraries we need to set up in the Arduino IDE. Download [http://interactionstation.wdka.hro.nl/mediawiki/images/8/8c/MP3Libraries.zip MP3Libraries] and extract it on your computer

Revision as of 16:11, 30 January 2018

Intro


In this tutorial we will be attaching three pressure plates or button to an Arduino. When the pressure plate is activated the Arduino plays a .MP3 file.

Requirements


Arduino Uno (+ usb cable)
Micro SD card (this stores the .MP3 files)
Sparkfun MP3 player shield (available for rent at the Interaction Station)
Pressure plates or buttons (available for rent at the Interaction Station)
An active speaker or headphones
MP3 files

Getting ready


Step 1: installing the Arduino IDE
Make sure you have downloaded the Arduino IDE for the uploading the code to the Arduino board. If you don't have it, please go to https://www.arduino.cc/en/Main/OldSoftwareReleases , click on your operating system followed by pressing the 'just download' button. Install the software on your computer, but don't open it yet! If it opens automatically, don't worry, just close it.

Step 2: installing the libraries for the Sparkfun MP3 shield
The Sparkfun MP3 shield uses some libraries we need to set up in the Arduino IDE. Download MP3Libraries and extract it on your computer