add zener to protect ADC load cell input
authorBdale Garbee <bdale@gag.com>
Tue, 24 May 2022 20:07:09 +0000 (14:07 -0600)
committerBdale Garbee <bdale@gag.com>
Tue, 24 May 2022 20:07:09 +0000 (14:07 -0600)
Notebook
telestatic.lht
telestatic.sch

index 9253da80a486ff670758acfbb9d1af2e304d3718..e1a0392477544d90748aef5dbcece0e72b2a2fe1 100644 (file)
--- a/Notebook
+++ b/Notebook
   - merged bdale-ui, resolving conflict in altoslib/AltosCSV.java
   - merged ads131, resolving conflict in src/kernel/ao_data.h
 
   - merged bdale-ui, resolving conflict in altoslib/AltosCSV.java
   - merged ads131, resolving conflict in src/kernel/ao_data.h
 
+- improper gain setting or higher than expected mV/V on load cell can easily
+  drive INA125 output above the 5V allowed by ADC input.  adding a 5.1V, 500mW
+  zener between INA125 and ADC to clamp that and protect the ADC
+
index 63f08febe4398d6e04a3421af2107532210b023e..395730af65fd623911853b35465b7e933d82e81c 100644 (file)
@@ -164,6 +164,42 @@ ha:pcb-rnd-board-v6 {
         }
       }
     }
         }
       }
     }
+
+     ha:ps_proto_v6.3 {
+       hdia=11.81mil; hplated=1; htop=0; hbottom=0;
+       li:shape {
+
+         ha:ps_shape_v4 {
+          ha:ps_circ { x=0.0; y=0.0; dia=0.610108mm;          }
+          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=0.610108mm;          }
+          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=0.610108mm;          }
+          ha:combining {          }
+          ha:layer_mask {
+           copper = 1
+           intern = 1
+          }
+          clearance=0.0
+         }
+       }
+     }
   }
 
    li:objects {
   }
 
    li:objects {
@@ -1981,9 +2017,18 @@ ha:pcb-rnd-board-v6 {
         li:thermal {
         }
        }
         li:thermal {
         }
        }
+       ha:padstack_ref.689870 {
+        proto=0; x=2.619in; y=933.0mil; rot=0.000000; xmirror=0; smirror=0; clearance=10.0mil;
+        ha:flags {
+         clearline=1
+        }
+
+        li:thermal {
+        }
+       }
        ha:subc.401852 {
         ha:attributes {
        ha:subc.401852 {
         ha:attributes {
-         value=
+         value=male
          footprint=100mil20x2
          refdes=J1
         }
          footprint=100mil20x2
          refdes=J1
         }
@@ -18218,7 +18263,7 @@ ha:pcb-rnd-board-v6 {
        }
        ha:subc.381610 {
         ha:attributes {
        }
        ha:subc.381610 {
         ha:attributes {
-         value=
+         value=4screws
          footprint=282834-4
          refdes=J3
         }
          footprint=282834-4
          refdes=J3
         }
@@ -22273,7 +22318,7 @@ ha:pcb-rnd-board-v6 {
          footprint=SOIJ8
          {io_pcb::hidename_scale}=60
          refdes=U5
          footprint=SOIJ8
          {io_pcb::hidename_scale}=60
          refdes=U5
-         value=W25Q64
+         value=MX25L25673GM2I-08G
          {io_pcb::hidename_direction}=1
          {io_pcb::hidename_x}=41.1651 mm
         }
          {io_pcb::hidename_direction}=1
          {io_pcb::hidename_x}=41.1651 mm
         }
@@ -32005,6 +32050,187 @@ ha:pcb-rnd-board-v6 {
       }
        uid = fK+Gf4z79XIy2toKX3EAAAB/
       }
       }
        uid = fK+Gf4z79XIy2toKX3EAAAB/
       }
