Skip to the content
4 layers70 × 35.5 mm2023 PiezoPreamp, the printed circuit board in 3D

Piezo preamplifier v2 with Baxandall tone control and battery indicator. KiCAD v7 project.

Size
70 × 35.5 mm
Copper layers
4
Thickness
1.61 mm
Parts
73
Nets
56
Pads
193
Tracks, vias
473, 205
Pours
2
Routed
Yes
KiCad
KiCad 7 (file 20221018)
Created
7 Dec 2023
Updated
11 Jan 2025

Overview

2023 PiezoPreamp is an open-source printed circuit board by arxwtf, from the arxwtf/2023_PiezoPreamp2 repository on GitHub, published under the MIT licence. It is a 4-layer board of 70 × 35.5 mm with 73 parts on 56 nets, routed with 473 tracks and 205 vias.

It is built around the OPA145ID, ZXMP3A17E6TA and SSSS224100, with the B10K among its other parts. Its parts include 16 resistors, 13 capacitors, 5 diodes, 5 connectors and 4 ICs. It belongs with the audio and music boards of this library.

Main components

4

README

README.md

Piezo Preamp v2 with Baxandall Tone Control and Battery Indicator

Newer version (v3) available here.

Detailed information / blog here.

A simple preamp to be used for e.g. guitar piezo (contact) microphones.

Created in KiCAD v7 and LTSpice.

Rendered PCB

Main circuit blocks

Charge amplifier for piezo

Basically an integrator circuit. Provides low-impedance input. The gain is adjustable and depends on the input piezo capacitance. In my measurements, piezo discs have following capacitances:

  • small disc: ~10nF
  • medium disc: ~20nF
  • large disc: ~40nF

But I've also seen mentions of piezo discs with <10nF capacitance. Connecting multiple piezo discs in parallel increases the capacitance, so the maximum piezo capacitance can be in order of ~100nF or so.

The gain of the charge amp is then set by the ration of piezo capacitance to charge amp feedback capacitance. The gain slide switch is used to select from these feedback capacitances:

  • 1nF
  • 5.7nF
  • 11nF
  • 23nF

Input is protected by ESD bidirectional diode.

OPA145 is the opamp of choice because of these characteristics:

  • JFET input stage, which means low input bias and offset current - critical for a charge amplifier
  • low quiescent current (0.7mA max) for battery operation
  • acceptable input voltage noise density (7nV/rtHz)
  • good current noise density (0.8fA/rtHz)
  • sufficient slew rate for audio (20V/us)
  • sufficient GBW (5.5MHz)
  • single supply voltage range 4.5V - 36V
  • output voltage swing (V- +0.3, V+ -0.3)

Opamp also unfortunately seems to have bias current cancellation, which might introduce more current noise - this has to be determined by measurement. The same opamp is also used for Baxandall tone control section. Two single OPA145 components are used instead of dual OPA2145 package because it's easier to route, minimizes crosstalk and improves power dissipation (less heat). This increases the price, of course.

High-pass filter

The charge amp is followed by a simple first-order high-pass filter with switchable cutoff frequency:

  • 0Hz
  • 75Hz
  • 120Hz
  • 235Hz

The cutoff frequency is selectable by LPF slide switch.

Baxandall tone control

Bass and treble can be adjusted independently by Bass pot and Treble pot in the ranges of +-10dB. The center frequency is switchable by Center slide switch:

  • 350Hz
  • 600Hz
  • 780Hz
  • 1kHz

Output audio is routed through Volume pot and protected by ESD bidirectional diode.

Power-on LED and battery indicator

The power-on LED can work in two modes, switchable by on-board jumper header

  • always on (jumper is off)
  • "battery indication mode" (jumper is on)

Battery indication mode (BI) causes the LED to flash briefly when the circuit is switched on (by inserting mono plug to output jack). The longer the flash, the lower the battery voltage (remaining capacity). Under certain threshold, the LED will stay on permanentnly, signalling the need for replacement. This BI threshold is adjustable by on-board trimmer pot and needs to be determined by voltmeter measurement.

The power-on LED intensity is adjustable by an on-board trimmer pot as well.

Power supply

Designed for 9V batteries or DC pedal power supplies, but should theoretically be able to work properly with up to 18V DC.

Power enters the PCB by means of Molex PicoBlade connector on board.

Contains ESD protection (bidirectional diode), MOSFET reverse polarity protection (with Zener gate protection and CLR) and input pi filter.

Simulation: /ltspice folder

LTSpice simulations (transient, AC, noise, stability) and some graphs are available in ltspice/ folder.

/library folder

Folder containing all 3rd symbols, footprints and 3D models used in the project. Other than that, only standard KiCAD symbols are used (opamps, ).

/resources folder

Contains some additional resources, inspiration and schematics used during development.

/schematics folder

Contains schematic sheets plotted from KiCAD, individually as .png and in one file as .pdf.

Known problems

  • the slide switches are quite small! They might be hard to operate, especially when the PCB is inside an enclosure.
  • the mounting holes are too close to the edges of the PCB. Mounting pegs' bases might need to be trimmed, depending on the enclosure - or a different mounting accessories need to be used.
  • fixed in v2.3: the enclosure I chose (TEKO 1/A.1) has a inner width (34mm) that seems to be about 1mm shorter than ideal. This will create PCB mounting problems. Future revisions of PCB should address this, or a different enclosure must be used (e.g. TEKO 2/A.1)
  • battery spring (used only for grounding) is too close to the PCB edge. This creates unnecessary force between the PCB and the enclosure wall. The spring can be shortened, or not used at all.

