It's a school project
(Be careful. At the end of the day you're still dealing with electricity)
Circuit Diagram: at [ Ссылка ]
Code: [ Ссылка ]
This should only work for one drum head. You have to get a piezo, put it in A0, then tape it to the drum head. The piezo detects vibrations and sends a signal to the arduino.
Piezo: [ Ссылка ]
![](https://i.ytimg.com/vi/nqR0yfMinRw/maxresdefault.jpg)