lib: add dip switch

This commit is contained in:
King Kévin 2022-06-23 18:26:32 +02:00
parent 156ef34a0e
commit 5422ab7704
2 changed files with 65 additions and 69 deletions

View File

@ -14,3 +14,4 @@ library:
- capacitor/c0603
- mcu/st_stm8s003x3@p
- mechanical/dip-switch_dsicxxls@dsic07ls
- diode/led0805

View File

@ -1,76 +1,71 @@
(footprint "SOP254P976X355-14N" (version 20211014) (generator pcbnew)
(layer "F.Cu")
(tedit 0)
(module SOP254P976X355-14N (layer F.Cu)
(attr smd)
(fp_text reference "REF**" (at 0 0) (layer "F.SilkS")
(effects (font (size 1.2 1.2) (thickness 0.2)))
(tstamp 1d2242e5-686c-41fb-bc33-211a593711ba)
(pad 1 smd rect (at -4.650 -7.620) (size 1.700 1.100) (layers F.Cu F.Mask F.Paste)
(solder_mask_margin 0.050))
(pad 2 smd rect (at -4.650 -5.080) (size 1.700 1.100) (layers F.Cu F.Mask F.Paste)
(solder_mask_margin 0.050))
(pad 3 smd rect (at -4.650 -2.540) (size 1.700 1.100) (layers F.Cu F.Mask F.Paste)
(solder_mask_margin 0.050))
(pad 4 smd rect (at -4.650 0.000) (size 1.700 1.100) (layers F.Cu F.Mask F.Paste)
(solder_mask_margin 0.050))
(pad 5 smd rect (at -4.650 2.540) (size 1.700 1.100) (layers F.Cu F.Mask F.Paste)
(solder_mask_margin 0.050))
(pad 6 smd rect (at -4.650 5.080) (size 1.700 1.100) (layers F.Cu F.Mask F.Paste)
(solder_mask_margin 0.050))
(pad 7 smd rect (at -4.650 7.620) (size 1.700 1.100) (layers F.Cu F.Mask F.Paste)
(solder_mask_margin 0.050))
(pad 14 smd rect (at 4.650 -7.620) (size 1.700 1.100) (layers F.Cu F.Mask F.Paste)
(solder_mask_margin 0.050))
(pad 13 smd rect (at 4.650 -5.080) (size 1.700 1.100) (layers F.Cu F.Mask F.Paste)
(solder_mask_margin 0.050))
(pad 12 smd rect (at 4.650 -2.540) (size 1.700 1.100) (layers F.Cu F.Mask F.Paste)
(solder_mask_margin 0.050))
(pad 11 smd rect (at 4.650 0.000) (size 1.700 1.100) (layers F.Cu F.Mask F.Paste)
(solder_mask_margin 0.050))
(pad 10 smd rect (at 4.650 2.540) (size 1.700 1.100) (layers F.Cu F.Mask F.Paste)
(solder_mask_margin 0.050))
(pad 9 smd rect (at 4.650 5.080) (size 1.700 1.100) (layers F.Cu F.Mask F.Paste)
(solder_mask_margin 0.050))
(pad 8 smd rect (at 4.650 7.620) (size 1.700 1.100) (layers F.Cu F.Mask F.Paste)
(solder_mask_margin 0.050))
(fp_text reference REF** (at 0.000 0.000) (layer F.SilkS)
(effects (font (size 1.200 1.200) (thickness 0.200)))
)
(fp_text value "SOP254P976X355-14N" (at 0 0 90) (layer "F.Fab")
(effects (font (size 1 1) (thickness 0.1)))
(tstamp 6bb240a3-2b3e-4626-b741-473a6aface16)
(fp_line (start -3.150 -8.990) (end 3.150 -8.990) (layer F.SilkS) (width 0.200))
(fp_line (start 3.150 -8.990) (end 3.150 8.990) (layer F.SilkS) (width 0.200))
(fp_line (start 3.150 8.990) (end -3.150 8.990) (layer F.SilkS) (width 0.200))
(fp_line (start -3.150 8.990) (end -3.150 -8.990) (layer F.SilkS) (width 0.200))
(fp_line (start -3.150 -8.470) (end -5.800 -8.470) (layer F.SilkS) (width 0.200))
(fp_line (start -5.800 -8.470) (end -5.800 -7.070) (layer F.SilkS) (width 0.200))
(fp_circle (center 0.000 0.000) (end 0.000 0.500) (layer F.Fab) (width 0.100))
(fp_line (start -0.700 0.000) (end 0.700 0.000) (layer F.Fab) (width 0.100))
(fp_line (start 0.000 -0.700) (end 0.000 0.700) (layer F.Fab) (width 0.100))
(fp_text value SOP254P976X355-14N (at 0.000 0.000 90) (layer F.Fab)
(effects (font (size 1.000 1.000) (thickness 0.100)))
)
(fp_text user "REF**" (at 0 0 90) (layer "F.Fab") hide
(effects (font (size 1 1) (thickness 0.1)))
(tstamp cbcfcd7f-62d4-478d-a4d7-5b6c442e21f2)
(fp_text user REF** (at 0.000 0.000 90) hide (layer F.Fab)
(effects (font (size 1.000 1.000) (thickness 0.100)))
)
(fp_line (start -3.15 8.99) (end -3.15 -8.99) (layer "F.SilkS") (width 0.2) (tstamp 0207e1da-f6da-4130-bd8a-34ca5854de0a))
(fp_line (start -5.8 -8.47) (end -5.8 -7.07) (layer "F.SilkS") (width 0.2) (tstamp 486f64c7-49df-4d31-b686-b5c47a14ab8b))
(fp_line (start 3.15 8.99) (end -3.15 8.99) (layer "F.SilkS") (width 0.2) (tstamp 52adf6b2-f8c7-442d-a27e-1e023fd6f38a))
(fp_line (start -3.15 -8.47) (end -5.8 -8.47) (layer "F.SilkS") (width 0.2) (tstamp ac49e3bc-aa8b-40fd-9771-ebed91cc107c))
(fp_line (start 3.15 -8.99) (end 3.15 8.99) (layer "F.SilkS") (width 0.2) (tstamp ea3187ea-f7d2-4968-9b19-527833125625))
(fp_line (start -3.15 -8.99) (end 3.15 -8.99) (layer "F.SilkS") (width 0.2) (tstamp fb5ffda4-3705-446b-ae06-7fa41f5ad90d))
(fp_line (start -3.3 -8.42) (end -3.3 -9.14) (layer "F.CrtYd") (width 0.05) (tstamp 0778ec89-4b08-4026-8da4-93791712b73f))
(fp_line (start 5.75 8.42) (end 3.3 8.42) (layer "F.CrtYd") (width 0.05) (tstamp 12732f3b-0ae4-48d3-89d9-8da636e0b143))
(fp_line (start 3.3 -8.42) (end 5.75 -8.42) (layer "F.CrtYd") (width 0.05) (tstamp 13eed158-914d-49ec-be70-a5ce9390d50a))
(fp_line (start 3.3 9.14) (end -3.3 9.14) (layer "F.CrtYd") (width 0.05) (tstamp 20d6c3f7-2754-4fbb-9525-851e61701c46))
(fp_line (start -5.75 -8.42) (end -3.3 -8.42) (layer "F.CrtYd") (width 0.05) (tstamp 2bce0e55-cd7e-4756-9386-979d3152166b))
(fp_line (start 5.75 -8.42) (end 5.75 8.42) (layer "F.CrtYd") (width 0.05) (tstamp 37d8da8d-4444-42d0-8047-0000580f76aa))
(fp_line (start 3.3 -9.14) (end 3.3 -8.42) (layer "F.CrtYd") (width 0.05) (tstamp 4d53deac-b15d-4f88-9d1f-21c32dcd633f))
(fp_line (start 3.3 8.42) (end 3.3 9.14) (layer "F.CrtYd") (width 0.05) (tstamp 508ad1e0-9b66-4d94-9df7-3e6563f28234))
(fp_line (start -3.3 8.42) (end -5.75 8.42) (layer "F.CrtYd") (width 0.05) (tstamp 685674c3-9133-4f2b-975e-53e8b7fd8769))
(fp_line (start -3.3 9.14) (end -3.3 8.42) (layer "F.CrtYd") (width 0.05) (tstamp 74fa5e8f-248c-4381-bd50-376e0d9db8a9))
(fp_line (start -5.75 8.42) (end -5.75 -8.42) (layer "F.CrtYd") (width 0.05) (tstamp 9a2dcb71-1597-41f0-818c-102259ed24eb))
(fp_line (start -3.3 -9.14) (end 3.3 -9.14) (layer "F.CrtYd") (width 0.05) (tstamp e402f29f-f55d-4340-8085-d23a20f2cc7b))
(fp_line (start 0 -0.7) (end 0 0.7) (layer "F.Fab") (width 0.1) (tstamp 04e0cfff-a53d-4bec-b1b4-b27303b700c4))
(fp_line (start -2.05 -8.89) (end 3.05 -8.89) (layer "F.Fab") (width 0.1) (tstamp 09868f49-3ddf-4c3a-a3f9-25383a089060))
(fp_line (start -3.05 8.89) (end -3.05 -7.89) (layer "F.Fab") (width 0.1) (tstamp 2c86bd5d-9e2d-4863-b5a4-9baf99291bbd))
(fp_line (start 3.05 -8.89) (end 3.05 8.89) (layer "F.Fab") (width 0.1) (tstamp 90356bf3-fd0b-4749-8362-14d5ae1c9284))
(fp_line (start -3.05 -7.89) (end -2.05 -8.89) (layer "F.Fab") (width 0.1) (tstamp a677b87a-4688-44d2-9941-5bdbdf3cadbf))
(fp_line (start 3.05 8.89) (end -3.05 8.89) (layer "F.Fab") (width 0.1) (tstamp acb34ef0-d4ea-434e-977f-22860b9d139f))
(fp_line (start -0.7 0) (end 0.7 0) (layer "F.Fab") (width 0.1) (tstamp f30bf475-9a52-4d07-ba98-622e6f1a86a5))
(fp_circle (center 0 0) (end 0 0.5) (layer "F.Fab") (width 0.1) (fill none) (tstamp 2c44729c-ca16-4d5e-9a68-9430eb01622a))
(pad "1" smd rect (at -4.65 -7.62) (size 1.7 1.1) (layers "F.Cu" "F.Paste" "F.Mask")
(solder_mask_margin 0.05) (tstamp 9fe6997e-29c7-4379-98b3-0bb1df5e2b23))
(pad "2" smd rect (at -4.65 -5.08) (size 1.7 1.1) (layers "F.Cu" "F.Paste" "F.Mask")
(solder_mask_margin 0.05) (tstamp 2ab71419-cecd-4fa3-a835-af78cae4d1e6))
(pad "3" smd rect (at -4.65 -2.54) (size 1.7 1.1) (layers "F.Cu" "F.Paste" "F.Mask")
(solder_mask_margin 0.05) (tstamp e757c18a-9f66-4531-83fe-31ba470c6e99))
(pad "4" smd rect (at -4.65 0) (size 1.7 1.1) (layers "F.Cu" "F.Paste" "F.Mask")
(solder_mask_margin 0.05) (tstamp 020e55b2-2147-4963-a1b5-13e50e2c20ca))
(pad "5" smd rect (at -4.65 2.54) (size 1.7 1.1) (layers "F.Cu" "F.Paste" "F.Mask")
(solder_mask_margin 0.05) (tstamp 812ace24-b867-416e-bb74-fadf5fa101fb))
(pad "6" smd rect (at -4.65 5.08) (size 1.7 1.1) (layers "F.Cu" "F.Paste" "F.Mask")
(solder_mask_margin 0.05) (tstamp 5cf41a55-24d3-4b3d-87a2-6a14ff552fcf))
(pad "7" smd rect (at -4.65 7.62) (size 1.7 1.1) (layers "F.Cu" "F.Paste" "F.Mask")
(solder_mask_margin 0.05) (tstamp 138eb4eb-7df8-494d-ab74-a591079bd375))
(pad "8" smd rect (at 4.65 7.62) (size 1.7 1.1) (layers "F.Cu" "F.Paste" "F.Mask")
(solder_mask_margin 0.05) (tstamp d5b4a324-b0e0-469c-ad4b-c1ca3cf21a90))
(pad "9" smd rect (at 4.65 5.08) (size 1.7 1.1) (layers "F.Cu" "F.Paste" "F.Mask")
(solder_mask_margin 0.05) (tstamp 8249cf60-8428-4a1b-83c4-e0a72dcfc63a))
(pad "10" smd rect (at 4.65 2.54) (size 1.7 1.1) (layers "F.Cu" "F.Paste" "F.Mask")
(solder_mask_margin 0.05) (tstamp 45657c85-e7ff-44fc-a5b6-3f1f675b250e))
(pad "11" smd rect (at 4.65 0) (size 1.7 1.1) (layers "F.Cu" "F.Paste" "F.Mask")
(solder_mask_margin 0.05) (tstamp 9f380b13-54eb-4108-a371-cd39fe05dd3f))
(pad "12" smd rect (at 4.65 -2.54) (size 1.7 1.1) (layers "F.Cu" "F.Paste" "F.Mask")
(solder_mask_margin 0.05) (tstamp 47e534e9-4ce2-4b5a-b04c-57dffc537d54))
(pad "13" smd rect (at 4.65 -5.08) (size 1.7 1.1) (layers "F.Cu" "F.Paste" "F.Mask")
(solder_mask_margin 0.05) (tstamp f183ef79-d54b-4e47-9dc8-77a4dd18f12f))
(pad "14" smd rect (at 4.65 -7.62) (size 1.7 1.1) (layers "F.Cu" "F.Paste" "F.Mask")
(solder_mask_margin 0.05) (tstamp 8bbd0aed-bd62-4bb1-a81b-1ab08b93d08b))
(model "SOP254P976X355-14N.wrl"
(offset (xyz 0 0 0))
(fp_line (start -2.050 -8.890) (end 3.050 -8.890) (layer F.Fab) (width 0.100))
(fp_line (start 3.050 -8.890) (end 3.050 8.890) (layer F.Fab) (width 0.100))
(fp_line (start 3.050 8.890) (end -3.050 8.890) (layer F.Fab) (width 0.100))
(fp_line (start -3.050 8.890) (end -3.050 -7.890) (layer F.Fab) (width 0.100))
(fp_line (start -3.050 -7.890) (end -2.050 -8.890) (layer F.Fab) (width 0.100))
(fp_line (start -5.750 -8.420) (end -3.300 -8.420) (layer F.CrtYd) (width 0.050))
(fp_line (start -3.300 -8.420) (end -3.300 -9.140) (layer F.CrtYd) (width 0.050))
(fp_line (start -3.300 -9.140) (end 3.300 -9.140) (layer F.CrtYd) (width 0.050))
(fp_line (start 3.300 -9.140) (end 3.300 -8.420) (layer F.CrtYd) (width 0.050))
(fp_line (start 3.300 -8.420) (end 5.750 -8.420) (layer F.CrtYd) (width 0.050))
(fp_line (start 5.750 -8.420) (end 5.750 8.420) (layer F.CrtYd) (width 0.050))
(fp_line (start 5.750 8.420) (end 3.300 8.420) (layer F.CrtYd) (width 0.050))
(fp_line (start 3.300 8.420) (end 3.300 9.140) (layer F.CrtYd) (width 0.050))
(fp_line (start 3.300 9.140) (end -3.300 9.140) (layer F.CrtYd) (width 0.050))
(fp_line (start -3.300 9.140) (end -3.300 8.420) (layer F.CrtYd) (width 0.050))
(fp_line (start -3.300 8.420) (end -5.750 8.420) (layer F.CrtYd) (width 0.050))
(fp_line (start -5.750 8.420) (end -5.750 -8.420) (layer F.CrtYd) (width 0.050))
(model SOP254P976X355-14N.wrl
(at (xyz 0 0 0))
(scale (xyz 0.3937 0.3937 0.3937))
(rotate (xyz 0 0 0))
(rotate (xyz 0 0 0 ))
)
)