Parts

73
QtyValueFootprintReferences
53k9library:ERA-3AEB392VR103, R302, R304, Rb101, Rb102
4220nlibrary:GRM31C5C1H224JE02LChp102, Chp104, Chp105, Chp106
3100nlibrary:GRM31C5C2A104JA01LC204, C206, Cb102
310ulibrary:C3216X5R1H106K160ABC203, C205, C207
322nlibrary:CGA4J2C0G1H223J125AACb104, Cf102, Ct102
322ulibrary:GRM21BR61E226ME44LC201, C202, C301
347klibrary:RT0603BRD0747KLR203, R204, R303
368nlibrary:GRM31C5C1H683JA01LCb101, Cb103, Chp101
3SSSS224100library:SSSS224100S101, S102, S103
2100Rlibrary:ERA-6AEB101VR105, R202
210Mlibrary:MCA1206MD1005BP100R104, Rf101
210u 50Vlibrary:EEEFK1H100URC101, Chp103
212V 1pFlibrary:CDSOD323-T12LCD101, D102
2150Rlibrary:RT0603BRD07150RL_UL-MR101, R102
21nlibrary:GRM1885C1H102JA01DCf101, Cf105
22k2library:RT0603DRD072K2LRt101, Rt102
24n7library:GRM1885C1H472JA01DCf104, Ct104
26.3mm stereolibrary:CUI_SJ-63053AJ101, J102
26n8library:GRM1885C1H682JA01DCt101, Ct103
2B10klibrary:PTV09A-4020F-A103RV101, RV102
2M3 MountingHoleMountingHole:MountingHole_3.2mm_M3_ISO14580H402, H403
2OPA145library:OPA145IDBVRU101, U102
2trim B10klibrary:ST-4ETB103RV301, RV302
1100klibrary:RT0603BRD07100KLR301
1100plibrary:GRM1885C1H101JA01DC102
1100u 50Vlibrary:EEEFTH101XAPC103
110klibrary:RT0603BRD0710KLR201
110nlibrary:GRM1885C1H103JA01DCf103
12.54mm headerlibrary:77311-818-02J301
120V 15pFlibrary:D20V0L1B2WS-7D201
1A10klibrary:PTV09A-4020F-A103RV103
1DDZ12B-7library:DDZ12B-7D202
1M3 MountingHole_PadMountingHole:MountingHole_3.2mm_M3_ISO14580_PadH401
1MMDT2222A-7-Flibrary:MMDT2222A-7-FU301
1Molex PicoBladelibrary:53047-0210J201
1Red 100mcd/120°/2mAlibrary:APT1608LSECK_J3-PRVD301
1Spring Contactlibrary:KEYSTONE-5201J401
1ZXMP3A17E6TAlibrary:ZXMP3A17E6TAU201

Similar boards

  • 4 layers100 × 100 mmRsyn1, the printed circuit board in 3D

    Rsyn1

    jaromir-sukuba/rsyn

    Resistance synthesizer

    90 parts4MIT
  • 4 layers72.5 × 50 mmSimple, the printed circuit board in 3D

    Simple

    Atmelfan/src-multislope-adc

    Multislope ADC

    78 parts
  • 4 layers150 × 99.5 mmRnvm bart, the printed circuit board in 3D

    Rnvm bart

    kitspace-test-repos/kicad6-file-collection

    883 partsMIT
  • 2 layers96.5 × 20.3 mmAvalancheVCO, the printed circuit board in 3D

    AvalancheVCO

    kassu/kassutronics

    Projects, documentation... all things synthesizers and electronics

    21 parts183
  • 2 layers99.1 × 109.2 mmModule, the printed circuit board in 3D

    Module

    zlosynth/kaseta

    Saturating tape delay and feedback sculptor.

    71 parts59CC-BY-SA-4.0
  • 2 layers86.4 × 69.9 mmPeaks, the printed circuit board in 3D

    Peaks

    matias-levy/peaks

    A fully-functional low-cost reversion of Mutable instrument's Peaks

    54 parts58
  • 2 layers48.4 × 106.3 mmAchordion, the printed circuit board in 3D

    Achordion

    zlosynth/achordion

    Chord-crafting quantizing wavetable oscillator.

    55 parts38CC-BY-SA-4.0
  • 2 layers9.9 × 110.1 mmADSR, the printed circuit board in 3D

    ADSR

    kraakenstuff/ADSR

    2HP ADSR module based on "Fastest Envelope in the West" by René Schmitz (https://www.schmitzbits.de/adsr.html)

    44 parts37

Questions

How big is the 2023 PiezoPreamp PCB?

It measures 70 × 35.5 mm and has 4 copper layers, 1.61 mm thick.

What parts does the 2023 PiezoPreamp use?

73 parts, built around the OPA145ID, ZXMP3A17E6TA, SSSS224100 and B10K. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.

Where can I download the 2023 PiezoPreamp KiCad files?

From the arxwtf/2023_PiezoPreamp2 repository on GitHub, at the commit this page was made from: the board is 2023_PiezoPreamp.kicad_pcb and its schematic 1-ChargeAmpAndEQ.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the 2023 PiezoPreamp design in my own project?

Its repository publishes it under the MIT licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).