« Back to the PCBs

Dragonfly VCO PCB

CD4046 on a 56 by 50 mm printed board · By Onion Madder · Mess O' Pedals

The Dragonfly VCO on a printed board. A CD4046 phase-locked loop used as a plain, well-behaved oscillator, with PITCH, RANGE and VOLUME pots on the board, and an input and a mode switch that let the loop chase whatever you feed it.

The built Dragonfly VCO board on a dark gray desk mat, not boxed. The purple board is fully populated: a 16-pin chip in the middle, small yellow dipped ceramic capacitors, beige and blue resistors, the diode D1 at the top left and two black electrolytic cans beside it, and three pots stamped B100K soldered along the bottom edge, labeled PITCH, RANGE and VOLUME on the board. An orange and a black wire leave the power header at the top left, its DC+ pad empty, white and black wires run up from the IN and OUT headers, two teal wires run off the top edge, and the MODE header has no wires.
Mine, built and working, November 2026, still on the bench. The MODE header is not wired.
The Dragonfly VCO board itself, bare, photographed from the back and cut out from its background: a purple board a little wider than it is tall, with gold pads and darker purple traces. Header pads run along the top edge, two columns of chip pads stand in the middle, and a row of large round pot pads runs across below them. At the bottom left is a white line drawing of a dragonfly, and at the bottom right a heart with a pulse line through it beside ONION MADDER, with DRAGONFLY VCO underneath.
The board from the back, the side you solder on. Every part's number is printed on the front, beside its outline.

What you'll need

tap to expand / collapse

16 parts on the board. The numbers in brackets are the ones printed beside each part's outline. ↓ Download the parts list (PDF), one page to print for the bench and tick off as each part goes in.

  • 1× CD4046 (U1) - spot it: CD4046 printed on top, a notch or dot marks pin 1. The phase-locked loop. Pin 15, its zener, is left open on purpose
  • 2× 100K resistor (R2, R4) - spot it: bands brown-black-yellow. R2 takes PITCH into pin 9; R4 is on the input
  • 1× 10K resistor (R3) - spot it: bands brown-black-orange. From the phase comparator to the MODE switch
  • 2× 1K resistor (R1, R5) - spot it: bands brown-black-red. R1 is the floor under RANGE; R5 is on the output
  • 1× 10nF ceramic (C1) - spot it: printed 103. The VCO's timing cap, the thing that sets its range. Bigger means lower
  • 3× 100nF ceramic (C2, C3, C4) - spot it: printed 104. Supply decoupling and two in the control path
  • 1× 10 µF electrolytic (C5) - spot it: a can with a stripe down the minus leg. The long leg goes in the square pad, marked +. The output DC blocker
  • 1× 100 µF electrolytic (C6) - spot it: a can with a stripe down the minus leg. The long leg goes in the square pad, marked +. Across the supply
  • 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× B100K pot, 16 mm, board mount (RV1) - PITCH. Spot it: the B is the linear taper.
  • 1× B100K pot, 16 mm, board mount (RV2) - RANGE. Spot it: the B is the linear taper.
  • 1× B100K pot, 16 mm, board mount (RV3) - VOLUME. Spot it: the B is the linear taper.
  • 1× Dragonfly VCO 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 and a 2.2K resistor (bands red-red-red) for a power light: the 2.2K from SW to the LED's long leg (the anode), and the short leg (the cathode) to GND. It lights when the power toggle is on
  • 1× SPST toggle for the mode, across the two MODE pins
  • 2× 3.5 mm mono jacks: the input, wired to IN or to RANGE's middle leg for CV (see above), and the output
  • Hookup wire for the headers

What is different from the stripboard

  • Two parts the stripboard does not have: D1, a 1N5817 in the supply lead against a supply plugged in the wrong way around, and C6, a 100 µF across the supply.
  • The three pots are on the board, wired the way the stripboard guide wires them off it: PITCH a divider, RANGE a variable resistor over its 1K floor, R1, and VOLUME a divider.
  • Two ways to wire the input jack: try both and keep the one you like. The board's way is the IN header (J3): through R4 and C4 to pin 14, the loop's signal input, which the loop chases with MODE closed. Feed it audio. It will not take a sequencer, because C4 blocks steady steps. The other way is a CV input: wire the jack's tip to the middle leg of RANGE (RV2), on the back of the board, and its sleeve to any GND pin, leaving IN empty. That leg is pin 11, the current that sets the oscillator's pitch. Tested on my board with a sequencer: the notes change, and RANGE sets how far apart they are. Clip leads are enough to hear each one before you solder.

The headers

Everything that leaves the board leaves from a header along the top edge, and each one has its pins labeled on the board.

HeaderPinsGoes to
J1DC+ / SW / GNDPower, 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. The note printed on the board, power toggle between DC+ and SW, means the same thing
J4MODEThe mode toggle, across the two pins. Closed, the loop chases the input instead of sitting where PITCH put it
J3IN / GNDThe input jack, the board's way: tip to IN, sleeve to GND, the loop's signal input. Or leave it empty and wire the jack to RANGE's middle leg for CV (see above)
J2OUT / GNDThe output jack: tip to OUT, sleeve to GND

Building it

  1. Lowest parts first, so the board sits flat on the bench while you solder: resistors, then the diodes, then the small ceramic caps.
  2. 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.
  3. The chips (U1), soldered straight in. Pin 1 goes to the square pad, the end the board marks with a notch.
  4. The electrolytics, long leg in the square pad, marked +, then the LEDs and photocells.
  5. The pots last. Push each one flush to the board and keep its shaft square before you solder the first leg; a crooked pot is a hole that will not line up.
  6. Or the pots on wires. The board is drawn for 16 mm board-mount pots, but depending on the pots you have, they may not sit right on it: different legs, a different body, or a shaft that will not reach the face. Then put them on short wires, one from each pad to the lug in the same place, so the knob still turns the right way. Off the pots, the board no longer hangs on them, so it needs another way to sit in the box, and the pot holes are yours to place.
  7. Into the box, board first. Solder a wire to every header pin you use, long enough to reach its wall, and put the board in on its pots before anything goes on the walls: the wall parts pass behind the board, so they go in after it. Then fit them and wire them up as the table above says.
Don't eyeball the holes. There is a 1:1 drilling template for the 125B, standing on end: the face, with the top wall unfolded beside it. The pot holes are where the board puts them, read off the board's own files, and the dashed outline shows where the board hangs behind the face.
The board hangs about 12 mm behind the face on its pot bodies, so anything on it taller than that, usually an electrolytic, gets laid over flat before the board goes in.
Print at 100% / “Actual size”, never “Fit to page”, and check the bar measures exactly 4″ before you touch a drill.
I drilled my box from this sheet, and it works. Still fit the pots to the board and offer it up to the sheet before you make a hole, in case your parts differ from mine.

Circuit from the Dragonfly VCO stripboard guide, every part value taken from its layout file. Board by Onion Madder.