MOA-1 build and test guide

This guide takes the MOA-1 from a box of parts to a tuned, working synth. Follow it in order: each power-up stage proves the previous one before anything more valuable is connected.

Where a value says "simulated" it comes from the SPICE bench in this repository (designs/moa1/spec.py), not from a built unit. No MOA-1 has been built yet. The first build is also the prototype, so read the Known gaps section before ordering.


1. Safety: this box contains mains

The MOA-1 has an internal mains transformer. The 230 V wiring is the inlet, the switch, the fuse and the toroid primary.

Everything after the toroid's secondaries is low voltage: 2 × 18 V AC, then ±15 V DC.


2. What to order

Boards (JLCPCB)

Board Size Layers Notes
Voice 280 × 150 mm 4 Panel controls on top; jack, trimmers, ribbon and toggle headers underneath
Control 130 × 85 mm 4 Pico, MIDI, pitch DAC, CV/gate jacks; four M3 mounting holes
Power 100 × 90 mm 4 ±15 V supply; one plated mounting hole is the 0 V to chassis bond
Top panel 324 × 194 mm 2 2.0 mm FR4, black mask, white silkscreen, HASL lead-free
Rear panel 324 × 80 mm 2 Same settings as the top panel

The Gerbers are on the page: Boards tab for the circuit boards, Enclosure tab for the panels. On the JLCPCB order form for the panels, choose 2.0 mm thickness, black solder mask and white silkscreen. Choose "Specify a location" or "Remove" for the order number so it does not land on the front.

SMD build: JLCPCB can solder the SMD parts. The assembly files (BOM and placement) are not generated yet. JLCPCB charges a loading fee for each distinct "extended" part. This design uses about 100 of them, roughly $300 per order, so check the quote.

Parts

Use the Parts list tab: SMD build or Through-hole build. Treat lines marked search or pattern as "confirm in the cart". Not in the parts list:

Item Quantity Notes
Knobs for 6 mm T18 spline shafts 26 Small (12–15 mm) knobs fit the 22 mm grid
20-way IDC ribbon sockets 4 Two cables: voice ↔ control (~25 cm), voice ↔ power (~30 cm)
20-way 1.27 mm ribbon cable 0.6 m
M3 × 10 mm standoffs, nylon 7 Control and power boards
M3 × 10 mm standoff, metal 1 Power board hole H3 only: the 0 V to chassis bond
M3 threaded inserts for wood 20 Cheeks and front rail
M3 × 8 mm countersunk screws ~40 Panels, base, standoffs
M4 earth stud kit 1 Screw, 2 star washers, 2 nuts, ring terminals
Hook-up wire 0.75 mm² brown/blue for mains, green/yellow for earth, 0.25 mm² for toggles and MIDI sockets
Rubber feet 4
IEC mains lead 1

Enclosure materials

Part Material Size
Side cheeks (2, mirrored) 12 mm birch plywood 192 × 80 mm
Front rail 12 mm birch plywood 300 × 80 mm
Base plate 2 mm aluminium 324 × 194 mm, drilled to the base drawing

The Enclosure tab has a 1:1 PDF template for every part (print at 100 %, check the scale bar with a ruler), a DXF outline for laser or CNC shops, and a hole table.

Check three dimensions before ordering the panels

Three panel dimensions come from drawings that did not give every figure. Measure the real parts first:

  1. 6.35 mm output jack (Neutrik NMJ6HCD2): the height of the jack's axis above its board. The design assumes 7.8 mm, half the 15.67 mm body height. The rear panel hole is 12.0 mm, which allows about ±0.2 mm.
  2. MIDI sockets (Switchcraft 57GB5FX): the barrel diameter (16.0 mm hole assumed) and the flange screw spacing (22.2 mm assumed).
  3. Micro-USB plug of the cable you will use: it must fit the 12 × 8 mm cut-out.

If a figure differs, change it in designs/moa1/enclosure.py, where these values are marked [check], and rebuild the page (uv run python -m audioforge.listen --build).


3. Build the enclosure

  1. Cut the cheeks and front rail. Glue and pin the front rail between the cheeks at the front, flush top and bottom.
  2. Fit the M3 inserts: drill 4.5 mm × 10 mm deep, centred in the 12 mm edge, at the marks on the cheek drawing. That is three in each cheek's top edge, three in each bottom edge, two in each rear edge, and two in the rail's top and bottom edges.
  3. Drill the base plate from the template: - Countersink the cheek and rail screw holes from below. - Deburr every hole. - Leave bare metal round the earth stud, on both faces.
  4. Fit the earth stud. Do not fit anything else to the base yet.

4. Assemble the boards

