Hy everyone, Lestra here, 59 year old drummer who wants to build piezo/drum trigger module (to get midi output from piezo) but I am so scared
because I know almost nothing about using Teensy so please be gentle.
What I have so far
Trigger module will be connected to PC via DIN Midi, USB Midi or via LAN if possible, whatever gives lower latency. On the PC side, soundcard can go down to 2ms latency with no problem.
Watched many videos and read some topics here on forum so it is time to start with project.
My first question is about Piezo Signal Conditioning. This video:
https://youtu.be/y2Lmbts9IIs
show how to build piezo conditioning circuit with some resistors, caps, diodes and LM324 as a buffer but someone comment that this is an old 80's style solution and sugest:
"This is not a great way to do Electronic drums. Maybe in the 80's. Considering you have a teensy 4 it's best to do all that stuff in software and use advanced filtering so you can do waveform analysis and do positional sensing and whatnot. There is a lot of information that you lose by not giving the teensy a proper AC signal...The teensy 4 can easily do one million ADC reads per second and you can do advanced filtering (bessel, chebyshev, etc) and a bunch of other stuff while it's waiting for the ADC reads to finish...You can find everything you need on the teensy forum. I suggest looking for the ADC library where you can set more advanced ADC settings."
Here is schematic from video:

Is this approach any good or is there better way to condition piezo signal for Teensy 4.1? That is my starting question. I am so happy to be here and thank you so much in advance.
What I have so far
- Teensy 4.1 (new) and recommended Accessories: USB Cable, Pins 24x1 (2), 8MB PSRAM, USB Host Cable, Ethernet Kit
- Protoboards, power supply 3.3V/5V, soldering iron...
- Piezzo, resistors, capacitors, diodes, op-amps...
- Don't have osciloscope, only Digilent Waveforms software in combination with soundcard (EMU 1820M)...
Trigger module will be connected to PC via DIN Midi, USB Midi or via LAN if possible, whatever gives lower latency. On the PC side, soundcard can go down to 2ms latency with no problem.
Watched many videos and read some topics here on forum so it is time to start with project.
My first question is about Piezo Signal Conditioning. This video:
https://youtu.be/y2Lmbts9IIs
show how to build piezo conditioning circuit with some resistors, caps, diodes and LM324 as a buffer but someone comment that this is an old 80's style solution and sugest:
"This is not a great way to do Electronic drums. Maybe in the 80's. Considering you have a teensy 4 it's best to do all that stuff in software and use advanced filtering so you can do waveform analysis and do positional sensing and whatnot. There is a lot of information that you lose by not giving the teensy a proper AC signal...The teensy 4 can easily do one million ADC reads per second and you can do advanced filtering (bessel, chebyshev, etc) and a bunch of other stuff while it's waiting for the ADC reads to finish...You can find everything you need on the teensy forum. I suggest looking for the ADC library where you can set more advanced ADC settings."
Here is schematic from video:

Is this approach any good or is there better way to condition piezo signal for Teensy 4.1? That is my starting question. I am so happy to be here and thank you so much in advance.

