From 53f5c4c0007a4d179ed3165259b1d9ddf44b94a2 Mon Sep 17 00:00:00 2001
From: Krisjanis Rijnieks <krisjanis.rijnieks@gmail.com>
Date: Mon, 4 Apr 2022 19:26:47 +0300
Subject: [PATCH] Fix charge controller according to KLC

---
 fab.kicad_sym | 24 ++++++++++++------------
 1 file changed, 12 insertions(+), 12 deletions(-)

diff --git a/fab.kicad_sym b/fab.kicad_sym
index 5cb72bf..ffcd3b6 100644
--- a/fab.kicad_sym
+++ b/fab.kicad_sym
@@ -571,17 +571,17 @@
       )
     )
   )
-  (symbol "Charge_Controller_4.2V_MCP73831-2-OT" (pin_names (offset 1.016)) (in_bom yes) (on_board yes)
+  (symbol "ChargeController_LiIon_Microchip_MCP73831_SOT23" (in_bom yes) (on_board yes)
     (property "Reference" "U" (id 0) (at -7.62 6.35 0)
       (effects (font (size 1.27 1.27)) (justify left))
     )
-    (property "Value" "Charge_Controller_4.2V_MCP73831-2-OT" (id 1) (at 1.27 6.35 0)
+    (property "Value" "ChargeController_LiIon_Microchip_MCP73831_SOT23" (id 1) (at 1.27 6.35 0)
       (effects (font (size 1.27 1.27)) (justify left))
     )
-    (property "Footprint" "fab:SOT-23-5" (id 2) (at 1.27 -6.35 0)
-      (effects (font (size 1.27 1.27) italic) (justify left) hide)
+    (property "Footprint" "fab:SOT-23-5" (id 2) (at 0 0 0)
+      (effects (font (size 1.27 1.27)) hide)
     )
-    (property "Datasheet" "http://ww1.microchip.com/downloads/en/DeviceDoc/MCP73831-Family-Data-Sheet-DS20001984H.pdf" (id 3) (at -3.81 -1.27 0)
+    (property "Datasheet" "http://ww1.microchip.com/downloads/en/DeviceDoc/MCP73831-Family-Data-Sheet-DS20001984H.pdf" (id 3) (at 0 0 0)
       (effects (font (size 1.27 1.27)) hide)
     )
     (property "ki_keywords" "battery charger lithium" (id 4) (at 0 0 0)
@@ -593,30 +593,30 @@
     (property "ki_fp_filters" "SOT?23*" (id 6) (at 0 0 0)
       (effects (font (size 1.27 1.27)) hide)
     )
-    (symbol "Charge_Controller_4.2V_MCP73831-2-OT_0_1"
+    (symbol "ChargeController_LiIon_Microchip_MCP73831_SOT23_0_1"
       (rectangle (start -7.62 5.08) (end 7.62 -5.08)
         (stroke (width 0.254) (type default) (color 0 0 0 0))
         (fill (type background))
       )
     )
-    (symbol "Charge_Controller_4.2V_MCP73831-2-OT_1_1"
-      (pin output line (at 10.16 -2.54 180) (length 2.54)
+    (symbol "ChargeController_LiIon_Microchip_MCP73831_SOT23_1_1"
+      (pin output line (at 10.16 0 180) (length 2.54)
         (name "STAT" (effects (font (size 1.27 1.27))))
         (number "1" (effects (font (size 1.27 1.27))))
       )
-      (pin power_in line (at 0 -7.62 90) (length 2.54)
+      (pin power_in line (at -2.54 -7.62 90) (length 2.54)
         (name "VSS" (effects (font (size 1.27 1.27))))
         (number "2" (effects (font (size 1.27 1.27))))
       )
-      (pin power_out line (at 10.16 2.54 180) (length 2.54)
+      (pin power_in line (at 0 7.62 270) (length 2.54)
         (name "VBAT" (effects (font (size 1.27 1.27))))
         (number "3" (effects (font (size 1.27 1.27))))
       )
-      (pin power_in line (at 0 7.62 270) (length 2.54)
+      (pin power_in line (at -2.54 7.62 270) (length 2.54)
         (name "VDD" (effects (font (size 1.27 1.27))))
         (number "4" (effects (font (size 1.27 1.27))))
       )
-      (pin input line (at -10.16 -2.54 0) (length 2.54)
+      (pin input line (at -10.16 0 0) (length 2.54)
         (name "PROG" (effects (font (size 1.27 1.27))))
         (number "5" (effects (font (size 1.27 1.27))))
       )
-- 
GitLab