+       ha:subc.686231 {
+        ha:attributes {
+         refdes=Z1
+         value=5.1V
+         footprint=0805diode
+         openscad=0805
+        }
+       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.749808mm  
+               -0.649986mm  
+               -0.749808mm  
+               -0.649986mm  
+               0.749808mm  
+               0.649986mm  
+               0.749808mm  
+              }
+            }
+
+            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  
+               -32.52mil  
+               -0.726186mm  
+               -32.52mil  
+               -0.726186mm  
+               32.52mil  
+               0.726186mm  
+               32.52mil  
+              }
+            }
+
+            ha:ps_shape_v4 {
+             ha:combining { auto=1;             }
+             ha:layer_mask {
+              top = 1
+              paste = 1
+             }
+             clearance=0.0
+              li:ps_poly {
+               0.649986mm  
+               -0.749808mm  
+               -0.649986mm  
+               -0.749808mm  
+               -0.649986mm  
+               0.749808mm  
+               0.649986mm  
+               0.749808mm  
+              }
+            }
+          }
+        }
+       }
+
+        li:objects {
+         ha:padstack_ref.686260 {
+          proto=0; x=70.851522mm; y=933.0mil; rot=180.000000; xmirror=0; smirror=0; clearance=10.0mil;
+          ha:flags {
+           clearline=1
+          }
+
+          li:thermal {
+          }
+
+          ha:attributes {
+            term=1
+            name=1
+          }
+         }
+         ha:padstack_ref.686261 {
+          proto=0; x=2.71857in; y=933.0mil; rot=180.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:line.686232 {
+             x1=2.75793in; y1=24.39797mm; x2=2.75007in; y2=24.39797mm; thickness=8.0mil; clearance=0.0;
+            }
+            ha:line.686235 {
+             x1=2.75793in; y1=905.45mil; x2=2.75007in; y2=905.45mil; thickness=8.0mil; clearance=0.0;
+            }
+            ha:line.686238 {
+             x1=2.704in; y1=969.0mil; x2=2.686in; y2=969.0mil; thickness=5.0mil; clearance=0.0;
+            }
+            ha:line.686241 {
+             x1=2.704in; y1=897.0mil; x2=2.686in; y2=897.0mil; thickness=5.0mil; clearance=0.0;
+            }
+            ha:line.686244 {
+             x1=2.686in; y1=969.0mil; x2=2.686in; y2=897.0mil; thickness=5.0mil; clearance=0.0;
+            }
+            ha:text.686247 {
+             string=%a.parent.refdes%; x=70.7517mm; y=964.5mil; scale=100; fid=0;
+             ha:flags {
+              dyntext=1
+              floater=1
+             }
+             rot = 180.000000
+            }
+           }
+           ha:type {
+            silk = 1
+            top = 1
+           }
+         }
+
+         ha:subc-aux {
+          lid=1
+          ha:combining {          }
+
+           li:objects {
+            ha:line.686248 {
+             x1=2.754in; y1=933.0mil; x2=2.754in; y2=933.0mil; thickness=0.1mm; clearance=0.0;
+             ha:attributes {
+               subc-role=pnp-origin
+             }
+            }
+            ha:line.686251 {
+             x1=2.754in; y1=933.0mil; x2=2.754in; y2=933.0mil; thickness=0.1mm; clearance=0.0;
+             ha:attributes {
+               subc-role=origin
+             }
+            }
+            ha:line.686254 {
+             x1=2.754in; y1=933.0mil; x2=68.9516mm; y2=933.0mil; thickness=0.1mm; clearance=0.0;
+             ha:attributes {
+               subc-role=x
+             }
+            }
+            ha:line.686257 {
+             x1=2.754in; y1=933.0mil; x2=2.754in; y2=22.6982mm; thickness=0.1mm; clearance=0.0;
+             ha:attributes {
+               subc-role=y
+             }
+            }
+           }
+           ha:type {
+            top = 1
+            misc = 1
+            virtual = 1
+           }
+         }
+        }
+       }
+        uid = DcN0YaPHZtfc6pL88xQAAACF
+       }
    }
    li:layers {
 
    }
    li:layers {
 
@@ -34099,30 +34325,6 @@ ha:pcb-rnd-board-v6 {
          clearline=1
         }
        }
          clearline=1
         }
        }
