← Commit history

bc857a-7-f: one-pass backfill (symbol Device:Q_PNP)

Ray ·35f52cb469 · ·parent f022062
2 files changed +241−38
bc857a-7-f.kicad_sym+212−24
@@ -1,25 +1,213 @@-(kicad_symbol_lib (version 20211014) (generator ds2sf_rect)-  (symbol "BC857A-7-F" (in_bom yes) (on_board yes)-    (property "Reference" "U" (at 0 5.08 0) (effects (font (size 1.27 1.27))))-    (property "Value" "BC857A-7-F" (at 0 -7.62 0) (effects (font (size 1.27 1.27))))-    (property "Footprint" "" (at 0 0 0) (effects (font (size 1.27 1.27)) hide))-    (symbol "BC857A-7-F_0_1"-    (rectangle (start -12.70 2.54) (end 12.70 -5.08)-      (stroke (width 0.254) (type default)) (fill (type background)))-    )-    (symbol "BC857A-7-F_1_1"-    (pin input line (at -17.78 0.00 0) (length 5.08)-      (name "B" (effects (font (size 1.27 1.27))))-      (number "1" (effects (font (size 1.27 1.27))))-    )-    (pin passive line (at -17.78 -2.54 0) (length 5.08)-      (name "E" (effects (font (size 1.27 1.27))))-      (number "2" (effects (font (size 1.27 1.27))))-    )-    (pin passive line (at 17.78 0.00 180) (length 5.08)-      (name "C" (effects (font (size 1.27 1.27))))-      (number "3" (effects (font (size 1.27 1.27))))-    )-    )-  )+(kicad_symbol_lib+	(version 20251024)+	(generator "kicad_symbol_editor")+	(generator_version "10.0")+(symbol "BC857A-7-F"+		+		(pin_names (hide yes)+			(offset 0)+			(hide yes)+		)+		(exclude_from_sim no)+		(in_bom yes)+		(on_board yes)+		(in_pos_files yes)+		(duplicate_pin_numbers_are_jumpers no)+		(property "Reference" "Q"+			(at 5.08 1.27 0)+			(show_name no)+			(do_not_autoplace no)+			(effects+				(font+					(size 1.27 1.27)+				)+				(justify left)+			)+		)+		(property "Value" "BC857A-7-F"+			(at 5.08 -1.27 0)+			(show_name no)+			(do_not_autoplace no)+			(effects+				(font+					(size 1.27 1.27)+				)+				(justify left)+			)+		)+		(property "Footprint" ""+			(at 5.08 2.54 0)+			(show_name no)+			(do_not_autoplace no)+			(hide yes)+			(effects+				(font+					(size 1.27 1.27)+				)+			)+		)+		(property "Datasheet" "https://www.diodes.com/assets/Datasheets/BC857A-7-F.pdf"+			(at 0 0 0)+			(show_name no)+			(do_not_autoplace no)+			(hide yes)+			(effects+				(font+					(size 1.27 1.27)+				)+			)+		)+		(property "Description" ""+			(at 0 0 0)+			(show_name no)+			(do_not_autoplace no)+			(hide yes)+			(effects+				(font+					(size 1.27 1.27)+				)+			)+		)+		(property "ki_keywords" ""+			(at 0 0 0)+			(show_name no)+			(do_not_autoplace no)+			(hide yes)+			(effects+				(font+					(size 1.27 1.27)+				)+			)+		)+		(symbol "BC857A-7-F_0_1"+			(polyline+				(pts+					(xy -2.54 0) (xy 0.635 0)+				)+				(stroke+					(width 0)+					(type default)+				)+				(fill+					(type none)+				)+			)+			(polyline+				(pts+					(xy 0.635 1.905) (xy 0.635 -1.905)+				)+				(stroke+					(width 0.508)+					(type default)+				)+				(fill+					(type none)+				)+			)+			(polyline+				(pts+					(xy 0.635 0.635) (xy 2.54 2.54)+				)+				(stroke+					(width 0)+					(type default)+				)+				(fill+					(type none)+				)+			)+			(polyline+				(pts+					(xy 0.635 -0.635) (xy 2.54 -2.54)+				)+				(stroke+					(width 0)+					(type default)+				)+				(fill+					(type none)+				)+			)+			(circle+				(center 1.27 0)+				(radius 2.8194)+				(stroke+					(width 0.254)+					(type default)+				)+				(fill+					(type none)+				)+			)+			(polyline+				(pts+					(xy 2.286 -1.778) (xy 1.778 -2.286) (xy 1.27 -1.27) (xy 2.286 -1.778)+				)+				(stroke+					(width 0)+					(type default)+				)+				(fill+					(type outline)+				)+			)+		)+		(symbol "BC857A-7-F_1_1"+			(pin input line+				(at -5.08 0 0)+				(length 2.54)+				(name "B"+					(effects+						(font+							(size 1.27 1.27)+						)+					)+				)+				(number "1"+					(effects+						(font+							(size 1.27 1.27)+						)+					)+				)+			)+			(pin passive line+				(at 2.54 5.08 270)+				(length 2.54)+				(name "C"+					(effects+						(font+							(size 1.27 1.27)+						)+					)+				)+				(number "3"+					(effects+						(font+							(size 1.27 1.27)+						)+					)+				)+			)+			(pin passive line+				(at 2.54 -5.08 90)+				(length 2.54)+				(name "E"+					(effects+						(font+							(size 1.27 1.27)+						)+					)+				)+				(number "2"+					(effects+						(font+							(size 1.27 1.27)+						)+					)+				)+			)+		)+		(embedded_fonts no)+	) )
bc857a-7-f.lbr+29−14
@@ -50,7 +50,7 @@ <layer number="98" name="Guide" color="6" fill="1" visible="yes" active="yes"/> </layers> <library>-<description></description>+<description>Diodes Incorporated Bipolar Transistors - BJT, SOT-23. Pinout cross-checked by two models against the datasheet</description> <packages> <package name="SOT-23">   <description>3 pads, 3.4 x 2.5 mm. SOT, 3 Pin</description>@@ -82,20 +82,25 @@ </packages> <symbols> <symbol name="BC857A-7-F">-  <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="-5.08" width="0.254" layer="94"/>-  <wire x1="12.7" y1="-5.08" x2="-12.7" y2="-5.08" width="0.254" layer="94"/>-  <wire x1="-12.7" y1="-5.08" 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="-7.6200" size="1.27" layer="96" align="center">&gt;VALUE</text>-  <pin name="B" x="-17.78" y="0" length="middle" direction="in"/>-  <pin name="E" x="-17.78" y="-2.54" length="middle" direction="pas"/>-  <pin name="C" x="17.78" y="0" length="middle" direction="pas" rot="R180"/>+  <description>Diodes Incorporated Bipolar Transistors - BJT, SOT-23. Pinout cross-checked by two models against the datasheet</description>+  <circle x="1.2700" y="0.0000" radius="2.8194" width="0.1524" layer="94"/>+  <wire x1="-2.5400" y1="0.0000" x2="0.6350" y2="0.0000" width="0.1524" layer="94"/>+  <wire x1="0.6350" y1="1.9050" x2="0.6350" y2="-1.9050" width="0.5080" layer="94"/>+  <wire x1="0.6350" y1="0.6350" x2="2.5400" y2="2.5400" width="0.1524" layer="94"/>+  <wire x1="0.6350" y1="-0.6350" x2="2.5400" y2="-2.5400" width="0.1524" layer="94"/>+  <wire x1="2.2860" y1="-1.7780" x2="1.7780" y2="-2.2860" width="0.1524" layer="94"/>+  <wire x1="1.7780" y1="-2.2860" x2="1.2700" y2="-1.2700" width="0.1524" layer="94"/>+  <wire x1="1.2700" y1="-1.2700" x2="2.2860" y2="-1.7780" width="0.1524" layer="94"/>+  <text x="5.0800" y="1.2700" size="1.27" layer="95" align="center">&gt;NAME</text>+  <text x="5.0800" y="-1.2700" size="1.27" layer="96" align="center">&gt;VALUE</text>+  <pin name="B" x="-5.08" y="0" length="short" direction="in" visible="pad"/>+  <pin name="C" x="2.54" y="5.08" length="short" direction="pas" rot="R270" visible="pad"/>+  <pin name="E" x="2.54" y="-5.08" length="short" direction="pas" rot="R90" visible="pad"/> </symbol> </symbols> <devicesets>-<deviceset name="BC857A-7-F" prefix="U">-  <description></description>+<deviceset name="BC857A-7-F" prefix="Q">+  <description>Diodes Incorporated Bipolar Transistors - BJT, SOT-23. Pinout cross-checked by two models against the datasheet</description>   <gates>     <gate name="G$1" symbol="BC857A-7-F" x="0" y="0"/>   </gates>@@ -103,10 +108,20 @@     <device name="" package="SOT-23">       <connects>         <connect gate="G$1" pin="B" pad="1"/>-        <connect gate="G$1" pin="E" pad="2"/>         <connect gate="G$1" pin="C" pad="3"/>+        <connect gate="G$1" pin="E" pad="2"/>       </connects>-      <technologies><technology name=""/></technologies>+      <technologies>+        <technology name="">+          <attribute name="MPN" value="BC857A-7-F" constant="no"/>+          <attribute name="MANUFACTURER" value="Diodes Incorporated" constant="no"/>+          <attribute name="DATASHEET" value="https://www.diodes.com/assets/Datasheets/BC857A-7-F.pdf" constant="no"/>+          <attribute name="ADOM_WIKI" value="https://wiki.adom.inc/adom/bc857a-7-f" constant="no"/>+          <attribute name="MOUSER_PN" value="621-BC857A-7-F" constant="no"/>+          <attribute name="DIGIKEY_PN" value="BC857A-7FDITR-ND" constant="no"/>+          <attribute name="LCSC_PN" value="C460181" constant="no"/>+        </technology>+      </technologies>     </device>   </devices> </deviceset>