Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add sym for two optical rotary encoders #67

Merged
merged 2 commits into from
Sep 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions sym/d508f096-ea04-4f9b-9953-cebbbdcb9b59/.librepcb-sym
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
1
83 changes: 83 additions & 0 deletions sym/d508f096-ea04-4f9b-9953-cebbbdcb9b59/symbol.lp
Original file line number Diff line number Diff line change
@@ -0,0 +1,83 @@
(librepcb_symbol d508f096-ea04-4f9b-9953-cebbbdcb9b59
(name "Encoder Rotary Optical With Index")
(description "Optical rotary encoder with index.")
(keywords "rotary,encoder,optical")
(author "John Eaton")
(version "0.2")
(created 2020-04-15T19:51:33Z)
(deprecated false)
(generated_by "")
(category a159772a-3fc2-4037-ab59-f9d59b3ee6fc)
(pin ca985114-2c4f-4d7a-a6b1-3ed6ecdd49b9 (name "VCC")
(position -7.62 2.54) (rotation 0.0) (length 2.54)
(name_position 3.0 0.0) (name_rotation 0.0) (name_height 2.5)
(name_align left center)
)
(pin a8475aa3-b554-4a15-9abf-f269a6331697 (name "GND")
(position -7.62 -2.54) (rotation 0.0) (length 2.54)
(name_position 3.0 0.0) (name_rotation 0.0) (name_height 2.5)
(name_align left center)
)
(pin 3db653de-8458-4de5-bb4a-2508babe9fa0 (name "A")
(position 7.62 2.54) (rotation 180.0) (length 2.54)
(name_position 3.3 0.0) (name_rotation 0.0) (name_height 2.5)
(name_align left center)
)
(pin 59e2b9df-1fd5-43f2-9729-5fc5e44d4b5e (name "B")
(position 7.62 0.0) (rotation 180.0) (length 2.54)
(name_position 3.3 0.0) (name_rotation 0.0) (name_height 2.5)
(name_align left center)
)
(pin 17b1a297-82ff-499f-8c15-88c2a507f32a (name "IDX")
(position 7.62 -2.54) (rotation 180.0) (length 2.54)
(name_position 3.0 0.0) (name_rotation 0.0) (name_height 2.5)
(name_align left center)
)
(polygon cad53d00-5695-4ffe-93cb-c5442bf1832e (layer sym_outlines)
(width 0.4) (fill false) (grab_area false)
(vertex (position 0.0 1.15) (angle 0.0))
(vertex (position 0.0 -1.15) (angle 0.0))
)
(polygon 59ce5fe8-22f2-4f8d-8acb-136f3d94f9a2 (layer sym_outlines)
(width 0.2) (fill false) (grab_area false)
(vertex (position 0.0 -2.54) (angle 180.0))
(vertex (position 0.0 2.54) (angle 0.0))
)
(polygon 7932f32c-1682-4b12-8519-3541f4401b01 (layer sym_outlines)
(width 0.2) (fill false) (grab_area false)
(vertex (position 0.0 2.54) (angle 0.0))
(vertex (position 0.3175 2.2225) (angle 0.0))
)
(polygon 9bbfde08-c9c0-4f96-b730-2697c89032de (layer sym_outlines)
(width 0.2) (fill false) (grab_area false)
(vertex (position 0.0 2.54) (angle 0.0))
(vertex (position 0.3175 2.8575) (angle 0.0))
)
(polygon 94ac81f2-8631-4776-b7f6-b4ddc878efec (layer sym_outlines)
(width 0.2) (fill false) (grab_area false)
(vertex (position 0.3175 -2.8575) (angle 0.0))
(vertex (position 0.0 -2.54) (angle 0.0))
)
(polygon 550794da-e8ce-4991-a5e4-c0caaeec9205 (layer sym_outlines)
(width 0.2) (fill false) (grab_area false)
(vertex (position 0.0 -2.54) (angle 0.0))
(vertex (position 0.3175 -2.2225) (angle 0.0))
)
(polygon 745413b8-d2bd-440a-9496-8907593c3d77 (layer sym_outlines)
(width 0.2) (fill false) (grab_area true)
(vertex (position -5.08 -5.08) (angle 0.0))
(vertex (position 5.08 -5.08) (angle 0.0))
(vertex (position 5.08 5.08) (angle 0.0))
(vertex (position -5.08 5.08) (angle 0.0))
(vertex (position -5.08 -5.08) (angle 0.0))
)
(circle 172cad4b-780d-4c69-b0d5-aa7ae8c8ee5b (layer sym_outlines)
(width 0.2) (fill false) (grab_area false) (diameter 2.54) (position 0.0 0.0)
)
(text 645af9e5-5b3f-452b-a338-ee3a3bc2e41c (layer sym_values) (value "{{VALUE}}")
(align left top) (height 2.54) (position -5.08 -5.08) (rotation 0.0)
)
(text 10098012-295a-48f3-a1d5-2f03615e1a2c (layer sym_names) (value "{{NAME}}")
(align left bottom) (height 2.54) (position -5.08 5.08) (rotation 0.0)
)
)
1 change: 1 addition & 0 deletions sym/f8c859d9-9fc3-46b0-84fc-3874d7567f5b/.librepcb-sym
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
1
78 changes: 78 additions & 0 deletions sym/f8c859d9-9fc3-46b0-84fc-3874d7567f5b/symbol.lp
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
(librepcb_symbol f8c859d9-9fc3-46b0-84fc-3874d7567f5b
(name "Encoder Rotary Optical")
(description "Optical rotary encoder.")
(keywords "rotary,encoder,optical")
(author "John Eaton")
(version "0.2")
(created 2020-04-15T19:46:58Z)
(deprecated false)
(generated_by "")
(category a159772a-3fc2-4037-ab59-f9d59b3ee6fc)
(pin d9689afa-0a0d-454c-890a-245ee315f67b (name "VCC")
(position -7.62 2.54) (rotation 0.0) (length 2.54)
(name_position 3.0 0.0) (name_rotation 0.0) (name_height 2.5)
(name_align left center)
)
(pin 0fe24a5d-56ff-4f8a-8079-0520ebfb6e67 (name "GND")
(position -7.62 -2.54) (rotation 0.0) (length 2.54)
(name_position 3.0 0.0) (name_rotation 0.0) (name_height 2.5)
(name_align left center)
)
(pin e6927308-65ee-4421-a472-dacc6fb87fd4 (name "A")
(position 7.62 2.54) (rotation 180.0) (length 2.54)
(name_position 3.3 0.0) (name_rotation 0.0) (name_height 2.5)
(name_align left center)
)
(pin 2967f6c5-ad12-4120-9e86-ade59b01139f (name "B")
(position 7.62 -2.54) (rotation 180.0) (length 2.54)
(name_position 3.3 0.0) (name_rotation 0.0) (name_height 2.5)
(name_align left center)
)
(polygon c33193a1-36ac-4ed6-84d7-8a426c4e6459 (layer sym_outlines)
(width 0.4) (fill false) (grab_area false)
(vertex (position 0.0 1.15) (angle 0.0))
(vertex (position 0.0 -1.15) (angle 0.0))
)
(polygon d6b90512-cf68-43af-995c-3d321df1319b (layer sym_outlines)
(width 0.2) (fill false) (grab_area false)
(vertex (position 0.0 -2.54) (angle 180.0))
(vertex (position 0.0 2.54) (angle 0.0))
)
(polygon 37a35485-0ddd-43a3-87ab-1289fe41eeb7 (layer sym_outlines)
(width 0.2) (fill false) (grab_area false)
(vertex (position 0.0 2.54) (angle 0.0))
(vertex (position 0.3175 2.2225) (angle 0.0))
)
(polygon 96f41338-2301-4aae-816c-792edb646572 (layer sym_outlines)
(width 0.2) (fill false) (grab_area false)
(vertex (position 0.0 2.54) (angle 0.0))
(vertex (position 0.3175 2.8575) (angle 0.0))
)
(polygon 90e173c8-5be3-4e22-ba86-8b6965bd1f84 (layer sym_outlines)
(width 0.2) (fill false) (grab_area false)
(vertex (position 0.3175 -2.8575) (angle 0.0))
(vertex (position 0.0 -2.54) (angle 0.0))
)
(polygon 1e8f7c88-f9b0-4701-9109-71ed3732b1f8 (layer sym_outlines)
(width 0.2) (fill false) (grab_area false)
(vertex (position 0.0 -2.54) (angle 0.0))
(vertex (position 0.3175 -2.2225) (angle 0.0))
)
(polygon c7314062-69e3-46f2-8583-3ff10baa0bd2 (layer sym_outlines)
(width 0.2) (fill false) (grab_area true)
(vertex (position -5.08 -5.08) (angle 0.0))
(vertex (position 5.08 -5.08) (angle 0.0))
(vertex (position 5.08 5.08) (angle 0.0))
(vertex (position -5.08 5.08) (angle 0.0))
(vertex (position -5.08 -5.08) (angle 0.0))
)
(circle 6e5c4c83-b5d5-4050-8daa-9fbdd4ea62d2 (layer sym_outlines)
(width 0.2) (fill false) (grab_area false) (diameter 2.54) (position 0.0 0.0)
)
(text c8de7767-2860-408f-9705-49d68d21016b (layer sym_values) (value "{{VALUE}}")
(align left top) (height 2.54) (position -5.08 -5.08) (rotation 0.0)
)
(text d6c23080-3d0d-4bc8-abfe-e4c3cf824ca6 (layer sym_names) (value "{{NAME}}")
(align left bottom) (height 2.54) (position -5.08 5.08) (rotation 0.0)
)
)