↑ Top
TH Custom Effects Build Documentation · Miniature RTB V1.1 · 2014

Miniature RTB

Relay True-Bypass — Miniature 1590A-format · V1.1

A miniature relay true-bypass switching board — successor to the Ultimate Switch in a much smaller form factor. Same proven PIC firmware, same DPDT signal relay, but slim enough to fit a 1590A enclosure and small enough to mount directly to the back of the momentary footswitch with double-sided tape.

PIC10F202 microcontroller DPDT relay bypass LED indicator Power-On option 9 V DC 1590A enclosure
01

Overview & Features

The Miniature RTB is a relay true-bypass switching board in a tiny format. It replaces the conventional 3PDT mechanical footswitch with a small momentary button + a microcontroller-driven subminiature signal relay — same approach as the well-tested Ultimate Switch, but on a much smaller PCB designed to fit a 1590A enclosure.

Successor to the Ultimate Switch — This board uses the same reliable, proven PIC10F202 microcontroller and firmware as the Ultimate Switch. The functionality is identical (debounced footswitch, relay toggle, LED status output, Power-On option); only the form factor changes — this is the smallest possible version that still has all the essentials. Ideal for retrofitting tiny enclosures or replacing failing 3PDT switches with something more reliable and quieter.

Features

  • DPDT relay switching using a Fujitsu FTR-B4C subminiature signal relay (4.5 V coil). Two-pole switching for proper true-bypass routing of input and output.
  • Momentary SPST footswitch instead of 3PDT — much smaller, much quieter mechanical action, no contact wear on the audio path.
  • LED status indicator driven directly by the microcontroller; current-limiting resistor (R2) selectable to taste for any LED you fit.
  • Onboard 78L05 voltage regulator — runs from any standard 9 V DC supply.
  • Power-On option — ground pin 8 (GP3) of the microcontroller to make the effect default to "On" when power is first applied. Useful for always-on effects or amp-channel selectors. Leave pin 8 floating (the default) for normal "off-on-power-up" behaviour.
  • Fits a 1590A enclosure — the smallest standard die-cast pedal box.
  • Mounts directly to the footswitch using double-sided tape — no separate PCB mounting hardware required.
Miniature RTB V1.1 PCB top side, populated

Populated Miniature RTB top side. PIC10F202 in DIP-8 (centre), R2 / R3 standing up, BC549 transistor (right), 78L05 regulator (right edge), 1N5817 flyback diode (top) and the blue MLCC C3 (top-left).

About switching transients — This board does not have an optocoupler-based mute-while-switch feature — the audio path is switched directly by the relay. Most users won't hear anything during transitions because the relay's contacts are clean and the firmware is timed well, but theoretically a tiny click is possible on switch-over. If you specifically need silent transitions for a noise-sensitive build (e.g. a high-gain effect), look at TH Custom Effects' larger uBer Switch instead, which adds the mute-while-switch feature.
02

How It Works

Miniature RTB V1.1 schematic

Full schematic — Miniature RTB V1.0 / Digital Bypass Switch (TH Custom Effects, 03/2014). The V1.1 silkscreen ships with the same circuit; minor layout refinements only.

Architecture

The board has three functional blocks: a 5 V power supply (REG1, C2, C3); the microcontroller (IC2 — PIC10F202 in DIP-8); and the relay drive (Q1, R3, K1, D1, plus the LED on R2). The audio signal itself only ever touches the relay contacts — it never goes anywhere near the digital side.

Switching sequence

Each press of the momentary footswitch (S1) sends a short pulse to the PIC's GP0 pin. Firmware:

  1. Debounces the switch input — the firmware ignores any signal bounce within a few ms after the press is registered. This protects against false toggling from mechanical contact bounce.
  2. Toggles the internal state variable — engaged or bypassed.
  3. Drives Q1's base via R3 from GP2/T0CLK. When Q1 saturates it pulls K1's coil low, energising the relay; when Q1 is off the relay coil is at +5 V on both ends and the relay de-energises.
  4. Updates the LED — Q1's collector also drives the status LED via R2 (the LED is in series with R2 and lights when Q1 conducts).

The relay: K1 (Fujitsu FTR-B4C)

This is a subminiature DPDT signal relay with a 4.5 V coil. One pole switches the input side, the other switches the output side — this gives proper two-pole true-bypass routing. When energised, the relay routes signal through the effect (A_IN → A_TO → ... → A_FRM → A_OUT); when de-energised, it bypasses (A_IN → A_OUT directly). D1 (1N5817 Schottky) is the standard flyback diode across the coil — it absorbs the inductive kickback when the relay turns off, protecting Q1's collector from the voltage spike.

