← Commit history

ct304b-800s: symbol repaired (body fitted to the names)

Ray ·abe7ded695 · ·parent 30e0a2a
3 files changed +24−15
ct304b-800s.kicad_sym+4−4
@@ -4,19 +4,19 @@     (property "Value" "CT304B-800S" (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 "CT304B-800S_0_1"-    (rectangle (start -12.70 2.54) (end 12.70 -5.08)+    (rectangle (start -15.24 2.54) (end 15.24 -5.08)       (stroke (width 0.254) (type default)) (fill (type background)))     )     (symbol "CT304B-800S_1_1"-    (pin passive line (at -17.78 0.00 0) (length 5.08)+    (pin passive line (at -20.32 0.00 0) (length 5.08)       (name "MAIN TERMINAL 1 (MT1)" (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)+    (pin passive line (at -20.32 -2.54 0) (length 5.08)       (name "MAIN TERMINAL 2 (MT2)" (effects (font (size 1.27 1.27))))       (number "2" (effects (font (size 1.27 1.27))))     )-    (pin input line (at 17.78 0.00 180) (length 5.08)+    (pin input line (at 20.32 0.00 180) (length 5.08)       (name "GATE" (effects (font (size 1.27 1.27))))       (number "3" (effects (font (size 1.27 1.27))))     )
ct304b-800s.lbr+19−10
@@ -50,7 +50,7 @@ <layer number="98" name="Guide" color="6" fill="1" visible="yes" active="yes"/> </layers> <library>-<description></description>+<description>Changjiang Electronics Tech (CJ) TRIACs, TO-220. Pinout cross-checked by two models against the datasheet</description> <packages> <package name="TO-220-3_Vertical">   <description>3 pads, 7.0 x 2.0 mm. TO-220-3, Vertical, RM 2.54mm, see</description>@@ -77,20 +77,21 @@ </packages> <symbols> <symbol name="CT304B-800S">-  <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"/>+  <description>Changjiang Electronics Tech (CJ) TRIACs, TO-220. Pinout cross-checked by two models against the datasheet</description>+  <wire x1="-15.24" y1="2.54" x2="15.24" y2="2.54" width="0.254" layer="94"/>+  <wire x1="15.24" y1="2.54" x2="15.24" y2="-5.08" width="0.254" layer="94"/>+  <wire x1="15.24" y1="-5.08" x2="-15.24" y2="-5.08" width="0.254" layer="94"/>+  <wire x1="-15.24" y1="-5.08" x2="-15.24" 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="MAIN_TERMINAL_1_MT1" x="-17.78" y="0" length="middle" direction="pas"/>-  <pin name="MAIN_TERMINAL_2_MT2" x="-17.78" y="-2.54" length="middle" direction="pas"/>-  <pin name="GATE" x="17.78" y="0" length="middle" direction="in" rot="R180"/>+  <pin name="MAIN_TERMINAL_1_MT1" x="-20.32" y="0" length="middle" direction="pas"/>+  <pin name="MAIN_TERMINAL_2_MT2" x="-20.32" y="-2.54" length="middle" direction="pas"/>+  <pin name="GATE" x="20.32" y="0" length="middle" direction="in" rot="R180"/> </symbol> </symbols> <devicesets> <deviceset name="CT304B-800S" prefix="U">-  <description></description>+  <description>Changjiang Electronics Tech (CJ) TRIACs, TO-220. Pinout cross-checked by two models against the datasheet</description>   <gates>     <gate name="G$1" symbol="CT304B-800S" x="0" y="0"/>   </gates>@@ -101,7 +102,15 @@         <connect gate="G$1" pin="MAIN_TERMINAL_2_MT2" pad="2"/>         <connect gate="G$1" pin="GATE" pad="3"/>       </connects>-      <technologies><technology name=""/></technologies>+      <technologies>+        <technology name="">+          <attribute name="MPN" value="CT304B-800S" constant="no"/>+          <attribute name="MANUFACTURER" value="Changjiang Electronics Tech (CJ)" constant="no"/>+          <attribute name="DATASHEET" value="https://datasheet.lcsc.com/datasheet/pdf/3fd2447f325db43abeada0d203cecc6d.pdf" constant="no"/>+          <attribute name="ADOM_WIKI" value="https://wiki.adom.inc/adom/ct304b-800s" constant="no"/>+          <attribute name="LCSC_PN" value="C527759" constant="no"/>+        </technology>+      </technologies>     </device>   </devices> </deviceset>
viewers/symbol.html+1−1
@@ -23,7 +23,7 @@ rect.pad.hi{stroke:var(--hi);stroke-width:.15;paint-order:stroke} #tip .td{font-size:11px;color:var(--ink);margin-top:5px;line-height:1.4} </style></head><body> <div class=bar><span class=h>Schematic symbol</span><span class=sp></span></div>-<div class=stage id=stage><svg xmlns='http://www.w3.org/2000/svg' viewBox='-750 -200 1500 400' style='width:100%;height:100%'><rect x='-500.0' y='-150.0' width='1000.0' height='300.0' fill='#e35d5d22' stroke='#e35d5d' stroke-width='4'/><g class='pingroup' data-num='1' data-name='MAIN TERMINAL 1 (MT1)'><line class='pinvis' x1='-700.0' y1='-50.0' x2='-500.0' y2='-50.0' stroke='#dfe4ec' stroke-width='4'/><line x1='-700.0' y1='-50.0' x2='-500.0' y2='-50.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='-600.0' y='-5.0' font-size='60' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>1</text><text x='-470.0' y='-50.0' font-size='60' fill='#e6e9ef' text-anchor='start' dominant-baseline='central'>MAIN TERMINAL 1 (MT1)</text><g class='pingroup' data-num='2' data-name='MAIN TERMINAL 2 (MT2)'><line class='pinvis' x1='-700.0' y1='50.0' x2='-500.0' y2='50.0' stroke='#dfe4ec' stroke-width='4'/><line x1='-700.0' y1='50.0' x2='-500.0' y2='50.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='-600.0' y='95.0' font-size='60' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>2</text><text x='-470.0' y='50.0' font-size='60' fill='#e6e9ef' text-anchor='start' dominant-baseline='central'>MAIN TERMINAL 2 (MT2)</text><g class='pingroup' data-num='3' data-name='GATE'><line class='pinvis' x1='700.0' y1='-50.0' x2='500.0' y2='-50.0' stroke='#dfe4ec' stroke-width='4'/><line x1='700.0' y1='-50.0' x2='500.0' y2='-50.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='600.0' y='-95.0' font-size='60' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>3</text><text x='470.0' y='-50.0' font-size='60' fill='#e6e9ef' text-anchor='end' dominant-baseline='central'>GATE</text></svg></div>+<div class=stage id=stage><svg xmlns='http://www.w3.org/2000/svg' viewBox='-850 -200 1700 400' style='width:100%;height:100%'><rect x='-600.0' y='-150.0' width='1200.0' height='300.0' fill='#e35d5d22' stroke='#e35d5d' stroke-width='4'/><g class='pingroup' data-num='1' data-name='MAIN TERMINAL 1 (MT1)'><line class='pinvis' x1='-800.0' y1='-50.0' x2='-600.0' y2='-50.0' stroke='#dfe4ec' stroke-width='4'/><line x1='-800.0' y1='-50.0' x2='-600.0' y2='-50.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='-700.0' y='-5.0' font-size='60' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>1</text><text x='-570.0' y='-50.0' font-size='60' fill='#e6e9ef' text-anchor='start' dominant-baseline='central'>MAIN TERMINAL 1 (MT1)</text><g class='pingroup' data-num='2' data-name='MAIN TERMINAL 2 (MT2)'><line class='pinvis' x1='-800.0' y1='50.0' x2='-600.0' y2='50.0' stroke='#dfe4ec' stroke-width='4'/><line x1='-800.0' y1='50.0' x2='-600.0' y2='50.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='-700.0' y='95.0' font-size='60' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>2</text><text x='-570.0' y='50.0' font-size='60' fill='#e6e9ef' text-anchor='start' dominant-baseline='central'>MAIN TERMINAL 2 (MT2)</text><g class='pingroup' data-num='3' data-name='GATE'><line class='pinvis' x1='800.0' y1='-50.0' x2='600.0' y2='-50.0' stroke='#dfe4ec' stroke-width='4'/><line x1='800.0' y1='-50.0' x2='600.0' y2='-50.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='700.0' y='-95.0' font-size='60' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>3</text><text x='570.0' y='-50.0' font-size='60' fill='#e6e9ef' text-anchor='end' dominant-baseline='central'>GATE</text></svg></div> <div id=tip></div> <script> var KIND="symbol", MPN="ADOM/CT304B-800S", PINS=[{"desc":"","name":"MAIN TERMINAL 1 (MT1)","number":"1","type":""},{"desc":"","name":"MAIN TERMINAL 2 (MT2)","number":"2","type":""},{"desc":"","name":"GATE","number":"3","type":""}];