-       ha:line.529461 {
-        x1=51.05403mm; y1=621.0mil; x2=2.084in; y2=621.0mil; thickness=10.0mil; clearance=20.0mil;
-        ha:flags {
-         clearline=1
-        }
-       }
-       ha:line.529464 {
-        x1=51.05403mm; y1=571.0mil; x2=52.3748mm; y2=571.0mil; thickness=10.0mil; clearance=20.0mil;
-        ha:flags {
-         clearline=1
-        }
-       }
-       ha:line.529467 {
-        x1=52.3748mm; y1=571.0mil; x2=2.084in; y2=593.0mil; thickness=10.0mil; clearance=20.0mil;
-        ha:flags {
-         clearline=1
-        }
-       }
-       ha:line.529470 {
-        x1=2.084in; y1=593.0mil; x2=2.084in; y2=621.0mil; thickness=10.0mil; clearance=20.0mil;
-        ha:flags {
-         clearline=1
-        }
-       }
        ha:line.529764 {
         x1=1.873in; y1=971.0mil; x2=1.924in; y2=920.0mil; thickness=10.0mil; clearance=20.0mil;
         ha:flags {
        ha:line.529764 {
         x1=1.873in; y1=971.0mil; x2=1.924in; y2=920.0mil; thickness=10.0mil; clearance=20.0mil;
         ha:flags {
@@ -37138,11 +37340,47 @@ ha:pcb-rnd-board-v6 {
          clearline=1
         }
        }
          clearline=1
         }
        }
+       ha:line.689871 {
+        x1=2.619in; y1=933.0mil; x2=2.71857in; y2=933.0mil; thickness=18.0mil; clearance=20.0mil;
+        ha:flags {
+         clearline=1
+        }
+       }
+       ha:line.689874 {
+        x1=70.851522mm; y1=933.0mil; x2=2.97in; y2=1.001in; thickness=18.0mil; clearance=20.0mil;
+        ha:flags {
+         clearline=1
+        }
+       }
+       ha:line.689892 {
+        x1=51.05403mm; y1=571.0mil; x2=52.1462mm; y2=571.0mil; thickness=18.0mil; clearance=20.0mil;
+        ha:flags {
+         clearline=1
+        }
+       }
+       ha:line.689895 {
+        x1=52.1462mm; y1=571.0mil; x2=2.084in; y2=602.0mil; thickness=18.0mil; clearance=20.0mil;
+        ha:flags {
+         clearline=1
+        }
+       }
+       ha:line.689898 {
+        x1=2.084in; y1=602.0mil; x2=2.084in; y2=621.0mil; thickness=18.0mil; clearance=20.0mil;
+        ha:flags {
+         clearline=1
+        }
+       }
+       ha:line.689901 {
+        x1=2.084in; y1=621.0mil; x2=51.05403mm; y2=621.0mil; thickness=18.0mil; clearance=20.0mil;
+        ha:flags {
+         clearline=1
+        }
+       }
       }
       color = {#8b2323}
     }
 
       }
       color = {#8b2323}
     }
 
