From f4283fb77562a4871c555ab54f96d512d81e0f6f Mon Sep 17 00:00:00 2001
From: Benjamin Koch <bbbsnowball@gmail.com>
Date: Sat, 15 Apr 2023 06:32:01 +0200
Subject: [PATCH] do use net ties for GNDPWR connection to amplifier

---
 c3pb-heizung/c3pb-heizung.kicad_pcb |  95 ++++++++++++++--
 c3pb-heizung/c3pb-heizung.kicad_sch |  12 +-
 c3pb-heizung/heaters.kicad_sch      | 170 +++++++++++++++++-----------
 3 files changed, 191 insertions(+), 86 deletions(-)

diff --git a/c3pb-heizung/c3pb-heizung.kicad_pcb b/c3pb-heizung/c3pb-heizung.kicad_pcb
index 0199f6a..972973d 100644
--- a/c3pb-heizung/c3pb-heizung.kicad_pcb
+++ b/c3pb-heizung/c3pb-heizung.kicad_pcb
@@ -199,6 +199,8 @@
   (net 108 "Net-(Q5-Pad3)")
   (net 109 "Net-(Q6-Pad3)")
   (net 110 "Net-(C11-Pad1)")
+  (net 111 "Net-(R7-Pad2)")
+  (net 112 "Net-(C28-Pad2)")
 
   (footprint "Resistor_SMD:R_0402_1005Metric" (layer "F.Cu")
     (tedit 5F68FEEE) (tstamp 0259fda8-dd56-40c1-b6db-4b8862f47154)
@@ -413,6 +415,40 @@
     )
   )
 
+  (footprint "NetTie:NetTie-2_SMD_Pad0.5mm" (layer "F.Cu")
+    (tedit 5A1CF6D3) (tstamp 0e6c11a3-67f0-4ebe-a993-0911afd9c50f)
+    (at 138.938 107.95 90)
+    (descr "Net tie, 2 pin, 0.5mm square SMD pads")
+    (tags "net tie")
+    (property "Sheetfile" "heaters.kicad_sch")
+    (property "Sheetname" "Heaters")
+    (property "exclude_from_bom" "")
+    (path "/54f5266d-1777-4e02-bd31-ebf852aa6849/d1e58494-4b4f-4ac6-b19c-b2a580aa0d95")
+    (attr exclude_from_pos_files exclude_from_bom)
+    (fp_text reference "NT3" (at 0 -1.2 90) (layer "F.SilkS")
+      (effects (font (size 1 1) (thickness 0.15)))
+      (tstamp 279f37e0-4927-49dd-9687-922a7f8be8bd)
+    )
+    (fp_text value "NetTie_2" (at 0 1.2 90) (layer "F.Fab")
+      (effects (font (size 1 1) (thickness 0.15)))
+      (tstamp 1773e98c-6081-4b68-8abf-a9e66b67fd52)
+    )
+    (fp_poly (pts
+        (xy -0.5 -0.25)
+        (xy 0.5 -0.25)
+        (xy 0.5 0.25)
+        (xy -0.5 0.25)
+      ) (layer "F.Cu") (width 0) (fill solid) (tstamp a075e6b5-8be5-4639-b97d-5f5e2f659cb5))
+    (fp_line (start 1 0.5) (end 1 -0.5) (layer "F.CrtYd") (width 0.05) (tstamp 1f173ebb-0877-4e8c-94d7-8f2c6446b595))
+    (fp_line (start 1 -0.5) (end -1 -0.5) (layer "F.CrtYd") (width 0.05) (tstamp 5aa3336c-e6b5-4b99-b7a0-ffbcd554a7c6))
+    (fp_line (start -1 0.5) (end 1 0.5) (layer "F.CrtYd") (width 0.05) (tstamp 76b57d03-d814-4272-8383-061045ca5df2))
+    (fp_line (start -1 -0.5) (end -1 0.5) (layer "F.CrtYd") (width 0.05) (tstamp f1a7e22d-3f40-4119-a926-55c2922cea63))
+    (pad "1" smd circle (at -0.5 0 90) (size 0.5 0.5) (layers "F.Cu")
+      (net 10 "GNDPWR") (pinfunction "1") (pintype "passive") (tstamp 1076202b-53c6-4be3-923c-71a5b9caeee5))
+    (pad "2" smd circle (at 0.5 0 90) (size 0.5 0.5) (layers "F.Cu")
+      (net 111 "Net-(R7-Pad2)") (pinfunction "2") (pintype "passive") (tstamp e2cdeb9b-c8e3-4749-83c1-05e6fe2e727c))
+  )
+
   (footprint "Resistor_SMD:R_0402_1005Metric" (layer "F.Cu")
     (tedit 5F68FEEE) (tstamp 12bc60d1-2a9d-488d-9dc9-dbe0f28a1257)
     (at 123.698 83.82 90)
@@ -533,7 +569,7 @@
     (pad "1" smd roundrect (at -1.4625 0 90) (size 1.125 1.75) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.222222)
       (net 25 "Net-(Q1-Pad2)") (pintype "passive") (tstamp 457a51e4-2971-49bf-974f-9e9b458523a8))
     (pad "2" smd roundrect (at 1.4625 0 90) (size 1.125 1.75) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.222222)
