Hey all, I'm working on creating a DIY electronic drum kit that uses USB-to-Serial to send MIDI signals to a virtual drum brain in a music production software called Reaper. I am starting on the final form of the interface that connects the piezos to an Elegoo AtMega2560, and I wanted to be sure that I have a good setup with the hardware before I go soldering a bunch of parts together.
I am not at all versed in circuit creation or electronics, and I have scoured the internet for solutions for months. What I have is an attempt to synthesize everything I've seen to the best of my capabilities. It works, but I want to know if there is a better way to do it.
Here is (my attempt at) the schematic for a single piezo, ignoring the TS cables and jacks:
The top is the "buzzer," i.e. the piezo. The 1M resistor is typical in these designs, but I added in a variable resistor to adjust sensitivity to some degree if needed... it doesn't really make that big a difference, but I digress. The zener diode is just for overvoltage protection.
This is my first schematic (and really project) ever, so try not to rip into me too hard... thanks!