Termite PCB
CD4015 + CD4077 on a 52 by 61 mm printed board, marked TERMITE v1.0 · By Onion Madder · Mess O' Pedals
The Termite on a printed board. A noise box from two logic chips: a shift register passes bits along on every tick of a clock, and an XNOR gate feeds two of them back in, so the pattern repeats every 127 ticks. Slow, that is a chattering rhythm of clicks; fast, it turns into a buzz. PITCH and VOLUME are on the board.
What you'll need
tap to expand / collapse
13 parts on the board. The numbers in brackets are the ones printed on the board, and so is each part's value. ↓ Download the parts list (PDF), one page to print for the bench and tick off as each part goes in.
- 1× CD4015 (U1) - spot it: CD4015 printed on top, a notch or dot marks pin 1. The shift register, 16 pins
- 1× CD4077 (U2) - spot it: CD4077 printed on top, a notch or dot marks pin 1. Four XNOR gates, 14 pins: the clock and the feedback
- 1× 1M resistor (R2) - spot it: bands brown-black-green. In the clock
- 1× 100K resistor (R3) - spot it: bands brown-black-yellow. Holds the reset pins down once C2 has charged
- 1× 10K resistor (R1) - spot it: bands brown-black-orange. The floor under PITCH, so the clock never runs away at the top of the knob
- 1× 2.2K resistor (R4) - spot it: bands red-red-red. The power light's resistor
- 1× 1nF ceramic (C1) - spot it: printed 102. The clock's timing cap
- 2× 100nF ceramic (C2, C3) - spot it: printed 104. C2 resets the register at power-on; C3 sits across the supply
- 1× 10 µF electrolytic (C4) - spot it: a can with a stripe down the minus leg. The long leg goes in the square pad, marked +. The output cap
- 1× 1N5817 (D1) - spot it: black body, gray band. The band goes to the square pad, the end the board marks with a band and a K. Reverse-polarity protection on the supply
- 1× B500K pot, 9 mm, a Bourns PTV09A-4020F-B504 (RV1) - PITCH. Spot it: the B is the linear taper.
- 1× A100K pot, 9 mm, a Bourns PTV09A-4020F-A104 (RV2) - VOLUME. Spot it: the A is the log taper.
- 1× Termite PCB
Off the board
- 1× DC jack and a 9V supply, center negative
- 1× SPST toggle for power, between the DC jack's + lug and SW
- 1× LED for power, on J1's LED pad
- 1× 3.5 mm mono jack for the output
- Hookup wire
What is different from the stripboard
- The two pots are on the board, 9 mm Bourns PTV09A-4s: PITCH, B500K, and VOLUME, A100K. On stripboard they are on wires.
- The output header is after the volume pot, so the jack wires straight to J2.
- Everything else is the stripboard circuit, the same numbers on the same parts, with the power light's 2.2K, R4, on the board as it is there.
- Read J1's labels across two lines. They are staggered to fit: DC+ and GND on the upper line, SW and LED on the lower. The pads run DC+, SW, GND, LED.
The headers
Everything that leaves the board leaves from a header, and each one has its pins labeled on the board. The square pad is pin 1, the first one named here.
| Header | Pins | Goes to |
|---|---|---|
| J1 POWER | DC+ / SW / GND / LED | Power, wired the usual way: the DC jack's + lug to one lug of the power toggle, the toggle's other lug to SW, and the jack's - lug to GND. On a center-negative supply the + is the jack's sleeve lug and the - is its center pin. SW is the board's power input, through D1, which guards against a supply plugged in the wrong way around. DC+ connects to nothing on the board: it is a spare pad to join the jack's + and the toggle on, if that is easier, and it can stay empty. LED is the power light: the LED's long leg to LED and its short leg to GND. Its resistor is on the board |
| J2 OUT | OUT / GND | The output jack: tip to OUT, sleeve to GND |
Building it
- Lowest parts first, so the board sits flat on the bench while you solder: resistors, then the diodes, then the small ceramic caps.
- Before any chip goes in, power it up once. Fit the DC jack and the power toggle on their header, switch on, and put the meter's black probe on a GND pin and the red one in U1's pin 16 hole, from the top. You want the supply, less about 0.2V for the diode. Nothing there, or the full supply with the leads reversed, means look at the diode's band before going on. Switch off.
- The chips (U1, U2), soldered straight in. Pin 1 goes to the square pad, the end the board marks with a notch.
- The electrolytics, long leg in the square pad, marked +.
- The pots last. Each one's three legs go in the three round holes and its two side tabs in the two slots. Seat it flat on the board with its shaft square, then solder the legs and both tabs; a crooked pot is a hole that will not line up.
- Fixing it in the box. These pots have no nut, so they do not hold the board to the face. The four holes in the board are for M3 standoffs: screwed through the face, or the stick-on kind.
- The headers. Wire them to the jacks and switches in the table above.
The board's four M3 holes are on the sheet as small dashed circles. They are optional: screws through the face into standoffs, or stick-on standoffs and no holes at all.
Print at 100% / “Actual size”, never “Fit to page”, and check the bar measures exactly 4″ before you touch a drill.
Nobody has drilled this one yet, and how far the board sits behind the face is not measured: your standoffs set it. Offer the sheet up to your own box, board and parts before you make a hole.
Circuit from the Termite stripboard guide, every part value the same. Board by Onion Madder.