From dbfbbd5b15a99844cda6be5af595f61609d08ae0 Mon Sep 17 00:00:00 2001
From: Krisjanis Rijnieks <krisjanis.rijnieks@gmail.com>
Date: Sat, 2 Apr 2022 23:00:01 +0300
Subject: [PATCH] Fix amplifier LM4871M symbol according to KLC

---
 fab.kicad_sym | 126 +++++++++++++++++++++++++-------------------------
 1 file changed, 63 insertions(+), 63 deletions(-)

diff --git a/fab.kicad_sym b/fab.kicad_sym
index e89328a..c7306dd 100644
--- a/fab.kicad_sym
+++ b/fab.kicad_sym
@@ -1,67 +1,4 @@
 (kicad_symbol_lib (version 20211014) (generator kicad_symbol_editor)
-  (symbol "AMP_MONO_LM4871M" (in_bom yes) (on_board yes)
-    (property "Reference" "U" (id 0) (at -6.35 11.43 0)
-      (effects (font (size 1.27 1.27)))
-    )
-    (property "Value" "AMP_MONO_LM4871M" (id 1) (at 0 -11.9888 0)
-      (effects (font (size 1.27 1.27)))
-    )
-    (property "Footprint" "fab:SOIC-8_3.9x4.9mm_P1.27mm" (id 2) (at 0 0 0)
-      (effects (font (size 1.27 1.27) italic) hide)
-    )
-    (property "Datasheet" "http://ww1.microchip.com/downloads/en/DeviceDoc/atmel-2586-avr-8-bit-microcontroller-attiny25-attiny45-attiny85_datasheet.pdf" (id 3) (at 0 0 0)
-      (effects (font (size 1.27 1.27)) hide)
-    )
-    (property "ki_keywords" "AVR 8bit Microcontroller tinyAVR" (id 4) (at 0 0 0)
-      (effects (font (size 1.27 1.27)) hide)
-    )
-    (property "ki_description" "10MHz, 8kB Flash, 512B SRAM, 512B EEPROM, debugWIRE, SOIJ-8" (id 5) (at 0 0 0)
-      (effects (font (size 1.27 1.27)) hide)
-    )
-    (property "ki_fp_filters" "TSSOP*3x3mm*P0.65mm*" (id 6) (at 0 0 0)
-      (effects (font (size 1.27 1.27)) hide)
-    )
-    (symbol "AMP_MONO_LM4871M_0_1"
-      (rectangle (start -7.62 10.16) (end 7.62 -10.16)
-        (stroke (width 0.254) (type default) (color 0 0 0 0))
-        (fill (type background))
-      )
-    )
-    (symbol "AMP_MONO_LM4871M_1_1"
-      (pin input line (at -10.16 5.715 0) (length 2.54)
-        (name "SHDN" (effects (font (size 1.27 1.27))))
-        (number "1" (effects (font (size 1.27 1.27))))
-      )
-      (pin passive line (at -10.16 1.905 0) (length 2.54)
-        (name "BYPASS" (effects (font (size 1.27 1.27))))
-        (number "2" (effects (font (size 1.27 1.27))))
-      )
-      (pin input line (at -10.16 -1.905 0) (length 2.54)
-        (name "+IN" (effects (font (size 1.27 1.27))))
-        (number "3" (effects (font (size 1.27 1.27))))
-      )
-      (pin input line (at -10.16 -5.715 0) (length 2.54)
-        (name "-IN" (effects (font (size 1.27 1.27))))
-        (number "4" (effects (font (size 1.27 1.27))))
-      )
-      (pin output line (at 10.16 -5.715 180) (length 2.54)
-        (name "VOUT1" (effects (font (size 1.27 1.27))))
-        (number "5" (effects (font (size 1.27 1.27))))
-      )
-      (pin power_in line (at 10.16 -1.905 180) (length 2.54)
-        (name "VDD" (effects (font (size 1.27 1.27))))
-        (number "6" (effects (font (size 1.27 1.27))))
-      )
-      (pin power_in line (at 10.16 1.905 180) (length 2.54)
-        (name "GND" (effects (font (size 1.27 1.27))))
-        (number "7" (effects (font (size 1.27 1.27))))
-      )
-      (pin output line (at 10.16 5.715 180) (length 2.54)
-        (name "VOUT2" (effects (font (size 1.27 1.27))))
-        (number "8" (effects (font (size 1.27 1.27))))
-      )
-    )
-  )
   (symbol "ATSAMD11C14A-SS" (in_bom yes) (on_board yes)
     (property "Reference" "U" (id 0) (at -10.16 16.51 0)
       (effects (font (size 1.27 1.27)) (justify left))
@@ -143,6 +80,69 @@
       )
     )
   )
