148
edits
(5 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
== | == Drum Set == | ||
Project | Project | ||
[[File:breadboard_final.jpg|400px]] | [[File:breadboard_final.jpg|400px]] | ||
The concept of this project is to create a digital drum set. The idea will be conceived using four major components: an Arduino, Max/MSP, Piezo sensors and drum samples. The scope of this project is scalable depending on the amount of analog inputs in the Arduino, Piezo sensors, and drum samples, but for my project the goal is to create a standard drum set, which is five pieces. By writing the proper code for Arduino and Max/MSP to interpret the data from the sensors, it should be possible to use the values to output the chosen drum samples in Max/MSP when the sensors are struck. | |||
[[File:drum_kit_5_pieces.mov|400px]] | [[File:drum_kit_5_pieces.mov|400px]] | ||
Line 16: | Line 16: | ||
=== Arduino Knock Test === | === Arduino Knock Test === | ||
For the beginning test of my project I followed the knock tutorial found on Arduino [https://www.arduino.cc/en/Tutorial/Knock]. | For the beginning test of my project I followed the knock tutorial found on Arduino [https://www.arduino.cc/en/Tutorial/Knock]. | ||
The hardware setup for the example was simple enough. Unlike the example, I used a breadboard and taped my Piezo sensor to the bottom of a lid from a plastic container. With this test, when I tap on the lid of the container, Arduino would output knock! and the LED light would toggle on/off. | The hardware setup for the example was simple enough. Unlike the example, I used a breadboard and taped my Piezo sensor to the bottom of a lid from a plastic container. I will use plastic containers to house the Piezo sensors. With this test, when I tap on the lid of the container, Arduino would output knock! and the LED light would toggle on/off. | ||
<gallery> | <gallery> | ||
Line 155: | Line 155: | ||
File: arduino_final.jpg | File: arduino_final.jpg | ||
File:breadboard_final.jpg | File:breadboard_final.jpg | ||
File:drum_kit_5_pieces.mov | |||
File:drum_kit_beat.mov | |||
</gallery> | </gallery> | ||
Line 160: | Line 162: | ||
As you can see, I was able to hook up 5 Piezo sensors to the Arduino by using a breadboard, alligator clips, jumper cables, and 1M resistors. | As you can see, I was able to hook up 5 Piezo sensors to the Arduino by using a breadboard, alligator clips, jumper cables, and 1M resistors. | ||
See [[/Arduino 5 Drum Piece]] and [[/Max 5 Drum Piece]] for final coding. | See [[/Arduino 5 Drum Piece]] and [[/Max 5 Drum Piece]] for final coding. | ||
==Conclusions== | ==Conclusions== | ||
One problem I encountered was that when I hooked up more than one sensor, there would be some noise, some of the sensors would constantly output a low signal when other sensors were struck, but the number is usually very low and negated because of the threshold that I put in the Arduino and Max/MSP code. When each sensor is struck it outputs the assigned drum noise. | One problem I encountered was that when I hooked up more than one sensor, there would be some noise, some of the sensors would constantly output a low signal when other sensors were struck, but the number is usually very low and I negated it because of the threshold that I put in the Arduino and Max/MSP code. When each sensor is struck it outputs the assigned drum noise, thus successfully creating a digital drum set using Arduino and Max/MSP. | ||
==Future Improvements== | |||
Although I was able to create a digital drum set, it isn't very practical. The way the project is setup, one cannot simply play it like it were a real drum set. Future improvements would be to create better constructed drum heads, which would pick up the vibrations more clearly and would be able to handle being struck by a drum stick. | |||
== First Assignment == | == First Assignment == |
edits