(kicad_pcb (version 20171130) (host pcbnew "(5.1.5-0-10_14)")
  (general
    (thickness 1.6)
    (drawings 11)
    (tracks 51)
    (zones 0)
    (modules 6)
    (nets 22)
  )
  (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 1)
    (user_trace_width 0.3)
    (user_trace_width 0.8)
    (user_trace_width 1)
    (user_trace_width 2)
    (trace_clearance 0.3)
    (zone_clearance 0.508)
    (zone_45_only no)
    (trace_min 0.2)
    (via_size 0.8)
    (via_drill 0.4)
    (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)
    (edge_width 0.05)
    (segment_width 0.2)
    (pcb_text_width 0.3)
    (pcb_text_size 1.5 1.5)
    (mod_edge_width 0.12)
    (mod_text_size 1 1)
    (mod_text_width 0.15)
    (pad_size 1.524 1.524)
    (pad_drill 0.762)
    (pad_to_mask_clearance 0.051)
    (solder_mask_min_width 0.25)
    (pad_to_paste_clearance_ratio -0.05)
    (aux_axis_origin 0 0)
    (visible_elements FFFFFF7F)
    (pcbplotparams
      (layerselection 0x010f0_ffffffff)
      (usegerberextensions true)
      (usegerberattributes false)
      (usegerberadvancedattributes false)
      (creategerberjobfile false)
      (excludeedgelayer true)
      (linewidth 0.100000)
      (plotframeref false)
      (viasonmask false)
      (mode 1)
      (useauxorigin false)
      (hpglpennumber 1)
      (hpglpenspeed 20)
      (hpglpendiameter 15.000000)
      (psnegative false)
      (psa4output false)
      (plotreference true)
      (plotvalue false)
      (plotinvisibletext false)
      (padsonsilk false)
      (subtractmaskfromsilk false)
      (outputformat 1)
      (mirror false)
      (drillshape 0)
      (scaleselection 1)
      (outputdirectory "gerbers/"))
  )
  (net 0 "")
  (net 1 +12V)
  (net 2 GND)
  (net 3 "Net-(A1-Pad6)")
  (net 4 +3V3)
  (net 5 "Net-(A1-Pad5)")
  (net 6 "Net-(A1-Pad4)")
  (net 7 "Net-(A1-Pad3)")
  (net 8 "Net-(U2-Pad16)")
  (net 9 "Net-(U2-Pad15)")
  (net 10 "Net-(U2-Pad9)")
  (net 11 "Net-(U2-Pad7)")
  (net 12 "Net-(U2-Pad6)")
  (net 13 "Net-(U2-Pad3)")
  (net 14 "Net-(U2-Pad1)")
  (net 15 "Net-(U2-Pad2)")
  (net 16 DIR)
  (net 17 STEP)
  (net 18 ~SLEEP)
  (net 19 MS3)
  (net 20 MS2)
  (net 21 MS1)
  (net_class Default "This is the default net class."
    (clearance 0.3)
    (trace_width 0.3)
    (via_dia 0.8)
    (via_drill 0.4)
    (uvia_dia 0.3)
    (uvia_drill 0.1)
    (add_net +12V)
    (add_net +3V3)
    (add_net DIR)
    (add_net GND)
    (add_net MS1)
    (add_net MS2)
    (add_net MS3)
    (add_net "Net-(A1-Pad3)")
    (add_net "Net-(A1-Pad4)")
    (add_net "Net-(A1-Pad5)")
    (add_net "Net-(A1-Pad6)")
    (add_net "Net-(U2-Pad1)")
    (add_net "Net-(U2-Pad15)")
    (add_net "Net-(U2-Pad16)")
    (add_net "Net-(U2-Pad2)")
    (add_net "Net-(U2-Pad3)")
    (add_net "Net-(U2-Pad6)")
    (add_net "Net-(U2-Pad7)")
    (add_net "Net-(U2-Pad9)")
    (add_net STEP)
    (add_net ~SLEEP)
  )
  (module Module:WEMOS_D1_mini_light (layer F.Cu) (tedit 5BBFB1CE)
    (at 127.508 62.23)
    (descr "16-pin module, column spacing 22.86 mm (900 mils), https://wiki.wemos.cc/products:d1:d1_mini, https://c1.staticflickr.com/1/734/31400410271_f278b087db_z.jpg")
    (tags "ESP8266 WiFi microcontroller")
    (fp_text reference U2 (at 22 27) (layer F.SilkS))
    (fp_text value WeMos_D1_mini (at 11.7 0) (layer F.Fab))
    (fp_text user "No copper" (at 11.43 -3.81) (layer Cmts.User))
    (fp_text user "KEEP OUT" (at 11.43 -6.35) (layer Cmts.User))
    (fp_text user %R (at 11.43 10) (layer F.Fab))
    (pad 16 thru_hole oval (at 22.86 0) (size 2 1.6) (drill 1) (layers *.Cu *.Mask)
      (net 8 "Net-(U2-Pad16)"))
    (pad 15 thru_hole oval (at 22.86 2.54) (size 2 1.6) (drill 1) (layers *.Cu *.Mask)
      (net 9 "Net-(U2-Pad15)"))
    (pad 14 thru_hole oval (at 22.86 5.08) (size 2 1.6) (drill 1) (layers *.Cu *.Mask)
      (net 16 DIR))
    (pad 13 thru_hole oval (at 22.86 7.62) (size 2 1.6) (drill 1) (layers *.Cu *.Mask)
      (net 17 STEP))
    (pad 12 thru_hole oval (at 22.86 10.16) (size 2 1.6) (drill 1) (layers *.Cu *.Mask)
      (net 18 ~SLEEP))
    (pad 11 thru_hole oval (at 22.86 12.7) (size 2 1.6) (drill 1) (layers *.Cu *.Mask)
      (net 21 MS1))
    (pad 10 thru_hole oval (at 22.86 15.24) (size 2 1.6) (drill 1) (layers *.Cu *.Mask)
      (net 2 GND))
    (pad 9 thru_hole oval (at 22.86 17.78) (size 2 1.6) (drill 1) (layers *.Cu *.Mask)
      (net 10 "Net-(U2-Pad9)"))
    (pad 8 thru_hole oval (at 0 17.78) (size 2 1.6) (drill 1) (layers *.Cu *.Mask)
      (net 4 +3V3))
    (pad 7 thru_hole oval (at 0 15.24) (size 2 1.6) (drill 1) (layers *.Cu *.Mask)
      (net 11 "Net-(U2-Pad7)"))
    (pad 6 thru_hole oval (at 0 12.7) (size 2 1.6) (drill 1) (layers *.Cu *.Mask)
      (net 12 "Net-(U2-Pad6)"))
    (pad 5 thru_hole oval (at 0 10.16) (size 2 1.6) (drill 1) (layers *.Cu *.Mask)
      (net 19 MS3))
    (pad 4 thru_hole oval (at 0 7.62) (size 2 1.6) (drill 1) (layers *.Cu *.Mask)
      (net 20 MS2))
    (pad 3 thru_hole oval (at 0 5.08) (size 2 1.6) (drill 1) (layers *.Cu *.Mask)
      (net 13 "Net-(U2-Pad3)"))
    (pad 1 thru_hole rect (at 0 0) (size 2 2) (drill 1) (layers *.Cu *.Mask)
      (net 14 "Net-(U2-Pad1)"))
    (pad 2 thru_hole oval (at 0 2.54) (size 2 1.6) (drill 1) (layers *.Cu *.Mask)
      (net 15 "Net-(U2-Pad2)"))
    (model ${KISYS3DMOD}/Module.3dshapes/WEMOS_D1_mini_light.wrl
      (at (xyz 0 0 0))
      (scale (xyz 1 1 1))
      (rotate (xyz 0 0 0))
    )
    (model ${KISYS3DMOD}/Connector_PinHeader_2.54mm.3dshapes/PinHeader_1x08_P2.54mm_Vertical.wrl
      (offset (xyz 0 0 9.5))
      (scale (xyz 1 1 1))
      (rotate (xyz 0 -180 0))
    )
    (model ${KISYS3DMOD}/Connector_PinHeader_2.54mm.3dshapes/PinHeader_1x08_P2.54mm_Vertical.wrl
      (offset (xyz 22.86 0 9.5))
      (scale (xyz 1 1 1))
      (rotate (xyz 0 -180 0))
    )
    (model ${KISYS3DMOD}/Connector_PinSocket_2.54mm.3dshapes/PinSocket_1x08_P2.54mm_Vertical.wrl
      (at (xyz 0 0 0))
      (scale (xyz 1 1 1))
      (rotate (xyz 0 0 0))
    )
    (model ${KISYS3DMOD}/Connector_PinSocket_2.54mm.3dshapes/PinSocket_1x08_P2.54mm_Vertical.wrl
      (offset (xyz 22.86 0 0))
      (scale (xyz 1 1 1))
      (rotate (xyz 0 0 0))
    )
  )
  (module blinds_motor_driver:LM2596_HW411 (layer F.Cu) (tedit 5E3F0C9A)
    (at 102.362 97.536 90)
    (fp_text reference U1 (at 22.86 -0.762 90) (layer F.SilkS))
    (fp_text value LM2596_HW411 (at 21.59 17.78 90) (layer F.Fab))
    (fp_text user OUT- (at 41.91 17.78 90) (layer F.SilkS))
    (fp_text user OUT+ (at 41.91 3.81 90) (layer F.SilkS))
    (fp_text user IN- (at 2.54 17.78 90) (layer F.SilkS))
    (fp_text user IN+ (at 2.54 3.81 90) (layer F.SilkS))
    (pad 1 thru_hole circle (at 2 2 90) (size 2 2) (drill 1) (layers *.Cu *.Mask)
      (net 1 +12V))
    (pad 2 thru_hole circle (at 2 20 90) (size 2 2) (drill 1) (layers *.Cu *.Mask)
      (net 2 GND))
    (pad 3 thru_hole circle (at 42 20 90) (size 2 2) (drill 1) (layers *.Cu *.Mask)
      (net 2 GND))
    (pad 4 thru_hole circle (at 42 2 90) (size 2 2) (drill 1) (layers *.Cu *.Mask)
      (net 4 +3V3))
  )
  (module TerminalBlock:TerminalBlock_bornier-4_P5.08mm (layer F.Cu) (tedit 59FF03D1)
    (at 131.572 118.618)
    (descr "simple 4-pin terminal block, pitch 5.08mm, revamped version of bornier4")
    (tags "terminal block bornier4")
    (fp_text reference J2 (at 7.6 -4.8) (layer F.SilkS))
    (fp_text value Screw_Terminal_01x04 (at 7.6 4.75) (layer F.Fab))
    (fp_text user %R (at 7.62 0) (layer F.Fab))
    (pad 4 thru_hole circle (at 15.24 0) (size 3 3) (drill 1.52) (layers *.Cu *.Mask)
      (net 3 "Net-(A1-Pad6)"))
    (pad 1 thru_hole rect (at 0 0) (size 3 3) (drill 1.52) (layers *.Cu *.Mask)
      (net 7 "Net-(A1-Pad3)"))
    (pad 3 thru_hole circle (at 10.16 0) (size 3 3) (drill 1.52) (layers *.Cu *.Mask)
      (net 5 "Net-(A1-Pad5)"))
    (pad 2 thru_hole circle (at 5.08 0) (size 3 3) (drill 1.52) (layers *.Cu *.Mask)
      (net 6 "Net-(A1-Pad4)"))
    (model ${KISYS3DMOD}/TerminalBlock.3dshapes/TerminalBlock_bornier-4_P5.08mm.wrl
      (offset (xyz 7.619999885559082 0 0))
      (scale (xyz 1 1 1))
      (rotate (xyz 0 0 0))
    )
  )
  (module digikey-footprints:Barrel_Jack_5.5mmODx2.1mmID_PJ-202A (layer F.Cu) (tedit 5CAD1432)
    (at 110.744 118.872 180)
    (fp_text reference J1 (at 6.35 1.778) (layer F.SilkS))
    (fp_text value Barrel_Jack (at 0 5.8) (layer F.Fab))
    (pad 2 thru_hole rect (at 0 -3 180) (size 4.5 2) (drill oval 3.5 1) (layers *.Cu *.Mask)
      (net 2 GND))
    (pad 1 thru_hole rect (at 0 3 180) (size 4.5 2) (drill oval 3.5 1) (layers *.Cu *.Mask)
      (net 1 +12V))
    (pad 3 thru_hole rect (at -4.7 0 180) (size 2 4.5) (drill oval 1 3.5) (layers *.Cu *.Mask))
  )
  (module Capacitor_THT:CP_Radial_D12.5mm_P5.00mm (layer F.Cu) (tedit 5AE50EF1)
    (at 122.936 106.426 180)
    (descr "CP, Radial series, Radial, pin pitch=5.00mm, , diameter=12.5mm, Electrolytic Capacitor")
    (tags "CP Radial series Radial pin pitch 5.00mm  diameter 12.5mm Electrolytic Capacitor")
    (fp_text reference C3 (at 2.5 -7.5) (layer F.SilkS))
    (fp_text value 1000µF (at 2.5 7.5) (layer F.Fab))
    (fp_text user %R (at 2.5 0) (layer F.Fab))
    (pad 2 thru_hole circle (at 5 0 180) (size 2.4 2.4) (drill 1.2) (layers *.Cu *.Mask)
      (net 2 GND))
    (pad 1 thru_hole rect (at 0 0 180) (size 2.4 2.4) (drill 1.2) (layers *.Cu *.Mask)
      (net 1 +12V))
    (model ${KISYS3DMOD}/Capacitor_THT.3dshapes/CP_Radial_D12.5mm_P5.00mm.wrl
      (at (xyz 0 0 0))
      (scale (xyz 1 1 1))
      (rotate (xyz 0 0 0))
    )
  )
  (module Module:Pololu_Breakout-16_15.2x20.3mm (layer F.Cu) (tedit 58AB602C)
    (at 130.302 108.966 90)
    (descr "Pololu Breakout 16-pin 15.2x20.3mm 0.6x0.8\\")
    (tags "Pololu Breakout")
    (fp_text reference A1 (at 6.35 -2.54 90) (layer F.SilkS))
    (fp_text value Pololu_Breakout_A4988 (at 6.35 20.17 90) (layer F.Fab))
    (fp_text user %R (at 6.35 0 90) (layer F.Fab))
    (pad 16 thru_hole oval (at 12.7 0 90) (size 1.6 1.6) (drill 0.8) (layers *.Cu *.Mask)
      (net 16 DIR))
    (pad 8 thru_hole oval (at 0 17.78 90) (size 1.6 1.6) (drill 0.8) (layers *.Cu *.Mask)
      (net 1 +12V))
    (pad 15 thru_hole oval (at 12.7 2.54 90) (size 1.6 1.6) (drill 0.8) (layers *.Cu *.Mask)
      (net 17 STEP))
    (pad 7 thru_hole oval (at 0 15.24 90) (size 1.6 1.6) (drill 0.8) (layers *.Cu *.Mask)
      (net 2 GND))
    (pad 14 thru_hole oval (at 12.7 5.08 90) (size 1.6 1.6) (drill 0.8) (layers *.Cu *.Mask)
      (net 18 ~SLEEP))
    (pad 6 thru_hole oval (at 0 12.7 90) (size 1.6 1.6) (drill 0.8) (layers *.Cu *.Mask)
      (net 3 "Net-(A1-Pad6)"))
    (pad 13 thru_hole oval (at 12.7 7.62 90) (size 1.6 1.6) (drill 0.8) (layers *.Cu *.Mask)
      (net 4 +3V3))
    (pad 5 thru_hole oval (at 0 10.16 90) (size 1.6 1.6) (drill 0.8) (layers *.Cu *.Mask)
      (net 5 "Net-(A1-Pad5)"))
    (pad 12 thru_hole oval (at 12.7 10.16 90) (size 1.6 1.6) (drill 0.8) (layers *.Cu *.Mask)
      (net 19 MS3))
    (pad 4 thru_hole oval (at 0 7.62 90) (size 1.6 1.6) (drill 0.8) (layers *.Cu *.Mask)
      (net 6 "Net-(A1-Pad4)"))
    (pad 11 thru_hole oval (at 12.7 12.7 90) (size 1.6 1.6) (drill 0.8) (layers *.Cu *.Mask)
      (net 20 MS2))
    (pad 3 thru_hole oval (at 0 5.08 90) (size 1.6 1.6) (drill 0.8) (layers *.Cu *.Mask)
      (net 7 "Net-(A1-Pad3)"))
    (pad 10 thru_hole oval (at 12.7 15.24 90) (size 1.6 1.6) (drill 0.8) (layers *.Cu *.Mask)
      (net 21 MS1))
    (pad 2 thru_hole oval (at 0 2.54 90) (size 1.6 1.6) (drill 0.8) (layers *.Cu *.Mask)
      (net 4 +3V3))
    (pad 9 thru_hole oval (at 12.7 17.78 90) (size 1.6 1.6) (drill 0.8) (layers *.Cu *.Mask)
      (net 2 GND))
    (pad 1 thru_hole rect (at 0 0 90) (size 1.6 1.6) (drill 0.8) (layers *.Cu *.Mask)
      (net 2 GND))
    (model ${KISYS3DMOD}/Module.3dshapes/Pololu_Breakout-16_15.2x20.3mm.wrl
      (at (xyz 0 0 0))
      (scale (xyz 1 1 1))
      (rotate (xyz 0 0 0))
    )
  )
  (gr_text VMOT (at 147.066 104.394) (layer F.SilkS))
  (gr_text "Motor Driver\nv1.0" (at 107.188 101.092) (layer B.SilkS))
  (gr_circle (center 101.5 123.5) (end 102.6 123.5) (layer Edge.Cuts) (width 0.05))
  (gr_circle (center 153.5 123.5) (end 154.6 123.5) (layer Edge.Cuts) (width 0.05))
  (gr_circle (center 153.5 51.5) (end 154.6 51.5) (layer Edge.Cuts) (width 0.05))
  (gr_circle (center 101.5 51.5) (end 102.6 51.5) (layer Edge.Cuts) (width 0.05))
  (gr_line (start 155 125) (end 100 125) (layer Edge.Cuts) (width 0.05))
  (gr_line (start 155 50) (end 155 125) (layer Edge.Cuts) (width 0.05))
  (gr_line (start 100 50) (end 100 125) (layer Edge.Cuts) (width 0.05))
  (gr_line (start 100 50) (end 155 50) (layer Edge.Cuts) (width 0.05))
  (zone (net 0) (net_name "") (layers F&B.Cu) (hatch edge 0.508)
    (connect_pads (clearance 0.508))
    (min_thickness 0.254)
    (keepout (tracks not_allowed) (vias not_allowed) (copperpour not_allowed))
    (fill (arc_segments 32) (thermal_gap 0.508) (thermal_bridge_width 0.508))
    (polygon
      (pts
        (xy 151.892 60.706) (xy 125.984 60.706) (xy 125.984 53.848) (xy 151.892 53.848)
      )
    )
  )
  (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 32) (thermal_gap 0.508) (thermal_bridge_width 0.508))
    (polygon
      (pts
        (xy 155.448 125.222) (xy 99.822 125.222) (xy 99.822 48.768) (xy 155.448 48.768)
      )
    )
  )
  (zone (net 2) (net_name GND) (layer F.Cu) (hatch edge 0.508)
    (connect_pads (clearance 0.508))
    (min_thickness 0.254)
    (fill yes (arc_segments 32) (thermal_gap 0.508) (thermal_bridge_width 0.508))
    (polygon
      (pts
        (xy 156.21 125.73) (xy 99.568 125.73) (xy 99.568 49.022) (xy 156.21 49.022)
      )
    )
  )
)
