-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add sym/cmp for phototransistor NPN (#110)
- Loading branch information
Showing
4 changed files
with
149 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
(librepcb_component d432298e-f17c-4405-9bba-f420d6a8638f | ||
(name "Phototransistor NPN") | ||
(description "") | ||
(keywords "photo,light") | ||
(author "U. Bruhin") | ||
(version "0.1.1") | ||
(created 2023-07-08T18:07:52Z) | ||
(deprecated false) | ||
(generated_by "") | ||
(category e9663545-80dd-4658-9357-d4ef62e55168) | ||
(schematic_only false) | ||
(default_value "{{MPN or DEVICE}}") | ||
(prefix "Q") | ||
(signal 39071d2a-a637-4b40-98b5-5b5cc3eba0b6 (name "E") (role passive) | ||
(required true) (negated false) (clock false) (forced_net "") | ||
) | ||
(signal f7202220-4ac9-4be5-b66a-212fa839bcd2 (name "C") (role passive) | ||
(required true) (negated false) (clock false) (forced_net "") | ||
) | ||
(variant 649a850c-5c70-438c-bd2f-940cd5952fd0 (norm "") | ||
(name "default") | ||
(description "") | ||
(gate 353c3d11-54a2-4ec9-922a-a7f657dfc995 | ||
(symbol f7c6223f-4b2e-4a81-be8e-149e49c8b377) | ||
(position 0.0 0.0) (rotation 0.0) (required true) (suffix "") | ||
(pin 1544118a-b7ef-4f56-9cb6-2f71cfeec786 (signal 39071d2a-a637-4b40-98b5-5b5cc3eba0b6) (text none)) | ||
(pin b1cbb80c-4ecc-4558-ad6b-01135ea156b0 (signal f7202220-4ac9-4be5-b66a-212fa839bcd2) (text none)) | ||
) | ||
) | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,117 @@ | ||
(librepcb_symbol f7c6223f-4b2e-4a81-be8e-149e49c8b377 | ||
(name "Phototransistor NPN") | ||
(description "") | ||
(keywords "photo,light") | ||
(author "U. Bruhin") | ||
(version "0.1.1") | ||
(created 2023-07-08T18:02:48Z) | ||
(deprecated false) | ||
(generated_by "") | ||
(category e9663545-80dd-4658-9357-d4ef62e55168) | ||
(pin 1544118a-b7ef-4f56-9cb6-2f71cfeec786 (name "E") | ||
(position 2.54 -5.08) (rotation 90.0) (length 2.54) | ||
(name_position 3.81 0.0) (name_rotation 0.0) (name_height 2.5) | ||
(name_align left center) | ||
) | ||
(pin b1cbb80c-4ecc-4558-ad6b-01135ea156b0 (name "C") | ||
(position 2.54 5.08) (rotation 270.0) (length 2.54) | ||
(name_position 3.81 0.0) (name_rotation 0.0) (name_height 2.5) | ||
(name_align left center) | ||
) | ||
(polygon dd050031-52a9-4611-8e65-552ce31e7809 (layer sym_outlines) | ||
(width 0.1524) (fill false) (grab_area true) | ||
(vertex (position 2.54 2.54) (angle 0.0)) | ||
(vertex (position 0.508 1.524) (angle 0.0)) | ||
) | ||
(polygon 197e7696-edcb-413f-bb88-712c9cc116dc (layer sym_outlines) | ||
(width 0.1524) (fill false) (grab_area true) | ||
(vertex (position 1.778 -1.524) (angle 0.0)) | ||
(vertex (position 2.54 -2.54) (angle 0.0)) | ||
) | ||
(polygon ba986264-c7ce-45cc-8bfa-c3850c50c97e (layer sym_outlines) | ||
(width 0.1524) (fill false) (grab_area true) | ||
(vertex (position 2.54 -2.54) (angle 0.0)) | ||
(vertex (position 1.27 -2.54) (angle 0.0)) | ||
) | ||
(polygon 3feb44cd-f4ad-465d-836a-370c4ce63379 (layer sym_outlines) | ||
(width 0.1524) (fill false) (grab_area true) | ||
(vertex (position 1.27 -2.54) (angle 0.0)) | ||
(vertex (position 1.778 -1.524) (angle 0.0)) | ||
) | ||
(polygon c786e545-355d-4f53-90e3-a5419fc98ac6 (layer sym_outlines) | ||
(width 0.1524) (fill false) (grab_area true) | ||
(vertex (position 1.54 -2.04) (angle 0.0)) | ||
(vertex (position 0.308 -1.424) (angle 0.0)) | ||
) | ||
(polygon 6ad32670-7a2f-4fb3-a648-b6b187d401a3 (layer sym_outlines) | ||
(width 0.254) (fill false) (grab_area true) | ||
(vertex (position 1.524 -2.413) (angle 0.0)) | ||
(vertex (position 2.286 -2.413) (angle 0.0)) | ||
) | ||
(polygon 97590fd1-5929-4213-a317-3f6aa3dd481d (layer sym_outlines) | ||
(width 0.254) (fill false) (grab_area true) | ||
(vertex (position 2.286 -2.413) (angle 0.0)) | ||
(vertex (position 1.778 -1.778) (angle 0.0)) | ||
) | ||
(polygon 63637aea-fb45-493e-b351-e653e8e51959 (layer sym_outlines) | ||
(width 0.254) (fill false) (grab_area true) | ||
(vertex (position 1.778 -1.778) (angle 0.0)) | ||
(vertex (position 1.524 -2.286) (angle 0.0)) | ||
) | ||
(polygon 1ffbbbf2-df38-4469-be16-caa428e60bb4 (layer sym_outlines) | ||
(width 0.254) (fill false) (grab_area true) | ||
(vertex (position 1.524 -2.286) (angle 0.0)) | ||
(vertex (position 1.905 -2.286) (angle 0.0)) | ||
) | ||
(polygon 4e32c87f-cce3-415c-bd3a-5954e9e9d233 (layer sym_outlines) | ||
(width 0.254) (fill false) (grab_area true) | ||
(vertex (position 1.905 -2.286) (angle 0.0)) | ||
(vertex (position 1.778 -2.032) (angle 0.0)) | ||
) | ||
(polygon 121b393c-f1cf-48fd-a728-7a1c2556322c (layer sym_outlines) | ||
(width 0.0) (fill true) (grab_area true) | ||
(vertex (position -0.254 -2.54) (angle 0.0)) | ||
(vertex (position 0.508 -2.54) (angle 0.0)) | ||
(vertex (position 0.508 2.54) (angle 0.0)) | ||
(vertex (position -0.254 2.54) (angle 0.0)) | ||
(vertex (position -0.254 -2.54) (angle 0.0)) | ||
) | ||
(polygon ce9f0aff-133b-49c1-8c24-6667a4271604 (layer sym_hidden_grab_areas) | ||
(width 0.0) (fill true) (grab_area true) | ||
(vertex (position 0.0 2.54) (angle 0.0)) | ||
(vertex (position 2.54 2.54) (angle 0.0)) | ||
(vertex (position 2.54 -2.54) (angle 0.0)) | ||
(vertex (position 0.0 -2.54) (angle 0.0)) | ||
(vertex (position 0.0 2.54) (angle 0.0)) | ||
) | ||
(polygon f170f78f-2293-4a5d-bdbf-e1ed5dffb23f (layer sym_outlines) | ||
(width 0.1524) (fill true) (grab_area true) | ||
(vertex (position -0.0635 2.921) (angle 0.0)) | ||
(vertex (position -0.4445 3.81) (angle 0.0)) | ||
(vertex (position -0.9525 3.302) (angle 0.0)) | ||
(vertex (position -0.0635 2.921) (angle 0.0)) | ||
) | ||
(polygon 3c2194cf-00ca-4d7e-83d7-5c72be5e4080 (layer sym_outlines) | ||
(width 0.1524) (fill false) (grab_area true) | ||
(vertex (position -1.4605 4.318) (angle 0.0)) | ||
(vertex (position -0.0635 2.921) (angle 0.0)) | ||
) | ||
(polygon 5c2441e4-8579-4120-b0c6-84677fbc8bc8 (layer sym_outlines) | ||
(width 0.1524) (fill false) (grab_area true) | ||
(vertex (position -2.0955 3.683) (angle 0.0)) | ||
(vertex (position -0.6985 2.286) (angle 0.0)) | ||
) | ||
(polygon 66498d1d-dd4a-4fc2-a03b-790c86bd3bdc (layer sym_outlines) | ||
(width 0.1524) (fill true) (grab_area true) | ||
(vertex (position -0.6985 2.286) (angle 0.0)) | ||
(vertex (position -1.0795 3.175) (angle 0.0)) | ||
(vertex (position -1.5875 2.667) (angle 0.0)) | ||
(vertex (position -0.6985 2.286) (angle 0.0)) | ||
) | ||
(text af8c5e96-e3f0-48f2-a141-16b68a00053f (layer sym_names) (value "{{NAME}}") | ||
(align right bottom) (height 2.54) (position -0.635 0.0) (rotation 0.0) | ||
) | ||
(text 59d79f4e-142e-4559-bdb8-03028cd331ca (layer sym_values) (value "{{VALUE}}") | ||
(align right top) (height 2.54) (position -0.635 0.0) (rotation 0.0) | ||
) | ||
) |