lib: add SMD USB-C receptacle

This commit is contained in:
King Kévin 2022-06-07 11:44:20 +02:00
parent a1cb82c00f
commit 698f5dc35f
6 changed files with 392 additions and 0 deletions

View File

@ -14,3 +14,4 @@ library:
- resistor/r0603
- diode/led0805
- transistor/pmos_nxp_bss84
- connector/usb-c_xkb_u262-24xn-4bv64

View File

@ -0,0 +1,35 @@
#VRML V2.0 utf8
Shape {
appearance Appearance {
material Material {
diffuseColor 0.37 0.37 0.37
emissiveColor 0.0 0.0 0.0
specularColor 1.0 1.0 1.0
ambientIntensity 1.0
transparency 0.5
shininess 1.0
}
}
geometry IndexedFaceSet {
coord Coordinate {
point [
-4.47 -5.2 0,
4.47 -5.2 0,
4.47 2.7 0,
-4.47 2.7 0,
-4.47 -5.2 3.16,
4.47 -5.2 3.16,
4.47 2.7 3.16,
-4.47 2.7 3.16
]
}
coordIndex [
0,1,2,3,-1
4,5,6,7,-1
0,1,5,4,-1
2,3,7,6,-1
0,3,7,4,-1
1,2,6,5,-1
]
}
}

View File

@ -24,4 +24,9 @@ D transistor, MOSFET, p-channel, enhancement mode, GSD
F https://assets.nexperia.com/documents/data-sheet/BSS84.pdf
$ENDCMP
#
$CMP XKB_U262-24XN-4BV64
D connector, USB-C, receptacle, 24-pin, SMT+TABS
F http://www.helloxkb.com/public/images/pdf/U262-24XN-4BV64.pdf
$ENDCMP
#
# End Doc Library

View File

@ -160,4 +160,75 @@ X D 3 150 300 200 D 50 50 1 1 U
X S 2 150 -300 200 U 50 50 1 1 U
ENDDRAW
ENDDEF
#
# XKB_U262-24XN-4BV64
#
DEF XKB_U262-24XN-4BV64 J 0 140 Y Y 1 L N
F0 "J" 0 30 50 H V L BNN
F1 "XKB_U262-24XN-4BV64" 1280 -1130 50 H V L TNN
F2 "mylib:CONNECTOR_XKB_U262-24XN-4BV64" 0 0 0 H I C CNN
F3 "http://www.helloxkb.com/public/images/pdf/U262-24XN-4BV64.pdf" 0 0 0 H I C CNN
$FPLIST
CONNECTOR_XKB_U262-24XN-4BV64
$ENDFPLIST
DRAW
S 0 0 1700 -1100 1 1 12 f
X TX1+ A2 -200 -200 200 R 50 50 1 1 O
C 50 -200 25 1 1 12 F
X TX1- A3 -200 -300 200 R 50 50 1 1 O
C 50 -300 25 1 1 12 F
X CC1 A5 -200 -400 200 R 50 50 1 1 B
C 50 -400 25 1 1 12 F
X D+ A6 -200 -500 200 R 50 50 1 1 B
C 50 -500 25 1 1 12 F
X D- A7 -200 -600 200 R 50 50 1 1 B
C 50 -600 25 1 1 12 F
X SBU1 A8 -200 -700 200 R 50 50 1 1 B
C 50 -700 25 1 1 12 F
X RX2- A10 -200 -800 200 R 50 50 1 1 I
C 50 -800 25 1 1 12 F
X RX2+ A11 -200 -900 200 R 50 50 1 1 I
C 50 -900 25 1 1 12 F
X RX1+ B11 1900 -200 200 L 50 50 1 1 I
C 1650 -200 25 1 1 12 F
X RX1- B10 1900 -300 200 L 50 50 1 1 I
C 1650 -300 25 1 1 12 F
X SBU2 B8 1900 -400 200 L 50 50 1 1 B
C 1650 -400 25 1 1 12 F
X D- B7 1900 -500 200 L 50 50 1 1 B
C 1650 -500 25 1 1 12 F
X D+ B6 1900 -600 200 L 50 50 1 1 B
C 1650 -600 25 1 1 12 F
X CC2 B5 1900 -700 200 L 50 50 1 1 B
C 1650 -700 25 1 1 12 F
X TX2- B3 1900 -800 200 L 50 50 1 1 O
C 1650 -800 25 1 1 12 F
X TX2+ B2 1900 -900 200 L 50 50 1 1 O
C 1650 -900 25 1 1 12 F
X VBUS A4 700 200 200 D 50 50 1 1 W
C 700 -50 25 1 1 12 F
X VBUS A9 800 200 200 D 50 50 1 1 W
C 800 -50 25 1 1 12 F
X VBUS B4 900 200 200 D 50 50 1 1 W
C 900 -50 25 1 1 12 F
X VBUS B9 1000 200 200 D 50 50 1 1 W
C 1000 -50 25 1 1 12 F
X GND A1 450 -1300 200 U 50 50 1 1 W
C 450 -1050 25 1 1 12 F
X GND A12 550 -1300 200 U 50 50 1 1 W
C 550 -1050 25 1 1 12 F
X GND B1 650 -1300 200 U 50 50 1 1 W
C 650 -1050 25 1 1 12 F
X GND B12 750 -1300 200 U 50 50 1 1 W
C 750 -1050 25 1 1 12 F
X SHIELD S1 950 -1300 200 U 50 50 1 1 P
C 950 -1050 25 1 1 12 F
X SHIELD S2 1050 -1300 200 U 50 50 1 1 P
C 1050 -1050 25 1 1 12 F
X SHIELD S3 1150 -1300 200 U 50 50 1 1 P
C 1150 -1050 25 1 1 12 F
X SHIELD S4 1250 -1300 200 U 50 50 1 1 P
C 1250 -1050 25 1 1 12 F
ENDDRAW
ENDDEF
# End Library