-      (net 10 "GNDPWR") (pintype "passive") (tstamp 9cc8c975-f5c8-4ca1-b99c-ea45b07b1c44))
+      (net 112 "Net-(C28-Pad2)") (pintype "passive") (tstamp 9cc8c975-f5c8-4ca1-b99c-ea45b07b1c44))
     (model "${KICAD6_3DMODEL_DIR}/Resistor_SMD.3dshapes/R_1206_3216Metric.wrl"
       (offset (xyz 0 0 0))
       (scale (xyz 1 1 1))
@@ -548,8 +584,9 @@
     (tags "net tie")
     (property "Sheetfile" "heaters.kicad_sch")
     (property "Sheetname" "Heaters")
+    (property "exclude_from_bom" "")
     (path "/54f5266d-1777-4e02-bd31-ebf852aa6849/7355d782-61e2-40ad-9924-062ba9b56d07")
-    (attr exclude_from_pos_files)
+    (attr exclude_from_pos_files exclude_from_bom)
     (fp_text reference "NT1" (at 0 -2 -90) (layer "F.SilkS")
       (effects (font (size 1 1) (thickness 0.15)))
       (tstamp 354e65c1-e014-486a-a678-7cc9f78ed2dc)
@@ -1525,7 +1562,7 @@
     (pad "1" smd roundrect (at -0.51 0 270) (size 0.54 0.64) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25)
       (net 106 "Net-(C30-Pad1)") (pintype "passive") (tstamp 6833a26a-5a2e-42e3-abec-30d70796ee4b))
     (pad "2" smd roundrect (at 0.51 0 270) (size 0.54 0.64) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25)
-      (net 7 "GND") (pintype "passive") (tstamp 775cf333-984b-446f-a184-4cc5d94a88f5))
+      (net 112 "Net-(C28-Pad2)") (pintype "passive") (tstamp 775cf333-984b-446f-a184-4cc5d94a88f5))
     (model "${KICAD6_3DMODEL_DIR}/Resistor_SMD.3dshapes/R_0402_1005Metric.wrl"
       (offset (xyz 0 0 0))
       (scale (xyz 1 1 1))
@@ -1871,7 +1908,7 @@
     (pad "1" smd roundrect (at -1.4625 0 90) (size 1.125 1.75) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.222222)
       (net 27 "Net-(Q2-Pad2)") (pintype "passive") (tstamp 15f4b959-b1f9-4eac-82b2-5a69b3f8fca4))
     (pad "2" smd roundrect (at 1.4625 0 90) (size 1.125 1.75) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.222222)
-      (net 10 "GNDPWR") (pintype "passive") (tstamp 33def6bd-a955-4d2d-970f-51b9b8197cbe))
+      (net 111 "Net-(R7-Pad2)") (pintype "passive") (tstamp 33def6bd-a955-4d2d-970f-51b9b8197cbe))
     (model "${KICAD6_3DMODEL_DIR}/Resistor_SMD.3dshapes/R_1206_3216Metric.wrl"
       (offset (xyz 0 0 0))
       (scale (xyz 1 1 1))
@@ -3063,7 +3100,7 @@
     (pad "1" smd roundrect (at -0.51 0 270) (size 0.54 0.64) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25)
       (net 104 "Net-(R9-Pad2)") (pintype "passive") (tstamp 509a61a3-ffa5-4a94-9d68-60c121bf2bc8))
     (pad "2" smd roundrect (at 0.51 0 270) (size 0.54 0.64) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25)
-      (net 7 "GND") (pintype "passive") (tstamp 9e506e60-485c-4a2e-bee0-b145d5e667c0))
+      (net 112 "Net-(C28-Pad2)") (pintype "passive") (tstamp 9e506e60-485c-4a2e-bee0-b145d5e667c0))
     (model "${KICAD6_3DMODEL_DIR}/Resistor_SMD.3dshapes/R_0402_1005Metric.wrl"
       (offset (xyz 0 0 0))
       (scale (xyz 1 1 1))
@@ -3164,7 +3201,7 @@
     (property "LCSC" "C7377")
     (property "Sheetfile" "heaters.kicad_sch")
     (property "Sheetname" "Heaters")
-    (path "/54f5266d-1777-4e02-bd31-ebf852aa6849/ce16762f-dc97-4e7a-91ef-c53f6254a44c")
+    (path "/54f5266d-1777-4e02-bd31-ebf852aa6849/471ae91f-f60b-4049-ade6-d2a00c28089e")
     (attr smd)
     (fp_text reference "U12" (at 0 -3.4) (layer "F.SilkS")
       (effects (font (size 1 1) (thickness 0.15)))
@@ -4254,7 +4291,7 @@
     (pad "1" smd roundrect (at -0.51 0 270) (size 0.54 0.64) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25)
       (net 103 "Net-(R6-Pad2)") (pintype "passive") (tstamp f1ace758-374b-4ab1-82da-b426a81ef461))
     (pad "2" smd roundrect (at 0.51 0 270) (size 0.54 0.64) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25)
-      (net 7 "GND") (pintype "passive") (tstamp 8bb8ea35-a8b2-4fc6-8313-14f2be28a80c))
+      (net 111 "Net-(R7-Pad2)") (pintype "passive") (tstamp 8bb8ea35-a8b2-4fc6-8313-14f2be28a80c))
     (model "${KICAD6_3DMODEL_DIR}/Resistor_SMD.3dshapes/R_0402_1005Metric.wrl"
       (offset (xyz 0 0 0))
       (scale (xyz 1 1 1))
@@ -4438,7 +4475,7 @@
     (pad "1" smd roundrect (at -0.48 0 270) (size 0.56 0.62) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25)
       (net 103 "Net-(R6-Pad2)") (pintype "passive") (tstamp 390f7489-62ec-4e94-8e93-9c6e8d9d51c9))
     (pad "2" smd roundrect (at 0.48 0 270) (size 0.56 0.62) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25)