General rules: - Lowest parts first. - Fit sockets for every DIP chip on the through-hole build, and do not insert the chips yet. - Check the polarity of every electrolytic and diode against the silkscreen.

Power board

  1. Fit and solder the diodes, resistors and small capacitors, then the fuse clips (both fuses: T2A) and the 4-way transformer terminal.
  2. Bolt the LM317 (U1) and LM337 (U2) to their heatsinks before soldering them. Use thermal compound. The heatsinks are not at ground potential, so the regulators need insulating pads only if your heatsinks touch anything else.
  3. Fit the reservoir capacitors last. They are 50 V parts and the polarity matters.

Control board

  1. Fit the passives, sockets, H11L1, 74AHCT125, regulators (U2 7805, U3 78L05) and REF5040 (U6).
  2. Fit the 3.5 mm jacks (J3 GATE OUT, J4 CV IN, J5 GATE IN, J6 ACCENT IN). Their noses overhang the rear edge by 2 mm.
  3. Fit the two 3-way headers for the MIDI sockets (J1 IN, J2 THRU) and the 20-way ribbon header (J7).
  4. Solder the Pico (A1) flat on the board, using its castellated edges or short pins with no spacer. The rear-panel USB cut-out assumes it sits flat.

Voice board: two sides

The top side carries the pots, the TUNE button and almost everything else.

These parts go on the underside, soldered from the top:

Underside part Ref
Output jack J1
Ribbon headers J2 (to control), J3 (to power)
Toggle headers SW1 filter, SW2 LFO wave, SW4 notes, SW5 PW source, SW6 sub
Trimmers RV2, RV3, RV29–RV33
10 mm tall film capacitors the 7.2 × 5 mm WIMA parts (marked on the underside silkscreen)
Electrolytic capacitors (through-hole build) all of them: the 5 × 11 mm cans are taller than the gap

They are underneath because the panel sits only 10 mm above the board, on the pot bodies.

  1. Fit and solder all the top-side parts except the pots and the TUNE button. Push the vertical resistors fully down: at 9.5 mm they are the tallest parts under the panel, with 0.5 mm to spare.
  2. Fit the underside parts.
  3. Pots last, with the panel on. Put all 26 pots in their holes on the board without soldering. Lay the top panel over them and finger-tighten the pot nuts. Then turn the assembly over and solder the pots. This aligns every shaft with its hole. - Break off each pot's small anti-rotation tab first, or it will stop the pot sitting flat on the panel. - Fit the TUNE button the same way. Its plunger stands 1 mm proud of the panel.
  4. On the SMD build, the Alfa chips (AS3340, AS3109, AS3080, AS3360A) are hand-soldered. Leave them off until section 5.2 has passed. The AS3310s are DIP in sockets on both builds.

Toggles and MIDI sockets (wired)

Each toggle is wired to its header with 0.25 mm² wire, about 10 cm long, twisted. Header pin 1 is marked on the board.

Toggle Header Pin 1 Pin 2 Pin 3 Pin 4
FILTER (SPDT) SW1 CLEAN common LADDER —
LFO WAVE (SP3T) SW2 common TRI SQUARE S&H
NOTES (SPDT) SW4 RETRIG (0 V) common LEGATO (open) —
PW SOURCE (SP3T) SW5 common MAN LFO ENV
SUB (SPDT) SW6 −1 OCT common −2 OCT —

The panel shows the options in lever order: the first option is printed nearest the rear. With the lever towards the rear, the meter must show continuity between the common pin and the first option's pin. A toggle lever connects the lug on the opposite side, so check with a meter rather than by eye. The SP3T toggles (E-Switch 100DP6T…) are double-pole parts. Jumper their lugs as the maker's diagram shows before wiring.

MIDI sockets (rear view of the socket, pins numbered on the insert):

Socket Header pin 1 Header pin 2 Header pin 3
MIDI IN (J1) not connected: leave DIN pin 2 free DIN pin 4 DIN pin 5
MIDI THRU (J2) DIN pin 2 (shield) DIN pin 4 DIN pin 5

Leaving pin 2 unconnected on the input is part of the MIDI standard. The opto-isolator then breaks any ground loop through the cable.


5. First power-up, in stages

You need: - A multimeter for every stage. - A tuner app or frequency counter for calibration. - Optional: an oscilloscope, which helps with fault-finding. - Optional: a dual bench supply with current limiting. Use it for the first power-up of the voice board in 5.2 instead of the power board. Set ±15 V with the current limit at 250 mA.

