← Commit history

asr-k-3-2-5f: KiCad Device:R symbol instead of a box (two-terminal passive)

Ray ·02b2c6da19 ·6d ago ·parent 369d9e3
2 files changed +159−41
asr-k-3-2-5f.kicad_sym+146−20
@@ -1,21 +1,147 @@-(kicad_symbol_lib (version 20211014) (generator ds2sf_rect)-  (symbol "ASR-K-3-2.5F" (in_bom yes) (on_board yes)-    (property "Reference" "U" (at 0 5.08 0) (effects (font (size 1.27 1.27))))-    (property "Value" "ASR-K-3-2.5F" (at 0 -5.08 0) (effects (font (size 1.27 1.27))))-    (property "Footprint" "" (at 0 0 0) (effects (font (size 1.27 1.27)) hide))-    (symbol "ASR-K-3-2.5F_0_1"-    (rectangle (start -12.70 2.54) (end 12.70 -2.54)-      (stroke (width 0.254) (type default)) (fill (type background)))-    )-    (symbol "ASR-K-3-2.5F_1_1"-    (pin passive line (at -17.78 0.00 0) (length 5.08)-      (name "1" (effects (font (size 1.27 1.27))))-      (number "1" (effects (font (size 1.27 1.27))))-    )-    (pin passive line (at 17.78 0.00 180) (length 5.08)-      (name "2" (effects (font (size 1.27 1.27))))-      (number "2" (effects (font (size 1.27 1.27))))-    )-    )-  )+(kicad_symbol_lib+	(version 20251024)+	(generator "kicad_symbol_editor")+	(generator_version "10.0")+(symbol "ASR-K-3-2.5F"+		(pin_numbers+			(hide yes)+		)+		(pin_names+			(offset 0)+		)+		(exclude_from_sim no)+		(in_bom yes)+		(on_board yes)+		(in_pos_files yes)+		(duplicate_pin_numbers_are_jumpers no)+		(property "Reference" "R"+			(at 2.032 0 90)+			(show_name no)+			(do_not_autoplace no)+			(effects+				(font+					(size 1.27 1.27)+				)+			)+		)+		(property "Value" "ASR-K-3-2.5F"+			(at 0 0 90)+			(show_name no)+			(do_not_autoplace no)+			(effects+				(font+					(size 1.27 1.27)+				)+			)+		)+		(property "Footprint" ""+			(at -1.778 0 90)+			(show_name no)+			(do_not_autoplace no)+			(hide yes)+			(effects+				(font+					(size 1.27 1.27)+				)+			)+		)+		(property "Datasheet" "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8588936672612659200"+			(at 0 0 0)+			(show_name no)+			(do_not_autoplace no)+			(hide yes)+			(effects+				(font+					(size 1.27 1.27)+				)+			)+		)+		(property "Description" "Resistor"+			(at 0 0 0)+			(show_name no)+			(do_not_autoplace no)+			(hide yes)+			(effects+				(font+					(size 1.27 1.27)+				)+			)+		)+		(property "ki_keywords" "R res resistor"+			(at 0 0 0)+			(show_name no)+			(do_not_autoplace no)+			(hide yes)+			(effects+				(font+					(size 1.27 1.27)+				)+			)+		)+		(property "ki_fp_filters" "R_*"+			(at 0 0 0)+			(show_name no)+			(do_not_autoplace no)+			(hide yes)+			(effects+				(font+					(size 1.27 1.27)+				)+			)+		)+		(property "MPN" "ASR-K-3-2.5F" (at 0 0 0) (effects (font (size 1.27 1.27)) hide))+		(property "LCSC" "C469429" (at 0 0 0) (effects (font (size 1.27 1.27)) hide))+		(symbol "ASR-K-3-2.5F_0_1"+			(rectangle+				(start -1.016 -2.54)+				(end 1.016 2.54)+				(stroke+					(width 0.254)+					(type default)+				)+				(fill+					(type none)+				)+			)+		)+		(symbol "ASR-K-3-2.5F_1_1"+			(pin passive line+				(at 0 3.81 270)+				(length 1.27)+				(name ""+					(effects+						(font+							(size 1.27 1.27)+						)+					)+				)+				(number "1"+					(effects+						(font+							(size 1.27 1.27)+						)+					)+				)+			)+			(pin passive line+				(at 0 -3.81 90)+				(length 1.27)+				(name ""+					(effects+						(font+							(size 1.27 1.27)+						)+					)+				)+				(number "2"+					(effects+						(font+							(size 1.27 1.27)+						)+					)+				)+			)+		)+		(embedded_fonts no)+	) )
asr-k-3-2-5f.lbr+13−21
@@ -50,7 +50,7 @@ <layer number="98" name="Guide" color="6" fill="1" visible="yes" active="yes"/> </layers> <library>-<description>Shenzhen Yezhan Elec Current Sense Resistors / Shunt Resistors, 2512. Unpolarised two-terminal part: the datasheet prints no pin numbers, so pins 1 and 2 follow the library convention</description>+<description>Resistor</description> <packages> <package name="R_2512_6332Metric">   <description>2 pads, 7.2 x 3.4 mm. Resistor SMD 2512 (6332 Metric), square (rectangular) end terminal, IPC-7351 nominal</description>@@ -68,20 +68,20 @@ </packages> <symbols> <symbol name="ASR-K-3-2.5F">-  <description>Shenzhen Yezhan Elec Current Sense Resistors / Shunt Resistors, 2512. Unpolarised two-terminal part: the datasheet prints no pin numbers, so pins 1 and 2 follow the library convention</description>-  <wire x1="-12.7" y1="2.54" x2="12.7" y2="2.54" width="0.254" layer="94"/>-  <wire x1="12.7" y1="2.54" x2="12.7" y2="-2.54" width="0.254" layer="94"/>-  <wire x1="12.7" y1="-2.54" x2="-12.7" y2="-2.54" width="0.254" layer="94"/>-  <wire x1="-12.7" y1="-2.54" x2="-12.7" y2="2.54" width="0.254" layer="94"/>-  <text x="0.0000" y="5.0800" size="1.27" layer="95" align="center">&gt;NAME</text>-  <text x="0.0000" y="-5.0800" size="1.27" layer="96" align="center">&gt;VALUE</text>-  <pin name="1" x="-17.78" y="0" length="middle" direction="pas"/>-  <pin name="2" x="17.78" y="0" length="middle" direction="pas" rot="R180"/>+  <description>Resistor</description>+  <wire x1="-7.62" y1="5.08" x2="7.62" y2="5.08" width="0.254" layer="94"/>+  <wire x1="7.62" y1="5.08" x2="7.62" y2="-2.54" width="0.254" layer="94"/>+  <wire x1="7.62" y1="-2.54" x2="-7.62" y2="-2.54" width="0.254" layer="94"/>+  <wire x1="-7.62" y1="-2.54" x2="-7.62" y2="5.08" width="0.254" layer="94"/>+  <text x="2.0320" y="0.0000" size="1.27" layer="95" align="center">&gt;NAME</text>+  <text x="0.0000" y="0.0000" size="1.27" layer="96" align="center">&gt;VALUE</text>+  <pin name="1" x="-12.7" y="2.54" length="middle" direction="pas"/>+  <pin name="2" x="-12.7" y="0" length="middle" direction="pas"/> </symbol> </symbols> <devicesets>-<deviceset name="ASR-K-3-2.5F" prefix="U">-  <description>Shenzhen Yezhan Elec Current Sense Resistors / Shunt Resistors, 2512. Unpolarised two-terminal part: the datasheet prints no pin numbers, so pins 1 and 2 follow the library convention</description>+<deviceset name="ASR-K-3-2.5F" prefix="R">+  <description>Resistor</description>   <gates>     <gate name="G$1" symbol="ASR-K-3-2.5F" x="0" y="0"/>   </gates>@@ -91,15 +91,7 @@         <connect gate="G$1" pin="1" pad="1"/>         <connect gate="G$1" pin="2" pad="2"/>       </connects>-      <technologies>-        <technology name="">-          <attribute name="MPN" value="ASR-K-3-2.5F" constant="no"/>-          <attribute name="MANUFACTURER" value="Shenzhen Yezhan Elec" constant="no"/>-          <attribute name="DATASHEET" value="https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8588936672612659200" constant="no"/>-          <attribute name="ADOM_WIKI" value="https://wiki.adom.inc/adom/asr-k-3-2-5f" constant="no"/>-          <attribute name="LCSC_PN" value="C469429" constant="no"/>-        </technology>-      </technologies>+      <technologies><technology name=""/></technologies>     </device>   </devices> </deviceset>