We designed and built a drum trainer that can be attached to most Japanese drum surface and will detect and wirelessly transmit different drum hit types to other players' drum trainers. The trainer is able to determine whether the user makes a "Loud Beat", a "Soft Beat", or a "Rim Shot", and provides feedback in the form of LED's to tell the user what type of beat they just made. This setup allows the use of several different applications; three such applications we came up with are:
1) Follow the Leader - One drum player is designated as the "leader", and as the "leader" plays, the timing of each drum hit get transmitted to all of the "followers" playing along with him. The "followers" are then notified through LED's whether they are performing the correct hit type, and whether they are playing at the right tempo.
2) Metronome - A player can set any tempo that they would like by hitting the drum a few times at a certain speed. The trainer averages the times between hits and then provides the player with a blinking LED with a constant tempo the player can then perform at.
Tell me about drum project. Okay, so
For our final project we decided to do a teaching tool for taiko drums. Taiko drums is a Japanese style of
drumming and
This idea came about because I'm part of a Japanese group and every year when we get new recruits
One of the things that we mostly focus at the beginning is to have everyone
Be able to play on sync with everyone else be able to play on time
So the project that we did is a teaching tool for taiko drumming and
It's supposed to have a bunch of different modes
To help with teaching keeping you on time
Making sure that everyone's playing at the same time and so you can also practice your beats
So yeah, so we have these boards that we clip on to each one of the drums. We have the main board that is
Velcroed onto the drum and then the sensors clipped on to it. So these are piezo sensors on here
Yeah
so we have two different
piezo sensors on each drum and basically the whole bottom plate vibrates with the drum and
Basically gives us the voltage signals that we need they go into this board into two separate filters
Each one goes into its own filter
one of the filters has a larger has a larger capacitor which
Kind of gets rid of a lot of the fluctuation after the initial beat because we want to try and get rid of the you know
extra beats
after a certain amount of time
You know simple op amp here
We have three different push buttons one changes the mode which you can see which mode you're in by the seven segment display
There's a start stop button. And then we also have a reset button. Okay, so the set of five LEDs right here
This kind of tells you the speed that you're going at
In different modes
so if I'm like playing at the direct speed at the like at the exact same speed as another drummer like this blue LED will
Be lit if I'm going a little bit slow like a little bit slow this one lights and then this one lights if I'm really
Lacking behind and likewise with the opposite end if we're going faster, okay
These three LEDs tell us what the beat types actually are. So for a soft hit
This one would light up for a loud hit
But this red one would light up and then a rim shot this one would light up and they're not lighting up now because
Right. Sorry. Yeah, this is not we're saving battery power right now. All right
and
Seven second display driver at the board and then over here. This is where we have the IR emit emitters and receiver
Which communicates with the other drums that have this exact same set up
So each of the other drums then has the same infrared transceiver and you and you made you fabbed all of the circuit boards, right?
Yeah, correct on the circuit board
So if we come back and look at all three see if I can get all three and all three boards are completely identical
Okay
The software each mode has its independent function as well as there are functions for
Getting a beat and an ISR that basically samples every time the piezo to check for a beat
So basically the there's a get beat function that returns whenever there is an event which is either a beat
When someone beats here or a button press
As to teach to tweak the cases of dip switches whenever you want to change the switch
You just need to reset the dip switch will set you the initial mode
It's all done with the Omega 1284 microcontroller
Okay, let's see a demo yeah, so
So we have our scones right here. We have
Five modes we're gonna take you through we're gonna calibrate the drum for now
So each each drum is a little different, you know based on size or how tight the drum head is
So we made a mode where you can help distinguish between the three types of hits. So I'm always zero
that's our calibrate mode and
We have a green light that means hit a soft hit hit another one and then it wants two rim shots
So that means we're ready, we're all calibrated and to test our calibration we're gonna go to mode four
Which is just like a free play mode to test that our calibration worked
Like Adam said we have green LED is signifying soft hits
There's our rim shots and then
Our hard hits signify and red
And it's every time you reset the board, you know, if you want to calibrate it
All the primers get reset. So we're probably gonna calibrate each one before we give you an overall demo. Okay
So yeah, so you just saw calibrate mode and then freebie mode, which just tells you which to can be typed
So I'm gonna go ahead and switch over to mode two, which is metronome mode
So, you know how most metronomes work?
You set them manually via like analog or digital means to the correct like beat per second that you want
We kind of take a different spin on it where we really set our own tempos with beat per second
Set our own tempos with beating so so basically I'm green go ahead to start beating so I can be at any tempo I want
If I hit start stop
so you'll see
what it does is it averages the times the average the the Delta time between each hit and it takes all those Delta T's and
Over all of them to make it to make it now. It's gonna be to give us our steady metronome beat
Yeah, so this is it's really great
You know for you know, people wanting to keep steady beat again look at it for visual confirmation and you know
So they know the speed that they're going up. Okay, and then
the next mode that we're gonna show you is mode three which we'll call the repeat after me mode and this is
This sort of a Simon Says type of deal where I will play some type of hit and then I'll try to play against myself
And it'll tell me how consistent I am
With that beat so if I play just straight notes and then I repeat those three notes
It'll tell me if I'm going too fast or too slow with the five on board LED
So right now I'm on mode three and I'm just gonna do a simple
four note hits
Right, so it told me that I had played four loud hits and now if I start
I'm gonna try to play that and these five LEDs will tell me whether I'm on beat or whether I'm off. Let's see
So
Right now we got some the the first yellow came in which says that I'm playing just just a little slow
Yeah, just a little bit too fast or just too slow, right? So then I can
I
Play just one note and then miss for completely forget all the other ones. It'll continue to blink
According to what I played before right? So it's just repeating the pattern that I did
So if I forget what I played I can just hit
Watch the LED and then I can remember what the B is supposed to be. Okay, so that's pretty basically what?
repeat after me does
Which is mode one
For mode one, basically, the first thing you must check is the ID of the board the leader board, which is this one has ID 0
So in case of the leader, it will transmit through IR the information to the other boards
The other boards they can have any ID which is not a 0
So in this case we have when you turn on you see the ID 2
Then it goes to mode 0. So you basically go to mode 1 to be a student. You can't have multiple
Users at the same time. There are students. You do not want multiple leaders at the same time and
So when when you beat it will receive the IR information
And we'll display is the same model as the follows as the repeat after me
Okay, basically we'll show you how the lane you are. Okay, hit it
So right now Gabe is our leader and as you see we have the two students pointing their
IR emitters at the leader and also the IRS are pretty decent width
So like they don't have to always be exactly facing each other
We found that we've turned the IR emitters at completely in opposite directions and we still scattering off the walls. That's quite a lot
It's impressive
So you're just gonna give us like a constant beat
Yeah, hold on just a minute so when so when everything is right when you are on the beat your blue lights light up
If you're early you get a green and if you're late you get a yellow and if they miss it
They all light up like his is right. Okay, so it's right here. He's not playing. They all lit up in his truck
Gotcha, you know, I'm gonna follow the lights now
I'm gonna go to each one of these so you drum again and you follow I'm gonna follow your light first and then go to
There
All
Right, so I could see that was a good example because you were playing too fast too slow
Then you play it the right rhythm and the and the blue light came on
very nice