5.1 Power board alone (no ribbon connected)

  1. Wire the mains side (section 6, steps 1–4), but leave the ribbon to the voice board unplugged.
  2. Unplugged, check continuity from the inlet's earth pin to the base plate. It must be under 0.1 Ω.
  3. Plug in and switch on. Measure on the power board:
Where Expected If not
Transformer terminal, pins 1–2 and 3–4 (AC) about 20 V AC each off-load Check the primary jumper and fuse
LM317 output (U1, or the + rail at the ribbon header) +15.0 V (+14.4 to +15.6 V) Check the 1k1 / 100 R divider and the regulator orientation
LM337 output (U2) −15.0 V (−14.4 to −15.6 V) As above, for the negative rail
Ribbon header, pin 1 and pin 19 against pin 3 +15 V and −15 V
  1. Switch off and wait about 30 seconds for the reservoirs to discharge before touching anything.

5.2 Voice board (chips out of their sockets)

  1. Connect the power ribbon (voice J3 to the power board header) and switch on. Leave the control board disconnected.
  2. Check the local regulators on the voice board, measuring on the regulator's output leg or the capacitor next to it:
Regulator Expected
U19 78L12 +12.0 V (11.5 to 12.5 V)
U21 79L12 −12.0 V (−11.5 to −12.5 V)
U18 78L05 +5.0 V (4.75 to 5.25 V)
U20 79L05 −5.0 V (−4.75 to −5.25 V)
  1. Switch off and insert the chips: through-hole build into their sockets; SMD build, solder on the Alfa chips. Mind pin 1 on every chip.
  2. Switch on. Supply current (on a bench supply) should be roughly 80–150 mA per rail. This is an estimate, not a measured figure. Much more means a fault, so switch off at once. Nothing should get warm except the 78L regulators, which run slightly warm.

5.3 Control board

  1. Fit the control board on its standoffs. Connect the link ribbon (voice J2 to control J7). The control board is powered through the voice board.
  2. Switch on, with no USB cable connected. Measure on the control board:
Where Expected
7805 (U2) output +5.0 V
78L05 (U3) output (DAC supply) +5.0 V
REF5040 (U6) output 4.096 V (±2 mV)
Pico 3V3 pin (pin 36) +3.3 V

The REF5040's pinout in the design was taken from a pin-name list and has not been confirmed against its datasheet drawing. If the reference reads 0 V or the regulator gets hot, switch off and check U6's pins.


6. Final assembly

  1. Inlet: snap the Schurter KM inlet into the rear panel cut-out. Fit the T500mA fuse in its drawer.
  2. Earth: the inlet's earth tab goes to the earth stud with green/yellow wire (1.0–1.5 mm²), ring terminal, star washer, first nut.
  3. Toroid primary: the inlet's switched L and N outputs go to the toroid's primary. - For 230 V: BLUE and BROWN to the line; join GRAY and VIOLET (series primaries). - Insulate every joint. - Follow the colour code on the transformer's own label if it differs from this.
  4. Toroid: bolt it to the base with its kit (rubber pads above and below, metal plate on top). Do not let the bolt touch the top panel: a bolt touching metal at both ends makes a shorted turn.
  5. Toroid secondaries to the power board's 4-way terminal: 1 = start of winding A, 2 and 3 = the two centre-tap wires (joined on the board), 4 = end of winding B. With the Triad VPT36-1390, RED and ORANGE are the centre tap and BLACK and YELLOW the ends; confirm the pairs on its datasheet. Twist the secondary wires.
  6. Power board: mount it on four standoffs. Hole H3 (front-left corner of the board as fitted) gets the metal standoff. That makes the single 0 V to chassis bond, so the other three standoffs are nylon.
  7. Control board: mount it on four nylon standoffs, pushed against the rear panel so the jack noses come through.
  8. MIDI sockets: screw them into the rear panel and wire them to the control board headers (section 4).
  9. Rear panel: screw it to the cheeks. Fit the output jack's nut from outside once the top panel is in place.
  10. Shields: run green/yellow wire from each panel's plated earth tag (ring terminal, M3 screw) to the second nut on the earth stud.
  11. Top panel: connect the two ribbons. Lower the top panel and voice board into the box, feeding the output jack's ferrule through the rear panel, and screw the panel down. Fit the output jack's nut.
  12. Base: screw the base to the cheeks and the rail, then fit the knobs and the rubber feet.

7. Firmware

The firmware is in firmware/moa1/. Its host tests run with make test (24 tests, all passing). It has not yet been compiled for the Pico. The steps are in firmware/moa1/README.md:

  1. Install the Pico SDK 2.x with TinyUSB, CMake and arm-none-eabi-gcc.
  2. Run cmake -B build -DPICO_BOARD=pico && cmake --build build to produce build/moa1.uf2.
  3. Hold BOOTSEL on the Pico while plugging in USB, then copy moa1.uf2 to the RPI-RP2 drive.