+  (symbol "Amplifier_Mono_LM4871M" (in_bom yes) (on_board yes)
+    (property "Reference" "U" (id 0) (at -7.62 10.16 0)
+      (effects (font (size 1.27 1.27)) (justify left bottom))
+    )
+    (property "Value" "Amplifier_Mono_LM4871M" (id 1) (at -7.62 7.62 0)
+      (effects (font (size 1.27 1.27)) (justify left bottom))
+    )
+    (property "Footprint" "fab:SOIC-8_3.9x4.9mm_P1.27mm" (id 2) (at 0 -2.54 0)
+      (effects (font (size 1.27 1.27) italic) hide)
+    )
+    (property "Datasheet" "https://www.ti.com/general/docs/suppproductinfo.tsp?distId=10&gotoUrl=https%3A%2F%2Fwww.ti.com%2Flit%2Fgpn%2Flm4871" (id 3) (at 0 -2.54 0)
+      (effects (font (size 1.27 1.27)) hide)
+    )
+    (property "ki_keywords" "AMP, MONO, 3W, SOIC-8, amplifier" (id 4) (at 0 0 0)
+      (effects (font (size 1.27 1.27)) hide)
+    )
+    (property "ki_description" "Amplifier IC 1-Channel (Mono) Class AB 8-SOIC" (id 5) (at 0 0 0)
+      (effects (font (size 1.27 1.27)) hide)
+    )
+    (property "ki_fp_filters" "TSSOP*3x3mm*P0.65mm*" (id 6) (at 0 0 0)
+      (effects (font (size 1.27 1.27)) hide)
+    )
+    (symbol "Amplifier_Mono_LM4871M_0_1"
+      (rectangle (start -7.62 7.62) (end 7.62 -7.62)
+        (stroke (width 0.254) (type default) (color 0 0 0 0))
+        (fill (type background))
+      )
+    )
+    (symbol "Amplifier_Mono_LM4871M_1_1"
+      (pin input line (at -10.16 5.08 0) (length 2.54)
+        (name "SHDN" (effects (font (size 1.27 1.27))))
+        (number "1" (effects (font (size 1.27 1.27))))
+      )
+      (pin passive line (at -10.16 2.54 0) (length 2.54)
+        (name "BYPASS" (effects (font (size 1.27 1.27))))
+        (number "2" (effects (font (size 1.27 1.27))))
+      )
+      (pin input line (at -10.16 -2.54 0) (length 2.54)
+        (name "+IN" (effects (font (size 1.27 1.27))))
+        (number "3" (effects (font (size 1.27 1.27))))
+      )
+      (pin input line (at -10.16 -5.08 0) (length 2.54)
+        (name "-IN" (effects (font (size 1.27 1.27))))
+        (number "4" (effects (font (size 1.27 1.27))))
+      )
+      (pin output line (at 10.16 2.54 180) (length 2.54)
+        (name "VOUT1" (effects (font (size 1.27 1.27))))
+        (number "5" (effects (font (size 1.27 1.27))))
+      )
+      (pin power_in line (at 0 7.62 270) (length 2.54)
+        (name "VDD" (effects (font (size 1.27 1.27))))
+        (number "6" (effects (font (size 1.27 1.27))))
+      )
+      (pin power_in line (at 0 -10.16 90) (length 2.54)
+        (name "GND" (effects (font (size 1.27 1.27))))
+        (number "7" (effects (font (size 1.27 1.27))))
+      )
+      (pin output line (at 10.16 0 180) (length 2.54)
+        (name "VOUT2" (effects (font (size 1.27 1.27))))
+        (number "8" (effects (font (size 1.27 1.27))))
+      )
+    )
+  )
   (symbol "Arduino_UNO_R3" (in_bom yes) (on_board yes)
     (property "Reference" "A" (id 0) (at -10.16 23.495 0)
       (effects (font (size 1.27 1.27)) (justify left bottom))
-- 
GitLab