-      (net 7 "GND") (pintype "passive") (tstamp 5b5658af-191a-45c1-8e95-dc3cecc59ba1))
+      (net 111 "Net-(R7-Pad2)") (pintype "passive") (tstamp 5b5658af-191a-45c1-8e95-dc3cecc59ba1))
     (model "${KICAD6_3DMODEL_DIR}/Capacitor_SMD.3dshapes/C_0402_1005Metric.wrl"
       (offset (xyz 0 0 0))
       (scale (xyz 1 1 1))
@@ -4566,7 +4603,7 @@
     (pad "1" smd roundrect (at -0.48 0 270) (size 0.56 0.62) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25)
       (net 104 "Net-(R9-Pad2)") (pintype "passive") (tstamp 35af89c7-2a95-418d-a099-8d6a32ede25e))
     (pad "2" smd roundrect (at 0.48 0 270) (size 0.56 0.62) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25)
-      (net 7 "GND") (pintype "passive") (tstamp 178eace5-c4e0-490b-a771-205aace1cac3))
+      (net 112 "Net-(C28-Pad2)") (pintype "passive") (tstamp 178eace5-c4e0-490b-a771-205aace1cac3))
     (model "${KICAD6_3DMODEL_DIR}/Capacitor_SMD.3dshapes/C_0402_1005Metric.wrl"
       (offset (xyz 0 0 0))
       (scale (xyz 1 1 1))
@@ -5413,7 +5450,7 @@
     (pad "1" smd roundrect (at -0.51 0 270) (size 0.54 0.64) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25)
       (net 105 "Net-(C29-Pad1)") (pintype "passive") (tstamp 9ed5265d-2fd9-45ed-9e55-a0c2c32da42d))
     (pad "2" smd roundrect (at 0.51 0 270) (size 0.54 0.64) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25)
-      (net 7 "GND") (pintype "passive") (tstamp 92280178-ae28-4762-acb1-a7cba6559f59))
+      (net 111 "Net-(R7-Pad2)") (pintype "passive") (tstamp 92280178-ae28-4762-acb1-a7cba6559f59))
     (model "${KICAD6_3DMODEL_DIR}/Resistor_SMD.3dshapes/R_0402_1005Metric.wrl"
       (offset (xyz 0 0 0))
       (scale (xyz 1 1 1))
@@ -6196,7 +6233,7 @@
     (pad "1" smd roundrect (at -0.51 0) (size 0.54 0.64) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25)
       (net 26 "/DRIVE2") (pintype "passive") (tstamp bdfbe82f-f822-416c-8812-a96f51217e40))
     (pad "2" smd roundrect (at 0.51 0) (size 0.54 0.64) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25)
-      (net 10 "GNDPWR") (pintype "passive") (tstamp 28ab8ca5-7e3a-424d-9dee-781e9c41489b))
+      (net 111 "Net-(R7-Pad2)") (pintype "passive") (tstamp 28ab8ca5-7e3a-424d-9dee-781e9c41489b))
     (model "${KICAD6_3DMODEL_DIR}/Resistor_SMD.3dshapes/R_0402_1005Metric.wrl"
       (offset (xyz 0 0 0))
       (scale (xyz 1 1 1))
@@ -6791,6 +6828,40 @@
     )
   )
 
+  (footprint "NetTie:NetTie-2_SMD_Pad0.5mm" (layer "F.Cu")
+    (tedit 5A1CF6D3) (tstamp e3fe21dd-49d4-40a0-9139-ea40e610640d)
+    (at 149.86 104.521 -90)
+    (descr "Net tie, 2 pin, 0.5mm square SMD pads")
+    (tags "net tie")
+    (property "Sheetfile" "heaters.kicad_sch")
+    (property "Sheetname" "Heaters")
+    (property "exclude_from_bom" "")
+    (path "/54f5266d-1777-4e02-bd31-ebf852aa6849/3640d622-5dd1-42df-a6c7-b806e933e1e6")
+    (attr exclude_from_pos_files exclude_from_bom)
+    (fp_text reference "NT2" (at 0 -1.2 90) (layer "F.SilkS")
+      (effects (font (size 1 1) (thickness 0.15)))
+      (tstamp c1a40dab-6036-45b2-a64c-898e0739202e)
+    )
+    (fp_text value "NetTie_2" (at 0 1.2 90) (layer "F.Fab")
+      (effects (font (size 1 1) (thickness 0.15)))
+      (tstamp 9d839f82-a084-40aa-90ac-9a2c4e4550bb)
+    )
+    (fp_poly (pts
+        (xy -0.5 -0.25)
+        (xy 0.5 -0.25)
+        (xy 0.5 0.25)
+        (xy -0.5 0.25)
+      ) (layer "F.Cu") (width 0) (fill solid) (tstamp ae5da1be-57a3-411a-9140-eb846ba3f53e))
+    (fp_line (start 1 -0.5) (end -1 -0.5) (layer "F.CrtYd") (width 0.05) (tstamp 0fc642e4-98f1-47ab-a28a-2e3d6c02fc32))
+    (fp_line (start -1 -0.5) (end -1 0.5) (layer "F.CrtYd") (width 0.05) (tstamp 2e7ee1fb-90fc-41bd-acfc-8268506139a3))
+    (fp_line (start -1 0.5) (end 1 0.5) (layer "F.CrtYd") (width 0.05) (tstamp 7bf11a79-7afc-46eb-a006-9c6b68c00d5f))
+    (fp_line (start 1 0.5) (end 1 -0.5) (layer "F.CrtYd") (width 0.05) (tstamp e8a4b2c2-8f45-4d7f-9ec0-fa8cc4aef5df))
+    (pad "1" smd circle (at -0.5 0 270) (size 0.5 0.5) (layers "F.Cu")
+      (net 10 "GNDPWR") (pinfunction "1") (pintype "passive") (tstamp 2b673bd5-8465-4722-9a52-76cbf3de9212))
+    (pad "2" smd circle (at 0.5 0 270) (size 0.5 0.5) (layers "F.Cu")
+      (net 112 "Net-(C28-Pad2)") (pinfunction "2") (pintype "passive") (tstamp 27a5c7a7-28f8-4a10-a16a-63117f3d5b13))
+  )
+
   (footprint "Fuse:Fuse_0603_1608Metric" (layer "F.Cu")
     (tedit 5F68FEF1) (tstamp e5aef0f1-5236-443c-a0dc-98933a588c89)
     (at 162.56 99.06 180)
@@ -7643,7 +7714,7 @@
     (pad "1" smd roundrect (at -0.51 0) (size 0.54 0.64) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25)
       (net 24 "/DRIVE1") (pintype "passive") (tstamp 15fc5be8-4168-4d16-80b9-13a9ff10a9ab))
     (pad "2" smd roundrect (at 0.51 0) (size 0.54 0.64) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25)