The microcontroller: IC2 (PIC10F202)

A small PIC10F202 in DIP-8 — pre-programmed with the same firmware as the Ultimate Switch. Pin assignments:

  • Pin 2 (VDD): +5 V supply from REG1.
  • Pin 7 (VSS): ground.
  • Pin 5 (GP0): footswitch input (SW_A-1 pad).
  • Pin 4 (GP1): not used in this circuit.
  • Pin 3 (GP2/T0CLK): output to Q1's base via R3.
  • Pin 8 (GP3/MCLR): Power-On option pin — see below.

Power-On option (pin 8)

By default the effect powers up in the bypassed state. If you want the opposite — effect on when power is applied — solder a wire from pin 8 of the IC socket directly to GND. This grounds the GP3/MCLR pin, which the firmware reads at startup and uses to choose the initial state. Useful for always-on effects (boost, buffer, EQ) where you'd otherwise have to step on the switch every time you power up. Leave pin 8 floating for the default behaviour.

Power supply

9 V DC enters at the +9V pad. REG1 (78L05) drops it to a stable +5 V (called VD internally). C2 (100 µF) is the main 5 V rail filter; C3 (100 n MLCC) is the local bypass at the PIC's VDD pin. This board has no reverse-polarity protection — if the Miniature RTB is the only thing in your enclosure, add a 1N4001 or 1N5817 in series with the +9 V supply externally for protection.

Power note — Reversing 9 V into this board will damage the regulator and possibly the PIC. The board runs from a single +5 V regulated rail downstream of REG1 — there's no margin for reverse-polarity tolerance. Always verify polarity before connecting power, especially if powering from a daisy-chain with multiple connectors.
03

Pads

Eight labelled pads, grouped on the four edges of the small PCB.

Miniature RTB V1.1 PCB layout — top view with pad labels

Pad locations — silkscreen on the actual PCB matches what you see here. Audio pads on the top edge; control pads on the right and left edges.

Audio pads (top edge)