You can flash the Pico before fitting it, or in the box: the USB socket is on the rear panel, but BOOTSEL is only reachable with the lid off. The Pico's on-board LED is the only status light and it is inside the box, so watch it with the lid off during bring-up.

Once flashed: - The LED lights while a note sounds. The synth is omni (all MIDI channels) until you teach it one. - MIDI channel learn: hold TUNE while switching on (the LED blinks at 4 Hz) and play a note on the wanted channel. A short TUNE press returns to omni.


8. Calibration

Let the synth warm up for 15 minutes with the lid on, then lift the top panel assembly and lay it face down beside the box, ribbons still connected. The trimmers are on the voice board's underside, now facing you. Use a non-metallic trimming tool.

Set the panel first: - RANGE in the 8' zone, MOD at zero, GLIDE at zero. - Nothing plugged into CV IN. - Mixer: SAW up, everything else down. - Do this before the first auto-tune. Until one has run, the firmware uses the ideal table: MIDI note 12 gives exactly 0 V of pitch CV and note 72 gives 5 V.

Measure the VCO directly at the saw output rather than through the filter. Use the tuner on the OUTPUT jack with CUTOFF fully open, or a counter on U27 pin 8 (saw, 0–10 V).

8.1 VCO (AS3340, U27): Hordijk's four-trimmer method, each trimmer once, in this order

Step Trimmer How
1. Tempco RV33 (5k) Meter on mV between U27 pin 2 and the junction of RV33 with its 5k6 resistor (the RZ chain: pin 1 → 18k → RV33 → 5k6 → 820 R to −15 V). Trim for 0 mV: the two tempco currents are then equal.
2. Reference pitch RV32 (500k) Short U27 pin 14 (scale) to ground with a clip lead: clip onto the end of its 1k5 series resistor that joins pin 14. Trim for 523.25 Hz (C5).
3. Pivot RV29 (100k) Remove the short. Play MIDI note 72 (C5, 5.000 V pitch CV). Trim back to 523.25 Hz.
4. Scale RV31 (500 R) Play MIDI note 12 (C0, 0.000 V). Trim for 16.35 Hz. A tuner may not read so low: use note 24 (C1, 32.70 Hz) instead.
5. HF tracking RV30 (20k) Play note 96 (C7). Trim for 2093 Hz. Then recheck step 3.

The scale pivots around C5 (step 3), so step 4 does not disturb it.

8.2 Clean filter (AS3109)

Trimmer How
RV2 resonance (10k) FILTER = CLEAN, mixer all down, RES fully up. Trim until the filter just whistles (self-oscillates), then a little further. The simulated threshold is 9.5 V of the 10 V resonance CV, about 95 % of the knob.
RV3 cutoff scale (4k7) KEY at 100 %, RES fully up so it whistles, ENV and LFO at zero. Play C3 and C5: trim until the two whistles are two octaves apart (4:1 in frequency).

The ladder filter has no trimmers.

8.3 Auto-tune

Close the lid, wait another few minutes, then short-press TUNE (or send CC 119 = 127). It takes about 4 seconds, and the LED toggles at each measurement. The result is stored in flash. After any trimmer change, run auto-tune again.

If it fails, the LED blinks an error code:

Blinks Meaning
2 Something is plugged into CV IN
4 No VCO signal (check the saw at U27 pin 8 and the squarer on the control board)
5 Scale more than 20 % off: redo 8.1
6 Not monotonic
7 A semitone step is off by more than 10 %
8 Over the time budget

9. Function test

Work through the panel with a MIDI keyboard and headphones or a monitor on OUTPUT:


10. Troubleshooting

Symptom Look at
One rail missing, the other at about 1.3 V The mutual-shutdown circuit is doing its job: the missing rail's regulator or fuse has failed
Hum at 50/100 Hz The 0 V to chassis bond: there must be exactly one (the metal standoff at H3). Also check the toroid bolt is not touching the top panel, and the twisted secondaries
No sound, LED lights on notes Check the GATE10 line on the link: about 10.6 V while a key is held (simulated). Then ACCENT and the AS3360A's supplies
No MIDI on DIN, USB works H11L1 orientation; MIDI IN socket pins 4 and 5 swapped
Wrong notes everywhere RANGE in the wrong zone; DAC pitch output at DAC8552 VOUTA should be 2.000 V for MIDI 60 at 8'
Ladder sounds 20 dB quieter than Clean The two filters are matched to within 0.6 dB in simulation: check the ladder's output stage

Known gaps