← Commit history

avr-m2012c120mt6ab: KiCad Device:Varistor symbol instead of a box (two-terminal passive)

Ray ·0f70843507 ·7d ago ·parent f4ebd52
2 files changed +240−31
avr-m2012c120mt6ab.kicad_sym+223−20
@@ -1,21 +1,224 @@-(kicad_symbol_lib (version 20211014) (generator ds2sf_rect)-  (symbol "AVR-M2012C120MT6AB" (in_bom yes) (on_board yes)-    (property "Reference" "U" (at 0 5.08 0) (effects (font (size 1.27 1.27))))-    (property "Value" "AVR-M2012C120MT6AB" (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 "AVR-M2012C120MT6AB_0_1"-    (rectangle (start -12.70 2.54) (end 12.70 -2.54)-      (stroke (width 0.254) (type default)) (fill (type background)))-    )-    (symbol "AVR-M2012C120MT6AB_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 "AVR-M2012C120MT6AB"+		(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" "RV"+			(at 3.175 0 90)+			(show_name no)+			(do_not_autoplace no)+			(effects+				(font+					(size 1.27 1.27)+				)+			)+		)+		(property "Value" "AVR-M2012C120MT6AB"+			(at -3.175 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/8588934268806434816"+			(at 0 0 0)+			(show_name no)+			(do_not_autoplace no)+			(hide yes)+			(effects+				(font+					(size 1.27 1.27)+				)+			)+		)+		(property "Description" "Voltage dependent resistor"+			(at 0 0 0)+			(show_name no)+			(do_not_autoplace no)+			(hide yes)+			(effects+				(font+					(size 1.27 1.27)+				)+			)+		)+		(property "Sim.Name" "kicad_builtin_varistor"+			(at 0 0 0)+			(show_name no)+			(do_not_autoplace no)+			(hide yes)+			(effects+				(font+					(size 1.27 1.27)+				)+			)+		)+		(property "Sim.Device" "SUBCKT"+			(at 0 0 0)+			(show_name no)+			(do_not_autoplace no)+			(hide yes)+			(effects+				(font+					(size 1.27 1.27)+				)+			)+		)+		(property "Sim.Pins" "1=A 2=B"+			(at 0 0 0)+			(show_name no)+			(do_not_autoplace no)+			(hide yes)+			(effects+				(font+					(size 1.27 1.27)+				)+			)+		)+		(property "Sim.Params" "threshold=1k"+			(at 0 0 0)+			(show_name no)+			(do_not_autoplace no)+			(hide yes)+			(effects+				(font+					(size 1.27 1.27)+				)+			)+		)+		(property "Sim.Library" "${KICAD9_SYMBOL_DIR}/Simulation_SPICE.sp"+			(at 0 0 0)+			(show_name no)+			(do_not_autoplace no)+			(hide yes)+			(effects+				(font+					(size 1.27 1.27)+				)+			)+		)+		(property "ki_keywords" "VDR resistance"+			(at 0 0 0)+			(show_name no)+			(do_not_autoplace no)+			(hide yes)+			(effects+				(font+					(size 1.27 1.27)+				)+			)+		)+		(property "ki_fp_filters" "RV_* Varistor*"+			(at 0 0 0)+			(show_name no)+			(do_not_autoplace no)+			(hide yes)+			(effects+				(font+					(size 1.27 1.27)+				)+			)+		)+		(property "MPN" "AVR-M2012C120MT6AB" (at 0 0 0) (effects (font (size 1.27 1.27)) hide))+		(property "LCSC" "C695357" (at 0 0 0) (effects (font (size 1.27 1.27)) hide))+		(symbol "AVR-M2012C120MT6AB_0_0"+			(text "U"+				(at -1.778 -2.032 0)+				(effects+					(font+						(size 1.27 1.27)+					)+				)+			)+		)+		(symbol "AVR-M2012C120MT6AB_0_1"+			(polyline+				(pts+					(xy -1.905 2.54) (xy -1.905 1.27) (xy 1.905 -1.27)+				)+				(stroke+					(width 0)+					(type default)+				)+				(fill+					(type none)+				)+			)+			(rectangle+				(start -1.016 -2.54)+				(end 1.016 2.54)+				(stroke+					(width 0.254)+					(type default)+				)+				(fill+					(type none)+				)+			)+		)+		(symbol "AVR-M2012C120MT6AB_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)+	) )
avr-m2012c120mt6ab.lbr+17−11
@@ -50,7 +50,7 @@ <layer number="98" name="Guide" color="6" fill="1" visible="yes" active="yes"/> </layers> <library>-<description></description>+<description>Voltage dependent resistor</description> <packages> <package name="R_0805_2012Metric">   <description>2 pads, 2.8 x 1.4 mm. Resistor SMD 0805 (2012 Metric), square (rectangular) end terminal, IPC-7351 nominal</description>@@ -68,19 +68,25 @@ </packages> <symbols> <symbol name="AVR-M2012C120MT6AB">-  <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>Voltage dependent resistor</description>+  <wire x1="-1.016" y1="-2.54" x2="1.016" y2="-2.54" width="0.254" layer="94"/>+  <wire x1="1.016" y1="-2.54" x2="1.016" y2="2.54" width="0.254" layer="94"/>+  <wire x1="1.016" y1="2.54" x2="-1.016" y2="2.54" width="0.254" layer="94"/>+  <wire x1="-1.016" y1="2.54" x2="-1.016" y2="-2.54" width="0.254" layer="94"/>+  <wire x1="-1.9050" y1="2.5400" x2="-1.9050" y2="1.2700" width="0.1524" layer="94"/>+  <wire x1="-1.9050" y1="1.2700" x2="1.9050" y2="-1.2700" width="0.1524" layer="94"/>+  <text x="3.1750" y="0.0000" size="1.27" layer="95" align="center">&gt;NAME</text>+  <text x="-3.1750" y="0.0000" size="1.27" layer="96" align="center">&gt;VALUE</text>+  <wire x1="0.0000" y1="3.8100" x2="0.0000" y2="2.5400" width="0.254" layer="94"/>+  <pin name="1" x="0" y="3.81" length="point" direction="pas" rot="R270"/>+  <wire x1="0.0000" y1="-3.8100" x2="0.0000" y2="-2.5400" width="0.254" layer="94"/>+  <pin name="2" x="0" y="-3.81" length="point" direction="pas" rot="R90"/>+  <text x="-1.7780" y="-2.0320" size="0.762" layer="94" font="vector" ratio="15" align="center-left">U</text> </symbol> </symbols> <devicesets>-<deviceset name="AVR-M2012C120MT6AB" prefix="U">-  <description></description>+<deviceset name="AVR-M2012C120MT6AB" prefix="RV">+  <description>Voltage dependent resistor</description>   <gates>     <gate name="G$1" symbol="AVR-M2012C120MT6AB" x="0" y="0"/>   </gates>