Mini Drum Pad With Imxrt

About the project

This is simple Drum Pad built with Cap-sense touch and IMX-RT.

Items used in this project

Hardware components

MIMXRT1024-EVK MIMXRT1024-EVK x 1
Cypress CY8CKIT-032 PSoC® Analog Front End Kit Cypress CY8CKIT-032 PSoC® Analog Front End Kit x 1
Boat Speaker Boat Speaker x 1
USB Li-Ion Power Bank with 2 x 5V Outputs @ 2.1A - 5000mAh USB Li-Ion Power Bank with 2 x 5V Outputs @ 2.1A - 5000mAh x 1
Aux cable Aux cable x 1

Software apps and online services

Audacity Audacity

Hand tools and fabrication machines

3D printer 3D printer x 1

Story

Introduction

This Drum Pad is one of my old idea and wish too. I submitted this idea but unfortunately I did not received the board. So ihad to manage with y older board for this contest.

Finally its breaks out with the NXP's IMX RT Crossover MCU, I was having IMXRT1015 so initially I started the with the driver example then i moved to actual implementation of the project

Design


I used AFE shield board from Cypress, this can be seated on top of the IMX RT over Arduino connector. The board has PSoC4 analog processor (MUC) in it.

AFE shield has interfaces for OLED, Capsense, Switches and LED's and accessed through i2C interface.

IMX RT side, using SAI to play the audio file at 16KHZ. I have created 12 samples (.wav file) and the raw data is stored in the music file. Based on the capsense button press triggering the sound effect.

Speaker I used is from Boat, it has internal battery so only thing required is to feed the Aux input from IMXRT EVK.

I felt that, button sense over I2C bit slow due to that having the limitation of playing the music as faster. Anyway its just demonstration of my concept.

This drum has 3 modes of music set. The mode can be changed with the help of mechanical switch (push button). Also the volume can be controlled via Potentiometer.

Also enabling USB mass storage add-on the feature of adding new sound effects by simply copying from the laptop. Hope the kids will love this idea of making mini drum kit.

The working video is here.



Schematics, diagrams and documents

Mini Drum Block

Code

Main Code

Credits

Photo of ashokr

ashokr

Hello! I’m Ashok. I’m currently working as software engineer. passionate about doing Hobbies Projects and Animations works.

   

Leave your feedback...