GMU:My Computer, Max, and I/Kaël Skyhawk Hauptmann: Difference between revisions

From Medien Wiki
Line 157: Line 157:
</gallery>
</gallery>
   
   
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.


[[File:drum_kit_5_pieces.mov|400px]]
[[File:drum_kit_5_pieces.mov|400px]]
Line 162: Line 164:
[[File:drum_kit_beat.mov|400px]]
[[File:drum_kit_beat.mov|400px]]


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. 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.
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==
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.


== First Assignment ==
== First Assignment ==