-      (net 10 "GNDPWR") (pintype "passive") (tstamp 90280794-13c9-4789-945c-68d3c9d84ba3))
+      (net 112 "Net-(C28-Pad2)") (pintype "passive") (tstamp 90280794-13c9-4789-945c-68d3c9d84ba3))
     (model "${KICAD6_3DMODEL_DIR}/Resistor_SMD.3dshapes/R_0402_1005Metric.wrl"
       (offset (xyz 0 0 0))
       (scale (xyz 1 1 1))
diff --git a/c3pb-heizung/c3pb-heizung.kicad_sch b/c3pb-heizung/c3pb-heizung.kicad_sch
index 331ecaa..846f593 100644
--- a/c3pb-heizung/c3pb-heizung.kicad_sch
+++ b/c3pb-heizung/c3pb-heizung.kicad_sch
@@ -6467,12 +6467,6 @@
     (path "/2f59c195-b3d3-4fd3-a2ef-b308811ae6e7/717eba8e-6f83-4ccb-b94c-8be397b3b890"
       (reference "#PWR0213") (unit 1) (value "GND") (footprint "")
     )
-    (path "/54f5266d-1777-4e02-bd31-ebf852aa6849/76132388-6fa1-4080-ad6b-ee1c7fb5712e"
-      (reference "#PWR?") (unit 1) (value "GNDPWR") (footprint "")
-    )
-    (path "/54f5266d-1777-4e02-bd31-ebf852aa6849/bf3f0d41-1344-4f11-a44a-46733ebabd83"
-      (reference "#PWR?") (unit 1) (value "GNDPWR") (footprint "")
-    )
     (path "/1731f82b-f14d-41ac-a780-ccaeb142095c"
       (reference "C1") (unit 1) (value "2u2, 6.3V") (footprint "Capacitor_SMD:C_0402_1005Metric")
     )
@@ -6653,6 +6647,12 @@
     (path "/54f5266d-1777-4e02-bd31-ebf852aa6849/7355d782-61e2-40ad-9924-062ba9b56d07"
       (reference "NT1") (unit 1) (value "NetTie_2") (footprint "NetTie:NetTie-2_SMD_Pad2.0mm")
     )
+    (path "/54f5266d-1777-4e02-bd31-ebf852aa6849/3640d622-5dd1-42df-a6c7-b806e933e1e6"
+      (reference "NT2") (unit 1) (value "NetTie_2") (footprint "NetTie:NetTie-2_SMD_Pad0.5mm")
+    )
+    (path "/54f5266d-1777-4e02-bd31-ebf852aa6849/d1e58494-4b4f-4ac6-b19c-b2a580aa0d95"
+      (reference "NT3") (unit 1) (value "NetTie_2") (footprint "NetTie:NetTie-2_SMD_Pad0.5mm")
+    )
     (path "/54f5266d-1777-4e02-bd31-ebf852aa6849/39c55024-71ae-4cb9-bbc3-effd60565ec9"
       (reference "Q1") (unit 1) (value "AO3400A / CJ2310") (footprint "Package_TO_SOT_SMD:SOT-23")
     )
diff --git a/c3pb-heizung/heaters.kicad_sch b/c3pb-heizung/heaters.kicad_sch
index db1cf3c..b03fa93 100644
--- a/c3pb-heizung/heaters.kicad_sch
+++ b/c3pb-heizung/heaters.kicad_sch
@@ -752,6 +752,9 @@
   (junction (at 125.73 87.63) (diameter 0) (color 0 0 0 0)
     (uuid 28dd133a-c321-4e45-9b78-290f42fc2b33)
   )
+  (junction (at 118.11 146.05) (diameter 0) (color 0 0 0 0)
+    (uuid 45faba96-eac7-4efd-98ea-26cf395da5a9)
+  )
   (junction (at 83.82 63.5) (diameter 0) (color 0 0 0 0)
     (uuid 4d6d9ead-657e-4da5-a092-2cae17799952)
   )
@@ -761,18 +764,15 @@
   (junction (at 191.77 73.66) (diameter 0) (color 0 0 0 0)
     (uuid 509cd78a-38ef-4b01-8210-01f60149da3d)
   )
-  (junction (at 123.19 146.05) (diameter 0) (color 0 0 0 0)
-    (uuid 5b4ce022-49f2-4bb9-8a6d-8393eb951f2f)
-  )
-  (junction (at 121.92 87.63) (diameter 0) (color 0 0 0 0)
-    (uuid 5b7233d5-7568-4cb8-bc69-031c039703a5)
-  )
   (junction (at 106.68 121.92) (diameter 0) (color 0 0 0 0)
     (uuid 6569b5e8-2197-4067-b9e0-8d858d6c63b0)
   )
   (junction (at 116.84 63.5) (diameter 0) (color 0 0 0 0)
     (uuid 670cbaa1-55bd-452b-9bec-ee4c9034c824)
   )
+  (junction (at 116.84 87.63) (diameter 0) (color 0 0 0 0)
+    (uuid 72e7632a-c4db-4f36-9929-306b72ae256a)
+  )
   (junction (at 137.16 146.05) (diameter 0) (color 0 0 0 0)
     (uuid 73f4ffc0-5f45-4f15-b767-201828b293d5)
   )
@@ -881,7 +881,7 @@
     (stroke (width 0) (type default) (color 0 0 0 0))
     (uuid 24e9d670-3b31-45bd-b610-308af7914d6c)
   )
