(kicad_pcb (version 4) (host pcbnew 4.0.7)
  (general
    (links 50)
    (no_connects 0)
    (area 64.150001 80.8 136.85 138.700001)
    (thickness 1.6)
    (drawings 45)
    (tracks 50)
    (zones 0)
    (modules 15)
    (nets 11)
  )
  (page A4)
  (layers
    (0 F.Cu signal)
    (31 B.Cu signal)
    (32 B.Adhes user)
    (33 F.Adhes user)
    (34 B.Paste user)
    (35 F.Paste user)
    (36 B.SilkS user)
    (37 F.SilkS user)
    (38 B.Mask user)
    (39 F.Mask user)
    (40 Dwgs.User user)
    (41 Cmts.User user)
    (42 Eco1.User user)
    (43 Eco2.User user)
    (44 Edge.Cuts user)
    (45 Margin user)
    (46 B.CrtYd user)
    (47 F.CrtYd user)
    (48 B.Fab user)
    (49 F.Fab user)
  )
  (setup
    (last_trace_width 0.3048)
    (trace_clearance 0.2032)
    (zone_clearance 0.508)
    (zone_45_only no)
    (trace_min 0.2)
    (segment_width 0.2)
    (edge_width 0.15)
    (via_size 0.762)
    (via_drill 0.5588)
    (via_min_size 0.4)
    (via_min_drill 0.3)
    (uvia_size 0.3)
    (uvia_drill 0.1)
    (uvias_allowed no)
    (uvia_min_size 0.2)
    (uvia_min_drill 0.1)
    (pcb_text_width 0.3)
    (pcb_text_size 1.5 1.5)
    (mod_edge_width 0.15)
    (mod_text_size 1 1)
    (mod_text_width 0.15)
    (pad_size 0.8 0.8)
    (pad_drill 0)
    (pad_to_mask_clearance 0.2)
    (aux_axis_origin 0 0)
    (visible_elements FFFFFF7F)
    (pcbplotparams
      (layerselection 0x00030_80000001)
      (usegerberextensions false)
      (excludeedgelayer true)
      (linewidth 0.100000)
      (plotframeref false)
      (viasonmask false)
      (mode 1)
      (useauxorigin false)
      (hpglpennumber 1)
      (hpglpenspeed 20)
      (hpglpendiameter 15)
      (hpglpenoverlay 2)
      (psnegative false)
      (psa4output false)
      (plotreference true)
      (plotvalue true)
      (plotinvisibletext false)
      (padsonsilk false)
      (subtractmaskfromsilk false)
      (outputformat 1)
      (mirror false)
      (drillshape 1)
      (scaleselection 1)
      (outputdirectory ""))
  )
  (net 0 "")
  (net 1 VCC)
  (net 2 GND)
  (net 3 "Net-(J1-Pad3)")
  (net 4 "Net-(J1-Pad4)")
  (net 5 /Y)
  (net 6 /C)
  (net 7 "Net-(JP1-Pad2)")
  (net 8 "Net-(JP2-Pad2)")
  (net 9 "Net-(Q1-Pad3)")
  (net 10 "Net-(JP1-Pad3)")
  (net_class Default "This is the default net class."
    (clearance 0.2032)
    (trace_width 0.3048)
    (via_dia 0.762)
    (via_drill 0.5588)
    (uvia_dia 0.3)
    (uvia_drill 0.1)
    (add_net /C)
    (add_net /Y)
    (add_net "Net-(J1-Pad3)")
    (add_net "Net-(J1-Pad4)")
    (add_net "Net-(JP1-Pad2)")
    (add_net "Net-(JP1-Pad3)")
    (add_net "Net-(JP2-Pad2)")
    (add_net "Net-(Q1-Pad3)")
  )
  (net_class PWR ""
    (clearance 0.2032)
    (trace_width 0.8128)
    (via_dia 1.27)
    (via_drill 1.1176)
    (uvia_dia 0.3)
    (uvia_drill 0.1)
    (add_net GND)
    (add_net VCC)
  )
  (module Mounting_Holes:MountingHole_2.7mm_M2.5_Pad_Via (layer F.Cu) (tedit 5C5F0443)
    (at 119 107)
    (descr "Mounting Hole 2.7mm")
    (tags "mounting hole 2.7mm")
    (attr virtual)
    (fp_text reference M2 (at 0 -3.7) (layer F.Fab))
    (fp_text value 1P (at 0 3.7) (layer F.Fab))
    (fp_text user %R (at 0.3 0) (layer F.Fab))
    (pad 1 thru_hole circle (at 0 0) (size 5.4 5.4) (drill oval 3.7 2.7) (layers *.Cu *.Mask)
      (net 2 GND))
    (pad 1 smd circle (at 2.025 0) (size 0.8 0.8) (layers F.Cu F.Paste F.Mask)
      (net 2 GND))
    (pad 1 thru_hole circle (at 1.431891 1.431891) (size 0.8 0.8) (drill 0.5) (layers *.Cu *.Mask)
      (net 2 GND))
    (pad 1 thru_hole circle (at 0 2.025) (size 0.8 0.8) (drill 0.5) (layers *.Cu *.Mask)
      (net 2 GND))
    (pad 1 thru_hole circle (at -1.431891 1.431891) (size 0.8 0.8) (drill 0.5) (layers *.Cu *.Mask)
      (net 2 GND))
    (pad 1 smd circle (at -2.025 0) (size 0.8 0.8) (layers F.Cu F.Paste F.Mask)
      (net 2 GND))
    (pad 1 thru_hole circle (at -1.431891 -1.431891) (size 0.8 0.8) (drill 0.5) (layers *.Cu *.Mask)
      (net 2 GND))
    (pad 1 thru_hole circle (at 0 -2.025) (size 0.8 0.8) (drill 0.5) (layers *.Cu *.Mask)
      (net 2 GND))
    (pad 1 thru_hole circle (at 1.431891 -1.431891) (size 0.8 0.8) (drill 0.5) (layers *.Cu *.Mask)
      (net 2 GND))
    (model "/Users/Klaudiusz/Documents/KiCAD projects/Libraries/ZXSpeccy.3dshapes/M2.5_L10mm_6mm.wrl"
      (at (xyz 0 0 0))
      (scale (xyz 10 13 10))
      (rotate (xyz -90 0 0))
    )
  )
  (module Capacitors_THT:CP_Radial_D5.0mm_P2.50mm (layer F.Cu) (tedit 5C5E0FC6)
    (at 110.49 118.705 90)
    (descr "CP, Radial series, Radial, pin pitch=2.50mm, , diameter=5mm, Electrolytic Capacitor")
    (tags "CP Radial series Radial pin pitch 2.50mm  diameter 5mm Electrolytic Capacitor")
    (fp_text reference C1 (at 5.04 0 180) (layer F.SilkS))
    (fp_text value 100uF (at -2.58 0 180) (layer F.SilkS))
    (fp_text user %R (at 1.25 0 90) (layer F.Fab))
    (pad 1 thru_hole rect (at 0 0 90) (size 1.6 1.6) (drill 0.8) (layers *.Cu *.Mask)
      (net 1 VCC))
    (pad 2 thru_hole circle (at 2.5 0 90) (size 1.6 1.6) (drill 0.8) (layers *.Cu *.Mask)
      (net 2 GND))
    (model ${KISYS3DMOD}/Capacitors_THT.3dshapes/CP_Radial_D5.0mm_P2.50mm.wrl
      (at (xyz 0 0 0))
      (scale (xyz 1 1 1))
      (rotate (xyz 0 0 0))
    )
  )
  (module Capacitors_THT:C_Disc_D3.4mm_W2.1mm_P2.50mm (layer F.Cu) (tedit 5C5E0FB4)
    (at 105.41 118.745 90)
    (descr "C, Disc series, Radial, pin pitch=2.50mm, , diameter*width=3.4*2.1mm^2, Capacitor, http://www.vishay.com/docs/45233/krseries.pdf")
    (tags "C Disc series Radial pin pitch 2.50mm  diameter 3.4mm width 2.1mm Capacitor")
    (fp_text reference C2 (at 4.445 0 180) (layer F.SilkS))
    (fp_text value 100nF (at -1.905 0 180) (layer F.SilkS))
    (fp_text user %R (at 1.25 0 90) (layer F.Fab))
    (pad 1 thru_hole circle (at 0 0 90) (size 1.6 1.6) (drill 0.8) (layers *.Cu *.Mask)
      (net 1 VCC))
    (pad 2 thru_hole circle (at 2.5 0 90) (size 1.6 1.6) (drill 0.8) (layers *.Cu *.Mask)
      (net 2 GND))
    (model ${KISYS3DMOD}/Capacitors_THT.3dshapes/C_Disc_D3.4mm_W2.1mm_P2.50mm.wrl
      (at (xyz 0 0 0))
      (scale (xyz 1 1 1))
      (rotate (xyz 0 0 0))
    )
  )
  (module Pin_Headers:Pin_Header_Straight_1x04_Pitch2.54mm (layer F.Cu) (tedit 59650532)
    (at 114.935 118.745 180)
    (descr "Through hole straight pin header, 1x04, 2.54mm pitch, single row")
    (tags "Through hole pin header THT 1x04 2.54mm single row")
    (fp_text reference J1 (at 0 -2.33 180) (layer F.SilkS))
    (fp_text value Conn_01x04 (at 0 9.95 180) (layer F.Fab))
    (fp_text user %R (at 0 3.81 270) (layer F.Fab))
    (pad 1 thru_hole rect (at 0 0 180) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask)
      (net 1 VCC))
    (pad 2 thru_hole oval (at 0 2.54 180) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask)
      (net 2 GND))
    (pad 3 thru_hole oval (at 0 5.08 180) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask)
      (net 3 "Net-(J1-Pad3)"))
    (pad 4 thru_hole oval (at 0 7.62 180) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask)
      (net 4 "Net-(J1-Pad4)"))
    (model ${KISYS3DMOD}/Pin_Headers.3dshapes/Pin_Header_Straight_1x04_Pitch2.54mm.wrl
      (at (xyz 0 0 0))
      (scale (xyz 1 1 1))
      (rotate (xyz 0 0 0))
    )
  )
  (module "ZX Speccy:MD-40SM" (layer F.Cu) (tedit 5C5F05ED)
    (at 114.75 94.5 180)
    (descr "<b>Mini DIN</b> - 4 Pin")
    (fp_text reference J2 (at 9.34 1.155 180) (layer F.SilkS))
    (fp_text value Mini-DIN-4 (at 0.127271 -8.04328 180) (layer F.SilkS))
    (pad S2 thru_hole rect (at 0 0) (size 3.2004 3.2004) (drill 2.1844) (layers *.Cu *.Mask F.SilkS))
    (pad S1 thru_hole rect (at 6.75 -0.8) (size 3.2004 3.2004) (drill 2.1844) (layers *.Cu *.Mask F.SilkS))
    (pad S3 thru_hole rect (at -6.75 -0.8) (size 3.2004 3.2004) (drill 2.1844) (layers *.Cu *.Mask F.SilkS))
    (pad 2 thru_hole circle (at 3.4 -3.8) (size 1.524 1.524) (drill 1.016) (layers *.Cu *.Mask F.SilkS)
      (net 2 GND))
    (pad 1 thru_hole circle (at -3.4 -3.8) (size 1.524 1.524) (drill 1.016) (layers *.Cu *.Mask F.SilkS)
      (net 2 GND))
    (pad 4 thru_hole circle (at 3.4 -6.3) (size 1.524 1.524) (drill 1.016) (layers *.Cu *.Mask F.SilkS)
      (net 5 /Y))
    (pad 3 thru_hole circle (at -3.4 -6.3) (size 1.524 1.524) (drill 1.016) (layers *.Cu *.Mask F.SilkS)
      (net 6 /C))
    (model "/Users/Klaudiusz/Documents/KiCAD projects/Libraries/ZXSpeccy.3dshapes/minidin_4.wrl"
      (at (xyz 0 0.1 0))
      (scale (xyz 1 1 1))
      (rotate (xyz 0 0 0))
    )
  )
  (module Pin_Headers:Pin_Header_Straight_1x02_Pitch2.54mm (layer F.Cu) (tedit 59650532)
    (at 93.98 106.045 270)
    (descr "Through hole straight pin header, 1x02, 2.54mm pitch, single row")
    (tags "Through hole pin header THT 1x02 2.54mm single row")
    (fp_text reference JP2 (at -1.905 1.27 360) (layer F.SilkS))
    (fp_text value 1-2 (at 0 4.87 270) (layer F.Fab))
    (fp_text user %R (at 0 1.27 360) (layer F.Fab))
    (pad 1 thru_hole rect (at 0 0 270) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask)
      (net 4 "Net-(J1-Pad4)"))
    (pad 2 thru_hole oval (at 0 2.54 270) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask)
      (net 8 "Net-(JP2-Pad2)"))
    (model ${KISYS3DMOD}/Pin_Headers.3dshapes/Pin_Header_Straight_1x02_Pitch2.54mm.wrl
      (at (xyz 0 0 0))
      (scale (xyz 1 1 1))
      (rotate (xyz 0 0 0))
    )
  )
  (module Resistors_THT:R_Axial_DIN0204_L3.6mm_D1.6mm_P7.62mm_Horizontal (layer F.Cu) (tedit 5C5E0F0E)
    (at 86.36 110.49)
    (descr "Resistor, Axial_DIN0204 series, Axial, Horizontal, pin pitch=7.62mm, 0.16666666666666666W = 1/6W, length*diameter=3.6*1.6mm^2, http://cdn-reichelt.de/documents/datenblatt/B400/1_4W%23YAG.pdf")
    (tags "Resistor Axial_DIN0204 series Axial Horizontal pin pitch 7.62mm 0.16666666666666666W = 1/6W length 3.6mm diameter 1.6mm")
    (fp_text reference R1 (at 0 -1.905) (layer F.SilkS))
    (fp_text value 390R (at 3.81 0) (layer F.SilkS))
    (pad 1 thru_hole circle (at 0 0) (size 1.4 1.4) (drill 0.7) (layers *.Cu *.Mask)
      (net 9 "Net-(Q1-Pad3)"))
    (pad 2 thru_hole oval (at 7.62 0) (size 1.4 1.4) (drill 0.7) (layers *.Cu *.Mask)
      (net 2 GND))
    (model ${KISYS3DMOD}/Resistors_THT.3dshapes/R_Axial_DIN0204_L3.6mm_D1.6mm_P7.62mm_Horizontal.wrl
      (at (xyz 0 0 0))
      (scale (xyz 0.393701 0.393701 0.393701))
      (rotate (xyz 0 0 0))
    )
  )
  (module Resistors_THT:R_Axial_DIN0204_L3.6mm_D1.6mm_P7.62mm_Horizontal (layer F.Cu) (tedit 5C5E0F36)
    (at 107.315 113.03 180)
    (descr "Resistor, Axial_DIN0204 series, Axial, Horizontal, pin pitch=7.62mm, 0.16666666666666666W = 1/6W, length*diameter=3.6*1.6mm^2, http://cdn-reichelt.de/documents/datenblatt/B400/1_4W%23YAG.pdf")
    (tags "Resistor Axial_DIN0204 series Axial Horizontal pin pitch 7.62mm 0.16666666666666666W = 1/6W length 3.6mm diameter 1.6mm")
    (fp_text reference R2 (at 3.81 1.905 180) (layer F.SilkS))
    (fp_text value 2k2 (at 3.81 0 180) (layer F.SilkS))
    (pad 1 thru_hole circle (at 0 0 180) (size 1.4 1.4) (drill 0.7) (layers *.Cu *.Mask)
      (net 1 VCC))
    (pad 2 thru_hole oval (at 7.62 0 180) (size 1.4 1.4) (drill 0.7) (layers *.Cu *.Mask)
      (net 4 "Net-(J1-Pad4)"))
    (model ${KISYS3DMOD}/Resistors_THT.3dshapes/R_Axial_DIN0204_L3.6mm_D1.6mm_P7.62mm_Horizontal.wrl
      (at (xyz 0 0 0))
      (scale (xyz 0.393701 0.393701 0.393701))
      (rotate (xyz 0 0 0))
    )
  )
  (module Resistors_THT:R_Axial_DIN0204_L3.6mm_D1.6mm_P7.62mm_Horizontal (layer F.Cu) (tedit 5C5E0F3D)
    (at 99.695 109.22)
    (descr "Resistor, Axial_DIN0204 series, Axial, Horizontal, pin pitch=7.62mm, 0.16666666666666666W = 1/6W, length*diameter=3.6*1.6mm^2, http://cdn-reichelt.de/documents/datenblatt/B400/1_4W%23YAG.pdf")
    (tags "Resistor Axial_DIN0204 series Axial Horizontal pin pitch 7.62mm 0.16666666666666666W = 1/6W length 3.6mm diameter 1.6mm")
    (fp_text reference R3 (at 3.81 -1.905) (layer F.SilkS))
    (fp_text value 4k3 (at 3.81 0) (layer F.SilkS))
    (pad 1 thru_hole circle (at 0 0) (size 1.4 1.4) (drill 0.7) (layers *.Cu *.Mask)
      (net 4 "Net-(J1-Pad4)"))
    (pad 2 thru_hole oval (at 7.62 0) (size 1.4 1.4) (drill 0.7) (layers *.Cu *.Mask)
      (net 2 GND))
    (model ${KISYS3DMOD}/Resistors_THT.3dshapes/R_Axial_DIN0204_L3.6mm_D1.6mm_P7.62mm_Horizontal.wrl
      (at (xyz 0 0 0))
      (scale (xyz 0.393701 0.393701 0.393701))
      (rotate (xyz 0 0 0))
    )
  )
  (module Mounting_Holes:MountingHole_2.7mm_M2.5_Pad_Via (layer F.Cu) (tedit 5C5F045D)
    (at 80.25 107)
    (descr "Mounting Hole 2.7mm")
    (tags "mounting hole 2.7mm")
    (attr virtual)
    (fp_text reference M1 (at 0 -3.7) (layer F.Fab))
    (fp_text value 1P (at 0 3.7) (layer F.Fab))
    (fp_text user %R (at 0.3 0) (layer F.Fab))
    (pad 1 thru_hole circle (at 0 0) (size 5.4 5.4) (drill oval 2.7 3.7) (layers *.Cu *.Mask)
      (net 2 GND))
    (pad 1 thru_hole circle (at 2.025 0) (size 0.8 0.8) (drill 0.5) (layers *.Cu *.Mask)
      (net 2 GND))
    (pad 1 thru_hole circle (at 1.431891 1.431891) (size 0.8 0.8) (drill 0.5) (layers *.Cu *.Mask)
      (net 2 GND))
    (pad 1 smd circle (at 0 2.025) (size 0.8 0.8) (layers F.Cu F.Paste F.Mask)
      (net 2 GND))
    (pad 1 thru_hole circle (at -1.431891 1.431891) (size 0.8 0.8) (drill 0.5) (layers *.Cu *.Mask)
      (net 2 GND))
    (pad 1 thru_hole circle (at -2.025 0) (size 0.8 0.8) (drill 0.5) (layers *.Cu *.Mask)
      (net 2 GND))
    (pad 1 thru_hole circle (at -1.431891 -1.431891) (size 0.8 0.8) (drill 0.5) (layers *.Cu *.Mask)
      (net 2 GND))
    (pad 1 smd circle (at 0 -2.025) (size 0.8 0.8) (layers F.Cu F.Paste F.Mask)
      (net 2 GND))
    (pad 1 thru_hole circle (at 1.431891 -1.431891) (size 0.8 0.8) (drill 0.5) (layers *.Cu *.Mask)
      (net 2 GND))
    (model "/Users/Klaudiusz/Documents/KiCAD projects/Libraries/ZXSpeccy.3dshapes/M2.5_L10mm_6mm.wrl"
      (at (xyz 0 0 0))
      (scale (xyz 10 13 10))
      (rotate (xyz -90 0 0))
    )
  )
  (module Mounting_Holes:MountingHole_2.7mm_M2.5_Pad_Via (layer F.Cu) (tedit 5C5E0D1B)
    (at 99.568109 119.068109)
    (descr "Mounting Hole 2.7mm")
    (tags "mounting hole 2.7mm")
    (attr virtual)
    (fp_text reference M3 (at 0 -3.7) (layer F.Fab))
    (fp_text value 1P (at 0 3.7) (layer F.Fab))
    (fp_text user %R (at 0.3 0) (layer F.Fab))
    (pad 1 thru_hole circle (at 0 0) (size 5.4 5.4) (drill 2.7) (layers *.Cu *.Mask)
      (net 2 GND))
    (pad 1 thru_hole circle (at 2.025 0) (size 0.8 0.8) (drill 0.5) (layers *.Cu *.Mask)
      (net 2 GND))
    (pad 1 thru_hole circle (at 1.431891 1.431891) (size 0.8 0.8) (drill 0.5) (layers *.Cu *.Mask)
      (net 2 GND))
    (pad 1 thru_hole circle (at 0 2.025) (size 0.8 0.8) (drill 0.5) (layers *.Cu *.Mask)
      (net 2 GND))
    (pad 1 thru_hole circle (at -1.431891 1.431891) (size 0.8 0.8) (drill 0.5) (layers *.Cu *.Mask)
      (net 2 GND))
    (pad 1 thru_hole circle (at -2.025 0) (size 0.8 0.8) (drill 0.5) (layers *.Cu *.Mask)
      (net 2 GND))
    (pad 1 thru_hole circle (at -1.431891 -1.431891) (size 0.8 0.8) (drill 0.5) (layers *.Cu *.Mask)
      (net 2 GND))
    (pad 1 thru_hole circle (at 0 -2.025) (size 0.8 0.8) (drill 0.5) (layers *.Cu *.Mask)
      (net 2 GND))
    (pad 1 thru_hole circle (at 1.431891 -1.431891) (size 0.8 0.8) (drill 0.5) (layers *.Cu *.Mask)
      (net 2 GND))
    (model "/Users/Klaudiusz/Documents/KiCAD projects/Libraries/ZXSpeccy.3dshapes/M2.5_L10mm_6mm.wrl"
      (at (xyz 0 0 0))
      (scale (xyz 10 13 10))
      (rotate (xyz -90 0 0))
    )
  )
  (module TO_SOT_Packages_THT:TO-92_Inline_Wide (layer F.Cu) (tedit 5C5E0F65)
    (at 81.28 118.745 90)
    (descr "TO-92 leads in-line, wide, drill 0.8mm (see NXP sot054_po.pdf)")
    (tags "to-92 sc-43 sc-43a sot54 PA33 transistor")
    (fp_text reference Q1 (at 5.715 2.54 360) (layer F.SilkS))
    (fp_text value BC549 (at -1.905 0 360) (layer F.SilkS))
    (fp_text user %R (at 2.54 -3.56 270) (layer F.Fab))
    (pad 2 thru_hole circle (at 2.54 0 180) (size 1.52 1.52) (drill 0.8) (layers *.Cu *.Mask)
      (net 8 "Net-(JP2-Pad2)"))
    (pad 3 thru_hole circle (at 5.08 0 180) (size 1.52 1.52) (drill 0.8) (layers *.Cu *.Mask)
      (net 9 "Net-(Q1-Pad3)"))
    (pad 1 thru_hole rect (at 0 0 180) (size 1.52 1.52) (drill 0.8) (layers *.Cu *.Mask)
      (net 1 VCC))
    (model ${KISYS3DMOD}/TO_SOT_Packages_THT.3dshapes/TO-92_Inline_Wide.wrl
      (at (xyz 0.1 0 0))
      (scale (xyz 1 1 1))
      (rotate (xyz 0 0 -90))
    )
  )
  (module TO_SOT_Packages_THT:TO-92_Inline_Wide (layer F.Cu) (tedit 5C5E0F9D)
    (at 87.63 118.745 90)
    (descr "TO-92 leads in-line, wide, drill 0.8mm (see NXP sot054_po.pdf)")
    (tags "to-92 sc-43 sc-43a sot54 PA33 transistor")
    (fp_text reference Q2 (at 5.715 2.54 360) (layer F.SilkS))
    (fp_text value BC549 (at -1.905 0 180) (layer F.SilkS))
    (fp_text user %R (at 2.54 -3.56 270) (layer F.Fab))
    (pad 2 thru_hole circle (at 2.54 0 180) (size 1.52 1.52) (drill 0.8) (layers *.Cu *.Mask)
      (net 9 "Net-(Q1-Pad3)"))
    (pad 3 thru_hole circle (at 5.08 0 180) (size 1.52 1.52) (drill 0.8) (layers *.Cu *.Mask)
      (net 10 "Net-(JP1-Pad3)"))
    (pad 1 thru_hole rect (at 0 0 180) (size 1.52 1.52) (drill 0.8) (layers *.Cu *.Mask)
      (net 1 VCC))
    (model ${KISYS3DMOD}/TO_SOT_Packages_THT.3dshapes/TO-92_Inline_Wide.wrl
      (at (xyz 0.1 0 0))
      (scale (xyz 1 1 1))
      (rotate (xyz 0 0 -90))
    )
  )
  (module TO_SOT_Packages_THT:TO-92_Inline_Wide (layer F.Cu) (tedit 5C5E0FA5)
    (at 93.98 118.745 90)
    (descr "TO-92 leads in-line, wide, drill 0.8mm (see NXP sot054_po.pdf)")
    (tags "to-92 sc-43 sc-43a sot54 PA33 transistor")
    (fp_text reference Q3 (at 5.715 2.54 360) (layer F.SilkS))
    (fp_text value BC549 (at -1.905 0 180) (layer F.SilkS))
    (fp_text user %R (at 2.54 -3.56 270) (layer F.Fab))
    (pad 2 thru_hole circle (at 2.54 0 180) (size 1.52 1.52) (drill 0.8) (layers *.Cu *.Mask)
      (net 3 "Net-(J1-Pad3)"))
    (pad 3 thru_hole circle (at 5.08 0 180) (size 1.52 1.52) (drill 0.8) (layers *.Cu *.Mask)
      (net 7 "Net-(JP1-Pad2)"))
    (pad 1 thru_hole rect (at 0 0 180) (size 1.52 1.52) (drill 0.8) (layers *.Cu *.Mask)
      (net 1 VCC))
    (model ${KISYS3DMOD}/TO_SOT_Packages_THT.3dshapes/TO-92_Inline_Wide.wrl
      (at (xyz 0.1 0 0))
      (scale (xyz 1 1 1))
      (rotate (xyz 0 0 -90))
    )
  )
  (module Pin_Headers:Pin_Header_Straight_2x02_Pitch2.54mm (layer F.Cu) (tedit 59650532)
    (at 93.98 99.06 270)
    (descr "Through hole straight pin header, 2x02, 2.54mm pitch, double rows")
    (tags "Through hole pin header THT 2x02 2.54mm double row")
    (fp_text reference JP1 (at -1.905 1.27 360) (layer F.SilkS))
    (fp_text value Y/C (at 1.27 4.87 270) (layer F.Fab))
    (fp_text user %R (at 1.27 1.27 360) (layer F.Fab))
    (pad 1 thru_hole rect (at 0 0 270) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask)
      (net 5 /Y))
    (pad 2 thru_hole oval (at 2.54 0 270) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask)
      (net 7 "Net-(JP1-Pad2)"))
    (pad 3 thru_hole oval (at 0 2.54 270) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask)
      (net 10 "Net-(JP1-Pad3)"))
    (pad 4 thru_hole oval (at 2.54 2.54 270) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask)
      (net 6 /C))
    (model ${KISYS3DMOD}/Pin_Headers.3dshapes/Pin_Header_Straight_2x02_Pitch2.54mm.wrl
      (at (xyz 0 0 0))
      (scale (xyz 1 1 1))
      (rotate (xyz 0 0 0))
    )
  )
  (dimension 47 (width 0.3) (layer Dwgs.User)
    (gr_text "47.000 mm" (at 100.5 82.15) (layer Dwgs.User))
    (feature1 (pts (xy 124 92) (xy 124 80.8)))
    (feature2 (pts (xy 77 92) (xy 77 80.8)))
    (crossbar (pts (xy 77 83.5) (xy 124 83.5)))
    (arrow1a (pts (xy 124 83.5) (xy 122.873496 84.086421)))
    (arrow1b (pts (xy 124 83.5) (xy 122.873496 82.913579)))
    (arrow2a (pts (xy 77 83.5) (xy 78.126504 84.086421)))
    (arrow2b (pts (xy 77 83.5) (xy 78.126504 82.913579)))
  )
  (gr_arc (start 80.25 107) (end 78 109.5) (angle 96.02557627) (layer Edge.Cuts) (width 0.15))
  (gr_text 1 (at 95.885 107.315) (layer F.SilkS))
  (gr_text 2 (at 89.535 107.315) (layer F.SilkS))
  (gr_text 3 (at 117.475 113.665) (layer F.SilkS))
  (gr_text 4 (at 117.475 111.125) (layer F.SilkS))
  (gr_text "JP1\nC - Chrominance\nY - Luminance" (at 79.375 95.25) (layer F.SilkS))
  (gr_text C (at 89.535 102.235) (layer F.SilkS))
  (gr_text Y (at 95.885 98.425) (layer F.SilkS))
  (gr_text GND (at 118.11 116.205) (layer F.SilkS))
  (gr_text Vcc (at 118.11 118.745) (layer F.SilkS))
  (gr_text "Credits to:\n1024MAK & RGA24" (at 105.41 104.14) (layer B.SilkS))
  (gr_text "ZX Spectrum\nS-Video Output\n" (at 92.075 95.25) (layer B.SilkS))
  (gr_line (start 124 92.5) (end 124 106.75) (layer Edge.Cuts) (width 0.15))
  (gr_line (start 124 106.75) (end 121 109.75) (layer Edge.Cuts) (width 0.15))
  (gr_line (start 123.5 92) (end 124 92.5) (layer Edge.Cuts) (width 0.15))
  (gr_line (start 78 92.5) (end 78.5 92) (layer Edge.Cuts) (width 0.15))
  (gr_line (start 78 104.5) (end 78 92.5) (layer Edge.Cuts) (width 0.15))
  (dimension 21.5 (width 0.3) (layer Dwgs.User)
    (gr_text "21.500 mm" (at 88.75 125.85) (layer Dwgs.User))
    (feature1 (pts (xy 99.5 122) (xy 99.5 127.2)))
    (feature2 (pts (xy 78 122) (xy 78 127.2)))
    (crossbar (pts (xy 78 124.5) (xy 99.5 124.5)))
    (arrow1a (pts (xy 99.5 124.5) (xy 98.373496 125.086421)))
    (arrow1b (pts (xy 99.5 124.5) (xy 98.373496 123.913579)))
    (arrow2a (pts (xy 78 124.5) (xy 79.126504 125.086421)))
    (arrow2b (pts (xy 78 124.5) (xy 79.126504 123.913579)))
  )
  (dimension 15 (width 0.3) (layer Dwgs.User)
    (gr_text "15.000 mm" (at 70.65 114.5 90) (layer Dwgs.User))
    (feature1 (pts (xy 78 107) (xy 69.3 107)))
    (feature2 (pts (xy 78 122) (xy 69.3 122)))
    (crossbar (pts (xy 72 122) (xy 72 107)))
    (arrow1a (pts (xy 72 107) (xy 72.586421 108.126504)))
    (arrow1b (pts (xy 72 107) (xy 71.413579 108.126504)))
    (arrow2a (pts (xy 72 122) (xy 72.586421 120.873496)))
    (arrow2b (pts (xy 72 122) (xy 71.413579 120.873496)))
  )
  (dimension 30 (width 0.3) (layer Dwgs.User)
    (gr_text "30.000 mm" (at 130.35 107 90) (layer Dwgs.User))
    (feature1 (pts (xy 121 92) (xy 131.7 92)))
    (feature2 (pts (xy 121 122) (xy 131.7 122)))
    (crossbar (pts (xy 129 122) (xy 129 92)))
    (arrow1a (pts (xy 129 92) (xy 129.586421 93.126504)))
    (arrow1b (pts (xy 129 92) (xy 128.413579 93.126504)))
    (arrow2a (pts (xy 129 122) (xy 129.586421 120.873496)))
    (arrow2b (pts (xy 129 122) (xy 128.413579 120.873496)))
  )
  (dimension 6.25 (width 0.3) (layer Dwgs.User)
    (gr_text "6.250 mm" (at 117.875 125.35) (layer Dwgs.User))
    (feature1 (pts (xy 114.75 123) (xy 114.75 126.7)))
    (feature2 (pts (xy 121 123) (xy 121 126.7)))
    (crossbar (pts (xy 121 124) (xy 114.75 124)))
    (arrow1a (pts (xy 114.75 124) (xy 115.876504 123.413579)))
    (arrow1b (pts (xy 114.75 124) (xy 115.876504 124.586421)))
    (arrow2a (pts (xy 121 124) (xy 119.873496 123.413579)))
    (arrow2b (pts (xy 121 124) (xy 119.873496 124.586421)))
  )
  (dimension 43 (width 0.3) (layer Dwgs.User)
    (gr_text "43.000 mm" (at 99.5 137.35) (layer Dwgs.User))
    (feature1 (pts (xy 121 125) (xy 121 138.7)))
    (feature2 (pts (xy 78 125) (xy 78 138.7)))
    (crossbar (pts (xy 78 136) (xy 121 136)))
    (arrow1a (pts (xy 121 136) (xy 119.873496 136.586421)))
    (arrow1b (pts (xy 121 136) (xy 119.873496 135.413579)))
    (arrow2a (pts (xy 78 136) (xy 79.126504 136.586421)))
    (arrow2b (pts (xy 78 136) (xy 79.126504 135.413579)))
  )
  (dimension 38.75 (width 0.3) (layer Dwgs.User)
    (gr_text "38.750 mm" (at 99.625 131.35) (layer Dwgs.User))
    (feature1 (pts (xy 119 125) (xy 119 132.7)))
    (feature2 (pts (xy 80.25 125) (xy 80.25 132.7)))
    (crossbar (pts (xy 80.25 130) (xy 119 130)))
    (arrow1a (pts (xy 119 130) (xy 117.873496 130.586421)))
    (arrow1b (pts (xy 119 130) (xy 117.873496 129.413579)))
    (arrow2a (pts (xy 80.25 130) (xy 81.376504 130.586421)))
    (arrow2b (pts (xy 80.25 130) (xy 81.376504 129.413579)))
  )
  (gr_line (start 78 109.5) (end 78 122) (layer Edge.Cuts) (width 0.15))
  (gr_line (start 123.5 92) (end 78.5 92) (layer Edge.Cuts) (width 0.15))
  (gr_line (start 121 122) (end 121 109.75) (layer Edge.Cuts) (width 0.15))
  (gr_line (start 78 122) (end 121 122) (layer Edge.Cuts) (width 0.15))
  (zone (net 2) (net_name GND) (layer B.Cu) (hatch edge 0.508)
    (connect_pads (clearance 0.508))
    (min_thickness 0.254)
    (fill yes (arc_segments 16) (thermal_gap 0.508) (thermal_bridge_width 0.508))
    (polygon
      (pts
        (xy 76.835 92.075) (xy 124 92) (xy 124 122) (xy 76.75 122)
      )
    )
  )
)
