]> git.gag.com Git - hw/lipocharger/commitdiff
work in progress
authorBdale Garbee <bdale@gag.com>
Sat, 27 Aug 2022 03:44:02 +0000 (21:44 -0600)
committerBdale Garbee <bdale@gag.com>
Sat, 27 Aug 2022 03:44:02 +0000 (21:44 -0600)
lipocharger.lht
lipocharger.sch

index 803a91184c5ea419db5f500dfcca9ff19063aed2..8e56a7279366883c5fbb74a7f430af7c34270f77 100644 (file)
@@ -193,6 +193,58 @@ ha:pcb-rnd-board-v8 {
    li:layers {
      ha:top-sig         { lid=0; group=3;  ha:attributes { {pcb-rnd::key::select}={<Key>l; <Key>t}; {pcb-rnd::key::vis}={<Key>l; Shift<Key>t} }
   li:objects {
+   ha:line.4067 {
+    x1=0.0; y1=0.0; x2=0.0; y2=500.0mil; thickness=10.0mil; clearance=0.8mm;
+    ha:flags {
+     clearline=1
+     lock=1
+    }
+
+    ha:attributes {
+      on_every_layer=
+      on_every_layer_gen=outline
+      noexport=1
+    }
+   }
+   ha:line.4073 {
+    x1=1000.0mil; y1=500.0mil; x2=1000.0mil; y2=0.0; thickness=10.0mil; clearance=0.8mm;
+    ha:flags {
+     clearline=1
+     lock=1
+    }
+
+    ha:attributes {
+      on_every_layer=
+      on_every_layer_gen=outline
+      noexport=1
+    }
+   }
+   ha:line.4079 {
+    x1=1000.0mil; y1=0.0; x2=0.0; y2=0.0; thickness=10.0mil; clearance=0.8mm;
+    ha:flags {
+     clearline=1
+     lock=1
+    }
+
+    ha:attributes {
+      on_every_layer=
+      on_every_layer_gen=outline
+      noexport=1
+    }
+   }
+   ha:line.4085 {
+    x1=0.0; y1=500.0mil; x2=1000.0mil; y2=500.0mil; thickness=10.0mil; clearance=0.8mm;
+    ha:flags {
+     clearline=1
+     lock=1
+    }
+
+    ha:attributes {
+      on_every_layer=
+      on_every_layer_gen=outline
+      noexport=1
+    }
+   }
   }
   color = {#8b2323}
    ha:combining {
@@ -200,6 +252,138 @@ ha:pcb-rnd-board-v8 {
 }
      ha:bottom-sig      { lid=1; group=8; ha:attributes { {pcb-rnd::key::select}={<Key>l; <Key>b}; {pcb-rnd::key::vis}={<Key>l; Shift<Key>b} }
   li:objects {
+   ha:line.4022 {
+    x1=0.0; y1=0.0; x2=0.0; y2=500.0mil; thickness=10.0mil; clearance=0.0;
+    ha:attributes {
+      on_every_layer=
+      on_every_layer_gen=outline
+      noexport=1
+    }
+   }
+   ha:line.4028 {
+    x1=1000.0mil; y1=500.0mil; x2=1000.0mil; y2=0.0; thickness=10.0mil; clearance=0.0;
+    ha:attributes {
+      on_every_layer=
+      on_every_layer_gen=outline
+      noexport=1
+    }
+   }
+   ha:line.4034 {
+    x1=1000.0mil; y1=0.0; x2=0.0; y2=0.0; thickness=10.0mil; clearance=0.0;
+    ha:attributes {
+      on_every_layer=
+      on_every_layer_gen=outline
+      noexport=1
+    }
+   }
+   ha:line.4040 {
+    x1=0.0; y1=500.0mil; x2=1000.0mil; y2=500.0mil; thickness=10.0mil; clearance=0.0;
+    ha:attributes {
+      on_every_layer=
+      on_every_layer_gen=outline
+      noexport=1
+    }
+   }
+   ha:line.4046 {
+    x1=0.0; y1=0.0; x2=0.0; y2=500.0mil; thickness=10.0mil; clearance=40.0mil;
+    ha:flags {
+     clearline=1
+    }
+
+    ha:attributes {
+      on_every_layer=
+      on_every_layer_gen=outline
+      noexport=1
+    }
+   }
+   ha:line.4052 {
+    x1=1000.0mil; y1=500.0mil; x2=1000.0mil; y2=0.0; thickness=10.0mil; clearance=40.0mil;
+    ha:flags {
+     clearline=1
+    }
+
+    ha:attributes {
+      on_every_layer=
+      on_every_layer_gen=outline
+      noexport=1
+    }
+   }
+   ha:line.4058 {
+    x1=1000.0mil; y1=0.0; x2=0.0; y2=0.0; thickness=10.0mil; clearance=40.0mil;
+    ha:flags {
+     clearline=1
+    }
+
+    ha:attributes {
+      on_every_layer=
+      on_every_layer_gen=outline
+      noexport=1
+    }
+   }
+   ha:line.4064 {
+    x1=0.0; y1=500.0mil; x2=1000.0mil; y2=500.0mil; thickness=10.0mil; clearance=40.0mil;
+    ha:flags {
+     clearline=1
+    }
+
+    ha:attributes {
+      on_every_layer=
+      on_every_layer_gen=outline
+      noexport=1
+    }
+   }
+   ha:line.4070 {
+    x1=0.0; y1=0.0; x2=0.0; y2=500.0mil; thickness=10.0mil; clearance=0.8mm;
+    ha:flags {
+     clearline=1
+     lock=1
+    }
+
+    ha:attributes {
+      on_every_layer=
+      on_every_layer_gen=outline
+      noexport=1
+    }
+   }
+   ha:line.4076 {
+    x1=1000.0mil; y1=500.0mil; x2=1000.0mil; y2=0.0; thickness=10.0mil; clearance=0.8mm;
+    ha:flags {
+     clearline=1
+     lock=1
+    }
+
+    ha:attributes {
+      on_every_layer=
+      on_every_layer_gen=outline
+      noexport=1
+    }
+   }
+   ha:line.4082 {
+    x1=1000.0mil; y1=0.0; x2=0.0; y2=0.0; thickness=10.0mil; clearance=0.8mm;
+    ha:flags {
+     clearline=1
+     lock=1
+    }
+
+    ha:attributes {
+      on_every_layer=
+      on_every_layer_gen=outline
+      noexport=1
+    }
+   }
+   ha:line.4088 {
+    x1=0.0; y1=500.0mil; x2=1000.0mil; y2=500.0mil; thickness=10.0mil; clearance=0.8mm;
+    ha:flags {
+     clearline=1
+     lock=1
+    }
+
+    ha:attributes {
+      on_every_layer=
+      on_every_layer_gen=outline
+      noexport=1
+    }
+   }
   }
   color = {#3a5fcd}
   ha:combining {
@@ -207,6 +391,49 @@ ha:pcb-rnd-board-v8 {
 }
      ha:top-gnd         { lid=2; group=3;
    li:objects {
+    ha:polygon.4292 { clearance=40.0mil;
+     li:geometry {
+       ta:contour {
+        { 5.0mil; 5.0mil }
+        { 996.0mil; 5.0mil }
+        { 996.0mil; 496.0mil }
+        { 5.0mil; 496.0mil }
+       }
+     }
+
+     ha:flags {
+      clearpoly=1
+     }
+    }
+    ha:polygon.4297 { clearance=40.0mil;
+     li:geometry {
+       ta:contour {
+        { 5.0mil; 5.0mil }
+        { 996.0mil; 5.0mil }
+        { 996.0mil; 494.0mil }
+        { 5.0mil; 494.0mil }
+       }
+     }
+
+     ha:flags {
+      clearpoly=1
+     }
+    }
+    ha:polygon.4307 { clearance=40.0mil;
+     li:geometry {
+       ta:contour {
+        { -15.0mil; -16.0mil }
+        { 1.015in; -16.0mil }
+        { 1.015in; 512.0mil }
+        { -15.0mil; 512.0mil }
+       }
+     }
+
+     ha:flags {
+      clearpoly=1
+      lock=1
+     }
+    }
    }
   color = {#104e8b}
    ha:combining {
@@ -222,20 +449,33 @@ ha:pcb-rnd-board-v8 {
      ha:outline         { lid=4; group=7;
    li:objects {
     ha:line.568 {
-     x1=0.0; y1=0.0; x2=0.0; y2=500.0mil; thickness=10.0mil; clearance=0.0;
-    }
+     x1=0.0; y1=0.0; x2=0.0; y2=500.0mil; thickness=10.0mil; clearance=0.8mm;
+      ha:attributes {
+       on_every_layer=outline
+      }
+ ha:flags ={ clearline=1
+ };    }
     ha:line.574 {
-     x1=1000.0mil; y1=500.0mil; x2=1000.0mil; y2=0.0; thickness=10.0mil; clearance=0.0;
-    }
+     x1=1000.0mil; y1=500.0mil; x2=1000.0mil; y2=0.0; thickness=10.0mil; clearance=0.8mm;
+      ha:attributes {
+       on_every_layer=outline
+      }
+ ha:flags ={ clearline=1
+ };    }
     ha:line.577 {
-     x1=1000.0mil; y1=0.0; x2=0.0; y2=0.0; thickness=10.0mil; clearance=0.0;
-    }
+     x1=1000.0mil; y1=0.0; x2=0.0; y2=0.0; thickness=10.0mil; clearance=0.8mm;
+      ha:attributes {
+       on_every_layer=outline
+      }
+ ha:flags ={ clearline=1
+ };    }
     ha:line.1281 {
-     x1=0.0; y1=500.0mil; x2=1000.0mil; y2=500.0mil; thickness=10.0mil; clearance=0.0;
-     ha:flags {
-      selected=1
-     }
-    }
+     x1=0.0; y1=500.0mil; x2=1000.0mil; y2=500.0mil; thickness=10.0mil; clearance=0.8mm;
+      ha:attributes {
+       on_every_layer=outline
+      }
+ ha:flags ={ clearline=1
+ };    }
    }
   color = {#00868b}
    ha:combining {
@@ -251,13 +491,6 @@ ha:pcb-rnd-board-v8 {
     }
     rot = 0.000000
    }
-   ha:text.584 {
-    string=LipoCharger; x=26.0mil; y=292.0mil; scale=100; fid=0;
-    ha:flags {
-     onsolder=1
-    }
-    rot = 0.000000
-   }
    ha:text.583 {
     string=v1.1 ` 2013; x=28.0mil; y=211.0mil; scale=100; fid=0;
     ha:flags {
@@ -278,7 +511,7 @@ ha:pcb-rnd-board-v8 {
      clearline=1
      onsolder=1
     }
-    rot = 0.000000
+    rot = 360.000000
    }
    ha:text.580 {
     string=mA; x=555.0mil; y=315.0mil; scale=100; fid=0;
@@ -345,15 +578,11 @@ ha:pcb-rnd-board-v8 {
    }
 
     li:objects {
-      ha:subc.689 {
+      ha:subc.789 {
        ha:attributes {
-        copyright=2006 DJ Delorie
-        author=DJ Delorie
-        footprint=SOT23-5
-        dist-license=GPL
-        refdes=U1
-        value=MCP73831
-        use-license=Unlimited
+        value=dualLED
+        footprint=0605
+        refdes=D1
        }
       ha:data {
             li:padstack_prototypes {
@@ -370,14 +599,14 @@ ha:pcb-rnd-board-v8 {
             }
             clearance=0.0
              li:ps_poly {
-              -20.0mil  
-              -12.0mil  
-              -20.0mil  
-              12.0mil  
-              20.0mil  
-              12.0mil  
-              20.0mil  
-              -12.0mil  
+              -16.73mil  
+              -12.795mil  
+              -16.73mil  
+              12.795mil  
+              16.73mil  
+              12.795mil  
+              16.73mil  
+              -12.795mil  
              }
            }
 
@@ -389,14 +618,14 @@ ha:pcb-rnd-board-v8 {
             }
             clearance=0.0
              li:ps_poly {
-              -23.0mil  
-              -15.0mil  
-              -23.0mil  
-              15.0mil  
-              23.0mil  
-              15.0mil  
-              23.0mil  
-              -15.0mil  
+              -19.73mil  
+              -15.795mil  
+              -19.73mil  
+              15.795mil  
+              19.73mil  
+              15.795mil  
+              19.73mil  
+              -15.795mil  
              }
            }
 
@@ -408,14 +637,14 @@ ha:pcb-rnd-board-v8 {
             }
             clearance=0.0
              li:ps_poly {
-              -20.0mil  
-              -12.0mil  
-              -20.0mil  
-              12.0mil  
-              20.0mil  
-              12.0mil  
-              20.0mil  
-              -12.0mil  
+              -16.73mil  
+              -12.795mil  
+              -16.73mil  
+              12.795mil  
+              16.73mil  
+              12.795mil  
+              16.73mil  
+              -12.795mil  
              }
            }
          }
@@ -423,22 +652,8 @@ ha:pcb-rnd-board-v8 {
       }
 
        li:objects {
-        ha:padstack_ref.715 {
-         proto=0; x=593.0mil; y=139.0mil; rot=0.000000; xmirror=0; smirror=0; clearance=15.0mil;
-         ha:flags {
-          clearline=1
-         }
-
-         li:thermal {
-         }
-
-         ha:attributes {
-           term=4
-           name=VIN
-         }
-        }
-        ha:padstack_ref.716 {
-         proto=0; x=593.0mil; y=61.0mil; rot=0.000000; xmirror=0; smirror=0; clearance=15.0mil;
+        ha:padstack_ref.804 {
+         proto=0; x=5.804789mm; y=43.28mil; rot=0.000000; xmirror=0; smirror=0; clearance=8.0mil;
          ha:flags {
           clearline=1
          }
@@ -447,12 +662,12 @@ ha:pcb-rnd-board-v8 {
          }
 
          ha:attributes {
-           term=5
-           name=PROG
+           term=2
+           name=pin2
          }
         }
-        ha:padstack_ref.717 {
-         proto=0; x=511.0mil; y=61.0mil; rot=0.000000; xmirror=0; smirror=0; clearance=15.0mil;
+        ha:padstack_ref.805 {
+         proto=0; x=5.804789mm; y=76.73mil; rot=0.000000; xmirror=0; smirror=0; clearance=8.0mil;
          ha:flags {
           clearline=1
          }
@@ -462,11 +677,11 @@ ha:pcb-rnd-board-v8 {
 
          ha:attributes {
            term=1
-           name=STAT
+           name=pin1
          }
         }
-        ha:padstack_ref.718 {
-         proto=0; x=511.0mil; y=100.0mil; rot=0.000000; xmirror=0; smirror=0; clearance=15.0mil;
+        ha:padstack_ref.806 {
+         proto=0; x=171.455mil; y=43.28mil; rot=0.000000; xmirror=0; smirror=0; clearance=8.0mil;
          ha:flags {
           clearline=1
          }
@@ -475,12 +690,12 @@ ha:pcb-rnd-board-v8 {
          }
 
          ha:attributes {
-           term=2
-           name=VSS
+           term=4
+           name=pin4
          }
         }
-        ha:padstack_ref.719 {
-         proto=0; x=511.0mil; y=139.0mil; rot=0.000000; xmirror=0; smirror=0; clearance=15.0mil;
+        ha:padstack_ref.807 {
+         proto=0; x=171.455mil; y=76.73mil; rot=0.000000; xmirror=0; smirror=0; clearance=8.0mil;
          ha:flags {
           clearline=1
          }
@@ -490,7 +705,7 @@ ha:pcb-rnd-board-v8 {
 
          ha:attributes {
            term=3
-           name=VBAT
+           name=pin3
          }
         }
        }
@@ -501,17 +716,8 @@ ha:pcb-rnd-board-v8 {
          ha:combining {         }
 
           li:objects {
-           ha:line.690 {
-            x1=483.0mil; y1=41.0mil; x2=483.0mil; y2=159.0mil; thickness=10.0mil; clearance=0.0;
-           }
-           ha:line.693 {
-            x1=483.0mil; y1=41.0mil; x2=622.0mil; y2=41.0mil; thickness=10.0mil; clearance=0.0;
-           }
-           ha:line.696 {
-            x1=622.0mil; y1=41.0mil; x2=622.0mil; y2=159.0mil; thickness=10.0mil; clearance=0.0;
-           }
-           ha:line.699 {
-            x1=483.0mil; y1=159.0mil; x2=622.0mil; y2=159.0mil; thickness=10.0mil; clearance=0.0;
+           ha:arc.790 {
+            x=3.579876mm; y=60.0mil; width=5.0mil; height=5.0mil; astart=270.000000; adelta=360.000000; thickness=10.0mil; clearance=0.0;
            }
           }
           ha:type {
@@ -525,30 +731,34 @@ ha:pcb-rnd-board-v8 {
          ha:combining {         }
 
           li:objects {
-           ha:line.703 {
-            x1=13.81252mm; y1=100.0mil; x2=13.81252mm; y2=100.0mil; thickness=0.1mm; clearance=0.0;
+           ha:line.792 {
+            x1=199.995mil; y1=60.005mil; x2=199.995mil; y2=60.005mil; thickness=0.1mm; clearance=0.0;
             ha:attributes {
               subc-role=pnp-origin
             }
-           }
-           ha:line.706 {
-            x1=593.0mil; y1=139.0mil; x2=593.0mil; y2=139.0mil; thickness=0.1mm; clearance=0.0;
+ ha:flags ={ selected=1
+ };           }
+           ha:line.795 {
+            x1=200.0mil; y1=60.0mil; x2=200.0mil; y2=60.0mil; thickness=0.1mm; clearance=0.0;
             ha:attributes {
               subc-role=origin
             }
-           }
-           ha:line.709 {
-            x1=593.0mil; y1=139.0mil; x2=16.0622mm; y2=139.0mil; thickness=0.1mm; clearance=0.0;
+ ha:flags ={ selected=1
+ };           }
+           ha:line.798 {
+            x1=200.0mil; y1=60.0mil; x2=4.08mm; y2=60.0mil; thickness=0.1mm; clearance=0.0;
             ha:attributes {
               subc-role=x
             }
-           }
-           ha:line.712 {
-            x1=593.0mil; y1=139.0mil; x2=593.0mil; y2=4.5306mm; thickness=0.1mm; clearance=0.0;
+ ha:flags ={ selected=1
+ };           }
+           ha:line.801 {
+            x1=200.0mil; y1=60.0mil; x2=200.0mil; y2=0.524mm; thickness=0.1mm; clearance=0.0;
             ha:attributes {
               subc-role=y
             }
-           }
+ ha:flags ={ selected=1
+ };           }
           }
           ha:type {
            top = 1
@@ -558,912 +768,285 @@ ha:pcb-rnd-board-v8 {
         }
        }
       }
-       uid = tWMbI3HAm7UIolEaNwMAAAAH
+       uid = tWMbI3HAm7UIolEaNwMAAAAK
       }
-      ha:subc.765 {
-       ha:attributes {
-        value=SPDT
-        footprint=PCM12SMTR
-        refdes=S1
-       }
-      ha:data {
-            li:padstack_prototypes {
+       ha:subc.1011 {
+        ha:attributes {
+         value=USBmicroB
+         footprint=11071
+         refdes=J1
+        }
+       ha:data {
+              li:padstack_prototypes {
 
-       ha:ps_proto_v6.0 {
-         hdia=0.899922mm; hplated=1; htop=0; hbottom=0;
-         li:shape {
+        ha:ps_proto_v6.0 {
+          hdia=0.0; hplated=0; htop=0; hbottom=0;
+          li:shape {
 
-           ha:ps_shape_v4 {
-            ha:ps_circ { x=0.0; y=0.0; dia=1.255522mm;            }
-            ha:combining {            }
-            ha:layer_mask {
-             copper = 1
-             top = 1
+            ha:ps_shape_v4 {
+             ha:combining {             }
+             ha:layer_mask {
+              copper = 1
+              top = 1
+             }
+             clearance=0.0
+              li:ps_poly {
+               7.875mil  
+               -0.675005mm  
+               -7.875mil  
+               -0.675005mm  
+               -7.875mil  
+               0.675005mm  
+               7.875mil  
+               0.675005mm  
+              }
             }
-            clearance=0.0
-           }
 
-           ha:ps_shape_v4 {
-            ha:ps_circ { x=0.0; y=0.0; dia=1.255522mm;            }
-            ha:combining {            }
-            ha:layer_mask {
-             bottom = 1
-             copper = 1
+            ha:ps_shape_v4 {
+             ha:combining { sub=1; auto=1;             }
+             ha:layer_mask {
+              top = 1
+              mask = 1
+             }
+             clearance=0.0
+              li:ps_poly {
+               10.875mil  
+               -0.751205mm  
+               -10.875mil  
+               -0.751205mm  
+               -10.875mil  
+               0.751205mm  
+               10.875mil  
+               0.751205mm  
+              }
             }
-            clearance=0.0
-           }
 
-           ha:ps_shape_v4 {
-            ha:ps_circ { x=0.0; y=0.0; dia=1.255522mm;            }
-            ha:combining {            }
-            ha:layer_mask {
-             copper = 1
-             intern = 1
-            }
-            clearance=0.0
-           }
-
-           ha:ps_shape_v4 {
-            ha:ps_circ { x=0.0; y=0.0; dia=61.42mil;            }
-            ha:combining { sub=1; auto=1;            }
-            ha:layer_mask {
-             top = 1
-             mask = 1
-            }
-            clearance=0.0
-           }
-
-           ha:ps_shape_v4 {
-            ha:ps_circ { x=0.0; y=0.0; dia=61.42mil;            }
-            ha:combining { sub=1; auto=1;            }
-            ha:layer_mask {
-             bottom = 1
-             mask = 1
+            ha:ps_shape_v4 {
+             ha:combining { auto=1;             }
+             ha:layer_mask {
+              top = 1
+              paste = 1
+             }
+             clearance=0.0
+              li:ps_poly {
+               7.875mil  
+               -0.675005mm  
+               -7.875mil  
+               -0.675005mm  
+               -7.875mil  
+               0.675005mm  
+               7.875mil  
+               0.675005mm  
+              }
             }
-            clearance=0.0
-           }
-         }
-       }
+          }
+        }
 
-       ha:ps_proto_v6.1 {
-         hdia=0.0; hplated=0; htop=0; hbottom=0;
-         li:shape {
+        ha:ps_proto_v6.1 {
+          hdia=0.0; hplated=0; htop=0; hbottom=0;
+          li:shape {
 
-           ha:ps_shape_v4 {
-            ha:combining {            }
-            ha:layer_mask {
-             copper = 1
-             top = 1
-            }
-            clearance=0.0
-             li:ps_poly {
-              -0.500128mm  
-              -15.75mil  
-              -0.500128mm  
-              15.75mil  
-              0.500128mm  
-              15.75mil  
-              0.500128mm  
-              -15.75mil  
+            ha:ps_shape_v4 {
+             ha:combining {             }
+             ha:layer_mask {
+              copper = 1
+              top = 1
              }
-           }
-
-           ha:ps_shape_v4 {
-            ha:combining { sub=1; auto=1;            }
-            ha:layer_mask {
-             top = 1
-             mask = 1
+             clearance=0.0
+              li:ps_poly {
+               -31.495mil  
+               -0.700024mm  
+               -31.495mil  
+               0.700024mm  
+               31.495mil  
+               0.700024mm  
+               31.495mil  
+               -0.700024mm  
+              }
             }
-            clearance=0.0
-             li:ps_poly {
-              -0.676277mm  
-              -0.576199mm  
-              -0.676277mm  
-              0.576199mm  
-              0.676277mm  
-              0.576199mm  
-              0.676277mm  
-              -0.576199mm  
-             }
-           }
 
-           ha:ps_shape_v4 {
-            ha:combining { auto=1;            }
-            ha:layer_mask {
-             top = 1
-             paste = 1
+            ha:ps_shape_v4 {
+             ha:combining { sub=1; auto=1;             }
+             ha:layer_mask {
+              top = 1
+              mask = 1
+             }
+             clearance=0.0
+              li:ps_poly {
+               -0.876173mm  
+               -0.776224mm  
+               -0.876173mm  
+               0.776224mm  
+               0.876173mm  
+               0.776224mm  
+               0.876173mm  
+               -0.776224mm  
+              }
             }
-            clearance=0.0
-             li:ps_poly {
-              -0.500128mm  
-              -15.75mil  
-              -0.500128mm  
-              15.75mil  
-              0.500128mm  
-              15.75mil  
-              0.500128mm  
-              -15.75mil  
+
+            ha:ps_shape_v4 {
+             ha:combining { auto=1;             }
+             ha:layer_mask {
+              top = 1
+              paste = 1
              }
-           }
-         }
-       }
+             clearance=0.0
+              li:ps_poly {
+               -31.495mil  
+               -0.700024mm  
+               -31.495mil  
+               0.700024mm  
+               31.495mil  
+               0.700024mm  
+               31.495mil  
+               -0.700024mm  
+              }
+            }
+          }
+        }
 
-       ha:ps_proto_v6.2 {
-         hdia=0.0; hplated=0; htop=0; hbottom=0;
-         li:shape {
+        ha:ps_proto_v6.2 {
+          hdia=0.0; hplated=0; htop=0; hbottom=0;
+          li:shape {
 
-           ha:ps_shape_v4 {
-            ha:combining {            }
-            ha:layer_mask {
-             copper = 1
-             top = 1
-            }
-            clearance=0.0
-             li:ps_poly {
-              -0.500125mm  
-              -15.75mil  
-              -0.500125mm  
-              15.75mil  
-              0.500125mm  
-              15.75mil  
-              0.500125mm  
-              -15.75mil  
+            ha:ps_shape_v4 {
+             ha:combining {             }
+             ha:layer_mask {
+              copper = 1
+              top = 1
              }
-           }
-
-           ha:ps_shape_v4 {
-            ha:combining { sub=1; auto=1;            }
-            ha:layer_mask {
-             top = 1
-             mask = 1
+             clearance=0.0
+              li:ps_poly {
+               -0.94996mm  
+               0.94996mm  
+               0.94996mm  
+               0.94996mm  
+               0.94996mm  
+               -0.94996mm  
+               -0.94996mm  
+               -0.94996mm  
+              }
             }
-            clearance=0.0
-             li:ps_poly {
-              -0.676274mm  
-              -0.576199mm  
-              -0.676274mm  
-              0.576199mm  
-              0.676274mm  
-              0.576199mm  
-              0.676274mm  
-              -0.576199mm  
-             }
-           }
 
-           ha:ps_shape_v4 {
-            ha:combining { auto=1;            }
-            ha:layer_mask {
-             top = 1
-             paste = 1
+            ha:ps_shape_v4 {
+             ha:combining { sub=1; auto=1;             }
+             ha:layer_mask {
+              top = 1
+              mask = 1
+             }
+             clearance=0.0
+              li:ps_poly {
+               -1.02616mm  
+               1.02616mm  
+               1.02616mm  
+               1.02616mm  
+               1.02616mm  
+               -1.02616mm  
+               -1.02616mm  
+               -1.02616mm  
+              }
             }
-            clearance=0.0
-             li:ps_poly {
-              -0.500125mm  
-              -15.75mil  
-              -0.500125mm  
-              15.75mil  
-              0.500125mm  
-              15.75mil  
-              0.500125mm  
-              -15.75mil  
+
+            ha:ps_shape_v4 {
+             ha:combining { auto=1;             }
+             ha:layer_mask {
+              top = 1
+              paste = 1
              }
-           }
-         }
-       }
+             clearance=0.0
+              li:ps_poly {
+               -0.94996mm  
+               0.94996mm  
+               0.94996mm  
+               0.94996mm  
+               0.94996mm  
+               -0.94996mm  
+               -0.94996mm  
+               -0.94996mm  
+              }
+            }
+          }
+        }
 
-       ha:ps_proto_v6.3 {
-         hdia=0.0; hplated=0; htop=0; hbottom=0;
-         li:shape {
+        ha:ps_proto_v6.3 {
+          hdia=0.0; hplated=1; htop=0; hbottom=0;
+          li:shape {
 
-           ha:ps_shape_v4 {
-            ha:combining {            }
-            ha:layer_mask {
-             copper = 1
-             top = 1
-            }
-            clearance=0.0
-             li:ps_poly {
-              0.350012mm  
-              -29.53mil  
-              -0.350012mm  
-              -29.53mil  
-              -0.350012mm  
-              29.53mil  
-              0.350012mm  
-              29.53mil  
+            ha:ps_shape_v4 {
+             ha:ps_line { x1=0.0; y1=0.55mm; x2=0.0; y2=-0.55mm; thickness=1.05mm; square=0;             }
+             ha:combining {             }
+             ha:layer_mask {
+              copper = 1
+              top = 1
              }
-           }
-
-           ha:ps_shape_v4 {
-            ha:combining { sub=1; auto=1;            }
-            ha:layer_mask {
-             top = 1
-             mask = 1
+             clearance=10.0mil
             }
-            clearance=0.0
-             li:ps_poly {
-              16.78mil  
-              -32.53mil  
-              -16.78mil  
-              -32.53mil  
-              -16.78mil  
-              32.53mil  
-              16.78mil  
-              32.53mil  
-             }
-           }
 
-           ha:ps_shape_v4 {
-            ha:combining { auto=1;            }
-            ha:layer_mask {
-             top = 1
-             paste = 1
-            }
-            clearance=0.0
-             li:ps_poly {
-              0.350012mm  
-              -29.53mil  
-              -0.350012mm  
-              -29.53mil  
-              -0.350012mm  
-              29.53mil  
-              0.350012mm  
-              29.53mil  
+            ha:ps_shape_v4 {
+             ha:ps_line { x1=0.0; y1=0.55mm; x2=0.0; y2=-0.55mm; thickness=0.45mm; square=0;             }
+             ha:combining { auto=1;             }
+             ha:layer_mask {
+              mech = 1
              }
-           }
-         }
-       }
-      }
-
-       li:objects {
-        ha:padstack_ref.779 {
-         proto=0; x=540.95mil; y=384.0mil; rot=0.000000; xmirror=0; smirror=0; clearance=0.15494mm;
-         ha:flags {
-          clearline=1
-         }
-
-         li:thermal {
-         }
-
-         ha:attributes {
-           term=G
-           name=mnt
-         }
-        }
-        ha:padstack_ref.780 {
-         proto=0; x=16.740124mm; y=384.0mil; rot=0.000000; xmirror=0; smirror=0; clearance=0.15494mm;
-         ha:flags {
-          clearline=1
-         }
-
-         li:thermal {
-         }
-
-         ha:attributes {
-           term=G
-           name=mnt
-         }
-        }
-        ha:padstack_ref.781 {
-         proto=1; x=18.889978mm; y=8.65378mm; rot=0.000000; xmirror=0; smirror=0; clearance=2.649982mm;
-         ha:flags {
-          clearline=1
-         }
-
-         li:thermal {
-         }
-
-         ha:attributes {
-           term=M
-           name=mnt
-         }
-        }
-        ha:padstack_ref.782 {
-         proto=1; x=18.889978mm; y=427.31mil; rot=0.000000; xmirror=0; smirror=0; clearance=2.649982mm;
-         ha:flags {
-          clearline=1
-         }
-
-         li:thermal {
-         }
-
-         ha:attributes {
-           term=M
-           name=mnt
-         }
-        }
-        ha:padstack_ref.783 {
-         proto=2; x=11.590275mm; y=427.31mil; rot=0.000000; xmirror=0; smirror=0; clearance=2.649982mm;
-         ha:flags {
-          clearline=1
-         }
-
-         li:thermal {
-         }
-
-         ha:attributes {
-           term=M
-           name=mnt
-         }
-        }
-        ha:padstack_ref.784 {
-         proto=2; x=11.590275mm; y=8.65378mm; rot=0.000000; xmirror=0; smirror=0; clearance=2.649982mm;
-         ha:flags {
-          clearline=1
-         }
-
-         li:thermal {
-         }
-
-         ha:attributes {
-           term=M
-           name=mnt
-         }
-        }
-        ha:padstack_ref.785 {
-         proto=3; x=511.43mil; y=315.11mil; rot=0.000000; xmirror=0; smirror=0; clearance=3.0mil;
-         ha:flags {
-          clearline=1
-         }
-
-         li:thermal {
-         }
-
-         ha:attributes {
-           term=1
-           name=1
-         }
-        }
-        ha:padstack_ref.786 {
-         proto=3; x=15.990062mm; y=315.11mil; rot=0.000000; xmirror=0; smirror=0; clearance=3.0mil;
-         ha:flags {
-          clearline=1
-         }
-
-         li:thermal {
-         }
-
-         ha:attributes {
-           term=2
-           name=2
-         }
-        }
-        ha:padstack_ref.787 {
-         proto=3; x=688.58mil; y=315.11mil; rot=0.000000; xmirror=0; smirror=0; clearance=3.0mil;
-         ha:flags {
-          clearline=1
-         }
-
-         li:thermal {
-         }
-
-         ha:attributes {
-           term=3
-           name=3
-         }
-        }
-       }
-       li:layers {
-
-        ha:top-silk {
-         lid=0
-         ha:combining {         }
-
-          li:objects {
-          }
-          ha:type {
-           silk = 1
-           top = 1
-          }
-        }
-
-        ha:subc-aux {
-         lid=1
-         ha:combining {         }
-
-          li:objects {
-           ha:line.767 {
-            x1=15.323452mm; y1=9.170387mm; x2=15.323452mm; y2=9.170387mm; thickness=0.1mm; clearance=0.0;
-            ha:attributes {
-              subc-role=pnp-origin
-            }
- ha:flags ={ selected=1
- };           }
-           ha:line.770 {
-            x1=600.0mil; y1=384.0mil; x2=600.0mil; y2=384.0mil; thickness=0.1mm; clearance=0.0;
-            ha:attributes {
-              subc-role=origin
-            }
- ha:flags ={ selected=1
- };           }
-           ha:line.773 {
-            x1=600.0mil; y1=384.0mil; x2=16.24mm; y2=384.0mil; thickness=0.1mm; clearance=0.0;
-            ha:attributes {
-              subc-role=x
-            }
- ha:flags ={ selected=1
- };           }
-           ha:line.776 {
-            x1=600.0mil; y1=384.0mil; x2=600.0mil; y2=10.7536mm; thickness=0.1mm; clearance=0.0;
-            ha:attributes {
-              subc-role=y
-            }
- ha:flags ={ selected=1
- };           }
-          }
-          ha:type {
-           top = 1
-           misc = 1
-           virtual = 1
-          }
-        }
-       }
-      }
-       uid = tWMbI3HAm7UIolEaNwMAAAAJ
-      }
-      ha:subc.789 {
-       ha:attributes {
-        value=dualLED
-        footprint=0605
-        refdes=D1
-       }
-      ha:data {
-            li:padstack_prototypes {
-
-       ha:ps_proto_v6.0 {
-         hdia=0.0; hplated=0; htop=0; hbottom=0;
-         li:shape {
-
-           ha:ps_shape_v4 {
-            ha:combining {            }
-            ha:layer_mask {
-             copper = 1
-             top = 1
-            }
-            clearance=0.0
-             li:ps_poly {
-              -16.73mil  
-              -12.795mil  
-              -16.73mil  
-              12.795mil  
-              16.73mil  
-              12.795mil  
-              16.73mil  
-              -12.795mil  
-             }
-           }
-
-           ha:ps_shape_v4 {
-            ha:combining { sub=1; auto=1;            }
-            ha:layer_mask {
-             top = 1
-             mask = 1
+             clearance=10.0mil
             }
-            clearance=0.0
-             li:ps_poly {
-              -19.73mil  
-              -15.795mil  
-              -19.73mil  
-              15.795mil  
-              19.73mil  
-              15.795mil  
-              19.73mil  
-              -15.795mil  
-             }
-           }
 
-           ha:ps_shape_v4 {
-            ha:combining { auto=1;            }
-            ha:layer_mask {
-             top = 1
-             paste = 1
-            }
-            clearance=0.0
-             li:ps_poly {
-              -16.73mil  
-              -12.795mil  
-              -16.73mil  
-              12.795mil  
-              16.73mil  
-              12.795mil  
-              16.73mil  
-              -12.795mil  
+            ha:ps_shape_v4 {
+             ha:ps_line { x1=0.0; y1=0.55mm; x2=0.0; y2=-0.55mm; thickness=84.0mil; square=0;             }
+             ha:combining { sub=1; auto=1;             }
+             ha:layer_mask {
+              top = 1
+              mask = 1
              }
-           }
-         }
-       }
-      }
-
-       li:objects {
-        ha:padstack_ref.804 {
-         proto=0; x=5.931789mm; y=28.28mil; rot=0.000000; xmirror=0; smirror=0; clearance=-8.855mil;
-         ha:flags {
-          clearline=1
-         }
-
-         li:thermal {
-         }
-
-         ha:attributes {
-           term=2
-           name=pin2
-         }
-        }
-        ha:padstack_ref.805 {
-         proto=0; x=5.931789mm; y=1.567942mm; rot=0.000000; xmirror=0; smirror=0; clearance=-8.855mil;
-         ha:flags {
-          clearline=1
-         }
-
-         li:thermal {
-         }
-
-         ha:attributes {
-           term=1
-           name=pin1
-         }
-        }
-        ha:padstack_ref.806 {
-         proto=0; x=176.455mil; y=28.28mil; rot=0.000000; xmirror=0; smirror=0; clearance=-8.855mil;
-         ha:flags {
-          clearline=1
-         }
-
-         li:thermal {
-         }
-
-         ha:attributes {
-           term=4
-           name=pin4
-         }
-        }
-        ha:padstack_ref.807 {
-         proto=0; x=176.455mil; y=1.567942mm; rot=0.000000; xmirror=0; smirror=0; clearance=-8.855mil;
-         ha:flags {
-          clearline=1
-         }
-
-         li:thermal {
-         }
-
-         ha:attributes {
-           term=3
-           name=pin3
-         }
-        }
-       }
-       li:layers {
-
-        ha:top-silk {
-         lid=0
-         ha:combining {         }
-
-          li:objects {
-           ha:arc.790 {
-            x=3.706876mm; y=45.0mil; width=5.0mil; height=5.0mil; astart=270.000000; adelta=360.000000; thickness=10.0mil; clearance=0.0;
-           }
-          }
-          ha:type {
-           silk = 1
-           top = 1
-          }
-        }
-
-        ha:subc-aux {
-         lid=1
-         ha:combining {         }
-
-          li:objects {
-           ha:line.792 {
-            x1=204.995mil; y1=45.005mil; x2=204.995mil; y2=45.005mil; thickness=0.1mm; clearance=0.0;
-            ha:attributes {
-              subc-role=pnp-origin
-            }
-           }
-           ha:line.795 {
-            x1=205.0mil; y1=45.0mil; x2=205.0mil; y2=45.0mil; thickness=0.1mm; clearance=0.0;
-            ha:attributes {
-              subc-role=origin
-            }
-           }
-           ha:line.798 {
-            x1=205.0mil; y1=45.0mil; x2=4.207mm; y2=45.0mil; thickness=0.1mm; clearance=0.0;
-            ha:attributes {
-              subc-role=x
-            }
-           }
-           ha:line.801 {
-            x1=205.0mil; y1=45.0mil; x2=205.0mil; y2=0.143mm; thickness=0.1mm; clearance=0.0;
-            ha:attributes {
-              subc-role=y
-            }
-           }
-          }
-          ha:type {
-           top = 1
-           misc = 1
-           virtual = 1
-          }
-        }
-       }
-      }
-       uid = tWMbI3HAm7UIolEaNwMAAAAK
-      }
-      ha:subc.809 {
-       ha:attributes {
-        value=LiPo
-        footprint=S2B-PH-SM
-        refdes=J2
-       }
-      ha:data {
-            li:padstack_prototypes {
-
-       ha:ps_proto_v6.0 {
-         hdia=0.0; hplated=0; htop=0; hbottom=0;
-         li:shape {
-
-           ha:ps_shape_v4 {
-            ha:ps_line { x1=-49.215mil; y1=0.0; x2=49.215mil; y2=0.0; thickness=0.999998mm; square=0;            }
-            ha:combining {            }
-            ha:layer_mask {
-             copper = 1
-             top = 1
-            }
-            clearance=0.0
-           }
-
-           ha:ps_shape_v4 {
-            ha:ps_line { x1=-49.215mil; y1=0.0; x2=49.215mil; y2=0.0; thickness=47.24mil; square=0;            }
-            ha:combining { sub=1; auto=1;            }
-            ha:layer_mask {
-             top = 1
-             mask = 1
-            }
-            clearance=0.0
-           }
-
-           ha:ps_shape_v4 {
-            ha:ps_line { x1=-49.215mil; y1=0.0; x2=49.215mil; y2=0.0; thickness=0.999998mm; square=0;            }
-            ha:combining { auto=1;            }
-            ha:layer_mask {
-             top = 1
-             paste = 1
-            }
-            clearance=0.0
-           }
-         }
-       }
-
-       ha:ps_proto_v6.1 {
-         hdia=0.0; hplated=0; htop=0; hbottom=0;
-         li:shape {
-
-           ha:ps_shape_v4 {
-            ha:ps_line { x1=-0.94996mm; y1=0.0; x2=0.94996mm; y2=0.0; thickness=59.06mil; square=0;            }
-            ha:combining {            }
-            ha:layer_mask {
-             copper = 1
-             top = 1
-            }
-            clearance=0.0
-           }
-
-           ha:ps_shape_v4 {
-            ha:ps_line { x1=-0.94996mm; y1=0.0; x2=0.94996mm; y2=0.0; thickness=66.93mil; square=0;            }
-            ha:combining { sub=1; auto=1;            }
-            ha:layer_mask {
-             top = 1
-             mask = 1
-            }
-            clearance=0.0
-           }
-
-           ha:ps_shape_v4 {
-            ha:ps_line { x1=-0.94996mm; y1=0.0; x2=0.94996mm; y2=0.0; thickness=59.06mil; square=0;            }
-            ha:combining { auto=1;            }
-            ha:layer_mask {
-             top = 1
-             paste = 1
-            }
-            clearance=0.0
-           }
-         }
-       }
-      }
-
-       li:objects {
-        ha:padstack_ref.823 {
-         proto=0; x=7.346061mm; y=290.0mil; rot=0.000000; xmirror=0; smirror=0; clearance=0.499999mm;
-         ha:flags {
-          clearline=1
-         }
-
-         li:thermal {
-         }
-
-         ha:attributes {
-           term=2
-           name=pin2
-         }
-        }
-        ha:padstack_ref.824 {
-         proto=0; x=7.346061mm; y=5.366004mm; rot=0.000000; xmirror=0; smirror=0; clearance=0.499999mm;
-         ha:flags {
-          clearline=1
-         }
-
-         li:thermal {
-         }
-
-         ha:attributes {
-           term=1
-           name=pin1
-         }
-        }
-        ha:padstack_ref.825 {
-         proto=1; x=1.796034mm; y=9.716008mm; rot=0.000000; xmirror=0; smirror=0; clearance=0.0;
-         ha:flags {
-          clearline=1
-         }
-
-         li:thermal {
-         }
-
-         ha:attributes {
-           term=G
-           name=tab1
-         }
-        }
-        ha:padstack_ref.826 {
-         proto=1; x=1.796034mm; y=3.015996mm; rot=0.000000; xmirror=0; smirror=0; clearance=0.0;
-         ha:flags {
-          clearline=1
-         }
-
-         li:thermal {
-         }
-
-         ha:attributes {
-           term=G
-           name=tab2
-         }
-        }
-       }
-       li:layers {
-
-        ha:top-silk {
-         lid=0
-         ha:combining {         }
-
-          li:objects {
-          }
-          ha:type {
-           silk = 1
-           top = 1
-          }
-        }
-
-        ha:subc-aux {
-         lid=1
-         ha:combining {         }
-
-          li:objects {
-           ha:line.811 {
-            x1=4.571047mm; y1=6.366002mm; x2=4.571047mm; y2=6.366002mm; thickness=0.1mm; clearance=0.0;
-            ha:attributes {
-              subc-role=pnp-origin
-            }
- ha:flags ={ selected=1
- };           }
-           ha:line.814 {
-            x1=0.096012mm; y1=412.05mil; x2=0.096012mm; y2=412.05mil; thickness=0.1mm; clearance=0.0;
-            ha:attributes {
-              subc-role=origin
-            }
- ha:flags ={ selected=1
- };           }
-           ha:line.817 {
-            x1=0.096012mm; y1=412.05mil; x2=0.096012mm; y2=9.46607mm; thickness=0.1mm; clearance=0.0;
-            ha:attributes {
-              subc-role=x
-            }
- ha:flags ={ selected=1
- };           }
-           ha:line.820 {
-            x1=0.096012mm; y1=412.05mil; x2=-0.903988mm; y2=412.05mil; thickness=0.1mm; clearance=0.0;
-            ha:attributes {
-              subc-role=y
+             clearance=10.0mil
             }
- ha:flags ={ selected=1
- };           }
-          }
-          ha:type {
-           top = 1
-           misc = 1
-           virtual = 1
-          }
-        }
-       }
-      }
-       uid = tWMbI3HAm7UIolEaNwMAAAAL
-      }
-       ha:subc.960 {
-        ha:attributes {
-         refdes=C1
-         value=4.7uF
-         footprint=0603
-         openscad=0603
-        }
-       ha:data {
-              li:padstack_prototypes {
 
-        ha:ps_proto_v6.0 {
-          hdia=0.0; hplated=0; htop=0; hbottom=0;
-          li:shape {
+            ha:ps_shape_v4 {
+             ha:ps_line { x1=0.0; y1=0.55mm; x2=0.0; y2=-0.55mm; thickness=1.05mm; square=0;             }
+             ha:combining {             }
+             ha:layer_mask {
+              copper = 1
+              intern = 1
+             }
+             clearance=10.0mil
+            }
 
             ha:ps_shape_v4 {
+             ha:ps_line { x1=0.0; y1=0.55mm; x2=0.0; y2=-0.55mm; thickness=1.05mm; square=0;             }
              ha:combining {             }
              ha:layer_mask {
+              bottom = 1
               copper = 1
-              top = 1
              }
-             clearance=0.0
-              li:ps_poly {
-               0.374904mm  
-               -0.499872mm  
-               -0.374904mm  
-               -0.499872mm  
-               -0.374904mm  
-               0.499872mm  
-               0.374904mm  
-               0.499872mm  
-              }
+             clearance=10.0mil
             }
 
             ha:ps_shape_v4 {
+             ha:ps_line { x1=0.0; y1=0.55mm; x2=0.0; y2=-0.55mm; thickness=84.0mil; square=0;             }
              ha:combining { sub=1; auto=1;             }
              ha:layer_mask {
-              top = 1
+              bottom = 1
               mask = 1
              }
-             clearance=0.0
-              li:ps_poly {
-               17.76mil  
-               -0.576072mm  
-               -17.76mil  
-               -0.576072mm  
-               -17.76mil  
-               0.576072mm  
-               17.76mil  
-               0.576072mm  
-              }
+             clearance=10.0mil
             }
 
             ha:ps_shape_v4 {
+             ha:ps_line { x1=0.0; y1=0.55mm; x2=0.0; y2=-0.55mm; thickness=1.05mm; square=0;             }
              ha:combining { auto=1;             }
              ha:layer_mask {
               top = 1
               paste = 1
              }
-             clearance=0.0
-              li:ps_poly {
-               0.374904mm  
-               -0.499872mm  
-               -0.374904mm  
-               -0.499872mm  
-               -0.374904mm  
-               0.499872mm  
-               0.374904mm  
-               0.499872mm  
-              }
+             clearance=10.0mil
             }
           }
         }
        }
 
         li:objects {
-         ha:padstack_ref.974 {
-          proto=0; x=688.0mil; y=2.230628mm; rot=270.000000; xmirror=0; smirror=0; clearance=10.0mil;
+         ha:padstack_ref.1025 {
+          proto=0; x=837.6mil; y=301.18mil; rot=-90.000000; xmirror=0; smirror=0; clearance=8.0mil;
           ha:flags {
            clearline=1
           }
@@ -1473,11 +1056,11 @@ ha:pcb-rnd-board-v8 {
 
           ha:attributes {
             term=1
-            name=1
+            name=VBUS
           }
          }
-         ha:padstack_ref.975 {
-          proto=0; x=688.0mil; y=139.0mil; rot=270.000000; xmirror=0; smirror=0; clearance=10.0mil;
+         ha:padstack_ref.1026 {
+          proto=0; x=837.6mil; y=6.999986mm; rot=-90.000000; xmirror=0; smirror=0; clearance=8.0mil;
           ha:flags {
            clearline=1
           }
@@ -1487,7 +1070,117 @@ ha:pcb-rnd-board-v8 {
 
           ha:attributes {
             term=2
-            name=2
+            name=D-
+          }
+         }
+         ha:padstack_ref.1027 {
+          proto=0; x=837.6mil; y=250.0mil; rot=-90.000000; xmirror=0; smirror=0; clearance=8.0mil;
+          ha:flags {
+           clearline=1
+          }
+
+          li:thermal {
+          }
+
+          ha:attributes {
+            term=3
+            name=D+
+          }
+         }
+         ha:padstack_ref.1028 {
+          proto=0; x=837.6mil; y=5.700014mm; rot=-90.000000; xmirror=0; smirror=0; clearance=8.0mil;
+          ha:flags {
+           clearline=1
+          }
+
+          li:thermal {
+          }
+
+          ha:attributes {
+            term=4
+            name=HS
+          }
+         }
+         ha:padstack_ref.1029 {
+          proto=0; x=837.6mil; y=5.050028mm; rot=-90.000000; xmirror=0; smirror=0; clearance=8.0mil;
+          li:thermal {
+          }
+
+          ha:attributes {
+            term=5
+            name=GND
+          }
+         }
+         ha:padstack_ref.1030 {
+          proto=1; x=854.33mil; y=124.015mil; rot=-90.000000; xmirror=0; smirror=0; clearance=8.0mil;
+          li:thermal {
+          }
+
+          ha:attributes {
+            term=G
+          }
+         }
+         ha:padstack_ref.1031 {
+          proto=1; x=854.33mil; y=375.985mil; rot=-90.000000; xmirror=0; smirror=0; clearance=8.0mil;
+          li:thermal {
+          }
+
+          ha:attributes {
+            term=G
+          }
+         }
+         ha:padstack_ref.1032 {
+          proto=2; x=23.949914mm; y=5.199888mm; rot=-90.000000; xmirror=0; smirror=0; clearance=8.0mil;
+          li:thermal {
+          }
+
+          ha:attributes {
+            term=G
+          }
+         }
+         ha:padstack_ref.1033 {
+          proto=2; x=23.949914mm; y=7.500112mm; rot=-90.000000; xmirror=0; smirror=0; clearance=8.0mil;
+          li:thermal {
+          }
+
+          ha:attributes {
+            term=G
+          }
+         }
+         ha:padstack_ref.1034 {
+          proto=3; x=23.950078mm; y=3.150108mm; rot=-90.000000; xmirror=0; smirror=0; clearance=8.0mil;
+          ha:flags {
+           clearline=1
+          }
+
+          li:thermal {
+            li:2 {
+             on  
+             solid  
+             noshape  
+            }
+          }
+
+          ha:attributes {
+            term=G
+          }
+         }
+         ha:padstack_ref.1035 {
+          proto=3; x=23.950078mm; y=375.98mil; rot=-90.000000; xmirror=0; smirror=0; clearance=8.0mil;
+          ha:flags {
+           clearline=1
+          }
+
+          li:thermal {
+            li:2 {
+             on  
+             solid  
+             noshape  
+            }
+          }
+
+          ha:attributes {
+            term=G
           }
          }
         }
@@ -1510,26 +1203,42 @@ ha:pcb-rnd-board-v8 {
           ha:combining {          }
 
            li:objects {
-            ha:line.962 {
-             x1=688.0mil; y1=2.880614mm; x2=688.0mil; y2=2.880614mm; thickness=0.1mm; clearance=0.0;
+            ha:line.1013 {
+             x1=22.898549mm; y1=250.0mil; x2=22.898549mm; y2=250.0mil; thickness=0.1mm; clearance=0.0;
+             ha:flags {
+              selected=1
+             }
+
              ha:attributes {
                subc-role=pnp-origin
              }
             }
-            ha:line.965 {
-             x1=688.0mil; y1=2.880614mm; x2=688.0mil; y2=2.880614mm; thickness=0.1mm; clearance=0.0;
+            ha:line.1016 {
+             x1=1000.0mil; y1=250.0mil; x2=1000.0mil; y2=250.0mil; thickness=0.1mm; clearance=0.0;
+             ha:flags {
+              selected=1
+             }
+
              ha:attributes {
                subc-role=origin
              }
             }
-            ha:line.968 {
-             x1=688.0mil; y1=2.880614mm; x2=688.0mil; y2=3.880614mm; thickness=0.1mm; clearance=0.0;
+            ha:line.1019 {
+             x1=1000.0mil; y1=250.0mil; x2=1000.0mil; y2=5.35mm; thickness=0.1mm; clearance=0.0;
+             ha:flags {
+              selected=1
+             }
+
              ha:attributes {
                subc-role=x
              }
             }
-            ha:line.971 {
-             x1=688.0mil; y1=2.880614mm; x2=16.4752mm; y2=2.880614mm; thickness=0.1mm; clearance=0.0;
+            ha:line.1022 {
+             x1=1000.0mil; y1=250.0mil; x2=26.4mm; y2=250.0mil; thickness=0.1mm; clearance=0.0;
+             ha:flags {
+              selected=1
+             }
+
              ha:attributes {
                subc-role=y
              }
@@ -1541,304 +1250,154 @@ ha:pcb-rnd-board-v8 {
             virtual = 1
            }
          }
-        }
-       }
-        uid = 1f/t/PNB3NZF0ZSA5DwAAAAM
-       }
-       ha:subc.993 {
-        ha:attributes {
-         refdes=C2
-         value=4.7uF
-         footprint=0603
-         openscad=0603
-        }
-       ha:data {
-              li:padstack_prototypes {
-
-        ha:ps_proto_v6.0 {
-          hdia=0.0; hplated=0; htop=0; hbottom=0;
-          li:shape {
-
-            ha:ps_shape_v4 {
-             ha:combining {             }
-             ha:layer_mask {
-              copper = 1
-              top = 1
-             }
-             clearance=0.0
-              li:ps_poly {
-               0.374904mm  
-               -0.499872mm  
-               -0.374904mm  
-               -0.499872mm  
-               -0.374904mm  
-               0.499872mm  
-               0.374904mm  
-               0.499872mm  
-              }
-            }
-
-            ha:ps_shape_v4 {
-             ha:combining { sub=1; auto=1;             }
-             ha:layer_mask {
-              top = 1
-              mask = 1
-             }
-             clearance=0.0
-              li:ps_poly {
-               17.76mil  
-               -0.576072mm  
-               -17.76mil  
-               -0.576072mm  
-               -17.76mil  
-               0.576072mm  
-               17.76mil  
-               0.576072mm  
-              }
-            }
 
-            ha:ps_shape_v4 {
-             ha:combining { auto=1;             }
-             ha:layer_mask {
-              top = 1
-              paste = 1
-             }
-             clearance=0.0
-              li:ps_poly {
-               0.374904mm  
-               -0.499872mm  
-               -0.374904mm  
-               -0.499872mm  
-               -0.374904mm  
-               0.499872mm  
-               0.374904mm  
-               0.499872mm  
-              }
-            }
-          }
-        }
-       }
+         {ha:top copper}          {
+          lid=2
+          ha:combining {          }
 
-        li:objects {
-         ha:padstack_ref.1007 {
-          proto=0; x=433.0mil; y=100.0mil; rot=-90.000000; xmirror=0; smirror=0; clearance=10.0mil;
-          ha:flags {
-           clearline=1
-          }
+           li:objects {
+           }
+           ha:type {
+            copper = 1
+            top = 1
+           }
+         }
 
-          li:thermal {
-          }
+         ha:top_paste {
+          lid=3
+          ha:combining { auto=1;          }
 
-          ha:attributes {
-            term=1
-            name=1
-          }
+           li:objects {
+           }
+           ha:type {
+            top = 1
+            paste = 1
+           }
          }
-         ha:padstack_ref.1008 {
-          proto=0; x=433.0mil; y=151.18mil; rot=-90.000000; xmirror=0; smirror=0; clearance=10.0mil;
-          ha:flags {
-           clearline=1
-          }
 
-          li:thermal {
-          }
+         ha:top_mask {
+          lid=4
+          ha:combining { sub=1; auto=1;          }
 
-          ha:attributes {
-            term=2
-            name=2
-          }
+           li:objects {
+           }
+           ha:type {
+            top = 1
+            mask = 1
+           }
          }
-        }
-        li:layers {
 
-         ha:top-silk {
-          lid=0
+         ha:any_internal_copper {
+          lid=5
           ha:combining {          }
 
            li:objects {
            }
            ha:type {
-            silk = 1
-            top = 1
+            copper = 1
+            intern = 1
            }
+           stack_offs = 1
          }
 
-         ha:subc-aux {
-          lid=1
+         ha:bottom_copper {
+          lid=6
           ha:combining {          }
 
            li:objects {
-            ha:line.995 {
-             x1=433.0mil; y1=125.59mil; x2=433.0mil; y2=125.59mil; thickness=0.1mm; clearance=0.0;
-             ha:attributes {
-               subc-role=pnp-origin
-             }
-            }
-            ha:line.998 {
-             x1=433.0mil; y1=125.59mil; x2=433.0mil; y2=125.59mil; thickness=0.1mm; clearance=0.0;
-             ha:attributes {
-               subc-role=origin
-             }
-            }
-            ha:line.1001 {
-             x1=433.0mil; y1=125.59mil; x2=433.0mil; y2=4.189986mm; thickness=0.1mm; clearance=0.0;
-             ha:attributes {
-               subc-role=x
-             }
-            }
-            ha:line.1004 {
-             x1=433.0mil; y1=125.59mil; x2=9.9982mm; y2=125.59mil; thickness=0.1mm; clearance=0.0;
-             ha:attributes {
-               subc-role=y
-             }
-            }
            }
            ha:type {
-            top = 1
-            misc = 1
-            virtual = 1
+            bottom = 1
+            copper = 1
            }
          }
-        }
-       }
-        uid = 1f/t/PNB3NZF0ZSA5DwAAAAO
-       }
-       ha:subc.1011 {
-        ha:attributes {
-         value=USBmicroB
-         footprint=11071
-         refdes=J1
-        }
-       ha:data {
-              li:padstack_prototypes {
 
-        ha:ps_proto_v6.0 {
-          hdia=0.0; hplated=0; htop=0; hbottom=0;
-          li:shape {
+         ha:bottom_mask {
+          lid=7
+          ha:combining { sub=1; auto=1;          }
 
-            ha:ps_shape_v4 {
-             ha:combining {             }
-             ha:layer_mask {
-              copper = 1
-              top = 1
-             }
-             clearance=0.0
-              li:ps_poly {
-               7.875mil  
-               -0.675005mm  
-               -7.875mil  
-               -0.675005mm  
-               -7.875mil  
-               0.675005mm  
-               7.875mil  
-               0.675005mm  
-              }
-            }
+           li:objects {
+           }
+           ha:type {
+            bottom = 1
+            mask = 1
+           }
+         }
 
-            ha:ps_shape_v4 {
-             ha:combining { sub=1; auto=1;             }
-             ha:layer_mask {
-              top = 1
-              mask = 1
-             }
-             clearance=0.0
-              li:ps_poly {
-               10.875mil  
-               -0.751205mm  
-               -10.875mil  
-               -0.751205mm  
-               -10.875mil  
-               0.751205mm  
-               10.875mil  
-               0.751205mm  
-              }
-            }
+         ha:bottom_silk {
+          lid=8
+          ha:combining { auto=1;          }
 
-            ha:ps_shape_v4 {
-             ha:combining { auto=1;             }
-             ha:layer_mask {
-              top = 1
-              paste = 1
-             }
-             clearance=0.0
-              li:ps_poly {
-               7.875mil  
-               -0.675005mm  
-               -7.875mil  
-               -0.675005mm  
-               -7.875mil  
-               0.675005mm  
-               7.875mil  
-               0.675005mm  
-              }
-            }
-          }
-        }
+           li:objects {
+           }
+           ha:type {
+            silk = 1
+            bottom = 1
+           }
+         }
 
-        ha:ps_proto_v6.1 {
-          hdia=0.0; hplated=0; htop=0; hbottom=0;
-          li:shape {
+         ha:bottom_paste {
+          lid=9
+          ha:combining { auto=1;          }
 
-            ha:ps_shape_v4 {
-             ha:combining {             }
-             ha:layer_mask {
-              copper = 1
-              top = 1
-             }
-             clearance=0.0
-              li:ps_poly {
-               -31.495mil  
-               -0.700024mm  
-               -31.495mil  
-               0.700024mm  
-               31.495mil  
-               0.700024mm  
-               31.495mil  
-               -0.700024mm  
-              }
-            }
+           li:objects {
+           }
+           ha:type {
+            bottom = 1
+            paste = 1
+           }
+         }
 
-            ha:ps_shape_v4 {
-             ha:combining { sub=1; auto=1;             }
-             ha:layer_mask {
-              top = 1
-              mask = 1
-             }
-             clearance=0.0
-              li:ps_poly {
-               -0.876173mm  
-               -0.776224mm  
-               -0.876173mm  
-               0.776224mm  
-               0.876173mm  
-               0.776224mm  
-               0.876173mm  
-               -0.776224mm  
-              }
-            }
+         ha:outline {
+          lid=10
+          ha:combining {          }
 
-            ha:ps_shape_v4 {
-             ha:combining { auto=1;             }
-             ha:layer_mask {
-              top = 1
-              paste = 1
-             }
-             clearance=0.0
-              li:ps_poly {
-               -31.495mil  
-               -0.700024mm  
-               -31.495mil  
-               0.700024mm  
-               31.495mil  
-               0.700024mm  
-               31.495mil  
-               -0.700024mm  
-              }
-            }
-          }
+           li:objects {
+           }
+           ha:type {
+            boundary = 1
+           }
+           purpose = uroute
+         }
+
+         ha:pmech {
+          lid=11
+          ha:combining { auto=1;          }
+
+           li:objects {
+           }
+           ha:type {
+            mech = 1
+           }
+           purpose = proute
+         }
+
+         ha:umech {
+          lid=12
+          ha:combining { auto=1;          }
+
+           li:objects {
+           }
+           ha:type {
+            mech = 1
+           }
+           purpose = uroute
+         }
+        }
+       }
+        uid = t+CANjtdPMoBlE0Q3VMAAAAB
+       }
+       ha:subc.1053 {
+        ha:attributes {
+         footprint=0603
+         value=1k
+         openscad=0603
+         refdes=R1
         }
+       ha:data {
+              li:padstack_prototypes {
 
-        ha:ps_proto_v6.2 {
+        ha:ps_proto_v6.0 {
           hdia=0.0; hplated=0; htop=0; hbottom=0;
           li:shape {
 
@@ -1850,14 +1409,14 @@ ha:pcb-rnd-board-v8 {
              }
              clearance=0.0
               li:ps_poly {
-               -0.94996mm  
-               0.94996mm  
-               0.94996mm  
-               0.94996mm  
-               0.94996mm  
-               -0.94996mm  
-               -0.94996mm  
-               -0.94996mm  
+               0.374904mm  
+               -0.499872mm  
+               -0.374904mm  
+               -0.499872mm  
+               -0.374904mm  
+               0.499872mm  
+               0.374904mm  
+               0.499872mm  
               }
             }
 
@@ -1869,14 +1428,14 @@ ha:pcb-rnd-board-v8 {
              }
              clearance=0.0
               li:ps_poly {
-               -1.02616mm  
-               1.02616mm  
-               1.02616mm  
-               1.02616mm  
-               1.02616mm  
-               -1.02616mm  
-               -1.02616mm  
-               -1.02616mm  
+               17.76mil  
+               -0.576072mm  
+               -17.76mil  
+               -0.576072mm  
+               -17.76mil  
+               0.576072mm  
+               17.76mil  
+               0.576072mm  
               }
             }
 
@@ -1888,220 +1447,23 @@ ha:pcb-rnd-board-v8 {
              }
              clearance=0.0
               li:ps_poly {
-               -0.94996mm  
-               0.94996mm  
-               0.94996mm  
-               0.94996mm  
-               0.94996mm  
-               -0.94996mm  
-               -0.94996mm  
-               -0.94996mm  
+               0.374904mm  
+               -0.499872mm  
+               -0.374904mm  
+               -0.499872mm  
+               -0.374904mm  
+               0.499872mm  
+               0.374904mm  
+               0.499872mm  
               }
             }
           }
         }
-
-        ha:ps_proto_v6.3 {
-          hdia=0.0; hplated=1; htop=0; hbottom=0;
-          li:shape {
-
-            ha:ps_shape_v4 {
-             ha:ps_line { x1=0.0; y1=0.55mm; x2=0.0; y2=-0.55mm; thickness=1.05mm; square=0;             }
-             ha:combining {             }
-             ha:layer_mask {
-              copper = 1
-              top = 1
-             }
-             clearance=10.0mil
-            }
-
-            ha:ps_shape_v4 {
-             ha:ps_line { x1=0.0; y1=0.55mm; x2=0.0; y2=-0.55mm; thickness=0.45mm; square=0;             }
-             ha:combining { auto=1;             }
-             ha:layer_mask {
-              mech = 1
-             }
-             clearance=10.0mil
-            }
-
-            ha:ps_shape_v4 {
-             ha:ps_line { x1=0.0; y1=0.55mm; x2=0.0; y2=-0.55mm; thickness=84.0mil; square=0;             }
-             ha:combining { sub=1; auto=1;             }
-             ha:layer_mask {
-              top = 1
-              mask = 1
-             }
-             clearance=10.0mil
-            }
-
-            ha:ps_shape_v4 {
-             ha:ps_line { x1=0.0; y1=0.55mm; x2=0.0; y2=-0.55mm; thickness=1.05mm; square=0;             }
-             ha:combining {             }
-             ha:layer_mask {
-              copper = 1
-              intern = 1
-             }
-             clearance=10.0mil
-            }
-
-            ha:ps_shape_v4 {
-             ha:ps_line { x1=0.0; y1=0.55mm; x2=0.0; y2=-0.55mm; thickness=1.05mm; square=0;             }
-             ha:combining {             }
-             ha:layer_mask {
-              bottom = 1
-              copper = 1
-             }
-             clearance=10.0mil
-            }
-
-            ha:ps_shape_v4 {
-             ha:ps_line { x1=0.0; y1=0.55mm; x2=0.0; y2=-0.55mm; thickness=84.0mil; square=0;             }
-             ha:combining { sub=1; auto=1;             }
-             ha:layer_mask {
-              bottom = 1
-              mask = 1
-             }
-             clearance=10.0mil
-            }
-
-            ha:ps_shape_v4 {
-             ha:ps_line { x1=0.0; y1=0.55mm; x2=0.0; y2=-0.55mm; thickness=1.05mm; square=0;             }
-             ha:combining { auto=1;             }
-             ha:layer_mask {
-              top = 1
-              paste = 1
-             }
-             clearance=10.0mil
-            }
-          }
-        }
        }
 
         li:objects {
-         ha:padstack_ref.1025 {
-          proto=0; x=837.6mil; y=301.18mil; rot=-90.000000; xmirror=0; smirror=0; clearance=6.0mil;
-          ha:flags {
-           clearline=1
-          }
-
-          li:thermal {
-          }
-
-          ha:attributes {
-            term=1
-            name=VBUS
-          }
-         }
-         ha:padstack_ref.1026 {
-          proto=0; x=837.6mil; y=6.999986mm; rot=-90.000000; xmirror=0; smirror=0; clearance=6.0mil;
-          ha:flags {
-           clearline=1
-          }
-
-          li:thermal {
-          }
-
-          ha:attributes {
-            term=2
-            name=D-
-          }
-         }
-         ha:padstack_ref.1027 {
-          proto=0; x=837.6mil; y=250.0mil; rot=-90.000000; xmirror=0; smirror=0; clearance=6.0mil;
-          ha:flags {
-           clearline=1
-          }
-
-          li:thermal {
-          }
-
-          ha:attributes {
-            term=3
-            name=D+
-          }
-         }
-         ha:padstack_ref.1028 {
-          proto=0; x=837.6mil; y=5.700014mm; rot=-90.000000; xmirror=0; smirror=0; clearance=6.0mil;
-          ha:flags {
-           clearline=1
-          }
-
-          li:thermal {
-          }
-
-          ha:attributes {
-            term=4
-            name=HS
-          }
-         }
-         ha:padstack_ref.1029 {
-          proto=0; x=837.6mil; y=5.050028mm; rot=-90.000000; xmirror=0; smirror=0; clearance=6.0mil;
-          ha:flags {
-           clearline=1
-          }
-
-          li:thermal {
-          }
-
-          ha:attributes {
-            term=5
-            name=GND
-          }
-         }
-         ha:padstack_ref.1030 {
-          proto=1; x=854.33mil; y=124.015mil; rot=-90.000000; xmirror=0; smirror=0; clearance=0.0;
-          ha:flags {
-           clearline=1
-          }
-
-          li:thermal {
-          }
-
-          ha:attributes {
-            term=G
-          }
-         }
-         ha:padstack_ref.1031 {
-          proto=1; x=854.33mil; y=375.985mil; rot=-90.000000; xmirror=0; smirror=0; clearance=0.0;
-          ha:flags {
-           clearline=1
-          }
-
-          li:thermal {
-          }
-
-          ha:attributes {
-            term=G
-          }
-         }
-         ha:padstack_ref.1032 {
-          proto=2; x=23.949914mm; y=5.199888mm; rot=-90.000000; xmirror=0; smirror=0; clearance=0.0;
-          ha:flags {
-           clearline=1
-          }
-
-          li:thermal {
-          }
-
-          ha:attributes {
-            term=G
-          }
-         }
-         ha:padstack_ref.1033 {
-          proto=2; x=23.949914mm; y=7.500112mm; rot=-90.000000; xmirror=0; smirror=0; clearance=0.0;
-          ha:flags {
-           clearline=1
-          }
-
-          li:thermal {
-          }
-
-          ha:attributes {
-            term=G
-          }
-         }
-         ha:padstack_ref.1034 {
-          proto=3; x=23.950078mm; y=3.150108mm; rot=-90.000000; xmirror=0; smirror=0; clearance=0.259969mm;
+         ha:padstack_ref.1067 {
+          proto=0; x=294.41mil; y=60.0mil; rot=0.000000; xmirror=0; smirror=0; clearance=8.0mil;
           ha:flags {
            clearline=1
           }
@@ -2110,11 +1472,12 @@ ha:pcb-rnd-board-v8 {
           }
 
           ha:attributes {
-            term=G
+            term=1
+            name=1
           }
          }
-         ha:padstack_ref.1035 {
-          proto=3; x=23.950078mm; y=375.98mil; rot=-90.000000; xmirror=0; smirror=0; clearance=0.259969mm;
+         ha:padstack_ref.1068 {
+          proto=0; x=8.777986mm; y=60.0mil; rot=0.000000; xmirror=0; smirror=0; clearance=8.0mil;
           ha:flags {
            clearline=1
           }
@@ -2123,7 +1486,8 @@ ha:pcb-rnd-board-v8 {
           }
 
           ha:attributes {
-            term=G
+            term=2
+            name=2
           }
          }
         }
@@ -2146,26 +1510,42 @@ ha:pcb-rnd-board-v8 {
           ha:combining {          }
 
            li:objects {
-            ha:line.1013 {
-             x1=22.898549mm; y1=250.0mil; x2=22.898549mm; y2=250.0mil; thickness=0.1mm; clearance=0.0;
+            ha:line.1055 {
+             x1=320.0mil; y1=60.0mil; x2=320.0mil; y2=60.0mil; thickness=0.1mm; clearance=0.0;
+             ha:flags {
+              selected=1
+             }
+
              ha:attributes {
                subc-role=pnp-origin
              }
             }
-            ha:line.1016 {
-             x1=1000.0mil; y1=250.0mil; x2=1000.0mil; y2=250.0mil; thickness=0.1mm; clearance=0.0;
+            ha:line.1058 {
+             x1=320.0mil; y1=60.0mil; x2=320.0mil; y2=60.0mil; thickness=0.1mm; clearance=0.0;
+             ha:flags {
+              selected=1
+             }
+
              ha:attributes {
                subc-role=origin
              }
             }
-            ha:line.1019 {
-             x1=1000.0mil; y1=250.0mil; x2=1000.0mil; y2=5.35mm; thickness=0.1mm; clearance=0.0;
+            ha:line.1061 {
+             x1=320.0mil; y1=60.0mil; x2=9.128mm; y2=60.0mil; thickness=0.1mm; clearance=0.0;
+             ha:flags {
+              selected=1
+             }
+
              ha:attributes {
                subc-role=x
              }
             }
-            ha:line.1022 {
-             x1=1000.0mil; y1=250.0mil; x2=26.4mm; y2=250.0mil; thickness=0.1mm; clearance=0.0;
+            ha:line.1064 {
+             x1=320.0mil; y1=60.0mil; x2=320.0mil; y2=2.524mm; thickness=0.1mm; clearance=0.0;
+             ha:flags {
+              selected=1
+             }
+
              ha:attributes {
                subc-role=y
              }
@@ -2177,149 +1557,346 @@ ha:pcb-rnd-board-v8 {
             virtual = 1
            }
          }
+        }
+       }
+        uid = 1f/t/PNB3NZF0ZSA5DwAAAAS
+       }
+       ha:subc.1086 {
+        ha:attributes {
+         footprint=0603
+         value=1k
+         openscad=0603
+         refdes=R2
+        }
+       ha:data {
+              li:padstack_prototypes {
 
-         {ha:top copper}   {
-          lid=2
-          ha:combining {          }
+        ha:ps_proto_v6.0 {
+          hdia=0.0; hplated=0; htop=0; hbottom=0;
+          li:shape {
 
-           li:objects {
-           }
-           ha:type {
-            copper = 1
-            top = 1
-           }
-         }
+            ha:ps_shape_v4 {
+             ha:combining {             }
+             ha:layer_mask {
+              copper = 1
+              top = 1
+             }
+             clearance=0.0
+              li:ps_poly {
+               0.374904mm  
+               -0.499872mm  
+               -0.374904mm  
+               -0.499872mm  
+               -0.374904mm  
+               0.499872mm  
+               0.374904mm  
+               0.499872mm  
+              }
+            }
 
-         ha:top_paste {
-          lid=3
-          ha:combining { auto=1;          }
+            ha:ps_shape_v4 {
+             ha:combining { sub=1; auto=1;             }
+             ha:layer_mask {
+              top = 1
+              mask = 1
+             }
+             clearance=0.0
+              li:ps_poly {
+               17.76mil  
+               -0.576072mm  
+               -17.76mil  
+               -0.576072mm  
+               -17.76mil  
+               0.576072mm  
+               17.76mil  
+               0.576072mm  
+              }
+            }
 
-           li:objects {
-           }
-           ha:type {
-            top = 1
-            paste = 1
-           }
+            ha:ps_shape_v4 {
+             ha:combining { auto=1;             }
+             ha:layer_mask {
+              top = 1
+              paste = 1
+             }
+             clearance=0.0
+              li:ps_poly {
+               0.374904mm  
+               -0.499872mm  
+               -0.374904mm  
+               -0.499872mm  
+               -0.374904mm  
+               0.499872mm  
+               0.374904mm  
+               0.499872mm  
+              }
+            }
+          }
+        }
+       }
+
+        li:objects {
+         ha:padstack_ref.1100 {
+          proto=0; x=1.382014mm; y=60.0mil; rot=0.000000; xmirror=0; smirror=0; clearance=8.0mil;
+          li:thermal {
+          }
+
+          ha:attributes {
+            term=1
+            name=1
+          }
          }
+         ha:padstack_ref.1101 {
+          proto=0; x=105.59mil; y=60.0mil; rot=0.000000; xmirror=0; smirror=0; clearance=8.0mil;
+          ha:flags {
+           clearline=1
+          }
 
-         ha:top_mask {
-          lid=4
-          ha:combining { sub=1; auto=1;          }
+          li:thermal {
+          }
 
-           li:objects {
-           }
-           ha:type {
-            top = 1
-            mask = 1
-           }
+          ha:attributes {
+            term=2
+            name=2
+          }
          }
+        }
+        li:layers {
 
-         ha:any_internal_copper {
-          lid=5
+         ha:top-silk {
+          lid=0
           ha:combining {          }
 
            li:objects {
            }
            ha:type {
-            copper = 1
-            intern = 1
+            silk = 1
+            top = 1
            }
-           stack_offs = 1
          }
 
-         ha:bottom_copper {
-          lid=6
+         ha:subc-aux {
+          lid=1
           ha:combining {          }
 
            li:objects {
-           }
-           ha:type {
-            bottom = 1
-            copper = 1
-           }
-         }
+            ha:line.1088 {
+             x1=80.0mil; y1=60.0mil; x2=80.0mil; y2=60.0mil; thickness=0.1mm; clearance=0.0;
+             ha:flags {
+              selected=1
+             }
 
-         ha:bottom_mask {
-          lid=7
-          ha:combining { sub=1; auto=1;          }
+             ha:attributes {
+               subc-role=pnp-origin
+             }
+            }
+            ha:line.1091 {
+             x1=80.0mil; y1=60.0mil; x2=80.0mil; y2=60.0mil; thickness=0.1mm; clearance=0.0;
+             ha:flags {
+              selected=1
+             }
 
-           li:objects {
-           }
-           ha:type {
-            bottom = 1
-            mask = 1
-           }
-         }
+             ha:attributes {
+               subc-role=origin
+             }
+            }
+            ha:line.1094 {
+             x1=80.0mil; y1=60.0mil; x2=3.032mm; y2=60.0mil; thickness=0.1mm; clearance=0.0;
+             ha:flags {
+              selected=1
+             }
 
-         ha:bottom_silk {
-          lid=8
-          ha:combining { auto=1;          }
+             ha:attributes {
+               subc-role=x
+             }
+            }
+            ha:line.1097 {
+             x1=80.0mil; y1=60.0mil; x2=80.0mil; y2=2.524mm; thickness=0.1mm; clearance=0.0;
+             ha:flags {
+              selected=1
+             }
 
-           li:objects {
+             ha:attributes {
+               subc-role=y
+             }
+            }
            }
            ha:type {
-            silk = 1
-            bottom = 1
+            top = 1
+            misc = 1
+            virtual = 1
            }
          }
+        }
+       }
+        uid = 1f/t/PNB3NZF0ZSA5DwAAAAU
+       }
+       ha:subc.1631 {
+        ha:attributes {
+         footprint=1206
+         value=10uF
+         openscad=1206
+         refdes=C1
+        }
+       ha:data {
+              li:padstack_prototypes {
+
+        ha:ps_proto_v6.0 {
+          hdia=0.0; hplated=0; htop=0; hbottom=0;
+          li:shape {
+
+            ha:ps_shape_v4 {
+             ha:combining {             }
+             ha:layer_mask {
+              copper = 1
+              top = 1
+             }
+             clearance=0.0
+              li:ps_poly {
+               0.649986mm  
+               -0.94996mm  
+               -0.649986mm  
+               -0.94996mm  
+               -0.649986mm  
+               0.94996mm  
+               0.649986mm  
+               0.94996mm  
+              }
+            }
+
+            ha:ps_shape_v4 {
+             ha:combining { sub=1; auto=1;             }
+             ha:layer_mask {
+              top = 1
+              mask = 1
+             }
+             clearance=0.0
+              li:ps_poly {
+               0.726186mm  
+               -1.02616mm  
+               -0.726186mm  
+               -1.02616mm  
+               -0.726186mm  
+               1.02616mm  
+               0.726186mm  
+               1.02616mm  
+              }
+            }
 
-         ha:bottom_paste {
-          lid=9
-          ha:combining { auto=1;          }
+            ha:ps_shape_v4 {
+             ha:combining { auto=1;             }
+             ha:layer_mask {
+              top = 1
+              paste = 1
+             }
+             clearance=0.0
+              li:ps_poly {
+               0.649986mm  
+               -0.94996mm  
+               -0.649986mm  
+               -0.94996mm  
+               -0.649986mm  
+               0.94996mm  
+               0.649986mm  
+               0.94996mm  
+              }
+            }
+          }
+        }
+       }
 
-           li:objects {
-           }
-           ha:type {
-            bottom = 1
-            paste = 1
-           }
-         }
+        li:objects {
+         ha:padstack_ref.1651 {
+          proto=0; x=740.0mil; y=169.05mil; rot=90.000000; xmirror=0; smirror=0; clearance=8.0mil;
+          li:thermal {
+          }
 
-         ha:outline {
-          lid=10
-          ha:combining {          }
+          ha:attributes {
+            term=1
+            name=1
+          }
+ ha:flags ={ clearline=1
+ };         }
+         ha:padstack_ref.1652 {
+          proto=0; x=740.0mil; y=50.95mil; rot=90.000000; xmirror=0; smirror=0; clearance=8.0mil;
+          li:thermal {
+          }
 
-           li:objects {
-           }
-           ha:type {
-            boundary = 1
-           }
-           purpose = uroute
+          ha:attributes {
+            term=2
+            name=2
+          }
          }
+        }
+        li:layers {
 
-         ha:pmech {
-          lid=11
-          ha:combining { auto=1;          }
+         ha:top-silk {
+          lid=0
+          ha:combining {          }
 
            li:objects {
+            ha:line.1632 {
+             x1=702.6mil; y1=133.62mil; x2=702.6mil; y2=2.194052mm; thickness=8.0mil; clearance=0.0;
+            }
+            ha:line.1635 {
+             x1=19.74596mm; y1=133.62mil; x2=19.74596mm; y2=2.194052mm; thickness=8.0mil; clearance=0.0;
+            }
            }
            ha:type {
-            mech = 1
+            silk = 1
+            top = 1
            }
-           purpose = proute
          }
 
-         ha:umech {
-          lid=12
-          ha:combining { auto=1;          }
+         ha:subc-aux {
+          lid=1
+          ha:combining {          }
 
            li:objects {
+            ha:line.1639 {
+             x1=740.0mil; y1=110.0mil; x2=740.0mil; y2=110.0mil; thickness=0.1mm; clearance=0.0;
+             ha:attributes {
+               subc-role=pnp-origin
+             }
+            }
+            ha:line.1642 {
+             x1=740.0mil; y1=110.0mil; x2=740.0mil; y2=110.0mil; thickness=0.1mm; clearance=0.0;
+             ha:attributes {
+               subc-role=origin
+             }
+            }
+            ha:line.1645 {
+             x1=740.0mil; y1=110.0mil; x2=740.0mil; y2=1.794mm; thickness=0.1mm; clearance=0.0;
+             ha:attributes {
+               subc-role=x
+             }
+            }
+            ha:line.1648 {
+             x1=740.0mil; y1=110.0mil; x2=19.796mm; y2=110.0mil; thickness=0.1mm; clearance=0.0;
+             ha:attributes {
+               subc-role=y
+             }
+            }
            }
            ha:type {
-            mech = 1
+            top = 1
+            misc = 1
+            virtual = 1
            }
-           purpose = uroute
          }
         }
        }
-        uid = t+CANjtdPMoBlE0Q3VMAAAAB
+        uid = 1lK2KC6vGomGKPiQspYAAAAM
        }
-       ha:subc.1053 {
+       ha:subc.2266 {
         ha:attributes {
-         refdes=R1
-         value=1k
-         footprint=0603
-         openscad=0603
+         copyright=2006 DJ Delorie
+         author=DJ Delorie
+         footprint=SOT23-5
+         dist-license=GPL
+         refdes=U1
+         value=MCP73831
+         use-license=Unlimited
         }
        ha:data {
               li:padstack_prototypes {
@@ -2336,14 +1913,14 @@ ha:pcb-rnd-board-v8 {
              }
              clearance=0.0
               li:ps_poly {
-               0.374904mm  
-               -0.499872mm  
-               -0.374904mm  
-               -0.499872mm  
-               -0.374904mm  
-               0.499872mm  
-               0.374904mm  
-               0.499872mm  
+               -20.0mil  
+               -12.0mil  
+               -20.0mil  
+               12.0mil  
+               20.0mil  
+               12.0mil  
+               20.0mil  
+               -12.0mil  
               }
             }
 
@@ -2355,14 +1932,14 @@ ha:pcb-rnd-board-v8 {
              }
              clearance=0.0
               li:ps_poly {
-               17.76mil  
-               -0.576072mm  
-               -17.76mil  
-               -0.576072mm  
-               -17.76mil  
-               0.576072mm  
-               17.76mil  
-               0.576072mm  
+               -23.0mil  
+               -15.0mil  
+               -23.0mil  
+               15.0mil  
+               23.0mil  
+               15.0mil  
+               23.0mil  
+               -15.0mil  
               }
             }
 
@@ -2374,14 +1951,14 @@ ha:pcb-rnd-board-v8 {
              }
              clearance=0.0
               li:ps_poly {
-               0.374904mm  
-               -0.499872mm  
-               -0.374904mm  
-               -0.499872mm  
-               -0.374904mm  
-               0.499872mm  
-               0.374904mm  
-               0.499872mm  
+               -20.0mil  
+               -12.0mil  
+               -20.0mil  
+               12.0mil  
+               20.0mil  
+               12.0mil  
+               20.0mil  
+               -12.0mil  
               }
             }
           }
@@ -2389,8 +1966,8 @@ ha:pcb-rnd-board-v8 {
        }
 
         li:objects {
-         ha:padstack_ref.1067 {
-          proto=0; x=304.41mil; y=45.0mil; rot=0.000000; xmirror=0; smirror=0; clearance=10.0mil;
+         ha:padstack_ref.2291 {
+          proto=0; x=629.0mil; y=138.0mil; rot=0.000000; xmirror=0; smirror=0; clearance=8.0mil;
           ha:flags {
            clearline=1
           }
@@ -2399,12 +1976,26 @@ ha:pcb-rnd-board-v8 {
           }
 
           ha:attributes {
-            term=1
-            name=1
+            term=4
+            name=VIN
           }
          }
-         ha:padstack_ref.1068 {
-          proto=0; x=9.031986mm; y=45.0mil; rot=0.000000; xmirror=0; smirror=0; clearance=10.0mil;
+         ha:padstack_ref.2292 {
+          proto=0; x=629.0mil; y=60.0mil; rot=0.000000; xmirror=0; smirror=0; clearance=8.0mil;
+          ha:flags {
+           clearline=1
+          }
+
+          li:thermal {
+          }
+
+          ha:attributes {
+            term=5
+            name=PROG
+          }
+         }
+         ha:padstack_ref.2293 {
+          proto=0; x=547.0mil; y=60.0mil; rot=0.000000; xmirror=0; smirror=0; clearance=8.0mil;
           ha:flags {
            clearline=1
           }
@@ -2412,9 +2003,33 @@ ha:pcb-rnd-board-v8 {
           li:thermal {
           }
 
+          ha:attributes {
+            term=1
+            name=STAT
+          }
+         }
+         ha:padstack_ref.2294 {
+          proto=0; x=547.0mil; y=99.0mil; rot=0.000000; xmirror=0; smirror=0; clearance=8.0mil;
+          li:thermal {
+          }
+
           ha:attributes {
             term=2
-            name=2
+            name=VSS
+          }
+         }
+         ha:padstack_ref.2295 {
+          proto=0; x=547.0mil; y=138.0mil; rot=0.000000; xmirror=0; smirror=0; clearance=8.0mil;
+          ha:flags {
+           clearline=1
+          }
+
+          li:thermal {
+          }
+
+          ha:attributes {
+            term=3
+            name=VBAT
           }
          }
         }
@@ -2425,6 +2040,18 @@ ha:pcb-rnd-board-v8 {
           ha:combining {          }
 
            li:objects {
+            ha:line.2267 {
+             x1=519.0mil; y1=40.0mil; x2=519.0mil; y2=158.0mil; thickness=10.0mil; clearance=0.0;
+            }
+            ha:line.2270 {
+             x1=519.0mil; y1=40.0mil; x2=658.0mil; y2=40.0mil; thickness=10.0mil; clearance=0.0;
+            }
+            ha:line.2273 {
+             x1=658.0mil; y1=40.0mil; x2=658.0mil; y2=158.0mil; thickness=10.0mil; clearance=0.0;
+            }
+            ha:line.2276 {
+             x1=519.0mil; y1=158.0mil; x2=658.0mil; y2=158.0mil; thickness=10.0mil; clearance=0.0;
+            }
            }
            ha:type {
             silk = 1
@@ -2437,26 +2064,42 @@ ha:pcb-rnd-board-v8 {
           ha:combining {          }
 
            li:objects {
-            ha:line.1055 {
-             x1=330.0mil; y1=45.0mil; x2=330.0mil; y2=45.0mil; thickness=0.1mm; clearance=0.0;
+            ha:line.2279 {
+             x1=14.72692mm; y1=99.0mil; x2=14.72692mm; y2=99.0mil; thickness=0.1mm; clearance=0.0;
+             ha:flags {
+              selected=1
+             }
+
              ha:attributes {
                subc-role=pnp-origin
              }
             }
-            ha:line.1058 {
-             x1=330.0mil; y1=45.0mil; x2=330.0mil; y2=45.0mil; thickness=0.1mm; clearance=0.0;
+            ha:line.2282 {
+             x1=629.0mil; y1=138.0mil; x2=629.0mil; y2=138.0mil; thickness=0.1mm; clearance=0.0;
+             ha:flags {
+              selected=1
+             }
+
              ha:attributes {
                subc-role=origin
              }
             }
-            ha:line.1061 {
-             x1=330.0mil; y1=45.0mil; x2=9.382mm; y2=45.0mil; thickness=0.1mm; clearance=0.0;
+            ha:line.2285 {
+             x1=629.0mil; y1=138.0mil; x2=16.9766mm; y2=138.0mil; thickness=0.1mm; clearance=0.0;
+             ha:flags {
+              selected=1
+             }
+
              ha:attributes {
                subc-role=x
              }
             }
-            ha:line.1064 {
-             x1=330.0mil; y1=45.0mil; x2=330.0mil; y2=2.143mm; thickness=0.1mm; clearance=0.0;
+            ha:line.2288 {
+             x1=629.0mil; y1=138.0mil; x2=629.0mil; y2=4.5052mm; thickness=0.1mm; clearance=0.0;
+             ha:flags {
+              selected=1
+             }
+
              ha:attributes {
                subc-role=y
              }
@@ -2470,14 +2113,14 @@ ha:pcb-rnd-board-v8 {
          }
         }
        }
-        uid = 1f/t/PNB3NZF0ZSA5DwAAAAS
+        uid = tWMbI3HAm7UIolEaNwMAAAAH
        }
-       ha:subc.1086 {
+       ha:subc.2297 {
         ha:attributes {
-         refdes=R2
-         value=1k
-         footprint=0603
          openscad=0603
+         value=2k
+         refdes=R3
+         footprint=0603
         }
        ha:data {
               li:padstack_prototypes {
@@ -2547,12 +2190,8 @@ ha:pcb-rnd-board-v8 {
        }
 
         li:objects {
-         ha:padstack_ref.1100 {
-          proto=0; x=1.382014mm; y=45.0mil; rot=0.000000; xmirror=0; smirror=0; clearance=10.0mil;
-          ha:flags {
-           clearline=1
-          }
-
+         ha:padstack_ref.2310 {
+          proto=0; x=627.82mil; y=240.0mil; rot=0.000000; xmirror=0; smirror=0; clearance=8.0mil;
           li:thermal {
           }
 
@@ -2561,8 +2200,8 @@ ha:pcb-rnd-board-v8 {
             name=1
           }
          }
-         ha:padstack_ref.1101 {
-          proto=0; x=105.59mil; y=45.0mil; rot=0.000000; xmirror=0; smirror=0; clearance=10.0mil;
+         ha:padstack_ref.2311 {
+          proto=0; x=679.0mil; y=240.0mil; rot=0.000000; xmirror=0; smirror=0; clearance=8.0mil;
           ha:flags {
            clearline=1
           }
@@ -2595,26 +2234,42 @@ ha:pcb-rnd-board-v8 {
           ha:combining {          }
 
            li:objects {
-            ha:line.1088 {
-             x1=80.0mil; y1=45.0mil; x2=80.0mil; y2=45.0mil; thickness=0.1mm; clearance=0.0;
+            ha:line.2298 {
+             x1=16.596614mm; y1=240.0mil; x2=16.596614mm; y2=240.0mil; thickness=0.1mm; clearance=0.0;
+             ha:flags {
+              selected=1
+             }
+
              ha:attributes {
                subc-role=pnp-origin
              }
             }
-            ha:line.1091 {
-             x1=80.0mil; y1=45.0mil; x2=80.0mil; y2=45.0mil; thickness=0.1mm; clearance=0.0;
+            ha:line.2301 {
+             x1=16.596614mm; y1=240.0mil; x2=16.596614mm; y2=240.0mil; thickness=0.1mm; clearance=0.0;
+             ha:flags {
+              selected=1
+             }
+
              ha:attributes {
                subc-role=origin
              }
             }
-            ha:line.1094 {
-             x1=80.0mil; y1=45.0mil; x2=3.032mm; y2=45.0mil; thickness=0.1mm; clearance=0.0;
+            ha:line.2304 {
+             x1=16.596614mm; y1=240.0mil; x2=17.596614mm; y2=240.0mil; thickness=0.1mm; clearance=0.0;
+             ha:flags {
+              selected=1
+             }
+
              ha:attributes {
                subc-role=x
              }
             }
-            ha:line.1097 {
-             x1=80.0mil; y1=45.0mil; x2=80.0mil; y2=2.143mm; thickness=0.1mm; clearance=0.0;
+            ha:line.2307 {
+             x1=16.596614mm; y1=240.0mil; x2=16.596614mm; y2=7.096mm; thickness=0.1mm; clearance=0.0;
+             ha:flags {
+              selected=1
+             }
+
              ha:attributes {
                subc-role=y
              }
@@ -2628,14 +2283,14 @@ ha:pcb-rnd-board-v8 {
          }
         }
        }
-        uid = 1f/t/PNB3NZF0ZSA5DwAAAAU
+        uid = 1f/t/PNB3NZF0ZSA5DwAAAAW
        }
-       ha:subc.1119 {
+       ha:subc.2313 {
         ha:attributes {
-         refdes=R3
-         value=2k
-         footprint=0603
          openscad=0603
+         value=10k
+         refdes=R4
+         footprint=0603
         }
        ha:data {
               li:padstack_prototypes {
@@ -2705,12 +2360,8 @@ ha:pcb-rnd-board-v8 {
        }
 
         li:objects {
-         ha:padstack_ref.1133 {
-          proto=0; x=688.0mil; y=245.59mil; rot=90.000000; xmirror=0; smirror=0; clearance=10.0mil;
-          ha:flags {
-           clearline=1
-          }
-
+         ha:padstack_ref.2326 {
+          proto=0; x=14.050772mm; y=240.0mil; rot=180.000000; xmirror=0; smirror=0; clearance=8.0mil;
           li:thermal {
           }
 
@@ -2719,8 +2370,8 @@ ha:pcb-rnd-board-v8 {
             name=1
           }
          }
-         ha:padstack_ref.1134 {
-          proto=0; x=688.0mil; y=4.938014mm; rot=90.000000; xmirror=0; smirror=0; clearance=10.0mil;
+         ha:padstack_ref.2327 {
+          proto=0; x=502.0mil; y=240.0mil; rot=180.000000; xmirror=0; smirror=0; clearance=8.0mil;
           ha:flags {
            clearline=1
           }
@@ -2753,26 +2404,42 @@ ha:pcb-rnd-board-v8 {
           ha:combining {          }
 
            li:objects {
-            ha:line.1121 {
-             x1=688.0mil; y1=220.0mil; x2=688.0mil; y2=220.0mil; thickness=0.1mm; clearance=0.0;
+            ha:line.2314 {
+             x1=527.59mil; y1=240.0mil; x2=527.59mil; y2=240.0mil; thickness=0.1mm; clearance=0.0;
+             ha:flags {
+              selected=1
+             }
+
              ha:attributes {
                subc-role=pnp-origin
              }
             }
-            ha:line.1124 {
-             x1=688.0mil; y1=220.0mil; x2=688.0mil; y2=220.0mil; thickness=0.1mm; clearance=0.0;
+            ha:line.2317 {
+             x1=527.59mil; y1=240.0mil; x2=527.59mil; y2=240.0mil; thickness=0.1mm; clearance=0.0;
+             ha:flags {
+              selected=1
+             }
+
              ha:attributes {
                subc-role=origin
              }
             }
-            ha:line.1127 {
-             x1=688.0mil; y1=220.0mil; x2=688.0mil; y2=4.588mm; thickness=0.1mm; clearance=0.0;
+            ha:line.2320 {
+             x1=527.59mil; y1=240.0mil; x2=12.400786mm; y2=240.0mil; thickness=0.1mm; clearance=0.0;
+             ha:flags {
+              selected=1
+             }
+
              ha:attributes {
                subc-role=x
              }
             }
-            ha:line.1130 {
-             x1=688.0mil; y1=220.0mil; x2=18.4752mm; y2=220.0mil; thickness=0.1mm; clearance=0.0;
+            ha:line.2323 {
+             x1=527.59mil; y1=240.0mil; x2=527.59mil; y2=5.096mm; thickness=0.1mm; clearance=0.0;
+             ha:flags {
+              selected=1
+             }
+
              ha:attributes {
                subc-role=y
              }
@@ -2786,14 +2453,14 @@ ha:pcb-rnd-board-v8 {
          }
         }
        }
-        uid = 1f/t/PNB3NZF0ZSA5DwAAAAW
+        uid = 1f/t/PNB3NZF0ZSA5DwAAAAY
        }
-       ha:subc.1152 {
+       ha:subc.2329 {
         ha:attributes {
-         refdes=R4
-         value=10k
-         footprint=0603
-         openscad=0603
+         openscad=1206
+         value=10uF
+         refdes=C2
+         footprint=1206
         }
        ha:data {
               li:padstack_prototypes {
@@ -2810,14 +2477,14 @@ ha:pcb-rnd-board-v8 {
              }
              clearance=0.0
               li:ps_poly {
-               0.374904mm  
-               -0.499872mm  
-               -0.374904mm  
-               -0.499872mm  
-               -0.374904mm  
-               0.499872mm  
-               0.374904mm  
-               0.499872mm  
+               0.649986mm  
+               -0.94996mm  
+               -0.649986mm  
+               -0.94996mm  
+               -0.649986mm  
+               0.94996mm  
+               0.649986mm  
+               0.94996mm  
               }
             }
 
@@ -2829,14 +2496,14 @@ ha:pcb-rnd-board-v8 {
              }
              clearance=0.0
               li:ps_poly {
-               17.76mil  
-               -0.576072mm  
-               -17.76mil  
-               -0.576072mm  
-               -17.76mil  
-               0.576072mm  
-               17.76mil  
-               0.576072mm  
+               0.726186mm  
+               -1.02616mm  
+               -0.726186mm  
+               -1.02616mm  
+               -0.726186mm  
+               1.02616mm  
+               0.726186mm  
+               1.02616mm  
               }
             }
 
@@ -2848,14 +2515,14 @@ ha:pcb-rnd-board-v8 {
              }
              clearance=0.0
               li:ps_poly {
-               0.374904mm  
-               -0.499872mm  
-               -0.374904mm  
-               -0.499872mm  
-               -0.374904mm  
-               0.499872mm  
-               0.374904mm  
-               0.499872mm  
+               0.649986mm  
+               -0.94996mm  
+               -0.649986mm  
+               -0.94996mm  
+               -0.649986mm  
+               0.94996mm  
+               0.649986mm  
+               0.94996mm  
               }
             }
           }
@@ -2863,12 +2530,8 @@ ha:pcb-rnd-board-v8 {
        }
 
         li:objects {
-         ha:padstack_ref.1166 {
-          proto=0; x=511.0mil; y=245.59mil; rot=90.000000; xmirror=0; smirror=0; clearance=10.0mil;
-          ha:flags {
-           clearline=1
-          }
-
+         ha:padstack_ref.2348 {
+          proto=0; x=440.0mil; y=169.05mil; rot=90.000000; xmirror=0; smirror=0; clearance=8.0mil;
           li:thermal {
           }
 
@@ -2876,13 +2539,10 @@ ha:pcb-rnd-board-v8 {
             term=1
             name=1
           }
-         }
-         ha:padstack_ref.1167 {
-          proto=0; x=511.0mil; y=4.938014mm; rot=90.000000; xmirror=0; smirror=0; clearance=10.0mil;
-          ha:flags {
-           clearline=1
-          }
-
+ ha:flags ={ clearline=1
+ };         }
+         ha:padstack_ref.2349 {
+          proto=0; x=440.0mil; y=50.95mil; rot=90.000000; xmirror=0; smirror=0; clearance=8.0mil;
           li:thermal {
           }
 
@@ -2899,6 +2559,12 @@ ha:pcb-rnd-board-v8 {
           ha:combining {          }
 
            li:objects {
+            ha:line.2330 {
+             x1=402.6mil; y1=133.62mil; x2=402.6mil; y2=2.194052mm; thickness=8.0mil; clearance=0.0;
+            }
+            ha:line.2333 {
+             x1=12.12596mm; y1=133.62mil; x2=12.12596mm; y2=2.194052mm; thickness=8.0mil; clearance=0.0;
+            }
            }
            ha:type {
             silk = 1
@@ -2911,26 +2577,42 @@ ha:pcb-rnd-board-v8 {
           ha:combining {          }
 
            li:objects {
-            ha:line.1154 {
-             x1=511.0mil; y1=220.0mil; x2=511.0mil; y2=220.0mil; thickness=0.1mm; clearance=0.0;
+            ha:line.2336 {
+             x1=440.0mil; y1=110.0mil; x2=440.0mil; y2=110.0mil; thickness=0.1mm; clearance=0.0;
+             ha:flags {
+              selected=1
+             }
+
              ha:attributes {
                subc-role=pnp-origin
              }
             }
-            ha:line.1157 {
-             x1=511.0mil; y1=220.0mil; x2=511.0mil; y2=220.0mil; thickness=0.1mm; clearance=0.0;
+            ha:line.2339 {
+             x1=440.0mil; y1=110.0mil; x2=440.0mil; y2=110.0mil; thickness=0.1mm; clearance=0.0;
+             ha:flags {
+              selected=1
+             }
+
              ha:attributes {
                subc-role=origin
              }
             }
-            ha:line.1160 {
-             x1=511.0mil; y1=220.0mil; x2=511.0mil; y2=4.588mm; thickness=0.1mm; clearance=0.0;
+            ha:line.2342 {
+             x1=440.0mil; y1=110.0mil; x2=440.0mil; y2=1.794mm; thickness=0.1mm; clearance=0.0;
+             ha:flags {
+              selected=1
+             }
+
              ha:attributes {
                subc-role=x
              }
             }
-            ha:line.1163 {
-             x1=511.0mil; y1=220.0mil; x2=13.9794mm; y2=220.0mil; thickness=0.1mm; clearance=0.0;
+            ha:line.2345 {
+             x1=440.0mil; y1=110.0mil; x2=12.176mm; y2=110.0mil; thickness=0.1mm; clearance=0.0;
+             ha:flags {
+              selected=1
+             }
+
              ha:attributes {
                subc-role=y
              }
@@ -2944,68 +2626,725 @@ ha:pcb-rnd-board-v8 {
          }
         }
        }
-        uid = 1f/t/PNB3NZF0ZSA5DwAAAAY
-       }
-       ha:rat.1404 {
-        x1=688.0mil; y1=2.230628mm; lgrp1=3; anchor1=pcb/960/974; x2=688.0mil; y2=245.59mil; lgrp2=3; anchor2=pcb/1119/1133;
-       }
-       ha:rat.1407 {
-        x1=837.6mil; y1=5.050028mm; lgrp1=3; anchor1=pcb/1011/1029; x2=688.0mil; y2=245.59mil; lgrp2=3; anchor2=pcb/1119/1133;
-       }
-       ha:rat.1410 {
-        x1=837.6mil; y1=5.050028mm; lgrp1=3; anchor1=pcb/1011/1029; x2=854.33mil; y2=124.015mil; lgrp2=3; anchor2=pcb/1011/1030;
-       }
-       ha:rat.1413 {
-        x1=688.0mil; y1=245.59mil; lgrp1=3; anchor1=pcb/1119/1133; x2=511.0mil; y2=245.59mil; lgrp2=3; anchor2=pcb/1152/1166;
-       }
-       ha:rat.1416 {
-        x1=511.0mil; y1=245.59mil; lgrp1=3; anchor1=pcb/1152/1166; x2=511.0mil; y2=100.0mil; lgrp2=3; anchor2=pcb/689/718;
-       }
-       ha:rat.1419 {
-        x1=433.0mil; y1=100.0mil; lgrp1=3; anchor1=pcb/993/1007; x2=511.0mil; y2=100.0mil; lgrp2=3; anchor2=pcb/689/718;
-       }
-       ha:rat.1422 {
-        x1=7.346061mm; y1=290.0mil; lgrp1=3; anchor1=pcb/809/823; x2=511.0mil; y2=245.59mil; lgrp2=3; anchor2=pcb/1152/1166;
-       }
-       ha:rat.1425 {
-        x1=7.346061mm; y1=290.0mil; lgrp1=3; anchor1=pcb/809/823; x2=1.382014mm; y2=45.0mil; lgrp2=3; anchor2=pcb/1086/1100;
-       }
-       ha:rat.1428 {
-        x1=688.0mil; y1=139.0mil; lgrp1=3; anchor1=pcb/960/975; x2=593.0mil; y2=139.0mil; lgrp2=3; anchor2=pcb/689/715;
-       }
-       ha:rat.1431 {
-        x1=688.0mil; y1=139.0mil; lgrp1=3; anchor1=pcb/960/975; x2=837.6mil; y2=301.18mil; lgrp2=3; anchor2=pcb/1011/1025;
-       }
-       ha:rat.1434 {
-        x1=9.031986mm; y1=45.0mil; lgrp1=3; anchor1=pcb/1053/1068; x2=593.0mil; y2=139.0mil; lgrp2=3; anchor2=pcb/689/715;
-       }
-       ha:rat.1437 {
-        x1=433.0mil; y1=151.18mil; lgrp1=3; anchor1=pcb/993/1008; x2=511.0mil; y2=139.0mil; lgrp2=3; anchor2=pcb/689/719;
-       }
-       ha:rat.1440 {
-        x1=433.0mil; y1=151.18mil; lgrp1=3; anchor1=pcb/993/1008; x2=7.346061mm; y2=5.366004mm; lgrp2=3; anchor2=pcb/809/824;
-       }
-       ha:rat.1443 {
-        x1=5.931789mm; y1=28.28mil; lgrp1=3; anchor1=pcb/789/804; x2=304.41mil; y2=45.0mil; lgrp2=3; anchor2=pcb/1053/1067;
-       }
-       ha:rat.1446 {
-        x1=5.931789mm; y1=1.567942mm; lgrp1=3; anchor1=pcb/789/805; x2=176.455mil; y2=28.28mil; lgrp2=3; anchor2=pcb/789/806;
-       }
-       ha:rat.1449 {
-        x1=5.931789mm; y1=1.567942mm; lgrp1=3; anchor1=pcb/789/805; x2=511.0mil; y2=61.0mil; lgrp2=3; anchor2=pcb/689/717;
-       }
-       ha:rat.1452 {
-        x1=176.455mil; y1=1.567942mm; lgrp1=3; anchor1=pcb/789/807; x2=105.59mil; y2=45.0mil; lgrp2=3; anchor2=pcb/1086/1101;
-       }
-       ha:rat.1455 {
-        x1=688.0mil; y1=4.938014mm; lgrp1=3; anchor1=pcb/1119/1134; x2=688.58mil; y2=315.11mil; lgrp2=3; anchor2=pcb/765/787;
-       }
-       ha:rat.1458 {
-        x1=511.0mil; y1=4.938014mm; lgrp1=3; anchor1=pcb/1152/1167; x2=511.43mil; y2=315.11mil; lgrp2=3; anchor2=pcb/765/785;
-       }
-       ha:rat.1461 {
-        x1=15.990062mm; y1=315.11mil; lgrp1=3; anchor1=pcb/765/786; x2=593.0mil; y2=61.0mil; lgrp2=3; anchor2=pcb/689/716;
+        uid = 1lK2KC6vGomGKPiQspYAAAAO
        }
+         ha:subc.2871 {
+          ha:attributes {
+           value=SPDT
+           footprint=PCM12SMTR
+           refdes=S1
+          }
+         ha:data {
+                  li:padstack_prototypes {
+
+          ha:ps_proto_v6.0 {
+            hdia=0.0; hplated=0; htop=0; hbottom=0;
+            li:shape {
+
+              ha:ps_shape_v4 {
+               ha:combining {               }
+               ha:layer_mask {
+                copper = 1
+                top = 1
+               }
+               clearance=0.0
+                li:ps_poly {
+                 -19.69mil  
+                 -15.75mil  
+                 -19.69mil  
+                 15.75mil  
+                 19.69mil  
+                 15.75mil  
+                 19.69mil  
+                 -15.75mil  
+                }
+              }
+
+              ha:ps_shape_v4 {
+               ha:combining { sub=1; auto=1;               }
+               ha:layer_mask {
+                top = 1
+                mask = 1
+               }
+               clearance=0.0
+                li:ps_poly {
+                 -26.625mil  
+                 -0.576199mm  
+                 -26.625mil  
+                 0.576199mm  
+                 26.625mil  
+                 0.576199mm  
+                 26.625mil  
+                 -0.576199mm  
+                }
+              }
+
+              ha:ps_shape_v4 {
+               ha:combining { auto=1;               }
+               ha:layer_mask {
+                top = 1
+                paste = 1
+               }
+               clearance=0.0
+                li:ps_poly {
+                 -19.69mil  
+                 -15.75mil  
+                 -19.69mil  
+                 15.75mil  
+                 19.69mil  
+                 15.75mil  
+                 19.69mil  
+                 -15.75mil  
+                }
+              }
+            }
+          }
+
+          ha:ps_proto_v6.1 {
+            hdia=0.0; hplated=0; htop=0; hbottom=0;
+            li:shape {
+
+              ha:ps_shape_v4 {
+               ha:combining {               }
+               ha:layer_mask {
+                copper = 1
+                top = 1
+               }
+               clearance=0.0
+                li:ps_poly {
+                 19.69mil  
+                 15.75mil  
+                 19.69mil  
+                 -15.75mil  
+                 -19.69mil  
+                 -15.75mil  
+                 -19.69mil  
+                 15.75mil  
+                }
+              }
+
+              ha:ps_shape_v4 {
+               ha:combining { sub=1; auto=1;               }
+               ha:layer_mask {
+                top = 1
+                mask = 1
+               }
+               clearance=0.0
+                li:ps_poly {
+                 26.625mil  
+                 0.576199mm  
+                 26.625mil  
+                 -0.576199mm  
+                 -26.625mil  
+                 -0.576199mm  
+                 -26.625mil  
+                 0.576199mm  
+                }
+              }
+
+              ha:ps_shape_v4 {
+               ha:combining { auto=1;               }
+               ha:layer_mask {
+                top = 1
+                paste = 1
+               }
+               clearance=0.0
+                li:ps_poly {
+                 19.69mil  
+                 15.75mil  
+                 19.69mil  
+                 -15.75mil  
+                 -19.69mil  
+                 -15.75mil  
+                 -19.69mil  
+                 15.75mil  
+                }
+              }
+            }
+          }
+
+          ha:ps_proto_v6.2 {
+            hdia=0.899922mm; hplated=1; htop=0; hbottom=0;
+            li:shape {
+
+              ha:ps_shape_v4 {
+               ha:ps_circ { x=0.0; y=0.0; dia=1.255522mm;               }
+               ha:combining {               }
+               ha:layer_mask {
+                copper = 1
+                top = 1
+               }
+               clearance=0.0
+              }
+
+              ha:ps_shape_v4 {
+               ha:ps_circ { x=0.0; y=0.0; dia=1.255522mm;               }
+               ha:combining {               }
+               ha:layer_mask {
+                bottom = 1
+                copper = 1
+               }
+               clearance=0.0
+              }
+
+              ha:ps_shape_v4 {
+               ha:ps_circ { x=0.0; y=0.0; dia=1.255522mm;               }
+               ha:combining {               }
+               ha:layer_mask {
+                copper = 1
+                intern = 1
+               }
+               clearance=0.0
+              }
+
+              ha:ps_shape_v4 {
+               ha:ps_circ { x=0.0; y=0.0; dia=61.42mil;               }
+               ha:combining { sub=1; auto=1;               }
+               ha:layer_mask {
+                top = 1
+                mask = 1
+               }
+               clearance=0.0
+              }
+
+              ha:ps_shape_v4 {
+               ha:ps_circ { x=0.0; y=0.0; dia=61.42mil;               }
+               ha:combining { sub=1; auto=1;               }
+               ha:layer_mask {
+                bottom = 1
+                mask = 1
+               }
+               clearance=0.0
+              }
+            }
+          }
+
+          ha:ps_proto_v6.3 {
+            hdia=0.0; hplated=0; htop=0; hbottom=0;
+            li:shape {
+
+              ha:ps_shape_v4 {
+               ha:combining {               }
+               ha:layer_mask {
+                copper = 1
+                top = 1
+               }
+               clearance=0.0
+                li:ps_poly {
+                 -0.350012mm  
+                 29.53mil  
+                 0.350012mm  
+                 29.53mil  
+                 0.350012mm  
+                 -29.53mil  
+                 -0.350012mm  
+                 -29.53mil  
+                }
+              }
+
+              ha:ps_shape_v4 {
+               ha:combining { sub=1; auto=1;               }
+               ha:layer_mask {
+                top = 1
+                mask = 1
+               }
+               clearance=0.0
+                li:ps_poly {
+                 -16.78mil  
+                 32.53mil  
+                 16.78mil  
+                 32.53mil  
+                 16.78mil  
+                 -32.53mil  
+                 -16.78mil  
+                 -32.53mil  
+                }
+              }
+
+              ha:ps_shape_v4 {
+               ha:combining { auto=1;               }
+               ha:layer_mask {
+                top = 1
+                paste = 1
+               }
+               clearance=0.0
+                li:ps_poly {
+                 -0.350012mm  
+                 29.53mil  
+                 0.350012mm  
+                 29.53mil  
+                 0.350012mm  
+                 -29.53mil  
+                 -0.350012mm  
+                 -29.53mil  
+                }
+              }
+            }
+          }
+         }
+
+          li:objects {
+           ha:padstack_ref.2885 {
+            proto=0; x=733.7mil; y=8.65378mm; rot=0.000000; xmirror=0; smirror=0; clearance=4.0mil;
+            li:thermal {
+            }
+
+            ha:attributes {
+              term=frame
+              name=mnt
+            }
+           }
+           ha:padstack_ref.2886 {
+            proto=0; x=733.7mil; y=427.31mil; rot=0.000000; xmirror=0; smirror=0; clearance=4.0mil;
+            li:thermal {
+            }
+
+            ha:attributes {
+              term=frame
+              name=mnt
+            }
+           }
+           ha:padstack_ref.2887 {
+            proto=1; x=446.31mil; y=427.31mil; rot=0.000000; xmirror=0; smirror=0; clearance=4.0mil;
+            li:thermal {
+            }
+
+            ha:attributes {
+              term=frame
+              name=mnt
+            }
+           }
+           ha:padstack_ref.2888 {
+            proto=1; x=446.31mil; y=8.65378mm; rot=0.000000; xmirror=0; smirror=0; clearance=4.0mil;
+            li:thermal {
+            }
+
+            ha:attributes {
+              term=frame
+              name=mnt
+            }
+           }
+           ha:padstack_ref.2889 {
+            proto=2; x=530.95mil; y=384.0mil; rot=0.000000; xmirror=0; smirror=0; clearance=4.0mil;
+            ha:flags {
+             clearline=1
+            }
+
+            li:thermal {
+              li:0 {
+               on  
+               diag  
+               round  
+               noshape  
+              }
+              li:2 {
+               on  
+               solid  
+               noshape  
+              }
+            }
+
+            ha:attributes {
+              term=holes
+              name=mnt
+            }
+           }
+           ha:padstack_ref.2890 {
+            proto=2; x=16.486124mm; y=384.0mil; rot=0.000000; xmirror=0; smirror=0; clearance=4.0mil;
+            ha:flags {
+             clearline=1
+            }
+
+            li:thermal {
+              li:2 {
+               on  
+               solid  
+               noshape  
+              }
+            }
+
+            ha:attributes {
+              term=holes
+              name=mnt
+            }
+           }
+           ha:padstack_ref.2891 {
+            proto=3; x=501.43mil; y=315.11mil; rot=0.000000; xmirror=0; smirror=0; clearance=4.0mil;
+            ha:flags {
+             clearline=1
+            }
+
+            li:thermal {
+            }
+
+            ha:attributes {
+              term=1
+              name=pin1
+            }
+           }
+           ha:padstack_ref.2892 {
+            proto=3; x=15.736062mm; y=315.11mil; rot=0.000000; xmirror=0; smirror=0; clearance=4.0mil;
+            ha:flags {
+             clearline=1
+            }
+
+            li:thermal {
+            }
+
+            ha:attributes {
+              term=2
+              name=pin2
+            }
+           }
+           ha:padstack_ref.2893 {
+            proto=3; x=678.58mil; y=315.11mil; rot=0.000000; xmirror=0; smirror=0; clearance=4.0mil;
+            ha:flags {
+             clearline=1
+            }
+
+            li:thermal {
+            }
+
+            ha:attributes {
+              term=3
+              name=pin3
+            }
+           }
+          }
+          li:layers {
+
+           ha:top-silk {
+            lid=0
+            ha:combining {            }
+
+             li:objects {
+             }
+             ha:type {
+              silk = 1
+              top = 1
+             }
+           }
+
+           ha:subc-aux {
+            lid=1
+            ha:combining {            }
+
+             li:objects {
+              ha:line.2873 {
+               x1=15.069453mm; y1=9.170388mm; x2=15.069453mm; y2=9.170388mm; thickness=0.1mm; clearance=0.0;
+               ha:attributes {
+                 subc-role=pnp-origin
+               }
+              }
+              ha:line.2876 {
+               x1=590.0mil; y1=384.0mil; x2=590.0mil; y2=384.0mil; thickness=0.1mm; clearance=0.0;
+               ha:attributes {
+                 subc-role=origin
+               }
+              }
+              ha:line.2879 {
+               x1=590.0mil; y1=384.0mil; x2=15.986mm; y2=384.0mil; thickness=0.1mm; clearance=0.0;
+               ha:attributes {
+                 subc-role=x
+               }
+              }
+              ha:line.2882 {
+               x1=590.0mil; y1=384.0mil; x2=590.0mil; y2=10.7536mm; thickness=0.1mm; clearance=0.0;
+               ha:attributes {
+                 subc-role=y
+               }
+              }
+             }
+             ha:type {
+              top = 1
+              misc = 1
+              virtual = 1
+             }
+           }
+          }
+         }
+          uid = cY02sG6bHvlwLOm2yKEAAAAL
+         }
+         ha:subc.3655 {
+          ha:attributes {
+           value=
+           footprint=S2B-PH-SM
+           refdes=J2
+          }
+         ha:data {
+                  li:padstack_prototypes {
+
+          ha:ps_proto_v6.0 {
+            hdia=0.0; hplated=0; htop=0; hbottom=0;
+            li:shape {
+
+              ha:ps_shape_v4 {
+               ha:combining {               }
+               ha:layer_mask {
+                copper = 1
+                top = 1
+               }
+               clearance=0.0
+                li:ps_poly {
+                 0.499999mm  
+                 -68.9mil  
+                 -0.499999mm  
+                 -68.9mil  
+                 -0.499999mm  
+                 68.9mil  
+                 0.499999mm  
+                 68.9mil  
+                }
+              }
+
+              ha:ps_shape_v4 {
+               ha:combining { sub=1; auto=1;               }
+               ha:layer_mask {
+                top = 1
+                mask = 1
+               }
+               clearance=0.0
+                li:ps_poly {
+                 23.62mil  
+                 -1.850009mm  
+                 -23.62mil  
+                 -1.850009mm  
+                 -23.62mil  
+                 1.850009mm  
+                 23.62mil  
+                 1.850009mm  
+                }
+              }
+
+              ha:ps_shape_v4 {
+               ha:combining { auto=1;               }
+               ha:layer_mask {
+                top = 1
+                paste = 1
+               }
+               clearance=0.0
+                li:ps_poly {
+                 0.499999mm  
+                 -68.9mil  
+                 -0.499999mm  
+                 -68.9mil  
+                 -0.499999mm  
+                 68.9mil  
+                 0.499999mm  
+                 68.9mil  
+                }
+              }
+            }
+          }
+
+          ha:ps_proto_v6.1 {
+            hdia=0.0; hplated=0; htop=0; hbottom=0;
+            li:shape {
+
+              ha:ps_shape_v4 {
+               ha:combining {               }
+               ha:layer_mask {
+                copper = 1
+                top = 1
+               }
+               clearance=0.0
+                li:ps_poly {
+                 29.53mil  
+                 -66.93mil  
+                 -29.53mil  
+                 -66.93mil  
+                 -29.53mil  
+                 66.93mil  
+                 29.53mil  
+                 66.93mil  
+                }
+              }
+
+              ha:ps_shape_v4 {
+               ha:combining { sub=1; auto=1;               }
+               ha:layer_mask {
+                top = 1
+                mask = 1
+               }
+               clearance=0.0
+                li:ps_poly {
+                 33.465mil  
+                 -1.799971mm  
+                 -33.465mil  
+                 -1.799971mm  
+                 -33.465mil  
+                 1.799971mm  
+                 33.465mil  
+                 1.799971mm  
+                }
+              }
+
+              ha:ps_shape_v4 {
+               ha:combining { auto=1;               }
+               ha:layer_mask {
+                top = 1
+                paste = 1
+               }
+               clearance=0.0
+                li:ps_poly {
+                 29.53mil  
+                 -66.93mil  
+                 -29.53mil  
+                 -66.93mil  
+                 -29.53mil  
+                 66.93mil  
+                 29.53mil  
+                 66.93mil  
+                }
+              }
+            }
+          }
+         }
+
+          li:objects {
+           ha:padstack_ref.3669 {
+            proto=0; x=7.784591mm; y=8.270376mm; rot=90.000000; xmirror=0; smirror=0; clearance=0.499999mm;
+            li:thermal {
+            }
+
+            ha:attributes {
+              term=2
+              name=pin2
+            }
+           }
+           ha:padstack_ref.3670 {
+            proto=0; x=7.784591mm; y=6.27038mm; rot=90.000000; xmirror=0; smirror=0; clearance=8.0mil;
+            ha:flags {
+             clearline=1
+            }
+
+            li:thermal {
+            }
+
+            ha:attributes {
+              term=1
+              name=pin1
+            }
+           }
+           ha:padstack_ref.3671 {
+            proto=1; x=2.234564mm; y=10.620384mm; rot=90.000000; xmirror=0; smirror=0; clearance=0.0;
+            ha:flags {
+             clearline=1
+            }
+
+            li:thermal {
+            }
+
+            ha:attributes {
+              term=3
+              name=pin3
+            }
+           }
+           ha:padstack_ref.3672 {
+            proto=1; x=2.234564mm; y=3.920372mm; rot=90.000000; xmirror=0; smirror=0; clearance=0.0;
+            ha:flags {
+             clearline=1
+            }
+
+            li:thermal {
+            }
+
+            ha:attributes {
+              term=3
+              name=pin3
+            }
+           }
+          }
+          li:layers {
+
+           ha:top-silk {
+            lid=0
+            ha:combining {            }
+
+             li:objects {
+             }
+             ha:type {
+              silk = 1
+              top = 1
+             }
+           }
+
+           ha:subc-aux {
+            lid=1
+            ha:combining {            }
+
+             li:objects {
+              ha:line.3657 {
+               x1=5.009577mm; y1=7.270378mm; x2=5.009577mm; y2=7.270378mm; thickness=0.1mm; clearance=0.0;
+               ha:attributes {
+                 subc-role=pnp-origin
+               }
+              }
+              ha:line.3660 {
+               x1=0.534542mm; y1=11.370446mm; x2=0.534542mm; y2=11.370446mm; thickness=0.1mm; clearance=0.0;
+               ha:attributes {
+                 subc-role=origin
+               }
+              }
+              ha:line.3663 {
+               x1=0.534542mm; y1=11.370446mm; x2=0.534542mm; y2=12.370446mm; thickness=0.1mm; clearance=0.0;
+               ha:attributes {
+                 subc-role=x
+               }
+              }
+              ha:line.3666 {
+               x1=0.534542mm; y1=11.370446mm; x2=-0.465458mm; y2=11.370446mm; thickness=0.1mm; clearance=0.0;
+               ha:attributes {
+                 subc-role=y
+               }
+              }
+             }
+             ha:type {
+              top = 1
+              misc = 1
+              virtual = 1
+             }
+           }
+          }
+         }
+          uid = pk41U88PFDL+MVRd33AAAAAL
+         }
+        ha:rat.3983 {
+         x1=5.804789mm; y1=43.28mil; lgrp1=3; anchor1=pcb/789/804; x2=294.41mil; y2=60.0mil; lgrp2=3; anchor2=pcb/1053/1067;
+        }
+        ha:rat.3986 {
+         x1=5.804789mm; y1=76.73mil; lgrp1=3; anchor1=pcb/789/805; x2=171.455mil; y2=43.28mil; lgrp2=3; anchor2=pcb/789/806;
+        }
+        ha:rat.3989 {
+         x1=5.804789mm; y1=76.73mil; lgrp1=3; anchor1=pcb/789/805; x2=547.0mil; y2=60.0mil; lgrp2=3; anchor2=pcb/2266/2293;
+        }
+        ha:rat.3992 {
+         x1=171.455mil; y1=76.73mil; lgrp1=3; anchor1=pcb/789/807; x2=105.59mil; y2=60.0mil; lgrp2=3; anchor2=pcb/1086/1101;
+        }
+        ha:rat.3995 {
+         x1=679.0mil; y1=240.0mil; lgrp1=3; anchor1=pcb/2297/2311; x2=678.58mil; y2=315.11mil; lgrp2=3; anchor2=pcb/2871/2893;
+        }
+        ha:rat.3998 {
+         x1=502.0mil; y1=240.0mil; lgrp1=3; anchor1=pcb/2313/2327; x2=501.43mil; y2=315.11mil; lgrp2=3; anchor2=pcb/2871/2891;
+        }
+        ha:rat.4001 {
+         x1=440.0mil; y1=169.05mil; lgrp1=3; anchor1=pcb/2329/2348; x2=547.0mil; y2=138.0mil; lgrp2=3; anchor2=pcb/2266/2295;
+        }
+        ha:rat.4004 {
+         x1=440.0mil; y1=169.05mil; lgrp1=3; anchor1=pcb/2329/2348; x2=7.784591mm; y2=6.27038mm; lgrp2=3; anchor2=pcb/3655/3670;
+        }
+        ha:rat.4007 {
+         x1=15.736062mm; y1=315.11mil; lgrp1=3; anchor1=pcb/2871/2892; x2=629.0mil; y2=60.0mil; lgrp2=3; anchor2=pcb/2266/2292;
+        }
+        ha:rat.4010 {
+         x1=740.0mil; y1=169.05mil; lgrp1=3; anchor1=pcb/1631/1651; x2=629.0mil; y2=138.0mil; lgrp2=3; anchor2=pcb/2266/2291;
+        }
+        ha:rat.4013 {
+         x1=740.0mil; y1=169.05mil; lgrp1=3; anchor1=pcb/1631/1651; x2=837.6mil; y2=301.18mil; lgrp2=3; anchor2=pcb/1011/1025;
+        }
+        ha:rat.4016 {
+         x1=8.777986mm; y1=60.0mil; lgrp1=3; anchor1=pcb/1053/1068; x2=629.0mil; y2=138.0mil; lgrp2=3; anchor2=pcb/2266/2291;
+        }
     }
  }
 
@@ -5093,32 +5432,32 @@ ha:pcb-rnd-board-v8 {
 
    li:input {
      ha:GND {
-     li:conn { C1-1; C2-1; J1-5; J1-G; J2-2; R2-1; R3-1; R4-1; S1-frame; S1-holes; U1-2;     }
+     li:conn { C1-2; C2-2; J1-5; J1-G; J2-2; J2-3; R2-1; R3-1; R4-1; S1-frame; S1-holes; U1-2;     }
      }
      ha:unnamed_net1 {
-     li:conn { C1-2; J1-1; R1-2; U1-4;     }
+     li:conn { D1-2; R1-1;     }
      }
      ha:unnamed_net2 {
-     li:conn { C2-2; J2-1; U1-3;     }
+     li:conn { D1-1; D1-4; U1-1;     }
      }
      ha:unnamed_net3 {
-     li:conn { D1-2; R1-1;     }
+     li:conn { D1-3; R2-2;     }
      }
      ha:unnamed_net4 {
-     li:conn { D1-1; D1-4; U1-1;     }
+     li:conn { R3-2; S1-3;     }
      }
      ha:unnamed_net5 {
-     li:conn { D1-3; R2-2;     }
+     li:conn { R4-2; S1-1;     }
      }
      ha:unnamed_net6 {
-     li:conn { R3-2; S1-3;     }
+     li:conn { C2-1; J2-1; U1-3;     }
      }
      ha:unnamed_net7 {
-     li:conn { R4-2; S1-1;     }
-     }
-     ha:unnamed_net8 {
      li:conn { S1-2; U1-5;     }
      }
+      ha:v_usb {
+      li:conn { C1-1; J1-1; R1-2; U1-4;      }
+      }
    }
   }
 }
index b3889fc8a90afcd7b3b3a6a25aa822f41351f3ac..e4470aa958d6a360ff386ba0e542edde96e249c5 100644 (file)
@@ -1,53 +1,6 @@
 v 20220529 2
-C 40000 40000 0 0 0 EMBEDDEDtitle-C-bdale.sym
-[
-T 31100 40800 5 10 0 0 0 0 1
-graphical=1
-B 40000 40000 22000 17000 15 0 0 0 -1 -1 0 -1 -1 -1 -1 -1
-L 54400 41400 62000 41400 15 0 0 0 -1 -1
-T 54900 40800 9 10 1 0 0 0 2
-                Copyright 2013 by Bdale Garbee <bdale@gag.com>
-Licensed under the TAPR Open Hardware License, http://www.tapr.org/OHL
-T 54500 40100 15 10 1 0 0 0 1
-Project URL:
-L 54400 40600 62000 40600 15 0 0 0 -1 -1
-B 54400 40000 7600 2700 15 0 0 0 -1 -1 0 -1 -1 -1 -1 -1
-T 58200 40400 15 8 1 0 0 0 1
-OF
-T 57400 40400 15 8 1 0 0 0 1
-PAGE
-T 59500 40400 15 8 1 0 0 0 1
-REVISION:
-T 54500 40400 15 8 1 0 0 0 1
-FILE:
-T 43200 41100 5 10 0 0 0 0 1
-graphical=1
-]
+C 40000 40000 0 0 0 title-C.sym
 C 52600 48900 1 0 0 gnd.sym
-C 47600 49100 1 90 0 capacitor.sym
-{
-T 46900 49300 5 10 0 0 90 0 1
-device=CAPACITOR
-T 47800 49850 5 10 1 1 180 0 1
-refdes=C1
-T 47550 49200 5 10 1 1 0 0 1
-value=4.7uF
-T 47600 49100 5 10 0 0 0 0 1
-footprint=0603
-}
-C 55800 49800 1 270 0 battery.sym
-{
-T 56700 49500 5 10 0 1 270 0 1
-device=CONNECTOR
-T 56300 49700 5 10 1 1 0 0 1
-refdes=J2
-T 56300 49300 5 10 1 1 0 0 1
-value=LiPo
-T 55800 49800 5 10 0 0 0 0 1
-footprint=S2B-PH-SM
-T 55800 49800 5 10 0 1 0 0 1
-device=CONNECTOR
-}
 T 56800 41800 9 30 1 0 0 0 1
 LipoCharger
 T 13300 -8600 8 10 0 1 0 0 1
@@ -55,7 +8,7 @@ vendor_part_number=MMA7260QT-ND
 T 13300 -8600 8 10 0 1 0 0 1
 vendor_part_number=MCP9700-E/TO-ND
 T 60400 40400 9 10 1 0 0 0 1
-1.1
+3.0
 T 58000 40400 9 10 1 0 0 0 1
 1
 T 58600 40400 9 10 1 0 0 0 1
@@ -63,24 +16,16 @@ T 58600 40400 9 10 1 0 0 0 1
 T 55700 40400 9 10 1 0 0 0 1
 lipocharger.sch
 T 55700 40100 9 10 1 0 0 0 1
-http://altusmetrum.com/
+http://altusmetrum.com/LipoCharger
 N 50300 50000 46000 50000 4
-C 47300 48800 1 0 0 gnd.sym
-C 54900 49100 1 90 0 capacitor.sym
 {
-T 54200 49300 5 10 0 0 90 0 1
-device=CAPACITOR
-T 55150 49850 5 10 1 1 180 0 1
-refdes=C2
-T 54900 49200 5 10 1 1 0 0 1
-value=4.7uF
-T 54900 49100 5 10 0 0 0 0 1
-footprint=0603
+T 46900 50050 5 10 1 1 0 6 1
+netname=v_usb
 }
+C 47300 48800 1 0 0 gnd.sym
 C 54600 48800 1 0 0 gnd.sym
 N 52700 50000 56000 50000 4
-N 56000 50000 56000 49800 4
-C 55900 48800 1 0 0 gnd.sym
+C 55900 48900 1 0 0 gnd.sym
 C 45900 48100 1 0 0 gnd.sym
 C 48800 48300 1 180 1 led2.sym
 {
@@ -133,11 +78,11 @@ C 50300 49000 1 0 0 MCP73831.sym
 {
 T 50995 50295 5 10 0 1 0 0 1
 device=IC
-T 50695 50595 5 10 1 1 0 0 1
+T 50595 50595 5 10 1 1 0 0 1
 refdes=U1
 T 50295 47095 5 10 0 1 0 0 1
 footprint=SOT23-5
-T 50300 49000 5 10 0 1 0 0 1
+T 52400 50600 5 10 1 1 0 6 1
 value=MCP73831
 }
 N 48400 48600 48400 47800 4
@@ -160,7 +105,7 @@ value=USBmicroB
 }
 C 53000 48800 1 270 0 spdt.sym
 {
-T 54295 48505 5 10 1 1 270 0 1
+T 54095 48095 5 10 1 1 0 0 1
 refdes=S1
 T 52695 48805 5 10 0 1 270 0 1
 footprint=PCM12SMTR
@@ -214,3 +159,37 @@ C 54300 47500 1 0 0 gnd.sym
 C 45000 47600 1 0 0 gnd.sym
 N 53000 47800 52800 47800 4
 N 54400 47800 54200 47800 4
+C 47200 50000 1 270 0 cap-polar.sym
+{
+T 47900 49800 5 10 0 0 270 0 1
+device=CAPACITOR
+T 47800 49600 5 10 1 1 0 0 1
+refdes=C1
+T 48100 49800 5 10 0 0 270 0 1
+symversion=0.1
+T 47800 49300 5 10 1 1 0 0 1
+value=10uF
+T 47200 50000 5 10 0 1 0 0 1
+footprint=1206
+}
+C 54500 50000 1 270 0 cap-polar.sym
+{
+T 55200 49800 5 10 0 0 270 0 1
+device=CAPACITOR
+T 55100 49600 5 10 1 1 0 0 1
+refdes=C2
+T 55400 49800 5 10 0 0 270 0 1
+symversion=0.1
+T 55100 49300 5 10 1 1 0 0 1
+value=10uF
+T 54500 50000 5 10 0 1 0 0 1
+footprint=1206
+}
+C 56000 49000 1 0 0 conn-3.sym
+{
+T 56300 50300 5 10 1 1 0 0 1
+refdes=J2
+T 56000 49000 5 10 0 0 0 0 1
+footprint=S2B-PH-SM
+}
+N 56000 49600 56000 49200 4