Hey guys,
I've posted the same in r/PCB but this subreddit does not allow reposting so sorry for word to word copy.
As a hobby project I'm building a drum trigger module board capable of taking an analog signal from a piezo sensor and then outputting a sound. This is essentially what commercial trigger modules do. As a disclaimer - this is my second ever PCB board made that i want to order, I expect a lot of bullshit in there, hence i would like to kindly ask for a review. All the files are also available on GH: https://github.com/nullcrimson/drum-trigger-hw
The main idea behind the components is use basic JLC parts as much as possible to reduce the assembly costs.
Detailed description
It's a two input drum trigger module in a hammond 1590BB enclosure. Piezon sensors plug into two 1/4 TRS jacks, then MCU detects hists and plays audio through I2S DAC to to output jacks and also sends MIDI over USB. Configuration and controls are available via bluetooth. There is not firwmare whatsoever right now, i have a rust application where i do almost all of the above but for drum triggered leds, and that app is for stm32 cortex M4 mcu so the code needs to be ported to esp32 first.
Power is usb-c, no PD, 5V.
Layers: Top - assembly and most of the signals. In1 - solid GND, In2 - power areas + power network, Bottom - no parts, only some signal traces
Blocks
- Power (top left): USB-C input with protection. An LDO makes 3.3 V for the digital side, a second LDO makes (top right corner near the DAC) a clean 3.3 V for the DAC, and a boost/inverter makes +/-5 V for the analog front end.
- Trigger inputs (left): two 1/4" TRS jacks. Tip is the head piezo; ring is a rim piezo or a cymbal edge switch.
- Analog front end (left of centre, one per input): turns each piezo signal into a smooth envelope the ADC can read: rectifies it, compresses hard hits so they don't clip, and holds the peak for a few ms. Op-amps on +/-5 V.
- ADC buffers (centre): buffers the four envelopes and protects the ESP32's ADC pins.
- MCU (top centre): ESP32-S3 module with external antenna (the box is aluminium), reset/boot/pair buttons, status LEDs and a programming header.
- Audio (right): I2S DAC to two 1/4" outputs, protected against 48 V phantom power from a mixer.
- Storage (bottom centre): SPI flash for the active sample kit, and a microSD slot for the sample library.
- MIDI: on the schematic but not fitted on rev A. Please ignore that sheet.
Some of my notes:
I know there are missing mounting holes, also several protection and decouplings parts are still to be moved closer to their pins but i find this a bit tought to fit, also there is not volume knob atm and i'm considering a digital volume control, not sure yet.
There are probably much more issues that i just don't know of due to lack of experience with this stuff. Any comments are much appreciated. If more details is needed please also let me know.
Thank you in advance!