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

From Medien Wiki
No edit summary
Line 44: Line 44:
== Setting Up Arduino Hardware ==
== Setting Up Arduino Hardware ==
Although, my drum piece was working, I found out when attaching the second sensor that my hardware setup was wrong. I had the circuit connect only through the analog input and ground, so I needed to connect to the 5V to create a true circuit. I did that and then I added the second sensor data to Arduino code and cleaned up the code. The only issue that I'm still dealing with is the values given from the sonsors. For some reason, when I add a second sensor to Arduino, one of the sensors always outputs variable data above 0 when it has not been triggered.
Although, my drum piece was working, I found out when attaching the second sensor that my hardware setup was wrong. I had the circuit connect only through the analog input and ground, so I needed to connect to the 5V to create a true circuit. I did that and then I added the second sensor data to Arduino code and cleaned up the code. The only issue that I'm still dealing with is the values given from the sonsors. For some reason, when I add a second sensor to Arduino, one of the sensors always outputs variable data above 0 when it has not been triggered.
[[File:kael_arduino_2_sensor_1.jpeg|400px]]
[[File:kael_arduino_2_sensor_1.jpeg|400px]]
[[File:kael_arduino_2_sensor_2.jpeg|400px]]
[[File:kael_arduino_2_sensor_2.jpeg|400px]]
Line 122: Line 123:
= Final Result  =
= Final Result  =


[[Media:drum_kit_5_pieces.mov]]
[[Drum Kit Pieces Check]]


[[Media:drum_kit_beat.mov]]
[[Drum Beat Preview]]