-  (wire (pts (xy 127 146.05) (xy 123.19 146.05))
+  (wire (pts (xy 118.11 146.05) (xy 127 146.05))
     (stroke (width 0) (type default) (color 0 0 0 0))
     (uuid 25086860-4232-4f57-8460-16b58cddd74d)
   )
@@ -921,9 +921,13 @@
     (stroke (width 0) (type default) (color 0 0 0 0))
     (uuid 31ddb263-de7d-4c20-b7ee-576383e40477)
   )
-  (wire (pts (xy 123.19 146.05) (xy 118.11 146.05))
+  (wire (pts (xy 91.44 87.63) (xy 91.44 73.66))
     (stroke (width 0) (type default) (color 0 0 0 0))
-    (uuid 3929ec59-2a36-40ea-aeed-bb420db92a58)
+    (uuid 32a5c2d3-5456-42ec-98a0-76b2298a7c21)
+  )
+  (wire (pts (xy 116.84 87.63) (xy 91.44 87.63))
+    (stroke (width 0) (type default) (color 0 0 0 0))
+    (uuid 3ae47dd4-bce9-415c-840d-1cc0c904cf28)
   )
   (wire (pts (xy 45.72 72.39) (xy 45.72 73.66))
     (stroke (width 0) (type default) (color 0 0 0 0))
@@ -937,11 +941,7 @@
     (stroke (width 0) (type default) (color 0 0 0 0))
     (uuid 4043d5b2-6814-4046-8617-0c2dd4aed482)
   )
-  (wire (pts (xy 123.19 146.05) (xy 123.19 147.32))
-    (stroke (width 0) (type default) (color 0 0 0 0))
-    (uuid 4209dce5-91dc-4384-bd5e-fcce54dc6e5a)
-  )
-  (wire (pts (xy 125.73 87.63) (xy 121.92 87.63))
+  (wire (pts (xy 116.84 87.63) (xy 125.73 87.63))
     (stroke (width 0) (type default) (color 0 0 0 0))
     (uuid 4403c3ae-b875-403a-bf5b-b1f5be4707b7)
   )
@@ -1005,6 +1005,10 @@
     (stroke (width 0) (type default) (color 0 0 0 0))
     (uuid 7e065b44-7417-4d4e-a59e-576966474346)
   )
+  (wire (pts (xy 118.11 146.05) (xy 58.42 146.05))
+    (stroke (width 0) (type default) (color 0 0 0 0))
+    (uuid 7f3da4ba-fe39-4719-8b1c-66c2b8e50511)
+  )
   (wire (pts (xy 153.67 77.47) (xy 153.67 66.04))
     (stroke (width 0) (type default) (color 0 0 0 0))
     (uuid 805e2f8d-a163-44bc-8621-fb5688748370)
@@ -1025,6 +1029,10 @@
     (stroke (width 0) (type default) (color 0 0 0 0))
     (uuid 8f839f4e-0d37-4671-a158-40dc71ce4f6b)
   )
+  (wire (pts (xy 91.44 73.66) (xy 45.72 73.66))
+    (stroke (width 0) (type default) (color 0 0 0 0))
+    (uuid 9337998a-5439-4f30-9100-0deb485fb6da)
+  )
   (wire (pts (xy 45.72 109.22) (xy 69.85 109.22))
     (stroke (width 0) (type default) (color 0 0 0 0))
     (uuid 9392f96e-e9ab-4d86-849a-9044b05ebda2)
@@ -1033,6 +1041,10 @@
     (stroke (width 0) (type default) (color 0 0 0 0))
     (uuid 9665e528-90d5-40cd-b34e-13f08f6aa881)
   )
+  (wire (pts (xy 74.93 81.28) (xy 74.93 83.82))
+    (stroke (width 0) (type default) (color 0 0 0 0))
+    (uuid 9ae89ad5-80aa-41b8-acf3-d1b7934a7b2e)
+  )
   (wire (pts (xy 148.59 77.47) (xy 153.67 77.47))
     (stroke (width 0) (type default) (color 0 0 0 0))
     (uuid a2deb617-018e-40d7-b4ed-e3f39f781b1e)
@@ -1065,6 +1077,10 @@
     (stroke (width 0) (type default) (color 0 0 0 0))
     (uuid adbd8c86-116b-4a21-9b6f-ba395f8a0c67)
   )
+  (wire (pts (xy 58.42 146.05) (xy 58.42 132.08))
+    (stroke (width 0) (type default) (color 0 0 0 0))
+    (uuid b0fe5b87-dd93-4916-8235-12b1a56f2dc2)
+  )
   (wire (pts (xy 45.72 50.8) (xy 45.72 52.07))
     (stroke (width 0) (type default) (color 0 0 0 0))
     (uuid b308389c-e7d5-4587-ba8d-aa4ad32735e0)
@@ -1129,14 +1145,6 @@
     (stroke (width 0) (type default) (color 0 0 0 0))
     (uuid d2de0656-3319-4418-9b0b-6741d8a20678)
   )
-  (wire (pts (xy 121.92 87.63) (xy 121.92 88.9))
-    (stroke (width 0) (type default) (color 0 0 0 0))
-    (uuid d33600f4-90a8-4a93-905f-170e69eebb03)
-  )
-  (wire (pts (xy 121.92 87.63) (xy 116.84 87.63))
-    (stroke (width 0) (type default) (color 0 0 0 0))
-    (uuid d4cc098c-ed9f-4dd0-8db3-4ad6f99abd65)
-  )
   (wire (pts (xy 154.94 135.89) (xy 154.94 124.46))
     (stroke (width 0) (type default) (color 0 0 0 0))
     (uuid d6a4527b-a2e4-4ade-8f55-50d8068f7a69)
@@ -1161,20 +1169,36 @@
     (stroke (width 0) (type default) (color 0 0 0 0))
     (uuid dfa15fcc-2125-4dea-8813-f140751170bd)
   )
+  (wire (pts (xy 118.11 146.05) (xy 118.11 148.59))
+    (stroke (width 0) (type default) (color 0 0 0 0))
+    (uuid e4e9538c-9bdf-4bcd-823f-5d2569d5900d)
+  )
   (wire (pts (xy 45.72 120.65) (xy 45.72 121.92))
     (stroke (width 0) (type default) (color 0 0 0 0))
     (uuid ec80780f-e1f2-4875-b25a-79bc56532fce)
   )
+  (wire (pts (xy 125.73 87.63) (xy 125.73 90.17))
+    (stroke (width 0) (type default) (color 0 0 0 0))
+    (uuid ed23c7ec-88b8-46be-b3ae-9430d003ed3c)
+  )
   (wire (pts (xy 137.16 135.89) (xy 142.24 135.89))
     (stroke (width 0) (type default) (color 0 0 0 0))
     (uuid f1ff0f25-2351-4611-971e-7d740242de11)
   )
+  (wire (pts (xy 58.42 132.08) (xy 45.72 132.08))
+    (stroke (width 0) (type default) (color 0 0 0 0))
+    (uuid f9d2b05c-0914-42e9-ba13-77b312ed4d09)
+  )
 
   (text "Current in wax motor will be between\n300 mA / 80 ohms (datasheet) resp.\n220 mA / 110 ohms (measured) when cold\nand 50 mA / 480 ohms (measured) when hot."
     (at 38.1 25.4 0)
     (effects (font (size 1.27 1.27)) (justify left bottom))
     (uuid 21c91a9c-ffa3-400d-9fdc-592b790e7f79)
   )
+  (text "\"GNDPWR\"" (at 120.65 92.71 0)
+    (effects (font (size 1.27 1.27)) (justify left bottom))
+    (uuid 6c850d40-1f7c-4fb0-a823-08bb3d3f2e9a)
+  )
   (text "move R6/R9 here to opt-out of using the opamp\n(and optionally cut JP6)"
     (at 118.11 106.68 0)
     (effects (font (size 1.27 1.27)) (justify left bottom))
@@ -1185,8 +1209,8 @@
     (effects (font (size 1.27 1.27)) (justify left bottom))
     (uuid 925fdbc2-aa41-4485-a28c-6534e070d168)
   )
-  (text "use GNDPWR here: The amplifier will see the\nshunt voltage without any offset between GND\nand GNDPWR. We will get the offset between\namplifier and ADC but that will be relative to\nthe amplified voltage, i.e. much less significant.\n\nGNDPWR should usually be higher than GND so this\nis fine. The amplifier supports input voltages of\n0.3V below so negative rail so the other way around\nis also fine.\n\nConnect this with a dedicated wire to the shunt!\nUse net ties if necessary."
-    (at 119.38 180.34 0)
+  (text "use GNDPWR here: The amplifier will see the\nshunt voltage without any offset between GND\nand GNDPWR. We will get the offset between\namplifier and ADC but that will be relative to\nthe amplified voltage, i.e. much less significant.\n\nGNDPWR should usually be higher than GND so this\nis fine. The amplifier supports input voltages of\n0.3V below so negative rail so the other way around\nis also fine.\n\nWe want a dedicated connection to each shunt so any\nground offsets between the shunts will be compensated,\nas well. We use net ties to make sure that we don't\naccidentally combine the signals on the way to the\namplifier."
+    (at 114.3 187.96 0)
     (effects (font (size 1.27 1.27)) (justify left bottom))
     (uuid b5a34e1f-1ea1-4c6d-8c26-f751fe4c2213)
   )
@@ -1195,6 +1219,10 @@
     (effects (font (size 1.27 1.27)) (justify left bottom))
     (uuid bb2e47e4-9693-49ef-b64f-3129087bd86c)
   )
+  (text "\"GNDPWR\"" (at 113.03 151.13 0)
+    (effects (font (size 1.27 1.27)) (justify left bottom))
+    (uuid c38cc938-a58a-4a75-a21c-02fd6bf6d4bf)
+  )
   (text "see https://www.ti.com/lit/an/sbaa353a/sbaa353a.pdf\nbut we are not using a low-offset or zero drift\namplifier because of price (mostly JLC basic parts here)"
     (at 142.24 35.56 0)
     (effects (font (size 1.27 1.27)) (justify left bottom))
@@ -1205,7 +1233,7 @@
     (effects (font (size 1.27 1.27)) (justify right))
     (uuid 08953198-abaf-4707-a44d-4619536956e5)
   )
-  (hierarchical_label "EN_MEASURE_CURRENT" (shape input) (at 74.93 83.82 180)
+  (hierarchical_label "EN_MEASURE_CURRENT" (shape input) (at 74.93 81.28 180)
     (effects (font (size 1.27 1.27)) (justify right))
     (uuid 2fcc0ec4-20b3-4753-ba40-7f1988048bb1)
   )
@@ -1382,6 +1410,25 @@
     (pin "2" (uuid 7556d5d2-d78c-4ad5-b6df-920ab4c4bfb0))
   )
 
+  (symbol (lib_id "Device:NetTie_2") (at 45.72 77.47 90) (unit 1)
+    (in_bom no) (on_board yes) (fields_autoplaced)
+    (uuid 3640d622-5dd1-42df-a6c7-b806e933e1e6)
+    (property "Reference" "NT2" (id 0) (at 46.99 76.1999 90)
+      (effects (font (size 1.27 1.27)) (justify right))
+    )
+    (property "Value" "NetTie_2" (id 1) (at 46.99 78.7399 90)
+      (effects (font (size 1.27 1.27)) (justify right))
+    )
+    (property "Footprint" "NetTie:NetTie-2_SMD_Pad0.5mm" (id 2) (at 45.72 77.47 0)
+      (effects (font (size 1.27 1.27)) hide)
+    )
+    (property "Datasheet" "~" (id 3) (at 45.72 77.47 0)
+      (effects (font (size 1.27 1.27)) hide)
+    )
+    (pin "1" (uuid bdefe787-6a56-4d4d-8899-1cc45b2eaab3))
+    (pin "2" (uuid 31bae8f6-9c7c-4941-9315-c59d134ca674))
+  )
+
   (symbol (lib_id "Transistor_FET:AO3400A") (at 43.18 57.15 0) (unit 1)
     (in_bom yes) (on_board yes)
     (uuid 39c55024-71ae-4cb9-bbc3-effd60565ec9)
@@ -1546,17 +1593,17 @@
     (pin "1" (uuid 965ed3b1-6e4e-4206-ae6d-a051b79af364))
   )
 
-  (symbol (lib_id "power:GNDPWR") (at 45.72 133.35 0) (unit 1)
+  (symbol (lib_id "power:GNDPWR") (at 45.72 138.43 0) (unit 1)
     (in_bom yes) (on_board yes) (fields_autoplaced)
     (uuid 5ce91580-bb5a-4d54-b4cd-6cc3994274ed)
-    (property "Reference" "#PWR0131" (id 0) (at 45.72 138.43 0)
+    (property "Reference" "#PWR0131" (id 0) (at 45.72 143.51 0)
       (effects (font (size 1.27 1.27)) hide)
     )
-    (property "Value" "GNDPWR" (id 1) (at 45.593 138.43 0))
-    (property "Footprint" "" (id 2) (at 45.72 134.62 0)
+    (property "Value" "GNDPWR" (id 1) (at 45.593 143.51 0))
+    (property "Footprint" "" (id 2) (at 45.72 139.7 0)
       (effects (font (size 1.27 1.27)) hide)
     )
-    (property "Datasheet" "" (id 3) (at 45.72 134.62 0)
+    (property "Datasheet" "" (id 3) (at 45.72 139.7 0)
       (effects (font (size 1.27 1.27)) hide)
     )
     (pin "1" (uuid 6d919a2b-dece-4de8-b88c-54a40d9d21d1))
@@ -1601,7 +1648,7 @@
   )
 
   (symbol (lib_id "Device:NetTie_2") (at 44.45 160.02 0) (unit 1)
-    (in_bom yes) (on_board yes) (fields_autoplaced)
+    (in_bom no) (on_board yes) (fields_autoplaced)
     (uuid 7355d782-61e2-40ad-9924-062ba9b56d07)
     (property "Reference" "NT1" (id 0) (at 44.45 154.94 0))
     (property "Value" "NetTie_2" (id 1) (at 44.45 157.48 0))
@@ -1634,22 +1681,6 @@
     (pin "2" (uuid ac12a97e-3e3e-4a1d-8ea7-cc6772ef29b9))
   )
 
-  (symbol (lib_id "power:GNDPWR") (at 121.92 88.9 0) (unit 1)
-    (in_bom yes) (on_board yes) (fields_autoplaced)
-    (uuid 76132388-6fa1-4080-ad6b-ee1c7fb5712e)
-    (property "Reference" "#PWR?" (id 0) (at 121.92 93.98 0)
-      (effects (font (size 1.27 1.27)) hide)
-    )
-    (property "Value" "GNDPWR" (id 1) (at 121.793 93.98 0))
-    (property "Footprint" "" (id 2) (at 121.92 90.17 0)
-      (effects (font (size 1.27 1.27)) hide)
-    )
-    (property "Datasheet" "" (id 3) (at 121.92 90.17 0)
-      (effects (font (size 1.27 1.27)) hide)
-    )
-    (pin "1" (uuid 26a88456-6390-4a25-b449-70e071352e4c))
-  )
-
   (symbol (lib_id "power:GND") (at 181.61 85.09 0) (unit 1)
     (in_bom yes) (on_board yes) (fields_autoplaced)
     (uuid 895dacb9-aef7-4526-aaa3-3f1da4326062)
@@ -1666,17 +1697,17 @@
     (pin "1" (uuid 0070c927-f861-4e7a-8ed5-ef5c84ed50fd))
   )
 
-  (symbol (lib_id "power:GNDPWR") (at 45.72 74.93 0) (unit 1)
+  (symbol (lib_id "power:GNDPWR") (at 45.72 80.01 0) (unit 1)
     (in_bom yes) (on_board yes) (fields_autoplaced)
     (uuid 8fdfc003-d74e-4cef-be8c-3463fc0981c1)
-    (property "Reference" "#PWR0127" (id 0) (at 45.72 80.01 0)
+    (property "Reference" "#PWR0127" (id 0) (at 45.72 85.09 0)
       (effects (font (size 1.27 1.27)) hide)
     )
-    (property "Value" "GNDPWR" (id 1) (at 45.593 80.01 0))
-    (property "Footprint" "" (id 2) (at 45.72 76.2 0)
+    (property "Value" "GNDPWR" (id 1) (at 45.593 85.09 0))
+    (property "Footprint" "" (id 2) (at 45.72 81.28 0)
       (effects (font (size 1.27 1.27)) hide)
     )
-    (property "Datasheet" "" (id 3) (at 45.72 76.2 0)
+    (property "Datasheet" "" (id 3) (at 45.72 81.28 0)
       (effects (font (size 1.27 1.27)) hide)
     )
     (pin "1" (uuid 6fbf7429-83ee-4535-85c5-26d97db661b0))
@@ -1749,22 +1780,6 @@
     (pin "2" (uuid 293aaa73-188f-401b-93d0-d6865d63fcba))
   )
 
-  (symbol (lib_id "power:GNDPWR") (at 123.19 147.32 0) (unit 1)
-    (in_bom yes) (on_board yes) (fields_autoplaced)
-    (uuid bf3f0d41-1344-4f11-a44a-46733ebabd83)
-    (property "Reference" "#PWR?" (id 0) (at 123.19 152.4 0)
-      (effects (font (size 1.27 1.27)) hide)
-    )
-    (property "Value" "GNDPWR" (id 1) (at 123.063 152.4 0))
-    (property "Footprint" "" (id 2) (at 123.19 148.59 0)
-      (effects (font (size 1.27 1.27)) hide)
-    )
-    (property "Datasheet" "" (id 3) (at 123.19 148.59 0)
-      (effects (font (size 1.27 1.27)) hide)
-    )
-    (pin "1" (uuid 6a330de2-b456-4816-afb5-3849f01da534))
-  )
-
   (symbol (lib_id "Transistor_FET:AO3400A") (at 81.28 115.57 0) (unit 1)
     (in_bom yes) (on_board yes) (fields_autoplaced)
     (uuid bf5f9ca6-727e-4f7f-a98e-730b08151997)
@@ -1902,6 +1917,25 @@
     (pin "2" (uuid e316c483-5f22-4b4a-bd21-518dc802715f))
   )
 
+  (symbol (lib_id "Device:NetTie_2") (at 45.72 135.89 90) (unit 1)
+    (in_bom no) (on_board yes) (fields_autoplaced)
+    (uuid d1e58494-4b4f-4ac6-b19c-b2a580aa0d95)
+    (property "Reference" "NT3" (id 0) (at 46.99 134.6199 90)
+      (effects (font (size 1.27 1.27)) (justify right))
+    )
+    (property "Value" "NetTie_2" (id 1) (at 46.99 137.1599 90)
+      (effects (font (size 1.27 1.27)) (justify right))
+    )
+    (property "Footprint" "NetTie:NetTie-2_SMD_Pad0.5mm" (id 2) (at 45.72 135.89 0)
+      (effects (font (size 1.27 1.27)) hide)
+    )
+    (property "Datasheet" "~" (id 3) (at 45.72 135.89 0)
+      (effects (font (size 1.27 1.27)) hide)
+    )
+    (pin "1" (uuid 73b6a29f-c524-450d-b253-ce9989b59f4b))
+    (pin "2" (uuid 95dfde40-5cc6-4975-9664-fb3778c5560d))
+  )
+
   (symbol (lib_id "Device:R") (at 111.76 109.22 90) (unit 1)
     (in_bom yes) (on_board yes) (fields_autoplaced)
     (uuid d7343d5e-366d-4422-8176-17243a4e6e26)
-- 
GitLab