Skip to the content
PCBKitNew board
2 layers125.1 × 114.6 mmPlugin, the printed circuit board in 3D

(INACTIVE) Piezo contact microphone preamp

Size
125.1 × 114.6 mm
Copper layers
2
Thickness
1.6 mm
Parts
16
Nets
5
Pads
64
Tracks, vias
35, 0
Routed
Yes
KiCad
KiCad 8.0 (file 20240108)
Created
30 May 2024
Updated
30 May 2024

Overview

Plugin is an open-source printed circuit board by jonnor, from the jonnor/piezopro repository on GitHub. It is a 2-layer board of 125.1 × 114.6 mm with 16 parts on 5 nets, routed with 35 tracks and 0 vias.

Its parts include 3 resistors, 3 connectors, 2 diodes, 1 capacitor and 1 transistor. It belongs with the audio and music boards of this library.

README

electronics/plugin/plugin/README.md

Plug-in-power

Contains a single JFET buffer, designed to be powered from "Plug in power" (PIP) at 3-5 volts. Very similar to off-the-shelf electret microphone modules are done. Can be directly plugged into a device with mic-level input supporting PIP. Such as a portable recorder, PC, phone or laptop. Or use preamps or adapters designed for electret microphones.

Board designed to be soldered directly to piezo element, using castellated edge holes. The assembly should then protected mechanically using silicone etc, and be shielded completely using copper tape. And potentially coated with plastidip et.c. to be fully waterproof. Output is a NN cm long cable with 3.5 mm TRRS male.

TODO

  • Adapt circuit to have trimpot for Rs
  • Select and order components. Follow Zack Hoff PIP amp. JFET: 2SK209
  • Make and test initial circuit
  • Measure gain, noise levels

Open questions

  • Does this two-step amplified design work give good quality? First JFET buffer, then external preamp? Test the circuit externally. Test how copper shielding affects. Over just the piezo. Over piezo, and PCB separate. Over piezo and PCB integrated.

  • How is sound pickup influenced by mounting PCB onto the piezo?

Alternative fully-integrated design. Put everything needed also for P48V phantom power and 9V. Then just have different sets of wires coming out for different connectivity options.

Challenges

Multiple usage scenarios with different expectations of connection

  • Instrument. 9V battery + female jack
  • XLR with phantom power
  • Portable recorder. Plug-in-power. Though some also have XLR or TRS

Different usage scenarious may have different input level, and require different gain

  • Ambient listening. High sensitivity desired
  • Stringed/plucked instruments. Guitar, kaliba, piano etc. Relatively loud
  • Percussive instruments. Very loud / high energy

Learnings

Direct soldering

06.08.2023. Tested soldering a PCB board with castellated holes directly to a PCB. Worked quite nicely. Heated the PCB castellated first, then feed solder on pad, then towards piezo. Used 280 deg C soldering iron, was sufficient.

Components

SMD JFET for audio

SOT23 DSG: Gate on tip

  • 2SK3557 - SOT23 DSG
  • MMBF4416A - SOT23 DSG
  • MMBF5484/MMBF5485/MMBF5486 - SOT23 DSG. 5484 has lowest VGS_off - good
  • MMBFJ309/MMBFJ310 - SOT23 DSG. 309 has lowest VGS_off - good
  • MMBF4393LT1G - SOT23 DSG
  • MMBFJ201 - SOT23 DSG.
  • SST201 - SOT23. Low cutoff voltage
  • LSBF510 - SOT23. Low cutoff voltage
  • 2N4117

Very expensive

  • sst310

Discontinued

  • MMBF4393
  • Philips bf512
  • MMBF4416
  • BF256B
  • BF862
  • BF556

Specialiy

  • JFE150 SOT23-5. Modern. Includes clamping diodes

Electret Capsule Microphone (ECM) specialized

  • 2SK208. SOT23. Pin order different? No proction diodes. Normally in stock Digikey.
  • 2SK1109. SOT23. Comes with binning of IDDS. Obsolete?
  • TF256TH. One diode internally. Comes with binning of IDDS. SC-106A SMD. Obsolete?
  • NTE2917. TO92S

Others by others with success

  • 2SK209. By Zack Hoff

References

Zack Poff: PIP Stereo Piezo Preamplifier

https://www.zachpoff.com/resources/pip-stereo-piezo-preamplifier/

Very simple circuit. JFET, Zeners for protection. Mentions possibility of adding a capacitor on Rs to increase gain. Used the 2SK209 SMD JFET (IDSS grade Y). After testing many others. Zeners are back-to-back. 5.1V Stereo. Two channels on single PCB. Have to solder inputs and outputs to wires. No connectors. 3d-printed enclosure. Has a "pad" switch. Pulls some capacitors to ground. Says there is sufficient gain for quiet sources. But not the best for percussive. Presumably overloading output.

!! He has tested the spread of the JFETs. They should be measured and binned by IDSS, for best results.

Excellent starting point for an inline PIP preamp. Would instead use 3.5 mm female jacks. SMT, avoid soldering cable. Also tweaking the enclosure and PCB to make shielding trivial. Copper foil/tape that connects to PCB. Solder one spot and then press-connect. And order it pre-made at JLCPCB etc.

