From 1beea9965db29fbe0fd6ffe85f980ca6e4053d74 Mon Sep 17 00:00:00 2001 From: Andrei Date: Wed, 23 Jun 2021 19:38:14 +0300 Subject: [PATCH] Add USB_B symbol+footprint to kicad common lib --- kicad/footprints/USB_B.kicad_mod | 50 +++++++++++++ kicad/hellen-one-common.kicad_sym | 119 ++++++++++++++++++++++++++++++ 2 files changed, 169 insertions(+) create mode 100644 kicad/footprints/USB_B.kicad_mod diff --git a/kicad/footprints/USB_B.kicad_mod b/kicad/footprints/USB_B.kicad_mod new file mode 100644 index 0000000..5b1d05c --- /dev/null +++ b/kicad/footprints/USB_B.kicad_mod @@ -0,0 +1,50 @@ +(footprint "USB_B" (version 20210424) (generator pcbnew) (layer "F.Cu") + (tedit 60D0BCCF) + (descr "USB B receptacle, Horizontal, through-hole, http://www.on-shore.com/wp-content/uploads/2015/09/usb-b1hsxx.pdf") + (tags "USB-B receptacle horizontal through-hole") + (property "LCSC" "C46392") + (property "Sheetfile" "hellen64_miataNA6_94.kicad_sch") + (property "Sheetname" "") + (attr through_hole) + (fp_text reference "J5" (at 0 -9.02) (layer "F.SilkS") + (effects (font (size 1 1) (thickness 0.15))) + (tstamp 96d83014-9aba-478a-bb88-b3ec1b10a0bd) + ) + (fp_text value "USB_B" (at 0 9.02) (layer "F.Fab") + (effects (font (size 1 1) (thickness 0.15))) + (tstamp bec93329-3dbd-4b0a-b838-fcc5c2322be7) + ) + (fp_text user "${REFERENCE}" (at 0 0) (layer "F.Fab") + (effects (font (size 1 1) (thickness 0.15))) + (tstamp 444c08c6-1c43-4261-b6df-c7ffcd265d2f) + ) + (fp_line (start -9.08 -1.75) (end -9.08 -0.75) (layer "F.SilkS") (width 0.12) (tstamp 0df527f4-a0da-410e-bf0c-2b0fbd5942e1)) + (fp_line (start -8.58 -1.25) (end -9.08 -1.75) (layer "F.SilkS") (width 0.12) (tstamp 200fa8bd-052e-4d1a-8a79-ca25b9175df4)) + (fp_line (start -8.36 6.16) (end -4.1 6.16) (layer "F.SilkS") (width 0.12) (tstamp 2974a441-7e5f-41a3-865e-cf83d9944ac4)) + (fp_line (start 8.36 -6.16) (end 8.36 6.16) (layer "F.SilkS") (width 0.12) (tstamp 381ef0a8-6a1f-4951-b017-23490491a7e0)) + (fp_line (start 8.36 6.16) (end 0 6.16) (layer "F.SilkS") (width 0.12) (tstamp 4b39c1f2-cca4-4025-8068-81f7bbca9183)) + (fp_line (start -9.08 -0.75) (end -8.58 -1.25) (layer "F.SilkS") (width 0.12) (tstamp 778c4796-1e38-4510-b276-d07752424de4)) + (fp_line (start -4.1 -6.16) (end -8.36 -6.16) (layer "F.SilkS") (width 0.12) (tstamp 91d844c6-4dbc-4e31-8f0a-d7b89a1b238d)) + (fp_line (start 0 -6.16) (end 8.36 -6.16) (layer "F.SilkS") (width 0.12) (tstamp 938b63fe-0ae9-4d15-974b-7a5ad5a1b60d)) + (fp_line (start -8.36 -6.16) (end -8.36 6.16) (layer "F.SilkS") (width 0.12) (tstamp cadbdcd1-f38b-4a3f-b673-3d00aa201cbf)) + (fp_line (start 8.75 -8.27) (end -8.75 -8.27) (layer "F.CrtYd") (width 0.05) (tstamp 11f6edc5-1c72-4d2b-9992-c7974f995b86)) + (fp_line (start 8.75 8.27) (end 8.75 -8.27) (layer "F.CrtYd") (width 0.05) (tstamp 2b57a9cc-33c7-4701-9255-05cde16e3d10)) + (fp_line (start -8.75 8.27) (end 8.75 8.27) (layer "F.CrtYd") (width 0.05) (tstamp 42e0afc9-5a7d-425a-af4e-c9ab04f2ccce)) + (fp_line (start -8.75 -8.27) (end -8.75 8.27) (layer "F.CrtYd") (width 0.05) (tstamp 6aa56e8f-b2b0-4b00-a727-c25d7716a7bd)) + (fp_line (start 8.25 -6.05) (end 8.25 6.05) (layer "F.Fab") (width 0.1) (tstamp 40e1ebf5-ce00-4a17-9726-4e78168aaa61)) + (fp_line (start -8.25 6.05) (end -8.25 -5.05) (layer "F.Fab") (width 0.1) (tstamp 60b747ba-a376-49e0-9a75-f05553158e11)) + (fp_line (start -8.25 -5.05) (end -7.25 -6.05) (layer "F.Fab") (width 0.1) (tstamp 67083d1e-30e0-4912-aa5d-153429030477)) + (fp_line (start -7.25 -6.05) (end 8.25 -6.05) (layer "F.Fab") (width 0.1) (tstamp 6dd62892-0520-473a-bf94-fab4d9ebc076)) + (fp_line (start 8.25 6.05) (end -8.25 6.05) (layer "F.Fab") (width 0.1) (tstamp 81d3c4e3-255b-4da2-b2c6-570e434b3218)) + (pad "1" thru_hole rect (at -6.76 -1.25) (size 1.7 1.7) (drill 0.92) (layers *.Cu *.Mask) (tstamp 12a66675-d642-4dab-835d-7e9c9b43f0b4)) + (pad "2" thru_hole circle (at -6.76 1.25) (size 1.7 1.7) (drill 0.92) (layers *.Cu *.Mask) (tstamp 686cb3cf-3c3e-494c-abec-ec3d42a3abe9)) + (pad "3" thru_hole circle (at -4.76 1.25) (size 1.7 1.7) (drill 0.92) (layers *.Cu *.Mask) (tstamp d8047d06-4793-45e0-b044-c03d8099746a)) + (pad "4" thru_hole circle (at -4.76 -1.25) (size 1.7 1.7) (drill 0.92) (layers *.Cu *.Mask) (tstamp 9ff5364e-6880-4120-a511-15bd770eef42)) + (pad "5" thru_hole circle (at -2.05 -6.02) (size 3.5 3.5) (drill 2.33) (layers *.Cu *.Mask) (tstamp 084c22c3-3e76-4f9f-a7d7-bf49a06cd8a4)) + (pad "5" thru_hole circle (at -2.05 6.02) (size 3.5 3.5) (drill 2.33) (layers *.Cu *.Mask) (tstamp 406974e5-3646-4ba4-82e6-cbaddc85722b)) + (model "${KICAD6_3DMODEL_DIR}/Connector_USB.3dshapes/USB_B_OST_USB-B1HSxx_Horizontal.wrl" + (offset (xyz -6.76 1.25 0)) + (scale (xyz 1 1 1)) + (rotate (xyz 0 0 0)) + ) +) diff --git a/kicad/hellen-one-common.kicad_sym b/kicad/hellen-one-common.kicad_sym index ffbdab8..2dcfb34 100644 --- a/kicad/hellen-one-common.kicad_sym +++ b/kicad/hellen-one-common.kicad_sym @@ -1411,6 +1411,125 @@ ) ) ) + (symbol "hellen-one-common:USB_B" (pin_names (offset 1.016)) (in_bom yes) (on_board yes) + (property "Reference" "J" (id 0) (at -5.08 11.43 0) + (effects (font (size 1.27 1.27)) (justify left)) + ) + (property "Value" "USB_B" (id 1) (at -5.08 8.89 0) + (effects (font (size 1.27 1.27)) (justify left)) + ) + (property "Footprint" "hellen-one-common:USB_B" (id 2) (at 3.81 -1.27 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Datasheet" " ~" (id 3) (at 3.81 -1.27 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "LCSC" "C46392" (id 4) (at 0 0 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "ki_keywords" "connector USB" (id 5) (at 0 0 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "ki_description" "USB Type B connector" (id 6) (at 0 0 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "ki_fp_filters" "USB*" (id 7) (at 0 0 0) + (effects (font (size 1.27 1.27)) hide) + ) + (symbol "USB_B_0_1" + (circle (center -3.81 2.159) (radius 0.635) (stroke (width 0.254)) (fill (type outline))) + (circle (center -0.635 3.429) (radius 0.381) (stroke (width 0.254)) (fill (type outline))) + (rectangle (start -0.127 -7.62) (end 0.127 -6.858) + (stroke (width 0)) (fill (type none)) + ) + (rectangle (start 5.08 -2.667) (end 4.318 -2.413) + (stroke (width 0)) (fill (type none)) + ) + (rectangle (start 5.08 -0.127) (end 4.318 0.127) + (stroke (width 0)) (fill (type none)) + ) + (rectangle (start 5.08 4.953) (end 4.318 5.207) + (stroke (width 0)) (fill (type none)) + ) + (rectangle (start -3.81 5.588) (end -2.54 4.572) + (stroke (width 0)) (fill (type outline)) + ) + (rectangle (start 0.254 1.27) (end -0.508 0.508) + (stroke (width 0.254)) (fill (type outline)) + ) + (rectangle (start -5.08 -7.62) (end 5.08 7.62) + (stroke (width 0.254)) (fill (type background)) + ) + (polyline + (pts + (xy -1.905 2.159) + (xy 0.635 2.159) + ) + (stroke (width 0.254)) (fill (type none)) + ) + (polyline + (pts + (xy -3.175 2.159) + (xy -2.54 2.159) + (xy -1.27 3.429) + (xy -0.635 3.429) + ) + (stroke (width 0.254)) (fill (type none)) + ) + (polyline + (pts + (xy -2.54 2.159) + (xy -1.905 2.159) + (xy -1.27 0.889) + (xy 0 0.889) + ) + (stroke (width 0.254)) (fill (type none)) + ) + (polyline + (pts + (xy -4.064 4.318) + (xy -2.286 4.318) + (xy -2.286 5.715) + (xy -2.667 6.096) + (xy -3.683 6.096) + (xy -4.064 5.715) + (xy -4.064 4.318) + ) + (stroke (width 0)) (fill (type none)) + ) + (polyline + (pts + (xy 0.635 2.794) + (xy 0.635 1.524) + (xy 1.905 2.159) + (xy 0.635 2.794) + ) + (stroke (width 0.254)) (fill (type outline)) + ) + ) + (symbol "USB_B_1_1" + (pin power_out line (at 7.62 5.08 180) (length 2.54) + (name "VBUS" (effects (font (size 1.27 1.27)))) + (number "1" (effects (font (size 1.27 1.27)))) + ) + (pin bidirectional line (at 7.62 -2.54 180) (length 2.54) + (name "D-" (effects (font (size 1.27 1.27)))) + (number "2" (effects (font (size 1.27 1.27)))) + ) + (pin bidirectional line (at 7.62 0 180) (length 2.54) + (name "D+" (effects (font (size 1.27 1.27)))) + (number "3" (effects (font (size 1.27 1.27)))) + ) + (pin power_out line (at 0 -10.16 90) (length 2.54) + (name "GND" (effects (font (size 1.27 1.27)))) + (number "4" (effects (font (size 1.27 1.27)))) + ) + (pin passive line (at -2.54 -10.16 90) (length 2.54) + (name "Shield" (effects (font (size 1.27 1.27)))) + (number "5" (effects (font (size 1.27 1.27)))) + ) + ) + ) (symbol "hellen-one-common:USB_B_Mini" (pin_names (offset 1.016)) (in_bom yes) (on_board yes) (property "Reference" "J" (id 0) (at -5.08 11.43 0) (effects (font (size 1.27 1.27)) (justify left))