]> git.gag.com Git - hw/quantimotor/commitdiff
simplify charging LED wiring to just be red while charging, off otherwise
authorBdale Garbee <bdale@gag.com>
Sun, 20 Jul 2025 22:35:10 +0000 (16:35 -0600)
committerBdale Garbee <bdale@gag.com>
Sun, 20 Jul 2025 22:35:10 +0000 (16:35 -0600)
quantimotor.lht
quantimotor.sch

index 7e9d145ef87076f8c304770adaf70531f97cf4dc..817493d8305d39d541cc7253e5beaf23454af972 100644 (file)
@@ -5,10 +5,10 @@ ha:pcb-rnd-board-v8 {
      li:conn { J5-10; J26-2; R12-2; R17-1; S2-2;     }
      }
      ha:GND {
-     li:conn { B1-6; C2-1; C3-1; C7-2; C8-1; C9-2; C10-2; C12-1; C13-2; C15-1; C37-1; C39-2; C101-1; C102-2; C107-1; C108-1; C109-1; C110-2; C111-1; D2-2; D3-1; H1-1; H2-1; H3-1; H4-1; J2-6; J2-9; J2-14; J2-20; J2-25; J2-30; J2-34; J2-39; J2-41; J6-19; J7-1; J7-2; J7-3; J7-4; J7-A1B12; J7-B1A12; J11-1; J11-5; J13-3; J13-4; Q2-1; Q2-3; Q4-3; R5-2; R11-2; R15-1; R16-1; R20-1; R22-1; R24-1; R26-1; R27-1; R28-1; R29-1; R30-1; R37-1; R39-1; R42-1; R43-1; R44-1; R46-1; R500-1; R501-1; S1-2; S1-4; S2-4; U1-18; U1-24; U1-25; U2-5; U2-6; U2-13; U3-2; U4-1; U6-3; U6-5; U6-12; U7-3; U7-4; U7-6; U7-8; U7-11; U7-13; U7-15; U7-17; U7-19; U7-20; U7-22; U7-24; U7-26; U7-28; U7-29; U7-31; U7-32; U7-33; U13-4; Z1-1; Z2-1;     }
+     li:conn { B1-6; C2-1; C3-1; C7-2; C8-1; C9-2; C10-2; C12-1; C13-2; C15-1; C37-1; C39-2; C101-1; C102-2; C107-1; C108-1; C109-1; C110-2; C111-1; D2-2; D3-1; D5-1; H1-1; H2-1; H3-1; H4-1; J2-6; J2-9; J2-14; J2-20; J2-25; J2-30; J2-34; J2-39; J2-41; J6-19; J7-1; J7-2; J7-3; J7-4; J7-A1B12; J7-B1A12; J11-1; J11-5; J13-3; J13-4; Q2-1; Q2-3; Q4-3; R5-2; R15-1; R16-1; R20-1; R22-1; R24-1; R26-1; R27-1; R28-1; R29-1; R30-1; R37-1; R39-1; R42-1; R43-1; R44-1; R46-1; R500-1; R501-1; S1-2; S1-4; S2-4; U1-18; U1-24; U1-25; U2-5; U2-6; U2-13; U3-2; U4-1; U6-3; U6-5; U6-12; U7-3; U7-4; U7-6; U7-8; U7-11; U7-13; U7-15; U7-17; U7-19; U7-20; U7-22; U7-24; U7-26; U7-28; U7-29; U7-31; U7-32; U7-33; U13-4; Z1-1; Z2-1;     }
      }
       ha:v_chg_in {
-      li:conn { R10-1; R21-1; U1-12; U1-13;      }
+      li:conn { R21-1; U1-12; U1-13;      }
       }
      ha:v_ldo_in {
      li:conn { C15-2; C39-1; C101-2; D4-2; Q3-3; R36-2; U3-1; U4-3; U6-1; U6-2;     }
@@ -79,30 +79,30 @@ ha:pcb-rnd-board-v8 {
                                    ha:unnamed_net3 {
                                    li:conn { D1-2; R1-1;                                   }
                                    }
-                                         ha:unnamed_net4 {
-                                         li:conn { J12-1; U6-9;                                         }
-                                         }
-                                         ha:unnamed_net5 {
-                                         li:conn { J11-2; U6-7;                                         }
-                                         }
-                                         ha:unnamed_net6 {
-                                         li:conn { J11-3; U6-6;                                         }
-                                         }
-                                        ha:gpio26 {
-                                        li:conn { J2-37; J6-18;                                        }
-                                        }
-                                         ha:unnamed_net8 {
-                                         li:conn { J10-2; U6-14;                                         }
-                                         }
-                                         ha:unnamed_net9 {
-                                         li:conn { J10-3; U6-15;                                         }
-                                         }
-                                         ha:led_health_g {
-                                         li:conn { D1-1; J2-13;                                         }
-                                         }
-                                        ha:unnamed_net1 {
-                                        li:conn { D2-1; R2-2;                                        }
-                                        }
+                                           ha:unnamed_net4 {
+                                           li:conn { J12-1; U6-9;                                           }
+                                           }
+                                           ha:unnamed_net5 {
+                                           li:conn { J11-2; U6-7;                                           }
+                                           }
+                                           ha:unnamed_net6 {
+                                           li:conn { J11-3; U6-6;                                           }
+                                           }
+                                          ha:gpio26 {
+                                          li:conn { J2-37; J6-18;                                          }
+                                          }
+                                           ha:unnamed_net8 {
+                                           li:conn { J10-2; U6-14;                                           }
+                                           }
+                                           ha:unnamed_net9 {
+                                           li:conn { J10-3; U6-15;                                           }
+                                           }
+                                           ha:led_health_g {
+                                           li:conn { D1-1; J2-13;                                           }
+                                           }
+                                          ha:unnamed_net1 {
+                                          li:conn { D2-1; R2-2;                                          }
+                                          }
                                   ha:unnamed_net7 {
                                   li:conn { J10-1; U6-13;                                  }
                                   }
@@ -142,141 +142,138 @@ ha:pcb-rnd-board-v8 {
      ha:+3.3V {
      li:conn { C8-2; C107-2; J6-17; U3-5; U7-34; U13-8;     }
      }
-                                         ha:sense_armed {
-                                         li:conn { R12-1; R15-2; U13-3;                                         }
-                                         }
-                                         ha:fet_1 {
-                                         li:conn { J26-1; Q2-7; Q2-8; R14-1;                                         }
-                                         }
-                                        ha:sclk {
-                                        li:conn { J2-23; J6-6; U7-37;                                        }
-                                        }
-                                         ha:unnamed_net15 {
-                                         li:conn { C111-2; U7-5;                                         }
-                                         }
-                                         ha:unnamed_net14 {
-                                         li:conn { C102-1; C110-1; U7-7;                                         }
-                                         }
-                                        ha:unnamed_net12 {
-                                        li:conn { J12-4; U6-8;                                        }
-                                        }
-                                         ha:unnamed_net19 {
-                                         li:conn { Q2-4; R7-2;                                         }
-                                         }
-                                         ha:unnamed_net17 {
-                                         li:conn { Q2-2; R8-2; U13-7;                                         }
-                                         }
-                                         ha:unnamed_net20 {
-                                         li:conn { C5-2; L1-1; U4-2;                                         }
-                                         }
-                                        ha:unnamed_net21 {
-                                        li:conn { R41-1; R42-2; U4-4;                                        }
-                                        }
-                                          ha:unnamed_net33 {
-                                          li:conn { C2-2; U2-3; U2-10; U2-11;                                          }
-                                          }
-                                          ha:unnamed_net34 {
-                                          li:conn { R31-1; U2-9;                                          }
-                                          }
-                                          ha:unnamed_net35 {
-                                          li:conn { R32-1; U2-8;                                          }
-                                          }
-                                          ha:unnamed_net36 {
-                                          li:conn { J7-A7; J7-B7; R31-2;                                          }
-                                          }
-                                          ha:unnamed_net37 {
-                                          li:conn { J7-A6; J7-B6; R32-2;                                          }
-                                          }
-                                          ha:unnamed_net43 {
-                                          li:conn { J4-2; J5-2;                                          }
-                                          }
-                                          ha:unnamed_net44 {
-                                          li:conn { J4-3; J5-3;                                          }
-                                          }
-                                          ha:unnamed_net42 {
-                                          li:conn { J4-1; J5-1;                                          }
-                                          }
-                                          ha:unnamed_net45 {
-                                          li:conn { J4-4; J5-4;                                          }
-                                          }
-                                          ha:unnamed_net41 {
-                                          li:conn { B1-4; B1-5;                                          }
-                                          }
-                                          ha:unnamed_net48 {
-                                          li:conn { J4-7; J5-7;                                          }
-                                          }
-                                          ha:unnamed_net46 {
-                                          li:conn { J4-5; J5-5;                                          }
-                                          }
-                                          ha:rpi_3.3v {
-                                          li:conn { J2-1; J2-17;                                          }
-                                          }
-                                          ha:unnamed_net55 {
-                                          li:conn { R24-2; U1-4;                                          }
+                                           ha:sense_armed {
+                                           li:conn { R12-1; R15-2; U13-3;                                           }
+                                           }
+                                           ha:fet_1 {
+                                           li:conn { J26-1; Q2-7; Q2-8; R14-1;                                           }
+                                           }
+                                          ha:sclk {
+                                          li:conn { J2-23; J6-6; U7-37;                                          }
                                           }
-                                          ha:unnamed_net57 {
-                                          li:conn { R46-2; U1-7;                                          }
+                                           ha:unnamed_net15 {
+                                           li:conn { C111-2; U7-5;                                           }
+                                           }
+                                           ha:unnamed_net14 {
+                                           li:conn { C102-1; C110-1; U7-7;                                           }
+                                           }
+                                          ha:unnamed_net12 {
+                                          li:conn { J12-4; U6-8;                                          }
                                           }
-                                         ha:unnamed_net22 {
-                                         li:conn { C5-1; U4-6;                                         }
-                                         }
-                                           ha:unnamed_net58 {
-                                           li:conn { R27-2; U1-8;                                           }
+                                           ha:unnamed_net19 {
+                                           li:conn { Q2-4; R7-2;                                           }
+                                           }
+                                           ha:unnamed_net17 {
+                                           li:conn { Q2-2; R8-2; U13-7;                                           }
                                            }
-                                           ha:unnamed_net64 {
-                                           li:conn { C11-1; U1-14;                                           }
+                                           ha:unnamed_net20 {
+                                           li:conn { C5-2; L1-1; U4-2;                                           }
                                            }
-                                          ha:unnamed_net60 {
-                                          li:conn { R30-2; U1-11;                                          }
+                                          ha:unnamed_net21 {
+                                          li:conn { R41-1; R42-2; U4-4;                                          }
                                           }
-                                           ha:unnamed_net72 {
-                                           li:conn { D6-3; S1-3;                                           }
+                                           ha:unnamed_net33 {
+                                           li:conn { C2-2; U2-3; U2-10; U2-11;                                           }
                                            }
-                                           ha:unnamed_net68 {
-                                           li:conn { J7-B5; R44-2;                                           }
+                                           ha:unnamed_net34 {
+                                           li:conn { R31-1; U2-9;                                           }
                                            }
-                                           ha:unnamed_net69 {
-                                           li:conn { D5-2; R35-2;                                           }
+                                           ha:unnamed_net35 {
+                                           li:conn { R32-1; U2-8;                                           }
                                            }
-                                           ha:unnamed_net50 {
-                                           li:conn { J4-9; J5-9;                                           }
+                                           ha:unnamed_net36 {
+                                           li:conn { J7-A7; J7-B7; R31-2;                                           }
                                            }
-                                           ha:unnamed_net70 {
-                                           li:conn { D5-1; R10-2; R11-1;                                           }
+                                           ha:unnamed_net37 {
+                                           li:conn { J7-A6; J7-B6; R32-2;                                           }
                                            }
-                                           ha:unnamed_net62 {
-                                           li:conn { C11-2; L2-1; U1-15; U1-16; U1-17;                                           }
+                                           ha:unnamed_net43 {
+                                           li:conn { J4-2; J5-2;                                           }
                                            }
-                                           ha:unnamed_net63 {
-                                           li:conn { C9-1; C10-1; U1-19; U1-20;                                           }
+                                           ha:unnamed_net44 {
+                                           li:conn { J4-3; J5-3;                                           }
                                            }
-                                           ha:unnamed_net49 {
-                                           li:conn { J4-8; J5-8;                                           }
+                                           ha:unnamed_net42 {
+                                           li:conn { J4-1; J5-1;                                           }
                                            }
-                                           ha:unnamed_net66 {
-                                           li:conn { J7-A5; R43-2;                                           }
+                                           ha:unnamed_net45 {
+                                           li:conn { J4-4; J5-4;                                           }
                                            }
-                                          ha:unnamed_net40 {
-                                          li:conn { B1-2; B1-3;                                          }
-                                          }
-                                           ha:unnamed_net53 {
-                                           li:conn { R28-2; U1-9;                                           }
+                                           ha:unnamed_net41 {
+                                           li:conn { B1-4; B1-5;                                           }
                                            }
-                                           ha:unnamed_net54 {
-                                           li:conn { R16-2; U1-3;                                           }
+                                           ha:unnamed_net48 {
+                                           li:conn { J4-7; J5-7;                                           }
                                            }
-                                           ha:unnamed_net71 {
-                                           li:conn { C4-1; D6-1; Q1-3; Q4-5; Q4-6; R4-2;                                           }
+                                           ha:unnamed_net46 {
+                                           li:conn { J4-5; J5-5;                                           }
                                            }
-                                           ha:unnamed_net47 {
-                                           li:conn { J4-6; J5-6;                                           }
+                                           ha:rpi_3.3v {
+                                           li:conn { J2-1; J2-17;                                           }
                                            }
-                                           ha:fet_a {
-                                           li:conn { J1-2; Q2-5; Q2-6;                                           }
+                                           ha:unnamed_net55 {
+                                           li:conn { R24-2; U1-4;                                           }
                                            }
-                                          ha:unnamed_net59 {
-                                          li:conn { R29-2; U1-10;                                          }
+                                           ha:unnamed_net57 {
+                                           li:conn { R46-2; U1-7;                                           }
+                                           }
+                                          ha:unnamed_net22 {
+                                          li:conn { C5-1; U4-6;                                          }
                                           }
+                                            ha:unnamed_net58 {
+                                            li:conn { R27-2; U1-8;                                            }
+                                            }
+                                            ha:unnamed_net64 {
+                                            li:conn { C11-1; U1-14;                                            }
+                                            }
+                                           ha:unnamed_net60 {
+                                           li:conn { R30-2; U1-11;                                           }
+                                           }
+                                            ha:unnamed_net66 {
+                                            li:conn { J7-A5; R43-2;                                            }
+                                            }
+                                            ha:unnamed_net68 {
+                                            li:conn { J7-B5; R44-2;                                            }
+                                            }
+                                            ha:unnamed_net69 {
+                                            li:conn { D5-2; R35-2;                                            }
+                                            }
+                                            ha:unnamed_net50 {
+                                            li:conn { J4-9; J5-9;                                            }
+                                            }
+                                            ha:unnamed_net70 {
+                                            li:conn { C4-1; D6-1; Q1-3; Q4-5; Q4-6; R4-2;                                            }
+                                            }
+                                            ha:unnamed_net62 {
+                                            li:conn { C11-2; L2-1; U1-15; U1-16; U1-17;                                            }
+                                            }
+                                            ha:unnamed_net63 {
+                                            li:conn { C9-1; C10-1; U1-19; U1-20;                                            }
+                                            }
+                                            ha:unnamed_net49 {
+                                            li:conn { J4-8; J5-8;                                            }
+                                            }
+                                            ha:unnamed_net71 {
+                                            li:conn { D6-3; S1-3;                                            }
+                                            }
+                                           ha:unnamed_net40 {
+                                           li:conn { B1-2; B1-3;                                           }
+                                           }
+                                            ha:unnamed_net53 {
+                                            li:conn { R28-2; U1-9;                                            }
+                                            }
+                                            ha:unnamed_net54 {
+                                            li:conn { R16-2; U1-3;                                            }
+                                            }
+                                            ha:unnamed_net47 {
+                                            li:conn { J4-6; J5-6;                                            }
+                                            }
+                                            ha:fet_a {
+                                            li:conn { J1-2; Q2-5; Q2-6;                                            }
+                                            }
+                                           ha:unnamed_net59 {
+                                           li:conn { R29-2; U1-10;                                           }
+                                           }
             ha:led_armed {
             li:conn { J2-12; R3-1;            }
             }
@@ -4749,7 +4746,7 @@ ha:pcb-rnd-board-v8 {
    text_scale = 100
    clearance = 10.0mil
   }
-  {ha:oh wow}                                                                                                                                                                                                                                                                                              {
+  {ha:oh wow}                                                                                                                                                                                                                                                                                                {
    via_proto = 3
    thickness = 100.0mil
    text_thick = 0.0
@@ -4783,9 +4780,9 @@ ha:pcb-rnd-board-v8 {
     buffer_number = 0
     all_direction_lines = false
     ha:view {
-     flip_y = 0
+     flip_y = 1
     }
-    show_solder_side = 0
+    show_solder_side = 1
     fullscreen = 0
      grid_unit = mil
    }
@@ -5693,24 +5690,6 @@ ha:pcb-rnd-board-v8 {
       }
     }
    }
-   ha:padstack_ref.1601823 {
-    proto=4; x=1.272in; y=2.423in; rot=0.000000; xmirror=0; smirror=0; clearance=6.0mil;
-    ha:flags {
-     clearline=1
-    }
-
-    li:thermal {
-    }
-   }
-   ha:padstack_ref.1601824 {
-    proto=4; x=1.272in; y=2.261in; rot=0.000000; xmirror=0; smirror=0; clearance=6.0mil;
-    ha:flags {
-     clearline=1
-    }
-
-    li:thermal {
-    }
-   }
    ha:padstack_ref.1608993 {
     proto=4; x=112.395mm; y=1.556in; rot=0.000000; xmirror=0; smirror=0; clearance=6.0mil;
     ha:flags {
@@ -9441,14 +9420,16 @@ ha:pcb-rnd-board-v8 {
 
          li:thermal {
            li:2 {
+            on  
             diag  
             round  
-            noshape  
+             noshape  
            }
            li:3 {
+            on  
             diag  
             round  
-            noshape  
+             noshape  
            }
          }
 
@@ -19615,7 +19596,7 @@ ha:pcb-rnd-board-v8 {
        }
        li:layers {
 
-        {ha:Top Solder Mask Layer}                                              {
+        {ha:Top Solder Mask Layer}                                                    {
          lid=0
          ha:combining { auto=1;         }
 
@@ -19627,7 +19608,7 @@ ha:pcb-rnd-board-v8 {
           }
         }
 
-        {ha:Top Paste Mask Layer}                                              {
+        {ha:Top Paste Mask Layer}                                                    {
          lid=1
          ha:combining { sub=1; auto=1;         }
 
@@ -19889,7 +19870,7 @@ ha:pcb-rnd-board-v8 {
           }
         }
 
-        {ha:Top Silkscreen Layer}                               {
+        {ha:Top Silkscreen Layer}                                   {
          lid=2
          ha:combining { auto=1;         }
 
@@ -19955,7 +19936,7 @@ ha:pcb-rnd-board-v8 {
           }
         }
 
-        {ha:Top Layer}                {
+        {ha:Top Layer}                  {
          lid=3
          ha:combining {         }
 
@@ -19967,7 +19948,7 @@ ha:pcb-rnd-board-v8 {
           }
         }
 
-        {ha:Bottom Layer}                {
+        {ha:Bottom Layer}                  {
          lid=4
          ha:combining {         }
 
@@ -19979,7 +19960,7 @@ ha:pcb-rnd-board-v8 {
           }
         }
 
-        {ha:Bottom Paste Mask Layer}                                              {
+        {ha:Bottom Paste Mask Layer}                                                    {
          lid=5
          ha:combining { sub=1; auto=1;         }
 
@@ -19991,7 +19972,7 @@ ha:pcb-rnd-board-v8 {
           }
         }
 
-        {ha:Bottom Solder Mask Layer}                                              {
+        {ha:Bottom Solder Mask Layer}                                                    {
          lid=6
          ha:combining { auto=1;         }
 
@@ -20003,7 +19984,7 @@ ha:pcb-rnd-board-v8 {
           }
         }
 
-        {ha:Bottom Silkscreen Layer}                               {
+        {ha:Bottom Silkscreen Layer}                                   {
          lid=7
          ha:combining { auto=1;         }
 
@@ -20015,7 +19996,7 @@ ha:pcb-rnd-board-v8 {
           }
         }
 
-        {ha:Top Assembly Layer}                               {
+        {ha:Top Assembly Layer}                                   {
          lid=8
          ha:combining {         }
 
@@ -20027,7 +20008,7 @@ ha:pcb-rnd-board-v8 {
           }
         }
 
-        {ha:Bottom Assembly Layer}                               {
+        {ha:Bottom Assembly Layer}                                   {
          lid=9
          ha:combining {         }
 
@@ -20039,7 +20020,7 @@ ha:pcb-rnd-board-v8 {
           }
         }
 
-        {ha:Board Outline Layer}                               {
+        {ha:Board Outline Layer}                                   {
          lid=10
          ha:combining {         }
 
@@ -20074,7 +20055,7 @@ ha:pcb-rnd-board-v8 {
           purpose = uroute
         }
 
-        {ha:Document Layer}                {
+        {ha:Document Layer}                  {
          lid=13
          ha:combining {         }
 
@@ -20091,7 +20072,7 @@ ha:pcb-rnd-board-v8 {
           }
         }
 
-        {ha:Component Marking Layer}                               {
+        {ha:Component Marking Layer}                                   {
          lid=14
          ha:combining {         }
 
@@ -20117,7 +20098,7 @@ ha:pcb-rnd-board-v8 {
           }
         }
 
-        {ha:Component Shape Layer}                               {
+        {ha:Component Shape Layer}                                   {
          lid=15
          ha:combining {         }
 
@@ -20152,7 +20133,7 @@ ha:pcb-rnd-board-v8 {
           }
         }
 
-        {ha:Pin Soldering Layer}                               {
+        {ha:Pin Soldering Layer}                                   {
          lid=16
          ha:combining {         }
 
@@ -27065,320 +27046,6 @@ ha:pcb-rnd-board-v8 {
      }
       uid = DriUjKwLCilogBNGb58AAABJ
      }
-      ha:subc.1598243 {
-       ha:attributes {
-        refdes=R10
-        value=1k
-        device=RESISTOR
-        footprint=0402
-        openscad=0402
-       }
-      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 {
-              9.84mil  
-              -13.77mil  
-              -9.84mil  
-              -13.77mil  
-              -9.84mil  
-              13.77mil  
-              9.84mil  
-              13.77mil  
-             }
-           }
-
-           ha:ps_shape_v4 {
-            ha:combining { sub=1; auto=1;            }
-            ha:layer_mask {
-             top = 1
-             mask = 1
-            }
-            clearance=0.0
-             li:ps_poly {
-              12.84mil  
-              -16.77mil  
-              -12.84mil  
-              -16.77mil  
-              -12.84mil  
-              16.77mil  
-              12.84mil  
-              16.77mil  
-             }
-           }
-
-           ha:ps_shape_v4 {
-            ha:combining { auto=1;            }
-            ha:layer_mask {
-             top = 1
-             paste = 1
-            }
-            clearance=0.0
-             li:ps_poly {
-              9.84mil  
-              -13.77mil  
-              -9.84mil  
-              -13.77mil  
-              -9.84mil  
-              13.77mil  
-              9.84mil  
-              13.77mil  
-             }
-           }
-         }
-       }
-      }
-
-       li:objects {
-        ha:padstack_ref.1598257 {
-         proto=0; x=1.274in; y=2.84674in; rot=90.000000; xmirror=0; smirror=0; clearance=10.0mil;
-         ha:flags {
-          clearline=1
-         }
-
-         li:thermal {
-         }
-
-         ha:attributes {
-           term=1
-           name=1
-         }
-        }
-        ha:padstack_ref.1598258 {
-         proto=0; x=1.274in; y=2.81526in; rot=90.000000; xmirror=0; smirror=0; clearance=10.0mil;
-         ha:flags {
-          clearline=1
-         }
-
-         li:thermal {
-         }
-
-         ha:attributes {
-           term=2
-           name=2
-         }
-        }
-       }
-       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.1598245 {
-            x1=1.274in; y1=2.831in; x2=1.274in; y2=2.831in; thickness=0.1mm; clearance=0.0;
-            ha:attributes {
-              subc-role=pnp-origin
-            }
-           }
-           ha:line.1598248 {
-            x1=1.274in; y1=2.831in; x2=1.274in; y2=2.831in; thickness=0.1mm; clearance=0.0;
-            ha:attributes {
-              subc-role=origin
-            }
-           }
-           ha:line.1598251 {
-            x1=1.274in; y1=2.831in; x2=1.274in; y2=70.9074mm; thickness=0.1mm; clearance=0.0;
-            ha:attributes {
-              subc-role=x
-            }
-           }
-           ha:line.1598254 {
-            x1=1.274in; y1=2.831in; x2=33.3596mm; y2=2.831in; thickness=0.1mm; clearance=0.0;
-            ha:attributes {
-              subc-role=y
-            }
-           }
-          }
-          ha:type {
-           top = 1
-           misc = 1
-           virtual = 1
-          }
-        }
-       }
-      }
-       uid = JRfiYLP3Xw7cu6s55g8AAABh
-      }
-      ha:subc.1598276 {
-       ha:attributes {
-        refdes=R11
-        value=1k
-        device=RESISTOR
-        footprint=0402
-        openscad=0402
-       }
-      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 {
-              9.84mil  
-              -13.77mil  
-              -9.84mil  
-              -13.77mil  
-              -9.84mil  
-              13.77mil  
-              9.84mil  
-              13.77mil  
-             }
-           }
-
-           ha:ps_shape_v4 {
-            ha:combining { sub=1; auto=1;            }
-            ha:layer_mask {
-             top = 1
-             mask = 1
-            }
-            clearance=0.0
-             li:ps_poly {
-              12.84mil  
-              -16.77mil  
-              -12.84mil  
-              -16.77mil  
-              -12.84mil  
-              16.77mil  
-              12.84mil  
-              16.77mil  
-             }
-           }
-
-           ha:ps_shape_v4 {
-            ha:combining { auto=1;            }
-            ha:layer_mask {
-             top = 1
-             paste = 1
-            }
-            clearance=0.0
-             li:ps_poly {
-              9.84mil  
-              -13.77mil  
-              -9.84mil  
-              -13.77mil  
-              -9.84mil  
-              13.77mil  
-              9.84mil  
-              13.77mil  
-             }
-           }
-         }
-       }
-      }
-
-       li:objects {
-        ha:padstack_ref.1598290 {
-         proto=0; x=1.319in; y=2.81526in; rot=270.000000; xmirror=0; smirror=0; clearance=10.0mil;
-         ha:flags {
-          clearline=1
-         }
-
-         li:thermal {
-         }
-
-         ha:attributes {
-           term=1
-           name=1
-         }
-        }
-        ha:padstack_ref.1598291 {
-         proto=0; x=1.319in; y=2.84674in; rot=270.000000; xmirror=0; smirror=0; clearance=10.0mil;
-         li:thermal {
-         }
-
-         ha:attributes {
-           term=2
-           name=2
-         }
-        }
-       }
-       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.1598278 {
-            x1=1.319in; y1=2.831in; x2=1.319in; y2=2.831in; thickness=0.1mm; clearance=0.0;
-            ha:attributes {
-              subc-role=pnp-origin
-            }
-           }
-           ha:line.1598281 {
-            x1=1.319in; y1=2.831in; x2=1.319in; y2=2.831in; thickness=0.1mm; clearance=0.0;
-            ha:attributes {
-              subc-role=origin
-            }
-           }
-           ha:line.1598284 {
-            x1=1.319in; y1=2.831in; x2=1.319in; y2=72.9074mm; thickness=0.1mm; clearance=0.0;
-            ha:attributes {
-              subc-role=x
-            }
-           }
-           ha:line.1598287 {
-            x1=1.319in; y1=2.831in; x2=32.5026mm; y2=2.831in; thickness=0.1mm; clearance=0.0;
-            ha:attributes {
-              subc-role=y
-            }
-           }
-          }
-          ha:type {
-           top = 1
-           misc = 1
-           virtual = 1
-          }
-        }
-       }
-      }
-       uid = JRfiYLP3Xw7cu6s55g8AAABj
-      }
        ha:subc.1608206 {
         ha:attributes {
          footprint=USB-C
@@ -27924,7 +27591,7 @@ ha:pcb-rnd-board-v8 {
         }
         li:layers {
 
-         {ha:Top Solder Mask Layer}                         {
+         {ha:Top Solder Mask Layer}                               {
           lid=0
           ha:combining { auto=1;          }
 
@@ -27936,7 +27603,7 @@ ha:pcb-rnd-board-v8 {
            }
          }
 
-         {ha:Top Paste Mask Layer}                         {
+         {ha:Top Paste Mask Layer}                               {
           lid=1
           ha:combining { sub=1; auto=1;          }
 
@@ -28604,7 +28271,7 @@ ha:pcb-rnd-board-v8 {
            }
          }
 
-         {ha:Top Silkscreen Layer}                 {
+         {ha:Top Silkscreen Layer}                     {
           lid=2
           ha:combining { auto=1;          }
 
@@ -28646,7 +28313,7 @@ ha:pcb-rnd-board-v8 {
            }
          }
 
-         {ha:Top Layer}         {
+         {ha:Top Layer}           {
           lid=3
           ha:combining {          }
 
@@ -28658,7 +28325,7 @@ ha:pcb-rnd-board-v8 {
            }
          }
 
-         {ha:Bottom Layer}         {
+         {ha:Bottom Layer}           {
           lid=4
           ha:combining {          }
 
@@ -28670,7 +28337,7 @@ ha:pcb-rnd-board-v8 {
            }
          }
 
-         {ha:Bottom Paste Mask Layer}                         {
+         {ha:Bottom Paste Mask Layer}                               {
           lid=5
           ha:combining { sub=1; auto=1;          }
 
@@ -28682,7 +28349,7 @@ ha:pcb-rnd-board-v8 {
            }
          }
 
-         {ha:Bottom Solder Mask Layer}                         {
+         {ha:Bottom Solder Mask Layer}                               {
           lid=6
           ha:combining { auto=1;          }
 
@@ -28694,7 +28361,7 @@ ha:pcb-rnd-board-v8 {
            }
          }
 
-         {ha:Bottom Silkscreen Layer}                 {
+         {ha:Bottom Silkscreen Layer}                     {
           lid=7
           ha:combining { auto=1;          }
 
@@ -28706,7 +28373,7 @@ ha:pcb-rnd-board-v8 {
            }
          }
 
-         {ha:Top Assembly Layer}                 {
+         {ha:Top Assembly Layer}                     {
           lid=8
           ha:combining {          }
 
@@ -28718,7 +28385,7 @@ ha:pcb-rnd-board-v8 {
            }
          }
 
-         {ha:Bottom Assembly Layer}                 {
+         {ha:Bottom Assembly Layer}                     {
           lid=9
           ha:combining {          }
 
@@ -28730,7 +28397,7 @@ ha:pcb-rnd-board-v8 {
            }
          }
 
-         {ha:Board Outline Layer}                 {
+         {ha:Board Outline Layer}                     {
           lid=10
           ha:combining {          }
 
@@ -28741,7 +28408,7 @@ ha:pcb-rnd-board-v8 {
            }
          }
 
-         {ha:Document Layer}         {
+         {ha:Document Layer}           {
           lid=11
           ha:combining {          }
 
@@ -28764,7 +28431,7 @@ ha:pcb-rnd-board-v8 {
            }
          }
 
-         {ha:Document Layer}         {
+         {ha:Document Layer}           {
           lid=12
           ha:combining {          }
 
@@ -28775,7 +28442,7 @@ ha:pcb-rnd-board-v8 {
            }
          }
 
-         {ha:Component Marking Layer}                 {
+         {ha:Component Marking Layer}                     {
           lid=13
           ha:combining {          }
 
@@ -28801,7 +28468,7 @@ ha:pcb-rnd-board-v8 {
            }
          }
 
-         {ha:Component Marking Layer}                 {
+         {ha:Component Marking Layer}                     {
           lid=14
           ha:combining {          }
 
@@ -28812,7 +28479,7 @@ ha:pcb-rnd-board-v8 {
            }
          }
 
-         {ha:Component Shape Layer}                 {
+         {ha:Component Shape Layer}                     {
           lid=15
           ha:combining {          }
 
@@ -28847,7 +28514,7 @@ ha:pcb-rnd-board-v8 {
            }
          }
 
-         {ha:Component Shape Layer}                 {
+         {ha:Component Shape Layer}                     {
           lid=16
           ha:combining {          }
 
@@ -28858,7 +28525,7 @@ ha:pcb-rnd-board-v8 {
            }
          }
 
-         {ha:Pin Soldering Layer}                 {
+         {ha:Pin Soldering Layer}                     {
           lid=17
           ha:combining {          }
 
@@ -29029,7 +28696,7 @@ ha:pcb-rnd-board-v8 {
            }
          }
 
-         {ha:Pin Soldering Layer}                 {
+         {ha:Pin Soldering Layer}                     {
           lid=18
           ha:combining {          }
 
@@ -32321,54 +31988,6 @@ ha:pcb-rnd-board-v8 {
        clearline=1
       }
      }
-     ha:line.1601802 {
-      x1=1.274in; y1=2.81526in; x2=1.319in; y2=2.81526in; thickness=10.0mil; clearance=12.0mil;
-      ha:flags {
-       clearline=1
-      }
-     }
-     ha:line.1601805 {
-      x1=1.274in; y1=2.84674in; x2=32.358737mm; y2=76.149936mm; thickness=10.0mil; clearance=12.0mil;
-      ha:flags {
-       clearline=1
-      }
-     }
-     ha:line.1601811 {
-      x1=202.0mil; y1=947.0mil; x2=299.0mil; y2=1.026in; thickness=10.0mil; clearance=12.0mil;
-      ha:flags {
-       clearline=1
-      }
-     }
-     ha:line.1601814 {
-      x1=299.0mil; y1=1.026in; x2=760.0mil; y2=1.026in; thickness=10.0mil; clearance=12.0mil;
-      ha:flags {
-       clearline=1
-      }
-     }
-     ha:line.1601834 {
-      x1=1.272in; y1=2.261in; x2=1.272in; y2=1.538in; thickness=10.0mil; clearance=12.0mil;
-      ha:flags {
-       clearline=1
-      }
-     }
-     ha:line.1601837 {
-      x1=760.0mil; y1=1.026in; x2=1.272in; y2=1.538in; thickness=10.0mil; clearance=12.0mil;
-      ha:flags {
-       clearline=1
-      }
-     }
-     ha:line.1601843 {
-      x1=1.319in; y1=2.81526in; x2=1.319in; y2=2.47in; thickness=10.0mil; clearance=12.0mil;
-      ha:flags {
-       clearline=1
-      }
-     }
-     ha:line.1601846 {
-      x1=1.319in; y1=2.47in; x2=1.272in; y2=2.423in; thickness=10.0mil; clearance=12.0mil;
-      ha:flags {
-       clearline=1
-      }
-     }
      ha:line.1605462 {
       x1=120.0mm; y1=100.0mm; x2=0.0; y2=100.0mm; thickness=10.0mil; clearance=12.0mil;
       ha:flags {
@@ -33397,12 +33016,6 @@ ha:pcb-rnd-board-v8 {
        clearline=1
       }
      }
-     ha:line.1601825 {
-      x1=1.272in; y1=2.261in; x2=1.272in; y2=2.423in; thickness=10.0mil; clearance=12.0mil;
-      ha:flags {
-       clearline=1
-      }
-     }
      ha:line.1605471 {
       x1=120.0mm; y1=100.0mm; x2=0.0; y2=100.0mm; thickness=10.0mil; clearance=12.0mil;
       ha:flags {
@@ -34888,15 +34501,15 @@ ha:pcb-rnd-board-v8 {
     }
     lid = 7
     li:objects {
-     ha:polygon.1417260 {
+     ha:polygon.1623155 {
       li:geometry {
         ta:contour {
-         { 3.57561in; 2.608in }
-         { 3.70766in; 65.19998mm }
-         { 3.7216in; 65.49488mm }
-         { 92.95511mm; 2.608in }
-         { 3.7216in; 66.99148mm }
-         { 3.70766in; 67.28638mm }
+         { 3.61161in; 2.632in }
+         { 3.74366in; 65.80958mm }
+         { 3.7576in; 66.10448mm }
+         { 93.86951mm; 2.632in }
+         { 3.7576in; 67.60108mm }
+         { 3.74366in; 67.89598mm }
         }
       }
 
@@ -34904,23 +34517,23 @@ ha:pcb-rnd-board-v8 {
        clearpoly=1
       }
      }
-     ha:polygon.1417267 {
+     ha:polygon.1623162 {
       li:geometry {
         ta:contour {
-         { 3.784in; 2.608in }
-         { 3.72318in; 65.08448mm }
-         { 3.96857in; 2.4861in }
-         { 102.0445mm; 61.81138mm }
-         { 102.0445mm; 2.5289in }
-         { 3.96943in; 65.49368mm }
-         { 3.78003in; 65.49368mm }
-         { 3.79962in; 2.608in }
-         { 3.78003in; 66.99298mm }
-         { 3.96943in; 66.99298mm }
-         { 102.0445mm; 68.25108mm }
-         { 102.0445mm; 70.67498mm }
-         { 3.96857in; 69.33968mm }
-         { 3.72318in; 67.40218mm }
+         { 3.82in; 2.632in }
+         { 3.75918in; 65.69408mm }
+         { 4.00457in; 2.5101in }
+         { 102.9589mm; 62.42098mm }
+         { 102.9589mm; 2.5529in }
+         { 4.00543in; 66.10328mm }
+         { 3.81603in; 66.10328mm }
+         { 3.83562in; 2.632in }
+         { 3.81603in; 67.60258mm }
+         { 4.00543in; 67.60258mm }
+         { 102.9589mm; 68.86068mm }
+         { 102.9589mm; 71.28458mm }
+         { 4.00457in; 69.94928mm }
+         { 3.75918in; 68.01178mm }
         }
       }
 
@@ -34977,7 +34590,7 @@ ha:pcb-rnd-board-v8 {
       rot = 90.000000
      }
      ha:text.1387246 {
-      string=Load Cell; x=3.819in; y=641.0mil; scale=150; fid=0;
+      string=Load Cell; x=3.829in; y=761.0mil; scale=150; fid=0;
       ha:flags {
        clearline=1
        onsolder=1
@@ -34985,7 +34598,7 @@ ha:pcb-rnd-board-v8 {
       rot = 90.000000
      }
      ha:text.1387248 {
-      string=Pressure Sensor; x=3.802in; y=1.509in; scale=150; fid=0;
+      string=Pressure Sensor; x=3.811in; y=1.566in; scale=150; fid=0;
       ha:flags {
        clearline=1
        onsolder=1
index 2f8c680a4ae1b82996156cc23ba228f7d06176ac..2b4ea6acf7c762e34320a329b5a148d77bdd08c8 100644 (file)
@@ -202,7 +202,7 @@ refdes=R2
 T 75100 58700 5 10 1 1 0 0 1
 value=1k
 }
-C 73100 56800 1 0 1 gnd.sym
+C 73100 55500 1 0 1 gnd.sym
 C 75400 57200 1 0 1 resistor.sym
 {
 T 75100 57600 5 10 0 1 0 6 1
@@ -215,7 +215,7 @@ T 75100 57500 5 10 1 1 0 0 1
 value=1k
 }
 N 73600 57300 73000 57300 4
-N 73000 57100 73000 58500 4
+N 73000 55800 73000 58500 4
 N 73600 58500 73000 58500 4
 N 75400 59700 76900 59700 4
 {
@@ -1721,12 +1721,14 @@ value=TSM200N03D
 N 57500 71200 57700 71200 4
 N 57700 72400 56900 72400 4
 N 56900 72400 56900 72000 4
-T 77600 58200 9 10 1 0 0 0 5
+T 77600 57200 9 10 1 0 0 0 7
 Health - red during boot, green when ready
 
 Continuity - green, off if no igniter
 
 Armed - red when locally armed, off otherwise
+
+Charging - red when battery charging, off otherwise
 N 49100 58300 47300 58300 4
 {
 T 49100 58350 5 10 1 1 0 6 1
@@ -2132,38 +2134,34 @@ netname=gpio21
 T 42600 68900 9 10 1 0 0 6 2
 Holder for 3 flat-top
 18650 batteries
-C 75500 55400 1 0 1 resistor.sym
+C 75500 56000 1 0 1 resistor.sym
 {
-T 75200 55800 5 10 0 1 0 6 1
+T 75200 56400 5 10 0 1 0 6 1
 device=RESISTOR
-T 75500 55400 5 10 0 1 90 2 1
+T 75500 56000 5 10 0 1 90 2 1
 footprint=0402
-T 74900 55700 5 10 1 1 0 6 1
+T 74900 56300 5 10 1 1 0 6 1
 refdes=R35
-T 75100 55700 5 10 1 1 0 0 1
+T 75100 56300 5 10 1 1 0 0 1
 value=1k
 }
-C 73600 55100 1 0 0 led-bicolor.sym
+C 73600 55700 1 0 0 led-bicolor.sym
 {
-T 73700 55700 5 10 0 0 0 0 1
+T 73700 56300 5 10 0 0 0 0 1
 device=LED
-T 73600 55100 5 10 0 0 0 0 1
+T 73600 55700 5 10 0 0 0 0 1
 footprint=H178
-T 73450 55600 5 10 1 1 0 0 1
+T 73450 56200 5 10 1 1 0 0 1
 refdes=D5
-T 73500 54900 5 10 1 1 0 0 1
+T 73500 55500 5 10 1 1 0 0 1
 value=red+green
 }
-N 74200 55500 74600 55500 4
-N 75500 55500 76900 55500 4
+N 74200 56100 74600 56100 4
+N 75500 56100 76900 56100 4
 {
-T 76900 55600 5 10 1 1 0 6 1
+T 76900 56200 5 10 1 1 0 6 1
 netname=led_charging
 }
-N 73600 55500 72200 55500 4
-T 77600 55300 9 10 1 0 0 0 2
-Bias the charging LED to half the charger chip LED output 
-voltage for red while charging and green when full
 N 44100 61900 45900 61900 4
 {
 T 44100 61950 5 10 1 1 0 0 1
@@ -2305,36 +2303,8 @@ device=CONNECTOR
 T 77000 63300 5 10 0 1 0 0 1
 value=Header-2
 }
-C 72300 56400 1 90 1 resistor.sym
-{
-T 71900 56100 5 10 0 1 90 6 1
-device=RESISTOR
-T 72300 56400 5 10 0 1 180 2 1
-footprint=0402
-T 72000 56100 5 10 1 1 0 6 1
-refdes=R10
-T 72000 55700 5 10 1 1 0 6 1
-value=1k
-}
-C 72300 55500 1 90 1 resistor.sym
-{
-T 71900 55200 5 10 0 1 90 6 1
-device=RESISTOR
-T 72300 55500 5 10 0 1 180 2 1
-footprint=0402
-T 72000 55200 5 10 1 1 0 6 1
-refdes=R11
-T 72000 54800 5 10 1 1 0 6 1
-value=1k
-}
-C 72300 54300 1 0 1 gnd.sym
-N 71000 56700 72200 56700 4
-{
-T 71000 56750 5 10 1 1 0 0 1
-netname=v_chg_in
-}
-N 72200 56400 72200 56700 4
 N 48600 48700 49100 48700 4
 N 49100 48700 49100 53200 4
 N 49100 51200 48600 51200 4
 N 49100 53200 46600 53200 4
+N 73600 56100 73000 56100 4