His preamp was used in combination with below DYI piezos.

3D-Printed DIY Contact Microphone

https://www.zachpoff.com/resources/3d-printed-diy-contact-microphone/ 27mm piezo disk. Glued to 1-1/8″ dia Aluminum discs. Approx 29 mm. 3D-printed back shells. The alu disc makes them quite sturdy. Also also reduces the reasonant peak. At the expense of some sensitivity. ?? No shielding in the enclosure. Not mentioned the effect of this. Tested by students over many years.

Seems like a very practical construction.

Elliot Sound: JFET amplifier design

https://sound-au.com/articles/jfet-design.htm#s3

Most important JFET parameters:

  • the gate-source cutoff voltage VGS (off). Aka 'pinch-off' voltage (VP).
  • and the maximum current with zero gate voltage (IDSS).

Must in practice be measured. Large amount of unit variation in these. Shows a practical test circuits to measure the key parameters.

Lots of discussion on how to set bias point (via selecting R_s). Recommends a trim-pot for R_s.

The lower the supply voltage, the more accurate the biasing needs to be.

Bias point and component selection

In this applicaion there will also be some external variation in R_s on, so the circuit must be robust to a reasonable range of these. Complicates testing of the bias point.

In practice JFET selection is likely to be critical. And it is quite likely that JFETs must be measured/binned.

=> this design is only ideal when direct operation as "elecret" mic is needed. If an external power source is acceptable, then a op-amp based charge amplifier is better.

Gain adjustment has to be primarily done by selecting another JFET. The other option is to use the resistive divider on the input, but this reduces SNR.

Accessories

XLR converter

PIP 3.5mm TRS to XLR phantom power

Battery box

Ideally with jack socket (female). For guitar amp etc connection.

Not so much completely ready??

There are a bunch of ready-made electret amplifier boards

  • 3V/5V/12V Input MAX9812 Electret Microphone Amplifier
  • LM358

Would need to add minijack input, jack output, and 9V battery connector.

Parts

16
QtyValueFootprintReferences
2Conn_01x01Connector_PinHeader_2.54mm:PinHeader_1x01_P2.54mm_VerticalJ1, J2
2DDiode_SMD:D_SOD-523D1, D2
1100Resistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolderR1
11MResistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolderR3
1CResistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolderC1
1Conn_01x02Connector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_HorizontalJ3
1Q_NMOS_DSGPackage_TO_SOT_SMD:SOT-23_HandsolderingQ2
1RResistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolderR2

The 10 most common of 16 parts.

Questions

How big is the Plugin PCB?

It measures 125.1 × 114.6 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Plugin use?

16 parts. 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 Plugin KiCad files?

From the jonnor/piezopro repository on GitHub, at the commit this page was made from: the board is electronics/plugin/plugin/plugin.kicad_pcb and its schematic electronics/plugin/plugin/plugin.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Plugin design in my own project?

Its repository states no licence, so its author keeps all rights: ask jonnor before reusing the design.

More from jonnor/piezopro

1
  • 2 layersPreamp, the printed circuit board in 3D

    Preamp

    jonnor/piezopro

    (INACTIVE) Piezo contact microphone preamp

    29 parts2

Similar boards

  • 2 layers140.5 × 30 mmType e, the printed circuit board in 3D

    Type e

    google/mozc-devices

    Circuit diagrams and firmware source code for Gboard DIY keyboards

    16 parts3kApache-2.0
  • 2 layers41.4 × 14.5 mmU2f zero, the printed circuit board in 3D

    U2f zero

    conorpp/u2f-zero

    U2F USB token optimized for physical security, affordability, and style

    16 parts2.4k
  • 2 layers122 × 37 mmV0-UmbilicalBoard, the printed circuit board in 3D

    V0-UmbilicalBoard

    VoronDesign/Voron-Hardware

    Cool Hardware designed by the Voron Design group

    16 parts1.1kGPL-3.0
  • 2 layers152 × 57.6 mmVideoslotadapter, the printed circuit board in 3D

    Videoslotadapter

    hoglet67/RGBtoHDMI

    Bare-metal Raspberry Pi project that provides pixel-perfect sampling of Retro Computer RGB/YUV video and conversion to HDMI

    16 parts1kGPL-3.0
  • 2 layers36 × 63.4 mmSmart ringfinal layout, the printed circuit board in 3D

    Smart ringfinal layout

    hackclub/OnBoard

    💡 Join 1,000 teenagers and make your first PCB with a $100 grant!

    16 parts915
  • 2 layers60 × 40 mmHASwitchPlate, the printed circuit board in 3D

    HASwitchPlate

    aderusha/HASwitchPlate

    LCD touchscreen for Home Automation

    16 parts738MIT
  • 2 layers21.1 × 26.9 mmDemo, the printed circuit board in 3D

    Demo

    easyw/kicadStepUpMod

    kicadStepUp: ECAD to MCAD FreeCAD WorkBench

    16 parts704