From aa6403f160bb210771686e77606cfa10d4ae9278 Mon Sep 17 00:00:00 2001 From: Krisjanis Rijnieks <krisjanis.rijnieks@gmail.com> Date: Tue, 23 Jun 2020 22:59:37 +0300 Subject: [PATCH] Add infrared and visible light phototransistors --- fab.dcm | 12 ++++++++++ fab.lib | 44 +++++++++++++++++++++++++++++++++++++ fab.pretty/Q_1206.kicad_mod | 33 ++++++++++++++++++++++++++++ 3 files changed, 89 insertions(+) create mode 100644 fab.pretty/Q_1206.kicad_mod diff --git a/fab.dcm b/fab.dcm index 942ef84..8f4cc2b 100644 --- a/fab.dcm +++ b/fab.dcm @@ -145,6 +145,18 @@ K single opamp TSOT-23-5 F https://www.analog.com/media/en/technical-documentation/data-sheets/AD8615_8616_8618.pdf $ENDCMP # +$CMP Phototransistor_Infrared_PT15-21B-TR8 +D PT15-21B/TR8 is a phototransistor in miniature SMD package which is molded in a black plastic with flat top view lens. The device is spectrally matched to infrared emitting diode. +K phototransistor NPN +F https://www.everlight.com/file/ProductFile/PT15-21B-TR8.pdf +$ENDCMP +# +$CMP Phototransistor_Visible_PT15-21C-TR8 +D PT15-21C/TR8 is a phototransistor in miniature SMD package which is molded in a water clear with flat top view lens. The device is Spectrally matched to visible AND infrared emitting diode. +K phototransistor NPN +F https://www.everlight.com/file/ProductFile/PT15-21C-TR8.pdf +$ENDCMP +# $CMP R D Resistor K R res resistor diff --git a/fab.lib b/fab.lib index 3470524..e91a4af 100644 --- a/fab.lib +++ b/fab.lib @@ -2476,6 +2476,50 @@ X 4 4 300 -100 100 L 40 40 0 0 P ENDDRAW ENDDEF # +# Phototransistor_Infrared_PT15-21B-TR8 +# +DEF Phototransistor_Infrared_PT15-21B-TR8 Q 0 0 Y N 1 F N +F0 "Q" 200 50 50 H V L CNN +F1 "Phototransistor_Infrared_PT15-21B-TR8" 200 -50 50 H V L CNN +F2 "fab:Q_1206" 200 100 50 H I C CNN +F3 "" 0 0 50 H I C CNN +DRAW +C 50 0 111 0 1 10 N +P 2 0 1 0 -75 50 -100 50 N +P 2 0 1 0 -50 100 -75 100 N +P 2 0 1 0 25 25 100 100 N +P 3 0 1 0 -150 125 -75 50 -75 75 N +P 3 0 1 0 -125 175 -50 100 -50 125 N +P 3 0 1 0 25 -25 100 -100 100 -100 N +P 3 0 1 20 25 75 25 -75 25 -75 N +P 5 0 1 0 50 -70 70 -50 90 -90 50 -70 50 -70 F +X C 1 100 200 100 D 50 50 1 1 P +X E 2 100 -200 100 U 50 50 1 1 P +ENDDRAW +ENDDEF +# +# Phototransistor_Visible_PT15-21C-TR8 +# +DEF Phototransistor_Visible_PT15-21C-TR8 Q 0 0 Y N 1 F N +F0 "Q" 200 50 50 H V L CNN +F1 "Phototransistor_Visible_PT15-21C-TR8" 200 -50 50 H V L CNN +F2 "fab:Q_1206" 200 100 50 H I C CNN +F3 "" 0 0 50 H I C CNN +DRAW +C 50 0 111 0 1 10 N +P 2 0 1 0 -75 50 -100 50 N +P 2 0 1 0 -50 100 -75 100 N +P 2 0 1 0 25 25 100 100 N +P 3 0 1 0 -150 125 -75 50 -75 75 N +P 3 0 1 0 -125 175 -50 100 -50 125 N +P 3 0 1 0 25 -25 100 -100 100 -100 N +P 3 0 1 20 25 75 25 -75 25 -75 N +P 5 0 1 0 50 -70 70 -50 90 -90 50 -70 50 -70 F +X C 1 100 200 100 D 50 50 1 1 P +X E 2 100 -200 100 U 50 50 1 1 P +ENDDRAW +ENDDEF +# # R # DEF R R 0 0 N Y 1 F N diff --git a/fab.pretty/Q_1206.kicad_mod b/fab.pretty/Q_1206.kicad_mod new file mode 100644 index 0000000..1b77913 --- /dev/null +++ b/fab.pretty/Q_1206.kicad_mod @@ -0,0 +1,33 @@ +(module Q_1206 (layer F.Cu) (tedit 5EF25F01) + (descr "Transistor SMD 1206, hand soldering") + (tags "transistor photo 1206") + (attr smd) + (fp_text reference REF** (at 0 -1.85) (layer F.SilkS) + (effects (font (size 1 1) (thickness 0.15))) + ) + (fp_text value Q_1206 (at 0 1.9) (layer F.Fab) + (effects (font (size 1 1) (thickness 0.15))) + ) + (fp_line (start -3.1 -0.95) (end -3.1 0.95) (layer F.SilkS) (width 0.12)) + (fp_line (start -0.4 0) (end 0.2 -0.4) (layer F.Fab) (width 0.1)) + (fp_line (start 0.2 -0.4) (end 0.2 0.4) (layer F.Fab) (width 0.1)) + (fp_line (start 0.2 0.4) (end -0.4 0) (layer F.Fab) (width 0.1)) + (fp_line (start -0.45 -0.4) (end -0.45 0.4) (layer F.Fab) (width 0.1)) + (fp_line (start -1.6 0.8) (end -1.6 -0.8) (layer F.Fab) (width 0.1)) + (fp_line (start 1.6 0.8) (end -1.6 0.8) (layer F.Fab) (width 0.1)) + (fp_line (start 1.6 -0.8) (end 1.6 0.8) (layer F.Fab) (width 0.1)) + (fp_line (start -1.6 -0.8) (end 1.6 -0.8) (layer F.Fab) (width 0.1)) + (fp_line (start -3.1 0.95) (end 1.6 0.95) (layer F.SilkS) (width 0.12)) + (fp_line (start -3.1 -0.95) (end 1.6 -0.95) (layer F.SilkS) (width 0.12)) + (fp_line (start -3.25 -1.11) (end 3.25 -1.11) (layer F.CrtYd) (width 0.05)) + (fp_line (start -3.25 -1.11) (end -3.25 1.1) (layer F.CrtYd) (width 0.05)) + (fp_line (start 3.25 1.1) (end 3.25 -1.11) (layer F.CrtYd) (width 0.05)) + (fp_line (start 3.25 1.1) (end -3.25 1.1) (layer F.CrtYd) (width 0.05)) + (pad 2 smd rect (at 2 0) (size 2 1.7) (layers F.Cu F.Paste F.Mask)) + (pad 1 smd rect (at -2 0) (size 2 1.7) (layers F.Cu F.Paste F.Mask)) + (model ${KISYS3DMOD}/LEDs.3dshapes/LED_1206.wrl + (at (xyz 0 0 0)) + (scale (xyz 1 1 1)) + (rotate (xyz 0 0 180)) + ) +) -- GitLab