{
 "version": 2,
 "name": "Power Starve",
 "board": {
  "rows": 5,
  "cols": 19,
  "kind": "strip"
 },
 "cuts": [
  "0,2"
 ],
 "parts": [
  {
   "id": "ps01stv",
   "kind": "res",
   "ref": "R1",
   "value": "220R",
   "pins": [
    [
     1,
     13
    ],
    [
     2,
     13
    ]
   ],
   "device": "fixed",
   "mount": "vertical"
  },
  {
   "id": "ps02stv",
   "kind": "res",
   "ref": "R2",
   "value": "1k",
   "pins": [
    [
     1,
     17
    ],
    [
     4,
     17
    ]
   ],
   "device": "fixed"
  },
  {
   "id": "ps03stv",
   "kind": "cap",
   "ref": "C1",
   "value": "100n",
   "pins": [
    [
     0,
     5
    ],
    [
     3,
     5
    ]
   ],
   "device": "ceramic disc"
  },
  {
   "id": "ps04stv",
   "kind": "ecap",
   "ref": "C2",
   "value": "10u",
   "pins": [
    [
     2,
     15
    ],
    [
     3,
     15
    ]
   ],
   "polarized": true
  },
  {
   "id": "ps05stv",
   "kind": "ecap",
   "ref": "C3",
   "value": "10u",
   "pins": [
    [
     1,
     9
    ],
    [
     3,
     9
    ]
   ],
   "polarized": true
  },
  {
   "id": "ps06stv",
   "kind": "diode",
   "ref": "D1",
   "value": "1N5817",
   "pins": [
    [
     0,
     1
    ],
    [
     0,
     4
    ]
   ],
   "polarized": true,
   "device": "schottky"
  },
  {
   "id": "ps07stv",
   "kind": "diode",
   "ref": "D2",
   "value": "1N4001",
   "pins": [
    [
     1,
     7
    ],
    [
     0,
     7
    ]
   ],
   "polarized": true,
   "device": "rectifier",
   "mount": "vertical"
  },
  {
   "id": "ps08stv",
   "kind": "reg",
   "ref": "U1",
   "value": "",
   "device": "LM317",
   "pins": [
    [
     2,
     11
    ],
    [
     1,
     11
    ],
    [
     0,
     11
    ]
   ]
  }
 ],
 "ics": [],
 "pads": [
  {
   "id": "psp01",
   "label": "IN",
   "at": [
    0,
    0
   ],
   "to": "supply +, 4.5 to 15 V: a 9 V battery, or the DC jack tip. Center positive"
  },
  {
   "id": "psp02",
   "label": "+IN",
   "at": [
    0,
    18
   ],
   "to": "the supply after the diode. The bypass toggle's DIRECT throw"
  },
  {
   "id": "psp03",
   "label": "OUT",
   "at": [
    1,
    18
   ],
   "to": "the starved supply. The bypass toggle's STARVE throw; the toggle's common goes to the toy's +"
  },
  {
   "id": "psp04",
   "label": "STARVE",
   "at": [
    2,
    0
   ],
   "to": "starve pot, wiper. Lug 3 to STARVE_G; lug 1 empty, or strapped to the wiper so a scratchy wiper cannot open the divider"
  },
  {
   "id": "psp05",
   "label": "GND",
   "at": [
    3,
    0
   ],
   "to": "ground: battery -, DC jack sleeve, the toy's -"
  },
  {
   "id": "psp06",
   "label": "STARVE_G",
   "at": [
    3,
    2
   ],
   "to": "starve pot, lug 3"
  },
  {
   "id": "psp07",
   "label": "LED_K",
   "at": [
    3,
    18
   ],
   "to": "panel LED, short leg"
  },
  {
   "id": "psp08",
   "label": "LED_A",
   "at": [
    4,
    18
   ],
   "to": "panel LED, long leg - through the 1k on the board. It dims as you starve"
  }
 ],
 "netlist": "# Power Starve - written from the board\n# 5 strips of 19 holes, 8 parts, 1 cut\n#\n# An LM317 with the starve pot on ADJ: the pot sets a reference and carries\n# milliamps, the regulator carries the toy. OUT = 1.25 V x (1 + pot / 220R),\n# never above the supply minus about 2 V. D1 is reverse-polarity protection,\n# D2 protects the regulator if the input is yanked, R2 feeds a panel LED that\n# dims as you starve.\n\nIN:      @IN D1.A\n+IN:     D1.B C1.A D2.B U1.I @+IN\nOUT:     U1.O R1.A R2.A C3.A D2.A @OUT\nADJ:     U1.A R1.B C2.A @STARVE\nGND:     @GND C1.B C2.B C3.B @STARVE_G @LED_K\nLED:     R2.B @LED_A\n"
}