View File

@ -0,0 +1,106 @@
(module CONNECTOR_XKB_U262-24XN-4BV64 (layer F.Cu)
(pad A1 smd rect (at -2.630 -3.925) (size 0.300 0.950) (layers F.Cu F.Mask F.Paste)
(solder_mask_margin 0.001))
(pad A2 smd rect (at -2.130 -3.925) (size 0.300 0.950) (layers F.Cu F.Mask F.Paste)
(solder_mask_margin 0.001))
(pad A3 smd rect (at -1.630 -3.925) (size 0.300 0.950) (layers F.Cu F.Mask F.Paste)
(solder_mask_margin 0.001))
(pad A4 smd rect (at -1.130 -3.925) (size 0.300 0.950) (layers F.Cu F.Mask F.Paste)
(solder_mask_margin 0.001))
(pad A5 smd rect (at -0.630 -3.925) (size 0.300 0.950) (layers F.Cu F.Mask F.Paste)
(solder_mask_margin 0.001))
(pad A6 smd rect (at -0.130 -3.925) (size 0.300 0.950) (layers F.Cu F.Mask F.Paste)
(solder_mask_margin 0.001))
(pad A7 smd rect (at 0.370 -3.925) (size 0.300 0.950) (layers F.Cu F.Mask F.Paste)
(solder_mask_margin 0.001))
(pad A8 smd rect (at 0.870 -3.925) (size 0.300 0.950) (layers F.Cu F.Mask F.Paste)
(solder_mask_margin 0.001))
(pad A9 smd rect (at 1.370 -3.925) (size 0.300 0.950) (layers F.Cu F.Mask F.Paste)
(solder_mask_margin 0.001))
(pad A10 smd rect (at 1.870 -3.925) (size 0.300 0.950) (layers F.Cu F.Mask F.Paste)
(solder_mask_margin 0.001))
(pad A11 smd rect (at 2.370 -3.925) (size 0.300 0.950) (layers F.Cu F.Mask F.Paste)
(solder_mask_margin 0.001))
(pad A12 smd rect (at 2.870 -3.925) (size 0.300 0.950) (layers F.Cu F.Mask F.Paste)
(solder_mask_margin 0.001))
(pad B1 smd rect (at 2.620 -2.625) (size 0.300 0.950) (layers F.Cu F.Mask F.Paste)
(solder_mask_margin 0.001))
(pad B2 smd rect (at 2.120 -2.625) (size 0.300 0.950) (layers F.Cu F.Mask F.Paste)
(solder_mask_margin 0.001))
(pad B3 smd rect (at 1.620 -2.625) (size 0.300 0.950) (layers F.Cu F.Mask F.Paste)
(solder_mask_margin 0.001))
(pad B4 smd rect (at 1.120 -2.625) (size 0.300 0.950) (layers F.Cu F.Mask F.Paste)
(solder_mask_margin 0.001))
(pad B5 smd rect (at 0.620 -2.625) (size 0.300 0.950) (layers F.Cu F.Mask F.Paste)
(solder_mask_margin 0.001))
(pad B6 smd rect (at 0.120 -2.625) (size 0.300 0.950) (layers F.Cu F.Mask F.Paste)
(solder_mask_margin 0.001))
(pad B7 smd rect (at -0.380 -2.625) (size 0.300 0.950) (layers F.Cu F.Mask F.Paste)
(solder_mask_margin 0.001))
(pad B8 smd rect (at -0.880 -2.625) (size 0.300 0.950) (layers F.Cu F.Mask F.Paste)
(solder_mask_margin 0.001))
(pad B9 smd rect (at -1.380 -2.625) (size 0.300 0.950) (layers F.Cu F.Mask F.Paste)
(solder_mask_margin 0.001))
(pad B10 smd rect (at -1.880 -2.625) (size 0.300 0.950) (layers F.Cu F.Mask F.Paste)
(solder_mask_margin 0.001))
(pad B11 smd rect (at -2.380 -2.625) (size 0.300 0.950) (layers F.Cu F.Mask F.Paste)
(solder_mask_margin 0.001))
(pad B12 smd rect (at -2.880 -2.625) (size 0.300 0.950) (layers F.Cu F.Mask F.Paste)
(solder_mask_margin 0.001))
(pad S3 thru_hole oval (at -4.320 1.250) (size 1.000 2.300) (layers F.Cu F.Mask *.Cu B.Cu B.Mask)
(drill oval 0.600 1.900)
(solder_mask_margin 0.050))
(pad S4 thru_hole oval (at 4.320 1.250) (size 1.000 2.300) (layers F.Cu F.Mask *.Cu B.Cu B.Mask)
(drill oval 0.600 1.900)
(solder_mask_margin 0.050))
(pad S1 thru_hole oval (at -4.320 -3.300) (size 1.000 2.000) (layers F.Cu F.Mask *.Cu B.Cu B.Mask)
(drill oval 0.600 1.600))
(pad S2 thru_hole oval (at 4.320 -3.300) (size 1.000 2.000) (layers F.Cu F.Mask *.Cu B.Cu B.Mask)
(drill oval 0.600 1.600))
(pad S1 thru_hole oval (at -4.020 -2.800) (size 1.500 1.000) (layers F.Cu F.Mask *.Cu B.Cu B.Mask)
(drill oval 1.200 0.600)
(solder_mask_margin 0.020))
(pad S2 thru_hole oval (at 4.020 -2.800) (size 1.500 1.000) (layers F.Cu F.Mask *.Cu B.Cu B.Mask)
(drill oval 1.200 0.600)
(solder_mask_margin 0.025))
(pad MH1 np_thru_hole circle (at -3.400 -1.950) (size 0.500 0.500) (layers F.Mask B.Mask)
(drill 0.500)
(solder_mask_margin 0.050))
(pad MH2 np_thru_hole circle (at 3.400 -1.950) (size 0.500 0.500) (layers F.Mask B.Mask)
(drill 0.500)
(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_line (start -4.570 -4.050) (end -3.080 -4.050) (layer F.SilkS) (width 0.200))
(fp_line (start 3.320 -4.050) (end 4.570 -4.050) (layer F.SilkS) (width 0.200))
(fp_line (start 4.570 -4.050) (end 4.570 -3.600) (layer F.SilkS) (width 0.200))
(fp_line (start 4.570 -2.000) (end 4.570 -0.200) (layer F.SilkS) (width 0.200))
(fp_line (start 4.570 2.700) (end 4.570 4.050) (layer F.SilkS) (width 0.200))
(fp_line (start 4.570 4.050) (end -4.570 4.050) (layer F.SilkS) (width 0.200))
(fp_line (start -4.570 -4.050) (end -4.570 -3.600) (layer F.SilkS) (width 0.200))
(fp_line (start -4.570 -2.000) (end -4.570 -0.200) (layer F.SilkS) (width 0.200))
(fp_line (start -4.570 2.700) (end -4.570 4.050) (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 CONNECTOR_XKB_U262-24XN-4BV64 (at 0.000 0.000 0) (layer F.Fab)
(effects (font (size 1.000 1.000) (thickness 0.100)))
)
(fp_text user REF** (at 0.000 0.000 0) hide (layer F.Fab)
(effects (font (size 1.000 1.000) (thickness 0.100)))
)
(fp_line (start -4.470 -3.950) (end 4.470 -3.950) (layer F.Fab) (width 0.100))
(fp_line (start 4.470 -3.950) (end 4.470 3.950) (layer F.Fab) (width 0.100))
(fp_line (start 4.470 3.950) (end -4.470 3.950) (layer F.Fab) (width 0.100))
(fp_line (start -4.470 3.950) (end -4.470 -3.950) (layer F.Fab) (width 0.100))
(fp_line (start -5.070 -4.650) (end 5.070 -4.650) (layer F.CrtYd) (width 0.050))
(fp_line (start 5.070 -4.650) (end 5.070 4.200) (layer F.CrtYd) (width 0.050))
(fp_line (start 5.070 4.200) (end -5.070 4.200) (layer F.CrtYd) (width 0.050))
(fp_line (start -5.070 4.200) (end -5.070 -4.650) (layer F.CrtYd) (width 0.050))
(model CONNECTOR_XKB_U262-24XN-4BV64.wrl
(at (xyz 0 0 0))
(scale (xyz 0.3937 0.3937 0.3937))
(rotate (xyz 0 0 0 ))
)
)

View File

@ -0,0 +1,174 @@
{
"board": {
"design_settings": {
"defaults": {
"board_outline_line_width": 0.049999999999999996,
"copper_line_width": 0.19999999999999998,
"copper_text_italic": false,
"copper_text_size_h": 1.5,
"copper_text_size_v": 1.5,
"copper_text_thickness": 0.3,
"copper_text_upright": false,
"courtyard_line_width": 0.049999999999999996,
"dimension_precision": 4,
"dimension_units": 3,
"dimensions": {
"arrow_length": 1270000,
"extension_offset": 500000,
"keep_text_aligned": true,
"suppress_zeroes": false,
"text_position": 0,
"units_format": 1
},
"fab_line_width": 0.09999999999999999,
"fab_text_italic": false,
"fab_text_size_h": 1.0,
"fab_text_size_v": 1.0,
"fab_text_thickness": 0.15,
"fab_text_upright": false,
"other_line_width": 0.09999999999999999,
"other_text_italic": false,
"other_text_size_h": 1.0,
"other_text_size_v": 1.0,
"other_text_thickness": 0.15,
"other_text_upright": false,
"pads": {
"drill": 0.762,
"height": 1.524,
"width": 1.524
},
"silk_line_width": 0.12,
"silk_text_italic": false,
"silk_text_size_h": 1.0,
"silk_text_size_v": 1.0,
"silk_text_thickness": 0.15,
"silk_text_upright": false,
"zones": {
"45_degree_only": false,
"min_clearance": 0.508
}
},
"diff_pair_dimensions": [],
"drc_exclusions": [],
"meta": {
"version": 2
},
"rule_severities": {
"annular_width": "error",
"clearance": "error",
"copper_edge_clearance": "error",
"courtyards_overlap": "error",
"diff_pair_gap_out_of_range": "error",
"diff_pair_uncoupled_length_too_long": "error",
"drill_out_of_range": "error",
"duplicate_footprints": "warning",
"extra_footprint": "warning",
"footprint_type_mismatch": "error",
"hole_clearance": "error",
"hole_near_hole": "error",
"invalid_outline": "error",
"item_on_disabled_layer": "error",
"items_not_allowed": "error",
"length_out_of_range": "error",
"malformed_courtyard": "error",
"microvia_drill_out_of_range": "error",
"missing_courtyard": "ignore",
"missing_footprint": "warning",
"net_conflict": "warning",
"npth_inside_courtyard": "ignore",
"padstack": "error",
"pth_inside_courtyard": "ignore",
"shorting_items": "error",
"silk_over_copper": "warning",
"silk_overlap": "warning",
"skew_out_of_range": "error",
"through_hole_pad_without_hole": "error",
"too_many_vias": "error",
"track_dangling": "warning",
"track_width": "error",
"tracks_crossing": "error",
"unconnected_items": "error",
"unresolved_variable": "error",
"via_dangling": "warning",
"zone_has_empty_net": "error",
"zones_intersect": "error"
},
"rules": {
"allow_blind_buried_vias": false,
"allow_microvias": false,
"max_error": 0.005,
"min_clearance": 0.0,
"min_copper_edge_clearance": 0.01,
"min_hole_clearance": 0.25,
"min_hole_to_hole": 0.25,
"min_microvia_diameter": 0.19999999999999998,
"min_microvia_drill": 0.09999999999999999,
"min_silk_clearance": 0.0,
"min_through_hole_diameter": 0.3,
"min_track_width": 0.19999999999999998,
"min_via_annular_width": 0.049999999999999996,
"min_via_diameter": 0.39999999999999997,
"use_height_for_length_calcs": true
},
"track_widths": [],
"via_dimensions": [],
"zones_allow_external_fillets": false,
"zones_use_no_outline": true
},
"layer_presets": []
},
"boards": [],
"cvpcb": {
"equivalence_files": []
},
"libraries": {
"pinned_footprint_libs": [],
"pinned_symbol_libs": []
},
"meta": {
"filename": "CONNECTOR_XKB_U262-24XN-4BV64.kicad_pro",
"version": 1
},
"net_settings": {
"classes": [
{
"bus_width": 12.0,
"clearance": 0.2,
"diff_pair_gap": 0.25,
"diff_pair_via_gap": 0.25,
"diff_pair_width": 0.2,
"line_style": 0,
"microvia_diameter": 0.3,
"microvia_drill": 0.1,
"name": "Default",
"pcb_color": "rgba(0, 0, 0, 0.000)",
"schematic_color": "rgba(0, 0, 0, 0.000)",
"track_width": 0.25,
"via_diameter": 0.8,
"via_drill": 0.4,
"wire_width": 6.0
}
],
"meta": {
"version": 2
},
"net_colors": null
},
"pcbnew": {
"last_paths": {
"gencad": "",
"idf": "",
"netlist": "",
"specctra_dsn": "",
"step": "",
"vrml": ""
},
"page_layout_descr_file": ""
},
"schematic": {
"legacy_lib_dir": "",
"legacy_lib_list": []
},
"sheets": [],
"text_variables": {}
}