{
 "version": 2,
 "name": "Onion's Theremin",
 "board": {
  "rows": 22,
  "cols": 24,
  "kind": "strip"
 },
 "cuts": [
  "0,21",
  "2,2",
  "2,8",
  "3,11",
  "4,8",
  "4,17",
  "5,8",
  "5,12",
  "5,17",
  "6,8",
  "6,11",
  "6,17",
  "7,11",
  "7,17",
  "8,8",
  "8,14",
  "8,17",
  "9,17",
  "10,5",
  "10,17",
  "11,3",
  "11,12",
  "11,17",
  "12,2",
  "12,8",
  "12,12",
  "13,3",
  "13,10",
  "14,3",
  "14,6",
  "15,3",
  "15,9",
  "16,3",
  "16,9",
  "17,3",
  "17,9",
  "18,3",
  "19,3",
  "19,8",
  "20,3",
  "20,8"
 ],
 "parts": [
  {
   "id": "lk01",
   "kind": "link",
   "ref": "J1",
   "value": "",
   "pins": [
    [
     4,
     1
    ],
    [
     8,
     1
    ]
   ]
  },
  {
   "id": "lk02",
   "kind": "link",
   "ref": "J2",
   "value": "",
   "pins": [
    [
     8,
     3
    ],
    [
     9,
     3
    ]
   ]
  },
  {
   "id": "lk03",
   "kind": "link",
   "ref": "J3",
   "value": "",
   "pins": [
    [
     2,
     12
    ],
    [
     0,
     12
    ]
   ]
  },
  {
   "id": "lk04",
   "kind": "link",
   "ref": "J4",
   "value": "",
   "pins": [
    [
     5,
     11
    ],
    [
     2,
     11
    ]
   ]
  },
  {
   "id": "lk05",
   "kind": "link",
   "ref": "J5",
   "value": "",
   "pins": [
    [
     8,
     13
    ],
    [
     5,
     13
    ]
   ]
  },
  {
   "id": "lk06",
   "kind": "link",
   "ref": "J6",
   "value": "",
   "pins": [
    [
     8,
     15
    ],
    [
     9,
     15
    ]
   ]
  },
  {
   "id": "lk07",
   "kind": "link",
   "ref": "J7",
   "value": "",
   "pins": [
    [
     9,
     12
    ],
    [
     10,
     12
    ]
   ]
  },
  {
   "id": "lk08",
   "kind": "link",
   "ref": "J8",
   "value": "",
   "pins": [
    [
     2,
     20
    ],
    [
     4,
     20
    ]
   ]
  },
  {
   "id": "lk09",
   "kind": "link",
   "ref": "J9",
   "value": "",
   "pins": [
    [
     4,
     21
    ],
    [
     5,
     21
    ]
   ]
  },
  {
   "id": "lk10",
   "kind": "link",
   "ref": "J10",
   "value": "",
   "pins": [
    [
     5,
     22
    ],
    [
     6,
     22
    ]
   ]
  },
  {
   "id": "lk11",
   "kind": "link",
   "ref": "J11",
   "value": "",
   "pins": [
    [
     6,
     20
    ],
    [
     9,
     20
    ]
   ]
  },
  {
   "id": "lk12",
   "kind": "link",
   "ref": "J12",
   "value": "",
   "pins": [
    [
     9,
     21
    ],
    [
     10,
     21
    ]
   ]
  },
  {
   "id": "lk13",
   "kind": "link",
   "ref": "J13",
   "value": "",
   "pins": [
    [
     6,
     14
    ],
    [
     11,
     14
    ]
   ]
  },
  {
   "id": "lk14",
   "kind": "link",
   "ref": "J14",
   "value": "",
   "pins": [
    [
     17,
     6
    ],
    [
     19,
     6
    ]
   ]
  },
  {
   "id": "lk15",
   "kind": "link",
   "ref": "J15",
   "value": "",
   "pins": [
    [
     15,
     11
    ],
    [
     16,
     11
    ]
   ]
  },
  {
   "id": "lk16",
   "kind": "link",
   "ref": "J16",
   "value": "",
   "pins": [
    [
     16,
     12
    ],
    [
     17,
     12
    ]
   ]
  },
  {
   "id": "lk17",
   "kind": "link",
   "ref": "J17",
   "value": "",
   "pins": [
    [
     9,
     8
    ],
    [
     1,
     8
    ]
   ]
  },
  {
   "id": "lk18",
   "kind": "link",
   "ref": "J18",
   "value": "",
   "pins": [
    [
     13,
     1
    ],
    [
     15,
     1
    ]
   ]
  },
  {
   "id": "lk19",
   "kind": "link",
   "ref": "J19",
   "value": "",
   "pins": [
    [
     15,
     0
    ],
    [
     16,
     0
    ]
   ]
  },
  {
   "id": "lk20",
   "kind": "link",
   "ref": "J20",
   "value": "",
   "pins": [
    [
     16,
     1
    ],
    [
     18,
     1
    ]
   ]
  },
  {
   "id": "lk21",
   "kind": "link",
   "ref": "J21",
   "value": "",
   "pins": [
    [
     18,
     0
    ],
    [
     19,
     0
    ]
   ]
  },
  {
   "id": "lk22",
   "kind": "link",
   "ref": "J22",
   "value": "",
   "pins": [
    [
     19,
     1
    ],
    [
     21,
     1
    ]
   ]
  },
  {
   "id": "lk23",
   "kind": "link",
   "ref": "J23",
   "value": "",
   "pins": [
    [
     1,
     23
    ],
    [
     21,
     23
    ]
   ]
  },
  {
   "id": "lk24",
   "kind": "link",
   "ref": "J24",
   "value": "",
   "pins": [
    [
     14,
     22
    ],
    [
     21,
     22
    ]
   ]
  },
  {
   "id": "lk25",
   "kind": "link",
   "ref": "J25",
   "value": "",
   "pins": [
    [
     10,
     20
    ],
    [
     18,
     20
    ]
   ]
  },
  {
   "id": "p01",
   "kind": "res",
   "ref": "R2",
   "value": "1k",
   "pins": [
    [
     2,
     1
    ],
    [
     2,
     4
    ]
   ],
   "device": "fixed"
  },
  {
   "id": "p02",
   "kind": "cap",
   "ref": "C1",
   "value": "22p",
   "pins": [
    [
     2,
     5
    ],
    [
     1,
     5
    ]
   ]
  },
  {
   "id": "p03",
   "kind": "res",
   "ref": "R1",
   "value": "100k",
   "pins": [
    [
     3,
     6
    ],
    [
     2,
     6
    ]
   ],
   "device": "fixed",
   "mount": "vertical"
  },
  {
   "id": "p04",
   "kind": "cap",
   "ref": "C2",
   "value": "39p",
   "pins": [
    [
     6,
     2
    ],
    [
     8,
     2
    ]
   ]
  },
  {
   "id": "p05",
   "kind": "res",
   "ref": "R3",
   "value": "47k",
   "pins": [
    [
     7,
     4
    ],
    [
     10,
     4
    ]
   ],
   "device": "fixed"
  },
  {
   "id": "p06",
   "kind": "res",
   "ref": "R4",
   "value": "10k",
   "pins": [
    [
     11,
     15
    ],
    [
     12,
     15
    ]
   ],
   "device": "fixed",
   "mount": "vertical"
  },
  {
   "id": "p07",
   "kind": "cap",
   "ref": "C3",
   "value": "2.2n",
   "pins": [
    [
     12,
     16
    ],
    [
     14,
     16
    ]
   ]
  },
  {
   "id": "p08",
   "kind": "res",
   "ref": "R5",
   "value": "10k",
   "pins": [
    [
     12,
     14
    ],
    [
     12,
     11
    ]
   ],
   "device": "fixed"
  },
  {
   "id": "p09",
   "kind": "cap",
   "ref": "C4",
   "value": "2.2n",
   "pins": [
    [
     12,
     10
    ],
    [
     10,
     10
    ]
   ]
  },
  {
   "id": "p10",
   "kind": "cap",
   "ref": "C5",
   "value": "1u",
   "pins": [
    [
     12,
     9
    ],
    [
     12,
     7
    ]
   ]
  },
  {
   "id": "p11",
   "kind": "res",
   "ref": "R6",
   "value": "47k",
   "pins": [
    [
     12,
     6
    ],
    [
     15,
     6
    ]
   ],
   "device": "fixed"
  },
  {
   "id": "p12",
   "kind": "res",
   "ref": "R7",
   "value": "220",
   "pins": [
    [
     15,
     7
    ],
    [
     15,
     10
    ]
   ],
   "device": "fixed"
  },
  {
   "id": "p13",
   "kind": "res",
   "ref": "R8",
   "value": "220",
   "pins": [
    [
     16,
     7
    ],
    [
     16,
     10
    ]
   ],
   "device": "fixed"
  },
  {
   "id": "p14",
   "kind": "res",
   "ref": "R11",
   "value": "2.7k",
   "pins": [
    [
     17,
     7
    ],
    [
     17,
     10
    ]
   ],
   "device": "fixed"
  },
  {
   "id": "p15",
   "kind": "res",
   "ref": "R10",
   "value": "10k",
   "pins": [
    [
     15,
     13
    ],
    [
     14,
     13
    ]
   ],
   "device": "fixed",
   "mount": "vertical"
  },
  {
   "id": "p16",
   "kind": "ecap",
   "ref": "C6",
   "value": "100u",
   "pins": [
    [
     15,
     18
    ],
    [
     14,
     18
    ]
   ],
   "polarized": true
  },
  {
   "id": "p17",
   "kind": "res",
   "ref": "R9",
   "value": "10k",
   "pins": [
    [
     18,
     13
    ],
    [
     17,
     13
    ]
   ],
   "device": "fixed",
   "mount": "vertical"
  },
  {
   "id": "p18",
   "kind": "res",
   "ref": "R12",
   "value": "15k",
   "pins": [
    [
     13,
     12
    ],
    [
     13,
     9
    ]
   ],
   "device": "fixed"
  },
  {
   "id": "p19",
   "kind": "res",
   "ref": "R13",
   "value": "10k",
   "pins": [
    [
     20,
     6
    ],
    [
     21,
     6
    ]
   ],
   "device": "fixed",
   "mount": "vertical"
  },
  {
   "id": "p20",
   "kind": "ecap",
   "ref": "C7",
   "value": "10u",
   "pins": [
    [
     20,
     7
    ],
    [
     20,
     9
    ]
   ],
   "polarized": true
  },
  {
   "id": "p21",
   "kind": "res",
   "ref": "R14",
   "value": "100k",
   "pins": [
    [
     20,
     10
    ],
    [
     21,
     10
    ]
   ],
   "device": "fixed",
   "mount": "vertical"
  },
  {
   "id": "p22",
   "kind": "diode",
   "ref": "D1",
   "value": "1N5817",
   "pins": [
    [
     0,
     22
    ],
    [
     0,
     19
    ]
   ],
   "polarized": true
  },
  {
   "id": "p23",
   "kind": "res",
   "ref": "R15",
   "value": "4.7k",
   "pins": [
    [
     2,
     21
    ],
    [
     3,
     21
    ]
   ],
   "device": "fixed",
   "mount": "vertical"
  },
  {
   "id": "p24",
   "kind": "ecap",
   "ref": "C8",
   "value": "100u",
   "pins": [
    [
     0,
     16
    ],
    [
     1,
     16
    ]
   ],
   "polarized": true
  },
  {
   "id": "p25",
   "kind": "cap",
   "ref": "C9",
   "value": "100n",
   "pins": [
    [
     0,
     3
    ],
    [
     1,
     3
    ]
   ]
  },
  {
   "id": "vr1",
   "kind": "trim",
   "ref": "VR1",
   "device": "trimpot",
   "value": "100k",
   "pins": [
    [
     10,
     1
    ],
    [
     11,
     1
    ],
    [
     12,
     1
    ]
   ]
  }
 ],
 "ics": [
  {
   "id": "ic1",
   "ref": "IC1",
   "part": "CD40106",
   "pins": 14,
   "pin1": [
    2,
    7
   ],
   "span": 3
  },
  {
   "id": "ic2",
   "ref": "IC2",
   "part": "CD4070",
   "pins": 14,
   "pin1": [
    4,
    16
   ],
   "span": 3
  },
  {
   "id": "ic3",
   "ref": "IC3",
   "part": "LM13700",
   "pins": 16,
   "pin1": [
    13,
    2
   ],
   "span": 3
  }
 ],
 "pads": [
  {
   "id": "pd01",
   "label": "ANT",
   "at": [
    2,
    0
   ],
   "to": "the pitch antenna: a rod or a loop, on a short wire"
  },
  {
   "id": "pd02",
   "label": "FINE_A",
   "at": [
    6,
    0
   ],
   "to": "FINE pot (1K linear), an outer lug",
   "parts": [
    {
     "id": "POT1",
     "kind": "pot",
     "lug": "1",
     "value": "B1K",
     "role": "fine tuning"
    }
   ]
  },
  {
   "id": "pd03",
   "label": "FINE_W",
   "at": [
    11,
    0
   ],
   "to": "FINE pot wiper",
   "parts": [
    {
     "id": "POT1",
     "kind": "pot",
     "lug": "W",
     "value": "B1K",
     "role": "fine tuning"
    }
   ]
  },
  {
   "id": "pd04",
   "label": "+12V",
   "at": [
    0,
    23
   ],
   "to": "DC jack +, through the power switch",
   "parts": [
    {
     "id": "SW1",
     "kind": "toggle",
     "lug": "C",
     "value": "SPST",
     "role": "power"
    }
   ]
  },
  {
   "id": "pd05",
   "label": "GND",
   "at": [
    1,
    22
   ],
   "to": "DC jack - (12V supply)",
   "parts": [
    {
     "id": "DC1",
     "kind": "dc",
     "lug": "-",
     "value": "12 V"
    }
   ]
  },
  {
   "id": "pd06",
   "label": "LED",
   "at": [
    3,
    22
   ],
   "to": "power LED long leg (anode); its short leg goes to OUT-G",
   "parts": [
    {
     "id": "LED1",
     "kind": "led",
     "lug": "A",
     "value": "power",
     "role": "power"
    }
   ]
  },
  {
   "id": "pd07",
   "label": "VOL_T",
   "at": [
    18,
    21
   ],
   "to": "VOL pot lug 3",
   "parts": [
    {
     "id": "POT2",
     "kind": "pot",
     "lug": "3",
     "value": "A10K",
     "role": "volume"
    }
   ]
  },
  {
   "id": "pd08",
   "label": "VOL_W",
   "at": [
    13,
    22
   ],
   "to": "VOL pot wiper",
   "parts": [
    {
     "id": "POT2",
     "kind": "pot",
     "lug": "W",
     "value": "A10K",
     "role": "volume"
    }
   ]
  },
  {
   "id": "pd09",
   "label": "VOL_G",
   "at": [
    21,
    21
   ],
   "to": "VOL pot lug 1",
   "parts": [
    {
     "id": "POT2",
     "kind": "pot",
     "lug": "1",
     "value": "A10K",
     "role": "volume"
    }
   ]
  },
  {
   "id": "pd10",
   "label": "VCC",
   "at": [
    0,
    0
   ],
   "to": "test point: the supply after D1, for the meter"
  },
  {
   "id": "pd11",
   "label": "OUT",
   "at": [
    20,
    21
   ],
   "to": "output jack tip",
   "parts": [
    {
     "id": "JK1",
     "kind": "jack",
     "lug": "T",
     "value": "1/4 in",
     "role": "out"
    }
   ]
  },
  {
   "id": "pd12",
   "label": "OUT-G",
   "at": [
    21,
    20
   ],
   "to": "output jack sleeve and the LED's short leg",
   "parts": [
    {
     "id": "JK1",
     "kind": "jack",
     "lug": "S",
     "value": "1/4 in",
     "role": "out"
    },
    {
     "id": "LED1",
     "kind": "led",
     "lug": "K",
     "value": "power",
     "role": "power"
    }
   ]
  }
 ],
 "netlist": "# Onions Theremin - the intended circuit, written from the design\n# Pitch antenna only. IC1 CD40106 runs both oscillators and their buffers,\n# IC2 CD4070 mixes them, IC3 LM13700 amp B is the VCA. 12V supply.\nVIN:       @+12V D1.A\nVCC:       @VCC D1.B IC1.14 IC1.11 IC2.14 IC2.13 IC2.12 IC2.9 IC2.8 IC3.11 R9.A R15.A C8.A C9.A @VOL_T\nLEDA:      R15.B @LED\nGND:       @GND @OUT-G @VOL_G IC1.3 IC1.7 IC2.5 IC2.6 IC2.7 IC3.1 IC3.3 IC3.4 IC3.6 IC3.7 C1.B C2.B C3.B C4.B C6.B C8.B C9.B R10.B R13.B R14.B\nPITCH_IN:  IC1.1 R1.B C1.A R2.B\nANT:       R2.A @ANT\nPITCH_OSC: IC1.2 IC1.13 R1.A\nPITCH_SQ:  IC1.12 IC2.1\nREF_IN:    IC1.5 C2.A @FINE_A\nREF_OSC:   IC1.6 IC1.9 R3.A\nCOARSE:    R3.B VR1.1\nTRIM:      VR1.W @FINE_W\nREF_SQ:    IC1.8 IC2.2\nMIX:       IC2.3 R4.A\nF1:        R4.B C3.A R5.A\nF2:        R5.B C4.A C5.A\nOTA_IN:    C5.B R6.A\nINP:       R6.B R7.A IC3.14\nINN:       R8.A IC3.13\nVB:        R7.B R8.B R9.B R10.A C6.A R11.B\nIABC:      R12.B IC3.16\nVOLW:      R12.A @VOL_W\nOTA_OUT:   IC3.12 IC3.10 R11.A\nBUF:       IC3.9 R13.A C7.A\nOUT:       C7.B R14.A @OUT\n",
 "offboard": [
  "DC1.+ - SW1.1"
 ]
}