-    {ha:GND plane}                                                                                                                                                                                                                                               {
+    {ha:GND plane}                                                                                                                                                                                                                                                  {
      lid=1
      group=5
      ha:combining {     }
      lid=1
      group=5
      ha:combining {     }
@@ -37167,7 +37405,7 @@ ha:pcb-rnd-board-v6 {
       color = {#16ae25}
     }
 
       color = {#16ae25}
     }
 
-    {ha:power plane}                                                                                                                                                                                                                                               {
+    {ha:power plane}                                                                                                                                                                                                                                                  {
      lid=2
      group=7
      ha:combining {     }
      lid=2
      group=7
      ha:combining {     }
@@ -37306,7 +37544,7 @@ ha:pcb-rnd-board-v6 {
         }
        }
        ha:line.596769 {
         }
        }
        ha:line.596769 {
-        x1=68.8594mm; y1=1.246in; x2=68.8594mm; y2=45.847mm; thickness=10.0mil; clearance=20.0mil;
+        x1=68.8594mm; y1=45.847mm; x2=68.8594mm; y2=1.024in; thickness=10.0mil; clearance=20.0mil;
         ha:flags {
          clearline=1
         }
         ha:flags {
          clearline=1
         }
@@ -37401,24 +37639,6 @@ ha:pcb-rnd-board-v6 {
          clearline=1
         }
        }
          clearline=1
         }
        }
-       ha:line.632877 {
-        x1=68.8594mm; y1=1.251in; x2=68.8594mm; y2=1.024in; thickness=10.0mil; clearance=20.0mil;
-        ha:flags {
-         clearline=1
-        }
-       }
-       ha:line.632880 {
-        x1=68.8594mm; y1=1.024in; x2=58.6232mm; y2=621.0mil; thickness=10.0mil; clearance=20.0mil;
-        ha:flags {
-         clearline=1
-        }
-       }
-       ha:line.632883 {
-        x1=58.6232mm; y1=621.0mil; x2=2.084in; y2=621.0mil; thickness=10.0mil; clearance=20.0mil;
-        ha:flags {
-         clearline=1
-        }
-       }
        ha:line.644442 {
         x1=2.056in; y1=62.2808mm; x2=2.104in; y2=63.5mm; thickness=10.0mil; clearance=20.0mil;
         ha:flags {
        ha:line.644442 {
         x1=2.056in; y1=62.2808mm; x2=2.104in; y2=63.5mm; thickness=10.0mil; clearance=20.0mil;
         ha:flags {
@@ -37971,6 +38191,24 @@ ha:pcb-rnd-board-v6 {
          clearline=1
         }
        }
          clearline=1
         }
        }
+       ha:line.689880 {
+        x1=68.8594mm; y1=1.024in; x2=2.62in; y2=933.0mil; thickness=10.0mil; clearance=20.0mil;
+        ha:flags {
+         clearline=1
+        }
+       }
+       ha:line.689883 {
+        x1=2.62in; y1=933.0mil; x2=66.4972mm; y2=933.0mil; thickness=10.0mil; clearance=20.0mil;
+        ha:flags {
+         clearline=1
+        }
+       }
+       ha:line.689889 {
+        x1=2.084in; y1=621.0mil; x2=2.619in; y2=933.0mil; thickness=18.0mil; clearance=20.0mil;
+        ha:flags {
+         clearline=1
+        }
+       }
        ha:polygon.247751 { clearance=20.0mil;
         li:geometry {
           ta:contour {
        ha:polygon.247751 { clearance=20.0mil;
         li:geometry {
           ta:contour {
@@ -39072,7 +39310,7 @@ ha:pcb-rnd-board-v6 {
       color = {#548b54}
     }
 
       color = {#548b54}
     }
 
-    {ha:bottom silk}                                                                                                                                                                                                                                               {
+    {ha:bottom silk}                                                                                                                                                                                                                                                  {
      lid=5
      group=12
      ha:combining { auto=1;     }
      lid=5
      group=12
      ha:combining { auto=1;     }
@@ -39146,7 +39384,7 @@ ha:pcb-rnd-board-v6 {
       color = {#000000}
     }
 
       color = {#000000}
     }
 
-    {ha:top silk}                                                                                                                                                                                                                                               {
+    {ha:top silk}                                                                                                                                                                                                                                                  {
      lid=6
      group=1
      ha:combining { auto=1;     }
      lid=6
      group=1
      ha:combining { auto=1;     }
@@ -41441,7 +41679,7 @@ ha:pcb-rnd-board-v6 {
       li:conn { J1-1; J1-2; J1-3; J1-4; J25-1; J26-1; R11-1; R12-2;      }
       }
       ha:GND {
       li:conn { J1-1; J1-2; J1-3; J1-4; J25-1; J26-1; R11-1; R12-2;      }
       }
       ha:GND {
-      li:conn { C1-1; C2-1; C3-1; C4-1; C5-1; C6-1; C7-2; C8-1; C9-2; C10-2; C11-2; C30-2; C31-2; C32-2; C33-2; C34-2; C35-2; C36-1; C37-1; C38-1; C39-2; C42-1; C43-1; C44-1; C45-1; C47-1; C171-1; C172-1; C175-1; C210-2; C211-2; C221-1; C251-2; C261-2; C271-2; C291-2; C601-2; C602-2; C610-1; D1-2; D2-2; D5-2; D6-2; D7-2; H1-1; H2-1; H3-1; H4-1; J1-37; J1-38; J1-39; J1-40; J2-1; J4-1; J5-5; J6-1; J8-2; J11-4; J11-5; J11-6; J13-3; J13-4; J20-1; L192-2; Q1-2; Q2-1; Q2-3; Q6-3; R1-1; R2-1; R13-1; R15-1; R20-1; R26-1; R30-1; R37-1; R39-1; R51-1; U1-2; U2-2; U3-32; U3-33; U4-10; U4-11; U4-13; U4-27; U4-31; U4-32; U5-4; U7-10; U7-19; U7-27; U7-37; U7-49; U7-74; U7-94; U7-99; U11-3; U13-4; U19-3; U19-5; U19-12; X1-2; X1-4; X2-2; X2-4; X3-2; X3-4;      }
+      li:conn { C1-1; C2-1; C3-1; C4-1; C5-1; C6-1; C7-2; C8-1; C9-2; C10-2; C11-2; C30-2; C31-2; C32-2; C33-2; C34-2; C35-2; C36-1; C37-1; C38-1; C39-2; C42-1; C43-1; C44-1; C45-1; C47-1; C171-1; C172-1; C175-1; C210-2; C211-2; C221-1; C251-2; C261-2; C271-2; C291-2; C601-2; C602-2; C610-1; D1-2; D2-2; D5-2; D6-2; D7-2; H1-1; H2-1; H3-1; H4-1; J1-37; J1-38; J1-39; J1-40; J2-1; J4-1; J5-5; J5-G; J6-1; J8-2; J11-4; J11-5; J11-6; J13-3; J13-4; J20-1; L192-2; Q1-2; Q2-1; Q2-3; Q6-3; R1-1; R2-1; R13-1; R15-1; R20-1; R26-1; R30-1; R37-1; R39-1; R51-1; U1-2; U2-2; U3-32; U3-33; U4-10; U4-11; U4-13; U4-27; U4-31; U4-32; U5-4; U7-10; U7-19; U7-27; U7-37; U7-49; U7-74; U7-94; U7-99; U11-3; U13-4; U19-3; U19-5; U19-12; X1-2; X1-4; X2-2; X2-4; X3-2; X3-4; Z1-1;      }
       }
       ha:v_ldo_in {
       li:conn { C1-2; C39-1; D3-2; Q3-3; R36-2; U1-1; U2-1; U19-1; U19-2;      }
       }
       ha:v_ldo_in {
       li:conn { C1-2; C39-1; D3-2; Q3-3; R36-2; U1-1; U2-1; U19-1; U19-2;      }
@@ -41468,7 +41706,7 @@ ha:pcb-rnd-board-v6 {
       li:conn { J13-2; U4-2;      }
       }
       ha:thrust {
       li:conn { J13-2; U4-2;      }
       }
       ha:thrust {
-      li:conn { U4-4; U19-10; U19-11;      }
+      li:conn { U4-4; U19-10; U19-11; Z1-2;      }
       }
       ha:adc_reset {
       li:conn { J4-8; U4-17; U7-51;      }
       }
       ha:adc_reset {
       li:conn { J4-8; U4-17; U7-51;      }
@@ -41638,141 +41876,141 @@ ha:pcb-rnd-board-v6 {
      ha:unnamed_net16 {
      li:conn { C175-2; L173-2; L174-1;     }
      }
      ha:unnamed_net16 {
      li:conn { C175-2; L173-2; L174-1;     }
      }
-                                                        ha:unnamed_net18 {
-                                                        li:conn { C191-1; L191-1; L192-1; U3-19;                                                        }
-                                                        }
-                                                        ha:unnamed_net19 {
-                                                        li:conn { C191-2; L193-2; L201-2;                                                        }
-                                                        }
-                                                        ha:unnamed_net17 {
-                                                        li:conn { C210-1; L191-2; L201-1; U3-20;                                                        }
-                                                        }
-                                                       ha:unnamed_net15 {
-                                                       li:conn { C181-2; L193-1; U3-18;                                                       }
-                                                       }
-                                                         ha:unnamed_net21 {
-                                                         li:conn { C231-1; U3-24;                                                         }
-                                                         }
-                                                         ha:unnamed_net22 {
-                                                         li:conn { C231-2; U3-23;                                                         }
-                                                         }
-                                                         ha:unnamed_net28 {
-                                                         li:conn { D5-1; R6-2;                                                         }
-                                                         }
-                                                        ha:unnamed_net20 {
-                                                        li:conn { C211-1; U3-21;                                                        }
-                                                        }
-                                                          ha:unnamed_net25 {
-                                                          li:conn { R30-2; U3-14;                                                          }
-                                                          }
-                                                         ha:unnamed_net41 {
-                                                         li:conn { J21-1; Q6-1;                                                         }
-                                                         }
-                                                          ha:unnamed_net23 {
-                                                          li:conn { C261-1; U3-26;                                                          }
+                                                          ha:unnamed_net18 {
+                                                          li:conn { C191-1; L191-1; L192-1; U3-19;                                                          }
                                                           }
                                                           }
-                                                          ha:unnamed_net24 {
-                                                          li:conn { C291-1; U3-29;                                                          }
+                                                          ha:unnamed_net19 {
+                                                          li:conn { C191-2; L193-2; L201-2;                                                          }
                                                           }
                                                           }
-                                                          ha:unnamed_net29 {
-                                                          li:conn { D7-1; R10-2;                                                          }
+                                                          ha:unnamed_net17 {
+                                                          li:conn { C210-1; L191-2; L201-1; U3-20;                                                          }
                                                           }
                                                           }
-                                                          ha:unnamed_net46 {
-                                                          li:conn { J10-2; U19-14;                                                          }
+                                                         ha:unnamed_net15 {
+                                                         li:conn { C181-2; L193-1; U3-18;                                                         }
+                                                         }
+                                                          ha:unnamed_net21 {
+                                                          li:conn { C231-1; U3-24;                                                          }
                                                           }
                                                           }
-                                                          ha:mosi1 {
-                                                          li:conn { J4-5; U4-20; U7-46;                                                          }
+                                                          ha:unnamed_net22 {
+                                                          li:conn { C231-2; U3-23;                                                          }
                                                           }
                                                           }
-                                                          ha:mosi2 {
-                                                          li:conn { U3-7; U5-5; U7-85;                                                          }
+                                                          ha:unnamed_net28 {
+                                                          li:conn { D5-1; R6-2;                                                          }
                                                           }
                                                           }
-                                                          ha:unnamed_net51 {
-                                                          li:conn { J10-5; J11-1; Q3-2;                                                          }
+                                                         ha:unnamed_net20 {
+                                                         li:conn { C211-1; U3-21;                                                         }
+                                                         }
+                                                           ha:unnamed_net41 {
+                                                           li:conn { J21-1; Q6-1;                                                           }
+                                                           }
+                                                           ha:unnamed_net26 {
+                                                           li:conn { C42-2; U3-6;                                                           }
+                                                           }
+                                                           ha:unnamed_net23 {
+                                                           li:conn { C261-1; U3-26;                                                           }
+                                                           }
+                                                          ha:unnamed_net24 {
+                                                          li:conn { C291-1; U3-29;                                                          }
                                                           }
                                                           }
-                                                          ha:unnamed_net40 {
-                                                          li:conn { J22-1; Q6-2;                                                          }
+                                                          ha:unnamed_net25 {
+                                                          li:conn { R30-2; U3-14;                                                          }
                                                           }
                                                           }
-                                                         ha:unnamed_net26 {
-                                                         li:conn { C42-2; U3-6;                                                         }
-                                                         }
-                                                                 ha:unnamed_net32 {
-                                                                 li:conn { D1-1; R3-2;                                                                 }
-                                                                 }
-                                                                 ha:unnamed_net43 {
-                                                                 li:conn { J11-3; U19-7;                                                                 }
-                                                                 }
-                                                                 ha:unnamed_net56 {
-                                                                 li:conn { C35-1; U4-25; X3-3;                                                                 }
-                                                                 }
-                                                                 ha:unnamed_net45 {
-                                                                 li:conn { J10-1; U19-13;                                                                 }
-                                                                 }
-                                                                ha:unnamed_net30 {
-                                                                li:conn { D6-1; R9-2;                                                                }
-                                                                }
-                                                               ha:unnamed_net31 {
-                                                               li:conn { D2-1; R4-2;                                                               }
-                                                               }
-                                                                 ha:reset_n {
-                                                                 li:conn { C610-2; J6-2; U3-2; U7-14; U11-1;                                                                 }
-                                                                 }
-                                                                 ha:unnamed_net44 {
-                                                                 li:conn { J11-2; U19-6;                                                                 }
-                                                                 }
-                                                                 ha:unnamed_net50 {
-                                                                 li:conn { R106-1; U19-8;                                                                 }
-                                                                 }
+                                                            ha:unnamed_net40 {
+                                                            li:conn { J22-1; Q6-2;                                                            }
+                                                            }
+                                                            ha:mosi1 {
+                                                            li:conn { J4-5; U4-20; U7-46;                                                            }
+                                                            }
+                                                            ha:mosi2 {
+                                                            li:conn { U3-7; U5-5; U7-85;                                                            }
+                                                            }
+                                                            ha:unnamed_net46 {
+                                                            li:conn { J10-2; U19-14;                                                            }
+                                                            }
+                                                            ha:unnamed_net30 {
+                                                            li:conn { D6-1; R9-2;                                                            }
+                                                            }
+                                                           ha:unnamed_net31 {
+                                                           li:conn { D2-1; R4-2;                                                           }
+                                                           }
+                                                            ha:unnamed_net32 {
+                                                            li:conn { D1-1; R3-2;                                                            }
+                                                            }
+                                                            ha:unnamed_net43 {
+                                                            li:conn { J11-3; U19-7;                                                            }
+                                                            }
+                                                            ha:unnamed_net29 {
+                                                            li:conn { D7-1; R10-2;                                                            }
+                                                            }
+                                                            ha:unnamed_net45 {
+                                                            li:conn { J10-1; U19-13;                                                            }
+                                                            }
+                                                            ha:unnamed_net51 {
+                                                            li:conn { J10-5; J11-1; Q3-2;                                                            }
+                                                            }
+                                                            ha:unnamed_net42 {
+                                                            li:conn { R106-2; U19-9;                                                            }
+                                                            }
+                                                            ha:reset_n {
+                                                            li:conn { C610-2; J6-2; U3-2; U7-14; U11-1;                                                            }
+                                                            }
+                                                            ha:unnamed_net44 {
+                                                            li:conn { J11-2; U19-6;                                                            }
+                                                            }
+                                                            ha:unnamed_net50 {
+                                                            li:conn { R106-1; U19-8;                                                            }
+                                                            }
+                                                            ha:unnamed_net56 {
+                                                            li:conn { C35-1; U4-25; X3-3;                                                            }
+                                                            }
+                                                            ha:unnamed_net47 {
+                                                            li:conn { J10-3; U19-15;                                                            }
+                                                            }
+                                                           ha:sense_1 {
+                                                           li:conn { R14-2; R20-2; U7-23;                                                           }
+                                                           }
+                                                                   ha:unnamed_net49 {
+                                                                   li:conn { Q3-1; U19-4;                                                                   }
+                                                                   }
+                                                                   ha:unnamed_net55 {
+                                                                   li:conn { C9-1; U4-28;                                                                   }
+                                                                   }
+                                                                   ha:unnamed_net57 {
+                                                                   li:conn { C34-1; U4-26; X3-1;                                                                   }
+                                                                   }
+                                                                   ha:unnamed_net52 {
+                                                                   li:conn { Q2-2; R7-2;                                                                   }
+                                                                   }
+                                                                  ha:unnamed_net48 {
+                                                                  li:conn { J10-4; U19-16;                                                                  }
+                                                                  }
+                                                                   ha:unnamed_net54 {
+                                                                   li:conn { R50-1; R51-2; U4-1; U4-3; U4-5; U4-7;                                                                   }
+                                                                   }
+                                                                   ha:unnamed_net60 {
+                                                                   li:conn { C10-1; U4-14;                                                                   }
+                                                                   }
+                                                                   ha:usbdm {
+                                                                   li:conn { R54-1; U7-70;                                                                   }
+                                                                   }
+                                                                   ha:b_spi1_miso {
+                                                                   li:conn { J1-27; U7-31;                                                                   }
+                                                                   }
+                                                                  ha:unnamed_net53 {
+                                                                  li:conn { Q2-4; R16-2;                                                                  }
+                                                                  }
+                                                                  ha:fet_a {
+                                                                  li:conn { J3-2; Q2-7; Q2-8;                                                                  }
+                                                                  }
+                                                                  ha:fet_b {
+                                                                  li:conn { J3-4; Q2-5; Q2-6;                                                                  }
+                                                                  }
+                                                                  ha:unnamed_net59 {
+                                                                  li:conn { C11-1; U4-12;                                                                  }
+                                                                  }
                                                                  ha:usbdp {
                                                                  li:conn { R55-1; U7-71;                                                                 }
                                                                  }
                                                                  ha:usbdp {
                                                                  li:conn { R55-1; U7-71;                                                                 }
                                                                  }
-                                                                 ha:unnamed_net47 {
-                                                                 li:conn { J10-3; U19-15;                                                                 }
-                                                                 }
-                                                                ha:unnamed_net42 {
-                                                                li:conn { R106-2; U19-9;                                                                }
-                                                                }
-                                                                ha:unnamed_net49 {
-                                                                li:conn { Q3-1; U19-4;                                                                }
-                                                                }
-                                                                ha:unnamed_net55 {
-                                                                li:conn { C9-1; U4-28;                                                                }
-                                                                }
-                                                                ha:unnamed_net57 {
-                                                                li:conn { C34-1; U4-26; X3-1;                                                                }
-                                                                }
-                                                                ha:unnamed_net52 {
-                                                                li:conn { Q2-2; R7-2;                                                                }
-                                                                }
-                                                               ha:sense_1 {
-                                                               li:conn { R14-2; R20-2; U7-23;                                                               }
-                                                               }
-                                                                 ha:unnamed_net54 {
-                                                                 li:conn { R50-1; R51-2; U4-1; U4-3; U4-5; U4-7;                                                                 }
-                                                                 }
-                                                                 ha:unnamed_net60 {
-                                                                 li:conn { C10-1; U4-14;                                                                 }
-                                                                 }
-                                                                 ha:usbdm {
-                                                                 li:conn { R54-1; U7-70;                                                                 }
-                                                                 }
-                                                                 ha:b_spi1_miso {
-                                                                 li:conn { J1-27; U7-31;                                                                 }
-                                                                 }
-                                                                ha:unnamed_net48 {
-                                                                li:conn { J10-4; U19-16;                                                                }
-                                                                }
-                                                                 ha:fet_a {
-                                                                 li:conn { J3-2; Q2-7; Q2-8;                                                                 }
-                                                                 }
-                                                                 ha:fet_b {
-                                                                 li:conn { J3-4; Q2-5; Q2-6;                                                                 }
-                                                                 }
-                                                                 ha:unnamed_net59 {
-                                                                 li:conn { C11-1; U4-12;                                                                 }
-                                                                 }
-                                                                ha:unnamed_net53 {
-                                                                li:conn { Q2-4; R16-2;                                                                }
-                                                                }
       ha:led_armed {
       li:conn { R3-1; U7-52;      }
       }
       ha:led_armed {
       li:conn { R3-1; U7-52;      }
       }
@@ -41900,6 +42138,7 @@ ha:pcb-rnd-board-v6 {
     bloat = 6.00 mil
     clearance = 10.00 mil
      text_font_id = 0
     bloat = 6.00 mil
     clearance = 10.00 mil
      text_font_id = 0
+      via_proto = 2
    }
    ha:editor {
     live_routing = false
    }
    ha:editor {
     live_routing = false
@@ -41941,6 +42180,4 @@ ha:pcb-rnd-board-v6 {
    }
   }
  }
    }
   }
  }
-  ha:pixmaps {
-  }
 }
 }
index 39124fbd2126081b3934dfffda09b53e5fb485cf..7af5e2c1fc94cfb141f81ddffe97fc7f84d8801b 100644 (file)
@@ -1,9 +1,9 @@
-v 20201211 2
+v 20211219 2
 C 40000 40000 0 0 0 title-E.sym
 N 54800 41700 65600 41700 4
 N 57300 41700 57300 43200 4
 C 41900 57800 1 0 1 gnd.sym
 C 40000 40000 0 0 0 title-E.sym
 N 54800 41700 65600 41700 4
 N 57300 41700 57300 43200 4
 C 41900 57800 1 0 1 gnd.sym
-T 79000 41900 9 30 1 0 0 0 1
+T 78800 41800 9 30 1 0 0 0 1
 TeleStatic
 C 44900 46200 1 0 0 gnd.sym
 N 42600 46700 41200 46700 4
 TeleStatic
 C 44900 46200 1 0 0 gnd.sym
 N 42600 46700 41200 46700 4
@@ -55,7 +55,7 @@ netname=sense_batt
 }
 C 47500 41300 1 0 0 gnd.sym
 T 82400 40400 9 10 1 0 0 0 1
 }
 C 47500 41300 1 0 0 gnd.sym
 T 82400 40400 9 10 1 0 0 0 1
-4
+4.1
 T 80000 40400 9 10 1 0 0 0 1
 1
 T 80600 40400 9 10 1 0 0 0 1
 T 80000 40400 9 10 1 0 0 0 1
 1
 T 80600 40400 9 10 1 0 0 0 1
@@ -1892,8 +1892,8 @@ T 44700 53500 5 10 1 1 180 6 1
 netname=adc_drdy
 }
 N 76600 72900 76300 72900 4
 netname=adc_drdy
 }
 N 76600 72900 76300 72900 4
-T 77400 40600 9 10 1 0 0 0 3
-           Copyright 2020 by Bdale Garbee <bdale@gag.com>
+T 77100 40600 9 10 1 0 0 0 3
+           Copyright 2022 by Bdale Garbee <bdale@gag.com>
 Licensed under the TAPR Open Hardware License, http://tapr.org/OHL
 
 N 76600 65700 76500 65700 4
 Licensed under the TAPR Open Hardware License, http://tapr.org/OHL
 
 N 76600 65700 76500 65700 4
@@ -2088,7 +2088,7 @@ A 3mV/V load cell excited with 10V
 needs gain 167 to optimally drive 
 5V ADC input, which is 369 ohms.
 The next higher std value is 374.
 needs gain 167 to optimally drive 
 5V ADC input, which is 369 ohms.
 The next higher std value is 374.
-T 60600 68700 9 10 1 0 0 0 1
+T 60400 68700 9 10 1 0 0 0 1
 10V default
 T 60900 66100 9 10 1 0 0 0 9
 excite +
 10V default
 T 60900 66100 9 10 1 0 0 0 9
 excite +
@@ -3031,3 +3031,20 @@ value=NoConnection
 T 55600 54700 5 10 0 0 0 0 1
 device=DRC_Directive
 }
 T 55600 54700 5 10 0 0 0 0 1
 device=DRC_Directive
 }
+C 72500 69500 1 90 0 zener.sym
+{
+T 71900 69900 5 10 0 0 90 0 1
+device=DIODE
+T 72000 69700 5 10 1 1 0 6 1
+refdes=Z1
+T 72000 70000 5 10 1 1 0 6 1
+value=5.1V
+T 72500 69500 5 10 0 1 0 0 1
+footprint=0805diode
+}
+C 72200 69200 1 0 0 gnd.sym
+T 71400 68400 9 10 1 0 0 0 3
+Protect ADC input 
+should INA125 output 
+exceed 5V ADC range
+C 40800 57300 1 0 0 gnd.sym