PadConnect to
A_INAudio signal coming into the switch (from the input jack tip).
A_TOAudio going to the effect being switched (the effect's input).
A_FRMAudio coming from the effect (the effect's output).
A_OUTAudio leaving the switch (toward the output jack tip).

In bypass mode the relay routes A_IN → A_OUT directly (the effect is skipped). In active mode the relay routes A_IN → A_TO (into the effect) and A_FRM → A_OUT (out of the effect, back to the chain).

Control pads (right and left edges)

PadConnect to
SW_A-1One terminal of the momentary footswitch. Right edge.
SW_A-2Other terminal of the momentary footswitch. Right edge.
+9VPower input — centre-positive 9 V DC. Left edge.
GNDGround. The 9 V supply return + audio sleeve return. Bottom edge.

The LED also has its own pads (visible at the bottom-left of the layout image, marked with the LED silkscreen symbol) — square hole for the long leg (anode), round hole for the short leg (cathode).

04

Bill of Materials

Tiny BOM — that's the point. Two resistors, two caps, one diode, one transistor, one relay, one IC, one regulator. Plus the LED and footswitch as off-board components.

BOM is authoritative — Where the schematic graphic and the BOM differ, the BOM wins. One value differs: C2 = 100 µF (BOM) — the schematic graphic shows 47 µF, but the kit ships and the V1.1 board is calibrated for 100 µF. Use 100 µF.
RefQtyValueColour codeNotes
Resistors — metal film, ¼ W, 1%
R2 (CLR)11k
BrownBlackBlackBrownBrown
Brown · Black · Black  |  Brown · Brown
Status LED current-limiting resistor (CLR). Test brightness with your chosen LED first — a different value may suit your specific LED better.
R311k
BrownBlackBlackBrownBrown
Brown · Black · Black  |  Brown · Brown
PIC GP2 → Q1 base series resistor — drives the relay coil via Q1.
Capacitors
C21100µF / 6.3 VPolarised electrolytic — 5 V supply rail filtering. 5 mm Ø low-profile can — pick a small radial part to fit the limited space, mounted on the back side of the board. Observe polarity.
C31100nFMLCC (multilayer ceramic) — uController VDD decoupling.
Diodes
D111N5817 / 1N4001Relay coil flyback / freewheel diode. 1N5817 (Schottky) preferred for lower forward voltage; 1N4001 also works. Observe polarity (band toward the relay coil + side, per silkscreen).
LED13 mm LEDStatus indicator. Colour and type to taste. The long leg (anode) goes into the square hole on the silkscreen.
Transistors
Q11BC549NPN, TO-92 — drives the relay coil. Pinout (flat side facing you, leads down): C–B–E. 2N5088 works as a substitute but has reverse pinout — insert rotated 180°.
Integrated circuits
IC21PIC10F202P / MicrocontrollerDIP-8 microcontroller — pre-programmed with the switching firmware (the same proven code used in the Ultimate Switch). Use a socket if space allows.
REG1178L05TO-92 +5 V regulator. Pinout varies between manufacturers; verify against the datasheet of your specific brand.
Relay
K11FTR-B4C (Fujitsu)4.5 V DPDT signal relay. Mounted on the back side of the PCB along with C2 — see §05 build steps.
05

Build Guide

Small board, few parts, but two important quirks: Q1 and REG1 sit very close together on the top side and need their leads bent to "bow" toward each other before soldering, and the relay K1 plus C2 mount on the back side of the PCB. Read steps 4 and 7 carefully before starting.

Resistors and diode

Lowest profile components first. Both resistors are 1 k — R2 (CLR) and R3. The colour-band column in the BOM helps verify each. Then fit D1 (1N5817 or 1N4001) — polarity matters; band toward the relay coil + side per the silkscreen.

IC socket — if there's room

Fit a DIP-8 socket for IC2 if your build has clearance — the board is tight but there's usually space for a low-profile socket. Don't insert the chip yet; match the socket's notch to the silkscreen. If space doesn't allow a socket, solder the PIC directly into the board (matching the notch), accepting that you can't easily replace it later.

MLCC capacitor (C3)

100 n MLCC — non-polarised, no orientation. Push it flat against the board.

Transistor and regulator — bow alignment

This is the only fiddly step. Q1 (BC549) and REG1 (78L05) are both TO-92 packages, and the PCB places them facing each other with very little space between. Their lead-spread footprints overlap visually on the silkscreen. Procedure:

  1. Test-fit Q1 and REG1 first by inserting them into the board without soldering.
  2. Their bodies should sit close to each other but not touching — bend the leads slightly as needed so the two TO-92s "bow" toward each other and clear the limited space.
  3. Once they fit cleanly without forcing, solder them in place.

Q1 (BC549) pinout: C–B–E (flat side facing you, leads down) — match flat side to silkscreen flat. If substituting 2N5088, insert it rotated 180° (its pinout is reversed). REG1 (78L05) pinout varies by manufacturer — verify from the datasheet of your specific brand before soldering. Wrong orientation may damage the regulator.

Off-board connections (LED, footswitch, audio pads)

If you're going to mount this in a 1590A you'll route off-board wires for the LED, the footswitch, and the audio in / out / power. You can leave that until §06 / §07 — the board itself is now mostly populated.

Insert the PIC

If you fitted a socket, insert IC2 (PIC10F202, pre-programmed) into it. Match the notch on the IC to the notch on the socket.

Flip the board — relay and electrolytic on the back side

Now turn the PCB over. The remaining two parts both go on the back side: K1 (Fujitsu FTR-B4C relay) and C2 (100 µF electrolytic). Push the relay into its 8-pin footprint — the relay's white plastic body has a small marker indicating pin 1; match it to the silkscreen orientation, then solder all eight pins from the top side. Fit C2 next — polarised, long lead is positive; match the (+) on the silkscreen. Pick a low-profile, narrow can (5 mm Ø) so it sits flush. Solder both from the top side.

Miniature RTB V1.1 PCB back side — populated with relay K1 and electrolytic C2

Back side of the populated PCB — Fujitsu FTR-B4C relay (white) plus C2 (blue electrolytic, 5 mm Ø). Both mount on this side; the rest of the components are on the top side.

Power-On option (optional)

If you want the effect on at power-up: solder a small wire from pin 8 of the PIC socket (or pin 8 of the chip if it's not socketed) to the nearest GND point on the board. This grounds GP3 / MCLR. Leave it disconnected for the default off-at-power-up behaviour.

First power-up — Apply 9 V DC. Quick checks: at REG1's output you should read close to +5.0 V. The status LED should be off (effect bypassed) — unless you wired the Power-On option, in which case it should be on. Press the footswitch — the LED should change state and you should hear a tiny mechanical click from the relay. Press again to toggle back. The audio path should follow: in bypass, signal goes IN → OUT directly; engaged, signal goes IN → TO → effect → FRM → OUT.
06

Mounting in a 1590A Enclosure

The Miniature RTB is dimensioned to fit inside a 1590A — the smallest standard die-cast pedal enclosure. The board sits on top of the momentary footswitch and is held in place by a piece of double-sided tape on the switch body.

Drill template (1590A)

HolePositionSize
FootswitchCentred horizontally between the two long sides; ~18 mm from the bottom of the enclosure.Whatever your momentary switch requires (typically 12 mm Ø)
Status LED5 mm from the right-hand side of the enclosure (centre-line position to taste, often above the footswitch).3 mm Ø
In jack / Out jack / Power jackPosition to suit your enclosure layout — typically left and right side panels for the audio jacks; top or bottom panel for power.Whatever your jacks require (typically 10 mm)

Switch contact clipping

Most momentary footswitches have contact terminals that protrude further than the switch body itself. To get the PCB to sit flat against the back of the switch, clip the switch contacts down to about the same depth as the switch body. Use side cutters and clip carefully — make sure no clipped pin shorts to anything when the PCB is pressed against it.

Mounting procedure

Wire the switch and PCB first

Solder the wires from SW_A-1 and SW_A-2 on the PCB to the two contacts of the momentary footswitch before you stick anything to the switch body. Trying to do this after the PCB is taped down is much harder.

Apply double-sided tape to the switch body

A small piece of double-sided foam tape on the back / top of the switch body — covering the metal but leaving the contact pins free.

Press the PCB onto the switch

Centre the PCB on the switch body and press firmly. The tape holds it in place during all subsequent handling.

Mount the assembly into the enclosure

Drop the switch (with the PCB now stuck to it) into the enclosure from the inside. Tighten the switch's mounting nut from the outside. The PCB goes in with the switch.

LED through its drilled hole

The LED's long leg goes into the square hole on the silkscreen. Bend the legs as needed so the LED sits cleanly in its drilled enclosure hole — you usually need quite long lead extensions to reach from the PCB out to the front panel. Solder finally only after positioning is right.

Wire the audio and power last

With the assembly in the enclosure, solder the off-board audio + power wires from the PCB to the jacks. See §07 for the full wiring diagram.

Miniature RTB V1.1 PCB mounted on the back of the momentary footswitch inside a 1590A enclosure

PCB mounted directly on the back of the momentary footswitch using double-sided tape, inside an aluminium 1590A enclosure. The LED's long leads reach forward to its front-panel hole. Visible underneath: the red layer of double-sided tape between the switch body and the PCB.

07

Wiring

This looks more complicated than it actually is — at heart it's just an input jack going to A_IN, an output jack receiving from A_OUT, the effect input/output going to A_TO/A_FRM, and the power + footswitch + LED on the control side.

Miniature RTB V1.1 — wiring diagram for a single board with effect

Standard wiring of a Miniature RTB with one effect inside the enclosure. The effect's input/output go to A_TO and A_FRM; the input and output jacks go to A_IN and A_OUT.

Connection summary

PadConnect to
A_INTip of the input jack
A_TOEffect input
A_FRMEffect output
A_OUTTip of the output jack
+9VPower jack centre (centre-positive DC tip), shared with the effect's power supply
GNDSleeves of input + output jacks, power jack ring/sleeve, effect's ground rail — all common
SW_A-1, SW_A-2The two terminals of the momentary footswitch
LED padsStatus LED — long leg (anode) to the square hole; short leg (cathode) to the round hole
Wiring tip — Solder the shortest wires first (footswitch and LED, both tied to the PCB inside the enclosure) and the longest last (audio jacks on the side panels, power jack at one end). This avoids tangling. Use thin flexible stranded wire — there's not much room inside a 1590A and the wires need to bend cleanly around the PCB.

Final note

You now have a relay bypass that fits almost any tiny space. Ideal for replacing failing 3PDT mechanical switches with something more reliable, quieter under foot, and with proper LED status indication.

—

Disclaimer & Licence

PCBs purchased from TH Custom Effects are intended for DIY and non-commercial use only. Redistribution of PCBs and artwork from this document is not permitted. You may use these instructions and PCBs to build and sell your own product based on PCBs ordered from TH Custom Effects.

Miniature RTB circuit, microcontroller firmware, and PCB layout © TH Custom Effects 2014–2026. Build documentation V1.1.