Hello!
I am a high schooler looking for some assistance with my project!
I have a prototype I'm building for a school project! I like to call it the Hurricane. It is 14 Roland PD-8 Drum Pads, which are pretty much practice drum pads with a piezoelectric sensor in it. If anyone reading this doesn't know what a piezoelectric sensor is, it just creates a small amount of voltage whenever it gets hit or tapped, the Arduino can read this signal in an analog port. Continuing on, these drum pads are mounted in a half hexagonal orientation ish around me about 2.5 feet in the air. Underneath them is an led screen made with neopixel led strips. Each drum pad has one set of neopixel led strips it controls. I have figured out and wired to an Arduino Mega the drum pad with a 6.5mm aux cable to a breadboard and led strip. I found code online that makes it so that when I hit the drum pad it creates a small strip of light that runs through the rest of the strip. The second part of the project though is making an audio file work with it. The idea is that when I hit a drum pad, the Arduino or a second Arduino recognizes I hit the pad with the signal given off by the pad and then plays an audio file. The complicated part is that I would like it to then afterward switch to the "next" audio file so that I could per say hit one pad and it makes one sound (for example: pshhhh) and then the next time I hit it, it would make a different sound (For example: pahhhh).... I have no idea how to really do this part of it, and I have almost no coding experience.
Sorry for the long paragraph!
So to summarize, I really need help with getting an Arduino to recognize a signal from a piezoelectric sensor, play an audio file, go to the next audio file, and play that file when I hit it, and repeat for as many times as I can.
And if possible, could I borrow the code from someone.... as far as I understand this may not be too hard to code from my experience on one of those basic block by block programming software, I just can't code it in Arduino.
I believe it would go like this maybe...
If signal received from pin (A0)
Play Track (1)
Move to next track
Repeat / Loop
In the end, this should be able to make a song with different sounds running on all 14 drum pads...
To clarify any questions before asking, I have up to 28 Arduino Megas that I can use, 2 per drum, 1 for the led strip and 1 for the audio file, if needed.
Any help I can get would be amazing guys! Thanks so much!!!!
If you have any questions I am happy to answer them on the current progress of this project! Any help would be appreciated!!!!
I am a high schooler looking for some assistance with my project!
I have a prototype I'm building for a school project! I like to call it the Hurricane. It is 14 Roland PD-8 Drum Pads, which are pretty much practice drum pads with a piezoelectric sensor in it. If anyone reading this doesn't know what a piezoelectric sensor is, it just creates a small amount of voltage whenever it gets hit or tapped, the Arduino can read this signal in an analog port. Continuing on, these drum pads are mounted in a half hexagonal orientation ish around me about 2.5 feet in the air. Underneath them is an led screen made with neopixel led strips. Each drum pad has one set of neopixel led strips it controls. I have figured out and wired to an Arduino Mega the drum pad with a 6.5mm aux cable to a breadboard and led strip. I found code online that makes it so that when I hit the drum pad it creates a small strip of light that runs through the rest of the strip. The second part of the project though is making an audio file work with it. The idea is that when I hit a drum pad, the Arduino or a second Arduino recognizes I hit the pad with the signal given off by the pad and then plays an audio file. The complicated part is that I would like it to then afterward switch to the "next" audio file so that I could per say hit one pad and it makes one sound (for example: pshhhh) and then the next time I hit it, it would make a different sound (For example: pahhhh).... I have no idea how to really do this part of it, and I have almost no coding experience.
Sorry for the long paragraph!
So to summarize, I really need help with getting an Arduino to recognize a signal from a piezoelectric sensor, play an audio file, go to the next audio file, and play that file when I hit it, and repeat for as many times as I can.
And if possible, could I borrow the code from someone.... as far as I understand this may not be too hard to code from my experience on one of those basic block by block programming software, I just can't code it in Arduino.
I believe it would go like this maybe...
If signal received from pin (A0)
Play Track (1)
Move to next track
Repeat / Loop
In the end, this should be able to make a song with different sounds running on all 14 drum pads...
To clarify any questions before asking, I have up to 28 Arduino Megas that I can use, 2 per drum, 1 for the led strip and 1 for the audio file, if needed.
Any help I can get would be amazing guys! Thanks so much!!!!
If you have any questions I am happy to answer them on the current progress of this project! Any help would be appreciated!!!!