Drum Pads With Arduino




Introduction: Drum Pads With Arduino

Electrical engineering and computer science specialist


In this tutorial I'm going to show you how to build a simple drum pads using Arduino.

I used tones to replicate In the end by Linkin Park.

Teacher Notes

Teachers! Did you use this instructable in your classroom?
Add a Teacher Note to share how you incorporated it into your lesson.

Step 1: Required Components

  1. Arduino Uno (Nano, Mega etc)
  2. SD Card (Size depends on your tones, mine are less than 50 KBytes each)
  3. SD Card module
  4. TTP229 capacitive touch keypad
  5. Speaker (Headphones or 3.5 mm female jack would work aswell)
  6. Breadboard & Jumpers

Step 2: Required Software & Libraries

Step 3: Preparing the Audio Tones

Now, the audio tones must be in a specific format in order to be playable with Arduino.

The main format must be .WAV with:

  • Bit resolution 8
  • Sample rate 16000
  • Audio channel Mono
  • PCM format unsigned 8 bit

for converting my tones I used Online Convert

Step 4: Schematic

Now connect everything as follows:

SD card:

  • MOSI - Pin 11
  • MISO - Pin 12
  • CLK - Pin 13
  • CS - Pin 4
  • VCC - 3.3V
  • GND - GND

TTP 229

  • VCC - 3.3V
  • GND - GND
  • SCL - Pin 2
  • SDA - Pin 3

Speaker (headphones etc)

  • Wire 1 - Pin 9
  • Wire 2 - GND

Step 5: Running the Code

Step 6: That's It.

Now upload your tones to the SD card, power up your Arduino and start playing..

NOTE: The output audio quality is pretty bad if you use it directly from Arduino, It is possible to create a amplifier/filter circuit to raise the quality.

Be the First to Share


    • Raspberry Pi Contest 2020

      Raspberry Pi Contest 2020
    • Wearables Contest

      Wearables Contest
    • Fix It Contest

      Fix It Contest

    2 Discussions

    Fun project. Good way to teach the basics of Arduino


    Reply 1 year ago

    Thank you Sir.