Switchboard
Three chips, two knobs, a pattern that wanders on its own · By Onion Madder · Mess O' Pedals
A sequencer with no pots on the steps. Four gates of a 40106 are four fixed tones, set by four resistors. A fifth gate is the clock, on the rate knob, and a CD4040 counts it. Two of the counter's bits drive the address of a CD4051, an eight-way switch, whose inputs are wired tone, rest, tone, rest, so the output steps through a four-beat pattern with silence between the notes. The third address bit comes from a sixth gate running on its own, slowly, on a 470K and 4.7 µF, so every second or so the switchboard changes which pair of tones it is playing. Two knobs, rate and level, and it wanders by itself.
What you'll need
tap to expand / collapse
Sixteen parts on the board plus the links, and five off it. The four tone resistors are the tuning; change them and it is a different tune.
- 1× CD40106 hex Schmitt inverter, DIP-14 (U1) - spot it: fourteen legs, the number printed on top, a notch at one end. All six gates used: four tones, the clock and the drift.
- 1× CD4040 12-stage binary counter, DIP-16 (U2) - spot it: sixteen legs, notch at one end. Counts the clock; only Q2 and Q3 leave it.
- 1× CD4051 8-channel analog mux, DIP-16 (U3) - spot it: sixteen legs, notch at one end. One of eight inputs through to the common pin, chosen by three address bits.
- 1× 1N5817 Schottky (D1) - spot it: fat black body, a gray band at one end. Reverse-polarity protection on the supply
- 1× 470K resistor (R2) - spot it: bands yellow-violet-yellow. The drift oscillator's resistor, with C2. Bigger is slower
- 2× 100K resistor (R3, R7) - spot it: bands brown-black-yellow. R3 tunes voice 1, the lowest; R7 ties the output down for the level pot
- 1× 68K resistor (R6) - spot it: bands blue-gray-orange. Tunes voice 2
- 1× 47K resistor (R5) - spot it: bands yellow-violet-orange. Tunes voice 3
- 1× 33K resistor (R4) - spot it: bands orange-orange-orange. Tunes voice 4, the highest. The four tone resistors are the tuning; with equal caps a smaller resistor is a higher note
- 1× 1K resistor (R1) - spot it: bands brown-black-red. In series with the rate pot, so the clock can never see zero ohms
- 4× 47nF ceramic (C3, C4, C5, C6) - spot it: printed 473. One timing cap per voice. Equal on purpose, so the resistors alone set the intervals. C1 and C4 go to the supply rail rather than ground, which an oscillator does not mind
- 2× 1 µF electrolytic (C1, C7) - spot it: a small can with a stripe down one side; the stripe leg is the negative one. C1 is the clock's timing cap, on the rate pot; C7 couples the output. Stripes: C1 toward pin 1, C7 toward the level pot
- 1× 4.7 µF electrolytic (C2) - spot it: a small can with a stripe down one side; the stripe leg is the negative one. The drift cap, with R2. Stripe to ground
- 1× 100 µF electrolytic (C8) - spot it: a small can with a stripe down one side; the stripe leg is the negative one. The supply reservoir. Stripe to ground
- 23× wire links - offcuts of component leg
Off the board
- 1× B500K linear pot - step rate. A variable resistor: lug 3 to P, wiper to RATE, wiper jumpered to lug 1. R1 is its 1K floor
- 1× A100K log pot - level. Lug 3 to OUT, lug 1 to GND2, wiper to the output jack tip
- 1× 1/4 inch jack - out. Tip to the level wiper, sleeve to GND2
- 1× DC jack, 9 V center negative
- An SPST toggle for power, in the positive supply lead between the DC jack and the board's +9V pad. Every build on this shelf gets one, and the drawing above shows it
- 1× 20K pot - the power starve. A variable resistor in the same lead, after the power toggle: the toggle to lug 1, wiper jumpered to lug 1, lug 3 to +9V
- 1× on-off-on toggle - the growl. Center lug to GROWL, the outer lugs to GROWL_CLK and GROWL_DRIFT
The layout file is the guide
Like every layout on this shelf, the build document for this one is the file itself: ↓ Download Switchboard.json - import it into Copper Bottom and the editor gives you the board picture, the placement walkthrough, the electrical checks and a printable build sheet, all from the same file. No coordinates are written out on this page on purpose: the editor is the viewer, and a number typed twice is a number that can drift.
Ground is strip j, the long strip under the 40106, with the GND and GND2 pads both on it, and links carry it to the 4051's four grounded inputs and the counter's reset. Four of the mux's eight inputs are wired straight to ground - X2, X3, X6 and X7 - and those are the rests. That is the pattern, on the copper, and there is nothing to tune.
The netlist
tap to expand / collapse
My script wrote this from the design and the board was checked against it in Copper Bottom: every connection it names is on the board and nothing on the board is missing from it. The lines to read are QA and QB, the two counter bits into the mux's address pins, DRIFT, the slow gate into the third, and V1 to V4, each a tone's output going to one input of the mux. The mux's other four inputs are on GND, which is where the rests come from.
The off-board wiring
Nine pads leave the board: the rate pot, the level pot, the jack, the supply and the growl toggle. Everything else stays on the copper.
| Pad | Goes to |
|---|---|
| P / RATE | The B500K rate pot. Lug 3 to P, wiper to RATE, wiper jumpered to lug 1. R1 is its 1K floor |
| OUT | Level pot lug 3. The wiper goes to the output jack tip, and lug 1 to GND2 |
| GND2 | Level pot lug 1 and the jack sleeve. Same net as GND |
| +9V / GND | The supply, through the power toggle and the starve pot. DC jack positive to the toggle, the toggle to the 20K pot's lug 1 with the wiper jumpered to it, and lug 3 to +9V; negative to GND |
| GROWL / GROWL_CLK / GROWL_DRIFT | The growl toggle, an on-off-on. Center lug to GROWL on strip d, the drift timing node right after C2; the outer lugs to GROWL_CLK on strip c, the clock line, and GROWL_DRIFT on strip e, the drift output. Center off is the board as drawn without it |
Built, and heard
Built on the bench in October 2026, and it sounds all beepy and clicky. That is the first drawing of this board, 14 strips by 38 holes, kept here as Switchboard_v1.json. The 13 by 31 file above is the same circuit on less copper, every net checked against the built board, and nobody has soldered that one yet.
Then I added two mods on the bench. A 20K pot as a power starve, wired as a variable resistor in the +9V line between the DC jack and the +9V pad. I started with a 10K; the 20K sounds better. And an on-off-on toggle with its center lug on strip d, right after C2, where the drift oscillator's timing node is, and its outer lugs on strip c, the clock line, and strip e, the drift output. It changes it from a beepy chirp to a robot and a fuzzy growl.
Both mods are in the layout file, the drawing and the drill template: the starve pot is POT3 and the growl toggle is SW2.
How it works, in one breath
Four gates of the 40106 are four oscillators with a fixed resistor each, 100K, 68K, 47K and 33K, on 47n caps, so four fixed pitches climbing from voice 1 to voice 4, from around two hundred hertz to several hundred. A fifth gate is the clock, on the rate pot and C1, from a couple of ticks a second to audio rate. The 4040 counts the clock. Its Q3 output, which flips every four ticks, drives the mux's A address bit, and Q2, every two, drives B, so the address walks 0, 2, 1, 3 and back, each step two ticks long. The mux's inputs 0 and 1 are voices 1 and 3 and inputs 2 and 3 are ground, so what comes through the common pin is tone, rest, tone, rest: voice 1, nothing, voice 3, nothing.
The sixth gate is the drift: 470K and 4.7 µF, a swing every second or two, on the mux's C bit. When it is high the address is 4 to 7 instead of 0 to 3, and those inputs are voice 4, ground, voice 2, ground. So the same tone-rest-tone-rest pattern runs on the other pair of voices, and the drift swaps pairs whenever it likes, unrelated to the clock. Two pairs, two rates, and a thing that never lines up twice. C7 blocks the DC and the level pot sets how much leaves. That is what the schematic does.
Things to try
None of these have been tried yet. They are the obvious knobs.
- Retune it. The four resistors are the four notes. Values in the ratio 4:3:2:1 give octaves and fifths; the ones here were picked to spread, not to tune
- Fill the rests. Lift X2, X3, X6 or X7 off ground and run a wire from another voice, and the pattern is eight notes with no gaps
- Use Q1 and Q2 instead of Q2 and Q3 for the address, and every step is one tick instead of two
- Feed it to the CMOS Ladder Filter, which is what a square-wave sequencer is for
The same circuit on a breadboard
tap to expand / collapse
Want to hear it before you solder it? This is the layout file above moved onto a full-size breadboard, 63 columns by Copper Bottom's to breadboard button, in 51 steps with exact holes. It is a translation, not a copy: a strip and a breadboard column are different shapes, so every part is placed fresh and the stripboard's wire links are not needed.
Checked by the app, not built by me. Copper Bottom rebuilt the connections from these holes alone and compared them with the stripboard: all 87 terminals land on the same nets. Nobody has built this breadboard version.
Turn the board so the numbers climb left to right. Then A to E is the lower bank, F to J the upper, the top rails are above J and the bottom rails below A.
The semiconductors
| Step | Do |
|---|---|
| 1 | Seat U1 (CD40106) across the center channel, notch to the LEFT: pin 1 in E8, pin 14 in F8. Pins 1-7 run E8 to E14; pins 8-14 run back F14 to F8. Anywhere in the same bank and column is the same point - E8 and A8 are both pin 1. |
| 2 | Seat U2 (CD4040) across the center channel, notch to the LEFT: pin 1 in E18, pin 16 in F18. Pins 1-8 run E18 to E25; pins 9-16 run back F25 to F18. Anywhere in the same bank and column is the same point - E18 and A18 are both pin 1. |
| 3 | Seat U3 (CD4051) across the center channel, notch to the LEFT: pin 1 in E29, pin 16 in F29. Pins 1-8 run E29 to E36; pins 9-16 run back F36 to F29. Anywhere in the same bank and column is the same point - E29 and A29 are both pin 1. |
| 4 | Diode D1 (1N5817 DO-41): top + rail to H8. The SECOND hole named gets the banded end - the cathode. Backwards, nothing works at all. |
Jumpers
| Step | Do |
|---|---|
| 5 | Jumper: J8 to J18 (U1.14 to U2.16). |
| 6 | Jumper: I18 to J29 (U2.16 to U3.16). |
| 7 | Jumper: J12 to J31 (U1.10 to U3.14). |
| 8 | Jumper: A14 to the bottom − rail (U1.7 to GND). |
| 9 | Jumper: A25 to the bottom − rail (U2.8 to GND). |
| 10 | Jumper: A30 to the bottom − rail (U3.2 to GND). |
| 11 | Jumper: A32 to the bottom − rail (U3.4 to GND). |
| 12 | Jumper: A34 to the bottom − rail (U3.6 to GND). |
| 13 | Jumper: A35 to the bottom − rail (U3.7 to GND). |
| 14 | Jumper: A36 to the bottom − rail (U3.8 to GND). |
| 15 | Jumper: J23 to the top − rail (U2.11 to GND). |
| 16 | Jumper: J30 to the top − rail (U3.15 to GND). |
| 17 | Jumper: J33 to the top − rail (U3.12 to GND). |
| 18 | Jumper: C9 to J24 (@GROWL_CLK to U2.10). |
| 19 | Jumper: A13 to J32 (R3.B to U3.13). |
| 20 | Jumper: A29 to J10 (U3.1 to U1.12). |
| 21 | Jumper: B11 to J36 (@GROWL_DRIFT to U3.9). |
| 22 | Jumper: A33 to J14 (U3.5 to U1.8). |
| 23 | Jumper: A23 to J34 (U2.6 to U3.11). |
| 24 | Jumper: A24 to J35 (U2.7 to U3.10). |
| 25 | Jumper: tie the top − rail to the bottom − rail at the right-hand end, so they are one rail. |
Resistors
| Step | Do |
|---|---|
| 26 | Resistor R1 (1k): C5 to C8. |
| 27 | Resistor R2 (470k): C10 to C11. |
| 28 | Resistor R3 (100k): C12 to C13. |
| 29 | Resistor R4 (33k): H9 to H10. |
| 30 | Resistor R5 (47k): H11 to H12. |
| 31 | Resistor R6 (68k): H13 to H14. |
| 32 | Resistor R7 (100k): C2 to bottom − rail. |
Ceramics and film
| Step | Do |
|---|---|
| 33 | Cap C3 (47n ceramic MLCC): bottom − rail to B12. |
| 34 | Cap C4 (47n ceramic MLCC): I8 to I9. |
| 35 | Cap C5 (47n ceramic MLCC): I11 to top − rail. |
| 36 | Cap C6 (47n ceramic MLCC): I13 to top − rail. |
Electrolytics
| Step | Do |
|---|---|
| 37 | Cap C1 (1u): + leg into G8, − leg into B8. The stripe on the can marks the MINUS leg. Backwards, an electrolytic eventually vents. |
| 38 | Cap C2 (4u7): + leg into B10, − leg into the bottom − rail. |
| 39 | Cap C7 (1u): + leg into C31, − leg into B2. |
| 40 | Cap C8 (100u): + leg into H18, − leg into the top − rail. |
Off-board
| Step | Do |
|---|---|
| 41 | Wire for GROWL: into A10. This is where growl toggle common (on-off-on) joins the board. |
| 42 | Wire for GROWL_CLK: into A9. This is where growl toggle, one throw joins the board. |
| 43 | Wire for GROWL_DRIFT: into A11. This is where growl toggle, the other throw joins the board. |
| 44 | Wire for OUT: into A2. This is where level pot lug 3 joins the board. |
| 45 | Wire for P: into A5. This is where step rate pot lug 3 joins the board. |
| 46 | Wire for RATE: into B9. This is where step rate pot wiper (jumper the wiper to lug 1) joins the board. |
| 47 | Wire for GND2: into the bottom − rail. This is where level pot lug 1 and the output jack sleeve joins the board. |
Power up
| Step | Do |
|---|---|
| 48 | +9V - DC jack +, through the power switch and the 20K starve pot (9V, center-negative pedal supply): clip to the top + rail. |
| 49 | GND - DC jack -: clip to the bottom − rail. |
| 50 | Before the battery: meter on continuity. rail to rail reads open, not a short J8 to J18 beeps (U1.14 to U2.16) I18 to J29 beeps (U2.16 to U3.16) J12 to J31 beeps (U1.10 to U3.14) A14 to bottom − rail beeps (U1.7 to GND) A25 to bottom − rail beeps (U2.8 to GND) A30 to bottom − rail beeps (U3.2 to GND) A32 to bottom − rail beeps (U3.4 to GND) A34 to bottom − rail beeps (U3.6 to GND) |
| 51 | Power on. |
Translated by Copper Bottom v1.7.29 from Switchboard.json.
A 4051 stepping through oscillators on a 4040's bits is a Lunetta idiom and belongs to everyone who has ever built one. The drift bit, the tone-rest wiring and the layout are mine, and so is anything wrong with them.