Skip to main content

Connectors & pinouts (rev H)

Pin tables below follow the rev H netlist (toern_revH.net). Teensy pin names use the schematic global-label style (18_A4_SDA = digital pin 18 / A4 / SDA, etc.). The schematic PDF wins if a silk label disagrees.

For which jack is which on the finished box, see the handbook hardware page — this doc is the electrical map.

Panel audio / MIDI / USB​

RefFootprint (BOM)Role
J4USB-C receptacleHost USB (D+/D−, VBUS)
J16.35 mm Neutrik-styleHeadphone out from SGTL5000 HP_L / HP_R / HP_VGND
J56.35 mm stereo TRSLine out: tip → C17 → LINEOUT_L; ring → C16 → LINEOUT_R; sleeve GND
J66.35 mm stereo TRSLine in: tip → C19 → LINEIN_L; ring → C18 → LINEIN_R; sleeve GND. Firmware records input channel 0 (left) only.
J76.35 mmMic / related input path (tip tied toward mic capsule net; sleeve GND)
J3, J17CUI SJ1-3533 (3.5 mm)TRS MIDI in/out (opto / serial side via TLP2361 etc.)
MK1POM-2244P condenserBuilt-in mic → codec MIC / MICBIAS path
J8Hirose microSDSPI SD: CS=10, MOSI=11, MISO=12, SCK=13, VDD=+3.3V

Exact silk labels on a built unit may use friendly names (LINE OUT, MIDI IN, …); match by connector family and position on the edge.

Power / speaker​

RefTypePins (PCB)
J16JST-PH 1×021 GND · 2 VBAT — LiPo
J10JST-PH 1×02Speaker outputs from PAM8403 (U13)
J9JST-PH 1×03Matrix / strip: pin 1 = Teensy 17 through R20 (220 Ω), pin 2 = GND, pin 3 = switched 5 V from TPS22918 U8 (enable is Teensy 36)
S1EG2219 slide switchMain power path between charger system rail and +5V distribution

Encoder sockets (I2C RGB encoders)​

Several 1×05 pin sockets share the same bus (examples: J2, J18–J24):

PadNet
1GND
2+5V
318 SDA
419 SCL
527 — encoder interrupt (INT_PIN in firmware)

These match Duppa / i2cEncoderLibV2-style modules used in firmware.

Analog clock / sidechain (JST-PH 1×02)​

Silk on rev H. Pads: 1 = signal, 2 = GND.

SilkRefTeensy pinPath
CLK-OUT(5V)J2537MCU → 74AHCT1G125 (U15, 5 V) → 1 kΩ → jack
CLK-IN(3-5V)J2638Jack → 22 kΩ → Schottky clamp (D2) → 74LVC1G17 Schmitt (U14, 3.3 V) → MCU
SIDEC-5VJ2728MCU → 74AHCT1G125 (U16, 5 V) → 1 kΩ → jack

Firmware: MENU → MIDI → PPQN drives J25 (rate / width / polarity / STOP). MENU → MIDI → CIN sets the J26 rate (1–32 PPQN) and hold-off. The pin-38 interrupt is attached only in BPM orange EXT and then calls playNote() / playFillNote() directly; fillTimer stays stopped, and playTimer only runs as a pulse-relocked one-shot that spaces the extra steps at 1/2 PPQN. D2 is BAT54S in standard SOT-23 (toern:BAT54S: pin 1 anode to GND, pin 2 cathode to +3.3 V, pin 3 common to the clamp node). Early rev H boards used KiCad D_Schottky_Dual_Series_ACK (pin 2 = common, pin 3 = cathode), which pulled U14's input to 3.3 V; those boards need D2 removed or bodged. MENU → MIDI → TRIG picks which voice pulses J27 (same width/polarity as PPQN; OFF disables).

Do not use J11 pin 31 for clock — that pad is unused GPIO.

Expansion JST-PH 1×05​

RefPad 1Pad 2Pad 3Pad 4Pad 5
J1124 SCL225 SDA231 CTX3+3.3VGND
J11.524 SCL225 SDA231 CTX3+5VGND
J12225 IN215+3.3VGND
J132 OUT24 BCLK23 LRCLK2639
J1414916+3.3VGND
J1533 MCLK23241+3.3VGND

J11 / J11.5 are I2C2 + pin 31 expansion, not the analog clock jacks (those are J25–J27 above).

Codec I²C​

SGTL5000 (U3) control lines:

  • SDA → Teensy 18
  • SCL → Teensy 19

Same I²C bus as the encoder chain (distinct 7-bit addresses).

Schematic PDF​

Full readable schematic: PCB/toern_revH/schematic.pdf.

Audio routing versus connector wiring​

J1, J5 and J6 are stereo TRS connectors. Normal playback sends the main mono mix to both output channels; VOL → 2-CH can separate main/preview or sample banks. Those output mixers also feed USB audio. The current onboard recording path reads the left line-input channel only and writes mono WAVs. See Audio graph and the recording handbook.