New 4-Layer Board with USB; Update gitignore; Change Speed Table Comment;
This commit is contained in:
1 parent
d417235df5
commit
9240e5b1a7
33 files changed
+42809
-62833
No files matched your search
+10
@@ -12,8 +12,18 @@ cmake-build-debug
|
||||
cmake-build-release
|
||||
|
||||
# KiCad ignored files
|
||||
KiCad/RP2040-Decoder-backups
|
||||
KiCad/*.bak
|
||||
KiCad/fp-info-cache
|
||||
KiCad/_autosave-*
|
||||
KiCad/*.kicad_prl
|
||||
KiCad/*/RP2040-Decoder-backups
|
||||
KiCad/*/*.bak
|
||||
KiCad/*/fp-info-cache
|
||||
KiCad/*/_autosave-*
|
||||
KiCad/*/*.kicad_prl
|
||||
KiCad/*.kicad_sch-bak
|
||||
KiCad/*.kicad_pcb-bak
|
||||
KiCad/*.kicad_pcb.lck
|
||||
KiCad/production
|
||||
KiCad/fabrication-toolkit-options.json
|
||||
File renamed without changes.
File renamed without changes.
File diff suppressed because it is too large.
Load diff
@@ -3,14 +3,17 @@
|
||||
"3dviewports": [],
|
||||
"design_settings": {
|
||||
"defaults": {
|
||||
"board_outline_line_width": 0.09999999999999999,
|
||||
"copper_line_width": 0.19999999999999998,
|
||||
"apply_defaults_to_fp_fields": false,
|
||||
"apply_defaults_to_fp_shapes": false,
|
||||
"apply_defaults_to_fp_text": false,
|
||||
"board_outline_line_width": 0.1,
|
||||
"copper_line_width": 0.2,
|
||||
"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,
|
||||
"courtyard_line_width": 0.05,
|
||||
"dimension_precision": 4,
|
||||
"dimension_units": 3,
|
||||
"dimensions": {
|
||||
@@ -21,7 +24,7 @@
|
||||
"text_position": 0,
|
||||
"units_format": 1
|
||||
},
|
||||
"fab_line_width": 0.09999999999999999,
|
||||
"fab_line_width": 0.1,
|
||||
"fab_text_italic": false,
|
||||
"fab_text_size_h": 1.0,
|
||||
"fab_text_size_v": 1.0,
|
||||
@@ -35,8 +38,8 @@
|
||||
"other_text_upright": false,
|
||||
"pads": {
|
||||
"drill": 0.0,
|
||||
"height": 2.0,
|
||||
"width": 2.0
|
||||
"height": 0.5,
|
||||
"width": 1.0
|
||||
},
|
||||
"silk_line_width": 0.15,
|
||||
"silk_text_italic": false,
|
||||
@@ -46,7 +49,7 @@
|
||||
"silk_text_upright": false,
|
||||
"zones": {
|
||||
"45_degree_only": false,
|
||||
"min_clearance": 0.19999999999999998
|
||||
"min_clearance": 0.2
|
||||
}
|
||||
},
|
||||
"diff_pair_dimensions": [
|
||||
@@ -73,9 +76,11 @@
|
||||
"duplicate_footprints": "warning",
|
||||
"extra_footprint": "warning",
|
||||
"footprint": "error",
|
||||
"footprint_symbol_mismatch": "warning",
|
||||
"footprint_type_mismatch": "error",
|
||||
"hole_clearance": "error",
|
||||
"hole_near_hole": "error",
|
||||
"holes_co_located": "warning",
|
||||
"invalid_outline": "error",
|
||||
"isolated_copper": "warning",
|
||||
"item_on_disabled_layer": "error",
|
||||
@@ -85,12 +90,12 @@
|
||||
"lib_footprint_mismatch": "warning",
|
||||
"malformed_courtyard": "error",
|
||||
"microvia_drill_out_of_range": "error",
|
||||
"missing_courtyard": "warning",
|
||||
"missing_courtyard": "ignore",
|
||||
"missing_footprint": "warning",
|
||||
"net_conflict": "warning",
|
||||
"npth_inside_courtyard": "warning",
|
||||
"npth_inside_courtyard": "ignore",
|
||||
"padstack": "error",
|
||||
"pth_inside_courtyard": "warning",
|
||||
"pth_inside_courtyard": "ignore",
|
||||
"shorting_items": "error",
|
||||
"silk_edge_clearance": "warning",
|
||||
"silk_over_copper": "warning",
|
||||
@@ -114,31 +119,28 @@
|
||||
"allow_blind_buried_vias": false,
|
||||
"allow_microvias": false,
|
||||
"max_error": 0.005,
|
||||
"min_clearance": 0.127,
|
||||
"min_clearance": 0.1,
|
||||
"min_connection": 0.0,
|
||||
"min_copper_edge_clearance": 0.3,
|
||||
"min_hole_clearance": 0.19999999999999998,
|
||||
"min_hole_to_hole": 0.19999999999999998,
|
||||
"min_microvia_diameter": 0.19999999999999998,
|
||||
"min_microvia_drill": 0.09999999999999999,
|
||||
"min_copper_edge_clearance": 0.2,
|
||||
"min_hole_clearance": 0.2,
|
||||
"min_hole_to_hole": 0.254,
|
||||
"min_microvia_diameter": 0.2,
|
||||
"min_microvia_drill": 0.1,
|
||||
"min_resolved_spokes": 2,
|
||||
"min_silk_clearance": 0.0,
|
||||
"min_text_height": 0.7999999999999999,
|
||||
"min_text_height": 0.8,
|
||||
"min_text_thickness": 0.08,
|
||||
"min_through_hole_diameter": 0.19999999999999998,
|
||||
"min_track_width": 0.09,
|
||||
"min_via_annular_width": 0.09999999999999999,
|
||||
"min_via_diameter": 0.44999999999999996,
|
||||
"min_through_hole_diameter": 0.2,
|
||||
"min_track_width": 0.1,
|
||||
"min_via_annular_width": 0.05,
|
||||
"min_via_diameter": 0.4,
|
||||
"solder_mask_clearance": 0.0,
|
||||
"solder_mask_min_width": 0.0,
|
||||
"solder_mask_to_copper_clearance": 0.0,
|
||||
"solder_mask_to_copper_clearance": 0.005,
|
||||
"use_height_for_length_calcs": true
|
||||
},
|
||||
"teardrop_options": [
|
||||
{
|
||||
"td_allow_use_two_tracks": true,
|
||||
"td_curve_segcount": 5,
|
||||
"td_on_pad_in_zone": false,
|
||||
"td_onpadsmd": true,
|
||||
"td_onroundshapesonly": false,
|
||||
"td_ontrackend": false,
|
||||
@@ -147,36 +149,42 @@
|
||||
],
|
||||
"teardrop_parameters": [
|
||||
{
|
||||
"td_allow_use_two_tracks": true,
|
||||
"td_curve_segcount": 0,
|
||||
"td_height_ratio": 1.0,
|
||||
"td_length_ratio": 0.5,
|
||||
"td_maxheight": 2.0,
|
||||
"td_maxlen": 1.0,
|
||||
"td_on_pad_in_zone": false,
|
||||
"td_target_name": "td_round_shape",
|
||||
"td_width_to_size_filter_ratio": 0.9
|
||||
},
|
||||
{
|
||||
"td_allow_use_two_tracks": true,
|
||||
"td_curve_segcount": 0,
|
||||
"td_height_ratio": 1.0,
|
||||
"td_length_ratio": 0.5,
|
||||
"td_maxheight": 2.0,
|
||||
"td_maxlen": 1.0,
|
||||
"td_on_pad_in_zone": false,
|
||||
"td_target_name": "td_rect_shape",
|
||||
"td_width_to_size_filter_ratio": 0.9
|
||||
},
|
||||
{
|
||||
"td_allow_use_two_tracks": true,
|
||||
"td_curve_segcount": 0,
|
||||
"td_height_ratio": 1.0,
|
||||
"td_length_ratio": 0.5,
|
||||
"td_maxheight": 2.0,
|
||||
"td_maxlen": 1.0,
|
||||
"td_on_pad_in_zone": false,
|
||||
"td_target_name": "td_track_end",
|
||||
"td_width_to_size_filter_ratio": 0.9
|
||||
}
|
||||
],
|
||||
"track_widths": [
|
||||
0.0,
|
||||
0.1,
|
||||
0.127,
|
||||
0.2,
|
||||
0.25,
|
||||
0.4,
|
||||
@@ -185,17 +193,43 @@
|
||||
0.75,
|
||||
0.8
|
||||
],
|
||||
"tuning_pattern_settings": {
|
||||
"diff_pair_defaults": {
|
||||
"corner_radius_percentage": 80,
|
||||
"corner_style": 1,
|
||||
"max_amplitude": 1.0,
|
||||
"min_amplitude": 0.2,
|
||||
"single_sided": false,
|
||||
"spacing": 1.0
|
||||
},
|
||||
"diff_pair_skew_defaults": {
|
||||
"corner_radius_percentage": 80,
|
||||
"corner_style": 1,
|
||||
"max_amplitude": 1.0,
|
||||
"min_amplitude": 0.2,
|
||||
"single_sided": false,
|
||||
"spacing": 0.6
|
||||
},
|
||||
"single_track_defaults": {
|
||||
"corner_radius_percentage": 80,
|
||||
"corner_style": 1,
|
||||
"max_amplitude": 1.0,
|
||||
"min_amplitude": 0.2,
|
||||
"single_sided": false,
|
||||
"spacing": 0.6
|
||||
}
|
||||
},
|
||||
"via_dimensions": [
|
||||
{
|
||||
"diameter": 0.0,
|
||||
"drill": 0.0
|
||||
},
|
||||
{
|
||||
"diameter": 0.45,
|
||||
"diameter": 0.4,
|
||||
"drill": 0.3
|
||||
},
|
||||
{
|
||||
"diameter": 0.5,
|
||||
"diameter": 0.45,
|
||||
"drill": 0.3
|
||||
},
|
||||
{
|
||||
@@ -214,6 +248,13 @@
|
||||
"zones_allow_external_fillets": false,
|
||||
"zones_use_no_outline": true
|
||||
},
|
||||
"ipc2581": {
|
||||
"dist": "",
|
||||
"distpn": "",
|
||||
"internal_id": "",
|
||||
"mfg": "",
|
||||
"mpn": ""
|
||||
},
|
||||
"layer_presets": [],
|
||||
"viewports": []
|
||||
},
|
||||
@@ -399,6 +440,7 @@
|
||||
"rule_severities": {
|
||||
"bus_definition_conflict": "error",
|
||||
"bus_entry_needed": "error",
|
||||
"bus_label_syntax": "error",
|
||||
"bus_to_bus_conflict": "error",
|
||||
"bus_to_net_conflict": "error",
|
||||
"conflicting_netclasses": "error",
|
||||
@@ -422,7 +464,7 @@
|
||||
"no_connect_dangling": "warning",
|
||||
"pin_not_connected": "error",
|
||||
"pin_not_driven": "error",
|
||||
"pin_to_pin": "warning",
|
||||
"pin_to_pin": "error",
|
||||
"power_pin_not_driven": "error",
|
||||
"similar_labels": "warning",
|
||||
"simulation_model_issue": "ignore",
|
||||
@@ -434,9 +476,7 @@
|
||||
},
|
||||
"libraries": {
|
||||
"pinned_footprint_libs": [],
|
||||
"pinned_symbol_libs": [
|
||||
"Sensor_Gas"
|
||||
]
|
||||
"pinned_symbol_libs": []
|
||||
},
|
||||
"meta": {
|
||||
"filename": "RP2040-Decoder.kicad_pro",
|
||||
@@ -465,7 +505,10 @@
|
||||
"meta": {
|
||||
"version": 3
|
||||
},
|
||||
"net_colors": null,
|
||||
"net_colors": {
|
||||
"+3V3": "rgb(255, 8, 12)",
|
||||
"GND": "rgb(250, 0, 255)"
|
||||
},
|
||||
"netclass_assignments": null,
|
||||
"netclass_patterns": []
|
||||
},
|
||||
@@ -474,14 +517,124 @@
|
||||
"gencad": "",
|
||||
"idf": "",
|
||||
"netlist": "",
|
||||
"plot": "output/",
|
||||
"pos_files": "output/",
|
||||
"specctra_dsn": "",
|
||||
"step": "",
|
||||
"svg": "",
|
||||
"vrml": ""
|
||||
},
|
||||
"page_layout_descr_file": ""
|
||||
},
|
||||
"schematic": {
|
||||
"annotate_start_num": 0,
|
||||
"bom_export_filename": "",
|
||||
"bom_fmt_presets": [],
|
||||
"bom_fmt_settings": {
|
||||
"field_delimiter": ",",
|
||||
"keep_line_breaks": false,
|
||||
"keep_tabs": false,
|
||||
"name": "CSV",
|
||||
"ref_delimiter": ",",
|
||||
"ref_range_delimiter": "",
|
||||
"string_delimiter": "\""
|
||||
},
|
||||
"bom_presets": [],
|
||||
"bom_settings": {
|
||||
"exclude_dnp": false,
|
||||
"fields_ordered": [
|
||||
{
|
||||
"group_by": false,
|
||||
"label": "Reference",
|
||||
"name": "Reference",
|
||||
"show": true
|
||||
},
|
||||
{
|
||||
"group_by": true,
|
||||
"label": "Value",
|
||||
"name": "Value",
|
||||
"show": true
|
||||
},
|
||||
{
|
||||
"group_by": false,
|
||||
"label": "Datasheet",
|
||||
"name": "Datasheet",
|
||||
"show": true
|
||||
},
|
||||
{
|
||||
"group_by": false,
|
||||
"label": "Footprint",
|
||||
"name": "Footprint",
|
||||
"show": true
|
||||
},
|
||||
{
|
||||
"group_by": false,
|
||||
"label": "Qty",
|
||||
"name": "${QUANTITY}",
|
||||
"show": true
|
||||
},
|
||||
{
|
||||
"group_by": true,
|
||||
"label": "DNP",
|
||||
"name": "${DNP}",
|
||||
"show": true
|
||||
},
|
||||
{
|
||||
"group_by": false,
|
||||
"label": "#",
|
||||
"name": "${ITEM_NUMBER}",
|
||||
"show": false
|
||||
},
|
||||
{
|
||||
"group_by": false,
|
||||
"label": "Comment",
|
||||
"name": "Comment",
|
||||
"show": false
|
||||
},
|
||||
{
|
||||
"group_by": false,
|
||||
"label": "Frequency",
|
||||
"name": "Frequency",
|
||||
"show": false
|
||||
},
|
||||
{
|
||||
"group_by": false,
|
||||
"label": "Tolerance",
|
||||
"name": "Tolerance",
|
||||
"show": false
|
||||
},
|
||||
{
|
||||
"group_by": false,
|
||||
"label": "Voltage",
|
||||
"name": "Voltage",
|
||||
"show": false
|
||||
},
|
||||
{
|
||||
"group_by": false,
|
||||
"label": "Description",
|
||||
"name": "Description",
|
||||
"show": false
|
||||
},
|
||||
{
|
||||
"group_by": false,
|
||||
"label": "GPIO_PIN",
|
||||
"name": "GPIO_PIN",
|
||||
"show": false
|
||||
},
|
||||
{
|
||||
"group_by": false,
|
||||
"label": "Alternative Part",
|
||||
"name": "Alternative Part",
|
||||
"show": true
|
||||
}
|
||||
],
|
||||
"filter_string": "",
|
||||
"group_symbols": true,
|
||||
"name": "",
|
||||
"sort_asc": true,
|
||||
"sort_field": "Reference"
|
||||
},
|
||||
"connection_grid_size": 50.0,
|
||||
"drawing": {
|
||||
"dashed_lines_dash_length_ratio": 12.0,
|
||||
"dashed_lines_gap_length_ratio": 3.0,
|
||||
@@ -495,6 +648,11 @@
|
||||
"intersheets_ref_suffix": "",
|
||||
"junction_size_choice": 3,
|
||||
"label_size_ratio": 0.25,
|
||||
"operating_point_overlay_i_precision": 3,
|
||||
"operating_point_overlay_i_range": "~A",
|
||||
"operating_point_overlay_v_precision": 3,
|
||||
"operating_point_overlay_v_range": "~V",
|
||||
"overbar_offset_ratio": 1.23,
|
||||
"pin_symbol_size": 0.0,
|
||||
"text_offset_ratio": 0.08
|
||||
},
|
||||
@@ -520,6 +678,7 @@
|
||||
"spice_external_command": "spice \"%I\"",
|
||||
"spice_model_current_sheet_as_root": true,
|
||||
"spice_save_all_currents": false,
|
||||
"spice_save_all_dissipations": false,
|
||||
"spice_save_all_voltages": false,
|
||||
"subpart_first_id": 65,
|
||||
"subpart_id_separator": 0
|
||||
@@ -527,7 +686,7 @@
|
||||
"sheets": [
|
||||
[
|
||||
"11d18738-0f49-4d63-b61c-22a93efd5959",
|
||||
""
|
||||
"Root"
|
||||
]
|
||||
],
|
||||
"text_variables": {}
|
||||
File diff suppressed because it is too large.
Load diff
File renamed without changes.
File diff suppressed because it is too large.
Load diff
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -1,41 +0,0 @@
|
||||
(footprint "C_0603_1608Metric_Removed_Silkscreen" (version 20221018) (generator pcbnew)
|
||||
(layer "F.Cu")
|
||||
(descr "Capacitor SMD 0603 (1608 Metric), square (rectangular) end terminal, IPC_7351 nominal, (Body size source: IPC-SM-782 page 76, https://www.pcb-3d.com/wordpress/wp-content/uploads/ipc-sm-782a_amendment_1_and_2.pdf), generated with kicad-footprint-generator")
|
||||
(tags "capacitor")
|
||||
(attr smd)
|
||||
(fp_text reference "REF**" (at 0 -1.43) (layer "F.SilkS")
|
||||
(effects (font (size 1 1) (thickness 0.15)))
|
||||
(tstamp d8b50c90-0233-4120-8eb7-fd37553c1dae)
|
||||
)
|
||||
(fp_text value "C_0603_1608Metric_Removed_Silkscreen" (at 0 1.43) (layer "F.Fab")
|
||||
(effects (font (size 1 1) (thickness 0.15)))
|
||||
(tstamp 4e5feb93-e33a-49c0-b9c5-ae5884f54838)
|
||||
)
|
||||
(fp_text user "${REFERENCE}" (at 0 0) (layer "F.Fab")
|
||||
(effects (font (size 0.4 0.4) (thickness 0.06)))
|
||||
(tstamp 579d7eba-875c-4a83-94cf-9a0ffb7d4ec6)
|
||||
)
|
||||
(fp_line (start -1.48 -0.73) (end 1.48 -0.73)
|
||||
(stroke (width 0.05) (type solid)) (layer "F.CrtYd") (tstamp bc329fd9-c699-40fd-809e-176f9fd0c1d5))
|
||||
(fp_line (start -1.48 0.73) (end -1.48 -0.73)
|
||||
(stroke (width 0.05) (type solid)) (layer "F.CrtYd") (tstamp 40f7c129-7117-4932-921f-63d9649a8e3c))
|
||||
(fp_line (start 1.48 -0.73) (end 1.48 0.73)
|
||||
(stroke (width 0.05) (type solid)) (layer "F.CrtYd") (tstamp 4cdf0691-68d0-4b9c-a08d-e458d11a6264))
|
||||
(fp_line (start 1.48 0.73) (end -1.48 0.73)
|
||||
(stroke (width 0.05) (type solid)) (layer "F.CrtYd") (tstamp c885676b-37fb-4c12-bfd6-27ae9c8dfd4f))
|
||||
(fp_line (start -0.8 -0.4) (end 0.8 -0.4)
|
||||
(stroke (width 0.1) (type solid)) (layer "F.Fab") (tstamp 06122ef5-5764-4a31-a1df-58f084862b1c))
|
||||
(fp_line (start -0.8 0.4) (end -0.8 -0.4)
|
||||
(stroke (width 0.1) (type solid)) (layer "F.Fab") (tstamp 864e65e5-cec8-4833-ae53-dec6136866be))
|
||||
(fp_line (start 0.8 -0.4) (end 0.8 0.4)
|
||||
(stroke (width 0.1) (type solid)) (layer "F.Fab") (tstamp 1d2a7865-4bae-407b-82ca-a2578f9efb73))
|
||||
(fp_line (start 0.8 0.4) (end -0.8 0.4)
|
||||
(stroke (width 0.1) (type solid)) (layer "F.Fab") (tstamp 3fe6a869-68b8-4f26-8354-3cc1c9697594))
|
||||
(pad "1" smd roundrect (at -0.775 0) (size 0.9 0.95) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25) (tstamp 251ae9f1-97b4-42c7-a502-27edca1e9c60))
|
||||
(pad "2" smd roundrect (at 0.775 0) (size 0.9 0.95) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25) (tstamp b3136c2f-02b9-49e1-a069-45a3c84854a1))
|
||||
(model "${KICAD6_3DMODEL_DIR}/Capacitor_SMD.3dshapes/C_0603_1608Metric.wrl"
|
||||
(offset (xyz 0 0 0))
|
||||
(scale (xyz 1 1 1))
|
||||
(rotate (xyz 0 0 0))
|
||||
)
|
||||
)
|
||||
-76
@@ -1,76 +0,0 @@
|
||||
(footprint "HTSSOP-16-1EP_4.4x5mm_P0.65mm_EP3.4x5mm_Mask2.46x2.31mm_ThermalVias" (version 20221018) (generator pcbnew)
|
||||
(layer "F.Cu")
|
||||
(descr "HTSSOP, 16 Pin (http://www.analog.com/media/en/technical-documentation/data-sheets/LTC7810.pdf), generated with kicad-footprint-generator ipc_gullwing_generator.py")
|
||||
(tags "HTSSOP SO")
|
||||
(attr smd)
|
||||
(fp_text reference "REF**" (at 0 -3.45) (layer "F.SilkS")
|
||||
(effects (font (size 1 1) (thickness 0.15)))
|
||||
(tstamp 0062a1d1-b233-450b-8500-7eef91b681c4)
|
||||
)
|
||||
(fp_text value "HTSSOP-16-1EP_4.4x5mm_P0.65mm_EP3.4x5mm_Mask2.46x2.31mm_ThermalVias" (at 0 3.45) (layer "F.Fab")
|
||||
(effects (font (size 1 1) (thickness 0.15)))
|
||||
(tstamp 32708270-2d2c-4c85-94e5-9c5f7bc67938)
|
||||
)
|
||||
(fp_text user "${REFERENCE}" (at 0 0) (layer "F.Fab")
|
||||
(effects (font (size 1 1) (thickness 0.15)))
|
||||
(tstamp 90c35e90-8d40-4018-b19f-6a0949bca896)
|
||||
)
|
||||
(fp_line (start 0 -2.76) (end -3.65 -2.76)
|
||||
(stroke (width 0.12) (type solid)) (layer "F.SilkS") (tstamp c0f04f2d-4af2-4609-8cc7-fc5728a4ead0))
|
||||
(fp_line (start 0 -2.76) (end 2.2 -2.76)
|
||||
(stroke (width 0.12) (type solid)) (layer "F.SilkS") (tstamp 8c5cd95f-4245-4c8b-ac24-686a209433ed))
|
||||
(fp_line (start 0 2.76) (end -2.2 2.76)
|
||||
(stroke (width 0.12) (type solid)) (layer "F.SilkS") (tstamp 66a03834-6eba-49fb-adc3-944004bf0b78))
|
||||
(fp_line (start 0 2.76) (end 2.2 2.76)
|
||||
(stroke (width 0.12) (type solid)) (layer "F.SilkS") (tstamp b4437352-e95d-48b0-a82e-2cd89516aeb5))
|
||||
(fp_line (start -3.9 -2.75) (end -3.9 2.75)
|
||||
(stroke (width 0.05) (type solid)) (layer "F.CrtYd") (tstamp c18bb1cc-cc62-47a1-951a-c4e2ed732657))
|
||||
(fp_line (start -3.9 2.75) (end 3.9 2.75)
|
||||
(stroke (width 0.05) (type solid)) (layer "F.CrtYd") (tstamp 7bdb6346-e384-42b7-b433-5467c9cecc90))
|
||||
(fp_line (start 3.9 -2.75) (end -3.9 -2.75)
|
||||
(stroke (width 0.05) (type solid)) (layer "F.CrtYd") (tstamp 7cecb78f-ec94-41fa-ae9f-4b45f1d7be7b))
|
||||
(fp_line (start 3.9 2.75) (end 3.9 -2.75)
|
||||
(stroke (width 0.05) (type solid)) (layer "F.CrtYd") (tstamp 7e45dcb2-a97b-4360-9077-bf64b4ba8e16))
|
||||
(fp_line (start -2.2 -1.5) (end -1.2 -2.5)
|
||||
(stroke (width 0.1) (type solid)) (layer "F.Fab") (tstamp 727e1ab9-1a5e-48af-b80d-dc1ac42b94d2))
|
||||
(fp_line (start -2.2 2.5) (end -2.2 -1.5)
|
||||
(stroke (width 0.1) (type solid)) (layer "F.Fab") (tstamp 64109b9d-9460-4086-8981-32e071f6f576))
|
||||
(fp_line (start -1.2 -2.5) (end 2.2 -2.5)
|
||||
(stroke (width 0.1) (type solid)) (layer "F.Fab") (tstamp d154e657-c7a4-4002-8c15-34b691259f6e))
|
||||
(fp_line (start 2.2 -2.5) (end 2.2 2.5)
|
||||
(stroke (width 0.1) (type solid)) (layer "F.Fab") (tstamp 989ceb3d-1efa-44e4-adba-026a6691dbb2))
|
||||
(fp_line (start 2.2 2.5) (end -2.2 2.5)
|
||||
(stroke (width 0.1) (type solid)) (layer "F.Fab") (tstamp e46901cb-88b8-4f1e-99d5-0880c81e9b67))
|
||||
(pad "" smd roundrect (at 0 -0.58) (size 1.98 0.93) (layers "F.Paste") (roundrect_rratio 0.25) (tstamp ef254438-968e-4866-b0a3-1e97ebf4cce3))
|
||||
(pad "" smd rect (at 0 0) (size 2.46 2.31) (layers "F.Mask") (tstamp 606ad2cb-6c5b-49ea-ae31-42dbd25105a5))
|
||||
(pad "" smd roundrect (at 0 0.58) (size 1.98 0.93) (layers "F.Paste") (roundrect_rratio 0.25) (tstamp 615a3eb9-ee3f-4fdf-9b81-cc76be900919))
|
||||
(pad "1" smd roundrect (at -2.8625 -2.275) (size 1.575 0.4) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25) (tstamp f8d2b94d-ab95-4fab-8a75-e871729a78b2))
|
||||
(pad "2" smd roundrect (at -2.8625 -1.625) (size 1.575 0.4) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25) (tstamp 36ae076c-16ba-4c36-a92c-86e8d3b9afcc))
|
||||
(pad "3" smd roundrect (at -2.8625 -0.975) (size 1.575 0.4) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25) (tstamp f5a26b5c-868f-42de-a9fd-55c2c60d5ea7))
|
||||
(pad "4" smd roundrect (at -2.8625 -0.325) (size 1.575 0.4) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25) (tstamp f7645612-c567-4077-86e2-29232da1fc9b))
|
||||
(pad "5" smd roundrect (at -2.8625 0.325) (size 1.575 0.4) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25) (tstamp 088ecad7-ef05-4065-ae8d-f022999247c3))
|
||||
(pad "6" smd roundrect (at -2.8625 0.975) (size 1.575 0.4) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25) (tstamp a70eb6d6-a677-49ce-9287-e367c95eeff6))
|
||||
(pad "7" smd roundrect (at -2.8625 1.625) (size 1.575 0.4) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25) (tstamp fa830def-3099-44f0-997d-8b0554cb9d62))
|
||||
(pad "8" smd roundrect (at -2.8625 2.275) (size 1.575 0.4) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25) (tstamp 67d531a8-ebbc-413d-a5ae-f0ad5e6af905))
|
||||
(pad "9" smd roundrect (at 2.8625 2.275) (size 1.575 0.4) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25) (tstamp a3ba3c71-b43c-48e5-9dd2-e85cdaa8302f))
|
||||
(pad "10" smd roundrect (at 2.8625 1.625) (size 1.575 0.4) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25) (tstamp e1508edd-3fa5-444d-b691-6d379e8fad2f))
|
||||
(pad "11" smd roundrect (at 2.8625 0.975) (size 1.575 0.4) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25) (tstamp 99ecdf40-9da2-4002-85a7-a3464bf4321b))
|
||||
(pad "12" smd roundrect (at 2.8625 0.325) (size 1.575 0.4) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25) (tstamp f6012777-e95f-4857-9ca0-0f668290a25c))
|
||||
(pad "13" smd roundrect (at 2.8625 -0.325) (size 1.575 0.4) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25) (tstamp ca16e220-940a-4edf-ab3f-30fa76db8633))
|
||||
(pad "14" smd roundrect (at 2.8625 -0.975) (size 1.575 0.4) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25) (tstamp 805f4018-e3f3-4e9a-8c0c-0c8bebed5135))
|
||||
(pad "15" smd roundrect (at 2.8625 -1.625) (size 1.575 0.4) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25) (tstamp c6e36599-5eed-4a98-a842-0e230637b09f))
|
||||
(pad "16" smd roundrect (at 2.8625 -2.275) (size 1.575 0.4) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25) (tstamp 169f1589-61d4-4f6b-b6f6-03cb024c8623))
|
||||
(pad "17" thru_hole circle (at -0.75 -1.5) (size 0.5 0.5) (drill 0.2) (layers "*.Cu") (tstamp 168bf59a-506d-4b5b-bd40-ace5c3533dba))
|
||||
(pad "17" thru_hole circle (at -0.75 0) (size 0.5 0.5) (drill 0.2) (layers "*.Cu") (tstamp a254a0df-7de7-47d5-b308-6008822374bb))
|
||||
(pad "17" thru_hole circle (at -0.75 1.5) (size 0.5 0.5) (drill 0.2) (layers "*.Cu") (tstamp 4536f330-78ea-40f8-b9bc-71341f30d494))
|
||||
(pad "17" smd rect (at 0 0) (size 2 3.5) (layers "B.Cu") (tstamp 01e7e317-8d95-47c4-bebb-91f65b45d526))
|
||||
(pad "17" smd rect (at 0 0) (size 3.4 5) (layers "F.Cu") (tstamp 878f8257-85d0-45ed-8254-04b1c9135e95))
|
||||
(pad "17" thru_hole circle (at 0.75 -1.5) (size 0.5 0.5) (drill 0.2) (layers "*.Cu") (tstamp a13fc97f-bc29-4434-8f60-2ab22aaceb36))
|
||||
(pad "17" thru_hole circle (at 0.75 0) (size 0.5 0.5) (drill 0.2) (layers "*.Cu") (tstamp eac4ad1c-4f23-41b8-bbfa-3f1df4d0f8e4))
|
||||
(pad "17" thru_hole circle (at 0.75 1.5) (size 0.5 0.5) (drill 0.2) (layers "*.Cu") (tstamp bb68fa1c-0102-44eb-b3a2-f26a696250d5))
|
||||
(model "${KICAD7_3DMODEL_DIR}/Package_SO.3dshapes/TSSOP-16_4.4x5mm_P0.65mm.wrl"
|
||||
(offset (xyz 0 0 0))
|
||||
(scale (xyz 1 1 1))
|
||||
(rotate (xyz 0 0 0))
|
||||
)
|
||||
)
|
||||
@@ -1,107 +0,0 @@
|
||||
(version 1)
|
||||
#Kicad 7
|
||||
|
||||
# ----------------------------------- Minimum trace width and spacing --------------------
|
||||
|
||||
# 4-layer , 1oz and 0.5oz copper
|
||||
(rule "Minimum Trace Width and Spacing"
|
||||
(constraint track_width (min 0.09mm))
|
||||
(constraint clearance (min 0.09mm))
|
||||
(condition "A.Type == 'track'"))
|
||||
|
||||
# ------------------------------------------------------------------------------------------------------
|
||||
|
||||
# Drill/hole size - listed here to maintain order of rule application. Must not override rule set in Via hole/diameter size below.
|
||||
(rule "drill hole size (mechanical)"
|
||||
(constraint hole_size (min 0.15mm) (max 6.3mm)))
|
||||
|
||||
# ----------------------------------- Via hole/diameter size ------------------------------------
|
||||
|
||||
# 4-layer standard
|
||||
(rule "Minimum Via Diameter and Hole Size"
|
||||
(constraint hole_size (min 0.3mm))
|
||||
(constraint via_diameter (min 0.45mm))
|
||||
(constraint disallow buried_via)
|
||||
(condition "A.Type == 'via'"))
|
||||
|
||||
# ----------------------------------- Drill/hole size ------------------------------------
|
||||
|
||||
(rule "PTH Hole Size"
|
||||
(constraint hole_size (min 0.2mm) (max 6.35mm))
|
||||
(condition "A.Type != 'Via' && A.isPlated()"))
|
||||
|
||||
(rule "Minimum Non-plated Hole Size"
|
||||
(constraint hole_size (min 0.5mm))
|
||||
(condition "A.Type == 'pad' && !A.isPlated()"))
|
||||
|
||||
(rule "Pad Size"
|
||||
(constraint hole_size (min 0.5mm))
|
||||
(constraint annular_width (min 0.25mm))
|
||||
(condition "A.Type == 'Pad' && A.isPlated()"))
|
||||
|
||||
(rule "Minimum Castellated Hole Size"
|
||||
(constraint hole_size (min 0.6mm))
|
||||
(condition "A.Type == 'pad' && A.Fabrication_Property == 'Castellated pad'"))
|
||||
|
||||
(rule "Min. Plated Slot Width"
|
||||
(constraint hole_size (min 0.5mm))
|
||||
(condition "(A.Hole_Size_X != A.Hole_Size_Y) && A.isPlated()"))
|
||||
|
||||
(rule "Min. Non-Plated Slot Width"
|
||||
(constraint hole_size (min 1.0mm))
|
||||
(condition "(A.Hole_Size_X != A.Hole_Size_Y) && !A.isPlated()"))
|
||||
|
||||
# ----------------------------------- Minimum clearance ----------------------------------
|
||||
(rule "hole to hole clearance (different nets)"
|
||||
(constraint hole_to_hole (min 0.5mm))
|
||||
(condition "A.Net != B.Net"))
|
||||
|
||||
(rule "via to track clearance"
|
||||
(constraint hole_clearance (min 0.254mm))
|
||||
(condition "A.Type == 'via' && B.Type == 'track'"))
|
||||
|
||||
(rule "via to via clearance (same nets)"
|
||||
(constraint hole_to_hole (min 0.254mm))
|
||||
(condition "A.Type == 'via' && B.Type == A.Type && A.Net == B.Net"))
|
||||
|
||||
(rule "pad to pad clearance (with hole, different nets)"
|
||||
(constraint hole_to_hole (min 0.5mm))
|
||||
(condition "A.Type == 'pad' && B.Type == A.Type && A.Net != B.Net"))
|
||||
|
||||
(rule "pad to pad clearance (without hole, different nets)"
|
||||
(constraint clearance (min 0.127mm))
|
||||
(condition "A.Type == 'Pad' && B.Type == 'Pad'"))
|
||||
|
||||
(rule "NPTH to Track clearance"
|
||||
(constraint hole_clearance (min 0.254mm))
|
||||
(condition "A.Pad_Type == 'NPTH, mechanical' && B.Type == 'track'"))
|
||||
|
||||
(rule "NPTH with copper around"
|
||||
(constraint hole_clearance (min 0.20mm))
|
||||
(condition "A.Pad_Type == 'NPTH, mechanical' && B.Type != 'track'"))
|
||||
|
||||
(rule "PTH to Track clearance"
|
||||
(constraint hole_clearance (min 0.33mm))
|
||||
(condition "A.isPlated() && A.Type != 'Via' && B.Type == 'track'"))
|
||||
|
||||
(rule "Pad to Track clearance"
|
||||
(constraint clearance (min 0.2mm))
|
||||
(condition "A.isPlated() && A.Type != 'Via' && B.Type == 'track'"))
|
||||
|
||||
# ----------------------------------- Board Outlines -------------------------------------
|
||||
#Default Routed Edge Clearance
|
||||
(rule "Trace to Outline"
|
||||
(constraint edge_clearance (min 0.3mm))
|
||||
(condition "A.Type == 'track'"))
|
||||
|
||||
# ----------------------------------- silkscreen (Kicad 7 only) --------------------------
|
||||
(rule "Minimum Text"
|
||||
(constraint text_thickness (min 0.15mm))
|
||||
(constraint text_height (min 1mm))
|
||||
(layer "?.Silkscreen"))
|
||||
|
||||
#JLCPCB pad to silkscreen clearance rule is actually 0.15mm, but KiCad libraries violate that slightly, so JLC will have to deal with it.
|
||||
(rule "Pad to Silkscreen"
|
||||
(constraint silk_clearance (min 0.14mm))
|
||||
(layer outer)
|
||||
(condition "A.Type == 'pad' && (B.Type == 'text' || B.Type == 'graphic')"))
|
||||
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
@@ -1,41 +0,0 @@
|
||||
(footprint "R_0603_1608Metric_Removed_Silkscreen" (version 20221018) (generator pcbnew)
|
||||
(layer "F.Cu")
|
||||
(descr "Resistor SMD 0603 (1608 Metric), square (rectangular) end terminal, IPC_7351 nominal, (Body size source: IPC-SM-782 page 72, https://www.pcb-3d.com/wordpress/wp-content/uploads/ipc-sm-782a_amendment_1_and_2.pdf), generated with kicad-footprint-generator")
|
||||
(tags "resistor")
|
||||
(attr smd)
|
||||
(fp_text reference "REF**" (at 0 -1.43) (layer "F.SilkS")
|
||||
(effects (font (size 1 1) (thickness 0.15)))
|
||||
(tstamp 6df974b4-b819-4abf-a570-cfac24b90f22)
|
||||
)
|
||||
(fp_text value "R_0603_1608Metric_Removed_Silkscreen" (at 0 1.43) (layer "F.Fab")
|
||||
(effects (font (size 1 1) (thickness 0.15)))
|
||||
(tstamp 43a2d3f9-8880-4891-bb65-e1f1adf1c2a5)
|
||||
)
|
||||
(fp_text user "${REFERENCE}" (at 0 0) (layer "F.Fab")
|
||||
(effects (font (size 0.4 0.4) (thickness 0.06)))
|
||||
(tstamp 2dfd6efa-e1ab-4e55-ab2b-7f9e70f33afa)
|
||||
)
|
||||
(fp_line (start -1.48 -0.73) (end 1.48 -0.73)
|
||||
(stroke (width 0.05) (type solid)) (layer "F.CrtYd") (tstamp 24e272be-4051-4b9b-9127-1c7f22532469))
|
||||
(fp_line (start -1.48 0.73) (end -1.48 -0.73)
|
||||
(stroke (width 0.05) (type solid)) (layer "F.CrtYd") (tstamp 39fddbf8-ad85-4516-95fc-b7f57b1b5476))
|
||||
(fp_line (start 1.48 -0.73) (end 1.48 0.73)
|
||||
(stroke (width 0.05) (type solid)) (layer "F.CrtYd") (tstamp 2bbe1e5e-3213-443e-930c-a0ae97a345e1))
|
||||
(fp_line (start 1.48 0.73) (end -1.48 0.73)
|
||||
(stroke (width 0.05) (type solid)) (layer "F.CrtYd") (tstamp dc275714-5365-4c02-a2fb-5cbd77201d52))
|
||||
(fp_line (start -0.8 -0.4125) (end 0.8 -0.4125)
|
||||
(stroke (width 0.1) (type solid)) (layer "F.Fab") (tstamp 30e382fb-e120-4499-bc15-156f98cd93e8))
|
||||
(fp_line (start -0.8 0.4125) (end -0.8 -0.4125)
|
||||
(stroke (width 0.1) (type solid)) (layer "F.Fab") (tstamp d04dd1a4-2178-41f5-9bb7-ad470915f47a))
|
||||
(fp_line (start 0.8 -0.4125) (end 0.8 0.4125)
|
||||
(stroke (width 0.1) (type solid)) (layer "F.Fab") (tstamp 0746adbb-419c-491f-ae91-c14351e88a28))
|
||||
(fp_line (start 0.8 0.4125) (end -0.8 0.4125)
|
||||
(stroke (width 0.1) (type solid)) (layer "F.Fab") (tstamp 9ddd7cd8-091d-447c-bc2a-eed5612caf40))
|
||||
(pad "1" smd roundrect (at -0.825 0) (size 0.8 0.95) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25) (tstamp 958f80d5-b7aa-4100-9f8f-c88ef419994d))
|
||||
(pad "2" smd roundrect (at 0.825 0) (size 0.8 0.95) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25) (tstamp dbf61a86-b574-45d2-ba89-95e1ee8fabb2))
|
||||
(model "${KICAD6_3DMODEL_DIR}/Resistor_SMD.3dshapes/R_0603_1608Metric.wrl"
|
||||
(offset (xyz 0 0 0))
|
||||
(scale (xyz 1 1 1))
|
||||
(rotate (xyz 0 0 0))
|
||||
)
|
||||
)
|
||||
@@ -1,55 +0,0 @@
|
||||
(footprint "TS-1088-AR02016 _footprint" (version 20221018) (generator pcbnew)
|
||||
(layer "F.Cu")
|
||||
(descr "Ultra-small-sized Tactile Switch with High Contact Reliability, Top-actuated Model, without Ground Terminal, without Boss")
|
||||
(tags "Tactile Switch")
|
||||
(attr smd)
|
||||
(fp_text reference "REF**" (at 0 -2.5) (layer "F.SilkS")
|
||||
(effects (font (size 1 1) (thickness 0.15)))
|
||||
(tstamp e56ff9ca-74d7-4aa3-8111-533a5ee32933)
|
||||
)
|
||||
(fp_text value "TS-1088-AR02016 _footprint" (at 0 2.5) (layer "F.Fab")
|
||||
(effects (font (size 1 1) (thickness 0.15)))
|
||||
(tstamp a786f27e-1ab5-47e2-b000-faa5fc44f3aa)
|
||||
)
|
||||
(fp_text user "${REFERENCE}" (at 0 -2.5) (layer "F.Fab")
|
||||
(effects (font (size 1 1) (thickness 0.15)))
|
||||
(tstamp b618111c-4d85-41dc-be76-621aed6ccefc)
|
||||
)
|
||||
(fp_line (start -1.65 -1.4) (end 1.65 -1.4)
|
||||
(stroke (width 0.12) (type solid)) (layer "F.SilkS") (tstamp 0e11df53-f8ee-43ce-93b4-3c90d3d22c5c))
|
||||
(fp_line (start -1.65 -1.1) (end -1.65 -1.4)
|
||||
(stroke (width 0.12) (type solid)) (layer "F.SilkS") (tstamp 75f2296d-b0af-40b7-a7ae-3583b9f751e7))
|
||||
(fp_line (start -1.65 1.1) (end -1.65 1.4)
|
||||
(stroke (width 0.12) (type solid)) (layer "F.SilkS") (tstamp 7606794f-94b1-4b7c-9aab-06201525eb9b))
|
||||
(fp_line (start -1.65 1.4) (end 1.65 1.4)
|
||||
(stroke (width 0.12) (type solid)) (layer "F.SilkS") (tstamp 5616da4a-8ed8-4011-921b-cd43949918e7))
|
||||
(fp_line (start 1.65 -1.4) (end 1.65 -1.1)
|
||||
(stroke (width 0.12) (type solid)) (layer "F.SilkS") (tstamp 705a451f-c08f-4aa5-aa9c-8fcf274e5428))
|
||||
(fp_line (start 1.65 1.4) (end 1.65 1.1)
|
||||
(stroke (width 0.12) (type solid)) (layer "F.SilkS") (tstamp b43c1010-b7f4-4abc-8ebc-c2e4f2484a6f))
|
||||
(fp_line (start -2.4 -1.65) (end -2.4 1.65)
|
||||
(stroke (width 0.05) (type solid)) (layer "F.CrtYd") (tstamp 7833e4a1-0304-4444-8f84-b8edbf518fcf))
|
||||
(fp_line (start -2.4 1.65) (end 2.4 1.65)
|
||||
(stroke (width 0.05) (type solid)) (layer "F.CrtYd") (tstamp 2581f53c-f7e0-40b8-8870-3a4da1d2dbc0))
|
||||
(fp_line (start 2.4 -1.65) (end -2.4 -1.65)
|
||||
(stroke (width 0.05) (type solid)) (layer "F.CrtYd") (tstamp 79cb4ec8-1000-4659-bc94-d06d6d6efe6e))
|
||||
(fp_line (start 2.4 1.65) (end 2.4 -1.65)
|
||||
(stroke (width 0.05) (type solid)) (layer "F.CrtYd") (tstamp f5c54de1-e2a8-4db1-94ec-36f52a2b3bf5))
|
||||
(fp_line (start -1.5 -1.25) (end 1.5 -1.25)
|
||||
(stroke (width 0.1) (type solid)) (layer "F.Fab") (tstamp 0a332110-eeed-4bb6-87c5-62011a75ac14))
|
||||
(fp_line (start -1.5 1.25) (end -1.5 -1.25)
|
||||
(stroke (width 0.1) (type solid)) (layer "F.Fab") (tstamp 3de81bd5-2500-4819-bd11-f02b4544c28b))
|
||||
(fp_line (start 1.5 -1.25) (end 1.5 1.25)
|
||||
(stroke (width 0.1) (type solid)) (layer "F.Fab") (tstamp 7566e90f-6899-4152-9345-77c96692f19f))
|
||||
(fp_line (start 1.5 1.25) (end -1.5 1.25)
|
||||
(stroke (width 0.1) (type solid)) (layer "F.Fab") (tstamp b8fe5f89-c5d9-4130-b4a4-4f66c371753d))
|
||||
(fp_circle (center 0 0) (end 0.75 0)
|
||||
(stroke (width 0.1) (type solid)) (fill none) (layer "F.Fab") (tstamp 950f98fb-a768-43cf-957b-3a4fad696344))
|
||||
(pad "1" smd rect (at -2.025 0) (size 1.55 1.7) (layers "F.Cu" "F.Paste" "F.Mask") (tstamp f5178655-4ae4-4e7c-b5bb-a79d990d08a6))
|
||||
(pad "2" smd rect (at 2.025 0) (size 1.55 1.7) (layers "F.Cu" "F.Paste" "F.Mask") (tstamp 6f994d3d-2800-47d5-b256-665b170cf7f7))
|
||||
(model "${KICAD6_3DMODEL_DIR}/Button_Switch_SMD.3dshapes/SW_SPST_B3U-1000P.wrl"
|
||||
(offset (xyz 0 0 0))
|
||||
(scale (xyz 1 1 1))
|
||||
(rotate (xyz 0 0 0))
|
||||
)
|
||||
)
|
||||
File diff suppressed because it is too large.
Load diff
@@ -1,71 +0,0 @@
|
||||
(footprint "USB_C_Receptacle_HRO_TYPE-C-31-M-12" (version 20221018) (generator pcbnew)
|
||||
(layer "F.Cu")
|
||||
(descr "USB Type-C receptacle for USB 2.0 and PD, http://www.krhro.com/uploads/soft/180320/1-1P320120243.pdf")
|
||||
(tags "usb usb-c 2.0 pd")
|
||||
(attr smd)
|
||||
(fp_text reference "REF**" (at 0 -5.645) (layer "F.SilkS")
|
||||
(effects (font (size 1 1) (thickness 0.15)))
|
||||
(tstamp a144ce76-cc23-44fb-8108-bf18e64a4c3d)
|
||||
)
|
||||
(fp_text value "USB_C_Receptacle_HRO_TYPE-C-31-M-12" (at 0 5.1) (layer "F.Fab")
|
||||
(effects (font (size 1 1) (thickness 0.15)))
|
||||
(tstamp 0ca5cf76-e951-4e58-a402-14dc42a864b3)
|
||||
)
|
||||
(fp_text user "${REFERENCE}" (at 0 0) (layer "F.Fab")
|
||||
(effects (font (size 1 1) (thickness 0.15)))
|
||||
(tstamp 9189a13a-f353-4ddb-8257-370c54398cd0)
|
||||
)
|
||||
(fp_line (start -4.7 -1.9) (end -4.7 0.1)
|
||||
(stroke (width 0.12) (type solid)) (layer "F.SilkS") (tstamp 9513b845-7495-41b4-99da-c8a12a5f4b76))
|
||||
(fp_line (start -4.7 2) (end -4.7 3.9)
|
||||
(stroke (width 0.12) (type solid)) (layer "F.SilkS") (tstamp 7abeef8d-db92-4e88-b3d6-7c7e4efa4938))
|
||||
(fp_line (start -4.7 3.9) (end 4.7 3.9)
|
||||
(stroke (width 0.12) (type solid)) (layer "F.SilkS") (tstamp f40329f5-4d09-479c-8f81-97fdcd13c5cd))
|
||||
(fp_line (start 4.7 -1.9) (end 4.7 0.1)
|
||||
(stroke (width 0.12) (type solid)) (layer "F.SilkS") (tstamp 177e7db1-b916-4e65-ace8-532e6e1f85db))
|
||||
(fp_line (start 4.7 2) (end 4.7 3.9)
|
||||
(stroke (width 0.12) (type solid)) (layer "F.SilkS") (tstamp bd122681-67e3-4c23-b564-57e345c7c818))
|
||||
(fp_line (start -5.32 -5.27) (end -5.32 4.15)
|
||||
(stroke (width 0.05) (type solid)) (layer "F.CrtYd") (tstamp d939342c-cab3-429e-ad71-738d34173267))
|
||||
(fp_line (start -5.32 -5.27) (end 5.32 -5.27)
|
||||
(stroke (width 0.05) (type solid)) (layer "F.CrtYd") (tstamp 3215d7dd-650e-4c6a-86e5-bc970c8d9c6c))
|
||||
(fp_line (start -5.32 4.15) (end 5.32 4.15)
|
||||
(stroke (width 0.05) (type solid)) (layer "F.CrtYd") (tstamp c38cb6a1-740b-49d2-b49e-f8ce3382fe48))
|
||||
(fp_line (start 5.32 -5.27) (end 5.32 4.15)
|
||||
(stroke (width 0.05) (type solid)) (layer "F.CrtYd") (tstamp 3b610068-7f90-495b-a772-9a6b7e6a55c9))
|
||||
(fp_line (start -4.47 -3.65) (end -4.47 3.65)
|
||||
(stroke (width 0.1) (type solid)) (layer "F.Fab") (tstamp 47095738-bb75-4e91-802c-f92840c443b3))
|
||||
(fp_line (start -4.47 -3.65) (end 4.47 -3.65)
|
||||
(stroke (width 0.1) (type solid)) (layer "F.Fab") (tstamp 6142486d-ba8a-4b38-a6ca-d52b6a020ef2))
|
||||
(fp_line (start -4.47 3.65) (end 4.47 3.65)
|
||||
(stroke (width 0.1) (type solid)) (layer "F.Fab") (tstamp 84966fee-864e-4cdc-8345-c62bca33694f))
|
||||
(fp_line (start 4.47 -3.65) (end 4.47 3.65)
|
||||
(stroke (width 0.1) (type solid)) (layer "F.Fab") (tstamp f6b3cf35-21be-4e1f-8c99-3404cfc41d3f))
|
||||
(pad "" np_thru_hole circle (at -2.89 -2.6) (size 0.65 0.65) (drill 0.65) (layers "*.Cu" "*.Mask") (tstamp e13b4b37-788a-41d5-87ca-c66be43ee32d))
|
||||
(pad "" np_thru_hole circle (at 2.89 -2.6) (size 0.65 0.65) (drill 0.65) (layers "*.Cu" "*.Mask") (tstamp 4558f1f0-2fa3-46e1-a220-284fa2707bb5))
|
||||
(pad "A1" smd rect (at -3.25 -4.045) (size 0.6 1.45) (layers "F.Cu" "F.Paste" "F.Mask") (tstamp 245fae56-8b58-4bd8-bbf1-36624dc3fa3e))
|
||||
(pad "A4" smd rect (at -2.45 -4.045) (size 0.6 1.45) (layers "F.Cu" "F.Paste" "F.Mask") (tstamp 412cd3c1-0d89-4ca6-be0e-1b17d8471f5a))
|
||||
(pad "A5" smd rect (at -1.25 -4.045) (size 0.3 1.45) (layers "F.Cu" "F.Paste" "F.Mask") (tstamp 93953890-acba-456b-bb6d-b1e79179ffa0))
|
||||
(pad "A6" smd rect (at -0.25 -4.045) (size 0.3 1.45) (layers "F.Cu" "F.Paste" "F.Mask") (tstamp 6a642da3-3122-4031-a6e9-68498b0f5bb9))
|
||||
(pad "A7" smd rect (at 0.25 -4.045) (size 0.3 1.45) (layers "F.Cu" "F.Paste" "F.Mask") (tstamp 01b9b129-063c-4bae-b620-9610006254cb))
|
||||
(pad "A8" smd rect (at 1.25 -4.045) (size 0.3 1.45) (layers "F.Cu" "F.Paste" "F.Mask") (tstamp 46ecdf8a-0917-4257-a388-b77e7451dc23))
|
||||
(pad "A9" smd rect (at 2.45 -4.045) (size 0.6 1.45) (layers "F.Cu" "F.Paste" "F.Mask") (tstamp a35f3da7-7460-43f1-99b7-9ed521817778))
|
||||
(pad "A12" smd rect (at 3.25 -4.045) (size 0.6 1.45) (layers "F.Cu" "F.Paste" "F.Mask") (tstamp 3795b0f1-50f9-473e-9d26-381fc08b3c2d))
|
||||
(pad "B1" smd rect (at 3.25 -4.045) (size 0.6 1.45) (layers "F.Cu" "F.Paste" "F.Mask") (tstamp c9e8a0db-2a60-41d9-b783-6c4e64a8fb5d))
|
||||
(pad "B4" smd rect (at 2.45 -4.045) (size 0.6 1.45) (layers "F.Cu" "F.Paste" "F.Mask") (tstamp 51b193ee-c8c2-4ee6-8d8c-14b79a2c1520))
|
||||
(pad "B5" smd rect (at 1.75 -4.045) (size 0.3 1.45) (layers "F.Cu" "F.Paste" "F.Mask") (tstamp 45f8f791-f545-4341-9848-fb81a03703a6))
|
||||
(pad "B6" smd rect (at 0.75 -4.045) (size 0.3 1.45) (layers "F.Cu" "F.Paste" "F.Mask") (tstamp efc27675-62a0-44de-8210-29c2190dd309))
|
||||
(pad "B7" smd rect (at -0.75 -4.045) (size 0.3 1.45) (layers "F.Cu" "F.Paste" "F.Mask") (tstamp 96622dcb-c1cc-4b7d-8455-8cd0ce1e5c34))
|
||||
(pad "B8" smd rect (at -1.75 -4.045) (size 0.3 1.45) (layers "F.Cu" "F.Paste" "F.Mask") (tstamp 09bb6e12-e7e5-4788-b43e-4cc6c50a557a))
|
||||
(pad "B9" smd rect (at -2.45 -4.045) (size 0.6 1.45) (layers "F.Cu" "F.Paste" "F.Mask") (tstamp 70539c09-2020-4a42-a156-43d1513170d0))
|
||||
(pad "B12" smd rect (at -3.25 -4.045) (size 0.6 1.45) (layers "F.Cu" "F.Paste" "F.Mask") (tstamp eda87c04-3a59-4e2c-a9bd-f59ed31672aa))
|
||||
(pad "S1" thru_hole oval (at -4.32 -3.13) (size 1 2.1) (drill oval 0.6 1.7) (layers "*.Cu" "*.Mask") (tstamp 69c3dc88-a37e-49ef-ae4d-497d3191ad5b))
|
||||
(pad "S1" thru_hole oval (at -4.32 1.05) (size 1 1.6) (drill oval 0.6 1.2) (layers "*.Cu" "*.Mask") (tstamp 5991ca6f-c5c1-4692-8fe9-cf4b7ca50c4b))
|
||||
(pad "S1" thru_hole oval (at 4.32 -3.13) (size 1 2.1) (drill oval 0.6 1.7) (layers "*.Cu" "*.Mask") (tstamp af5ae63f-ef36-487e-a6b8-831b84890f25))
|
||||
(pad "S1" thru_hole oval (at 4.32 1.05) (size 1 1.6) (drill oval 0.6 1.2) (layers "*.Cu" "*.Mask") (tstamp e783dde5-f762-4528-9b55-9220820b0b1c))
|
||||
(model "${KIPRJMOD}/USB4105-GF-A.stp"
|
||||
(offset (xyz 0 -3.7 0))
|
||||
(scale (xyz 1 1 1))
|
||||
(rotate (xyz -90 0 0))
|
||||
)
|
||||
)
|
||||
File renamed without changes.
File diff suppressed because it is too large.
Load diff
@@ -1,516 +0,0 @@
|
||||
{
|
||||
"board": {
|
||||
"3dviewports": [],
|
||||
"design_settings": {
|
||||
"defaults": {
|
||||
"board_outline_line_width": 0.09999999999999999,
|
||||
"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.15,
|
||||
"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.0,
|
||||
"height": 2.0,
|
||||
"width": 2.0
|
||||
},
|
||||
"silk_line_width": 0.15,
|
||||
"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.19999999999999998
|
||||
}
|
||||
},
|
||||
"diff_pair_dimensions": [
|
||||
{
|
||||
"gap": 0.0,
|
||||
"via_gap": 0.0,
|
||||
"width": 0.0
|
||||
}
|
||||
],
|
||||
"drc_exclusions": [],
|
||||
"meta": {
|
||||
"version": 2
|
||||
},
|
||||
"rule_severities": {
|
||||
"annular_width": "error",
|
||||
"clearance": "error",
|
||||
"connection_width": "warning",
|
||||
"copper_edge_clearance": "error",
|
||||
"copper_sliver": "warning",
|
||||
"courtyards_overlap": "warning",
|
||||
"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": "error",
|
||||
"footprint_type_mismatch": "error",
|
||||
"hole_clearance": "error",
|
||||
"hole_near_hole": "error",
|
||||
"invalid_outline": "error",
|
||||
"isolated_copper": "warning",
|
||||
"item_on_disabled_layer": "error",
|
||||
"items_not_allowed": "error",
|
||||
"length_out_of_range": "error",
|
||||
"lib_footprint_issues": "warning",
|
||||
"lib_footprint_mismatch": "warning",
|
||||
"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_edge_clearance": "warning",
|
||||
"silk_over_copper": "warning",
|
||||
"silk_overlap": "warning",
|
||||
"skew_out_of_range": "error",
|
||||
"solder_mask_bridge": "error",
|
||||
"starved_thermal": "error",
|
||||
"text_height": "warning",
|
||||
"text_thickness": "warning",
|
||||
"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",
|
||||
"zones_intersect": "error"
|
||||
},
|
||||
"rules": {
|
||||
"allow_blind_buried_vias": false,
|
||||
"allow_microvias": false,
|
||||
"max_error": 0.005,
|
||||
"min_clearance": 0.127,
|
||||
"min_connection": 0.0,
|
||||
"min_copper_edge_clearance": 0.19999999999999998,
|
||||
"min_hole_clearance": 0.19999999999999998,
|
||||
"min_hole_to_hole": 0.254,
|
||||
"min_microvia_diameter": 0.19999999999999998,
|
||||
"min_microvia_drill": 0.09999999999999999,
|
||||
"min_resolved_spokes": 2,
|
||||
"min_silk_clearance": 0.0,
|
||||
"min_text_height": 0.7999999999999999,
|
||||
"min_text_thickness": 0.08,
|
||||
"min_through_hole_diameter": 0.19999999999999998,
|
||||
"min_track_width": 0.127,
|
||||
"min_via_annular_width": 0.13,
|
||||
"min_via_diameter": 0.39999999999999997,
|
||||
"solder_mask_clearance": 0.0,
|
||||
"solder_mask_min_width": 0.0,
|
||||
"solder_mask_to_copper_clearance": 0.0,
|
||||
"use_height_for_length_calcs": true
|
||||
},
|
||||
"teardrop_options": [
|
||||
{
|
||||
"td_allow_use_two_tracks": true,
|
||||
"td_curve_segcount": 5,
|
||||
"td_on_pad_in_zone": false,
|
||||
"td_onpadsmd": true,
|
||||
"td_onroundshapesonly": false,
|
||||
"td_ontrackend": false,
|
||||
"td_onviapad": true
|
||||
}
|
||||
],
|
||||
"teardrop_parameters": [
|
||||
{
|
||||
"td_curve_segcount": 0,
|
||||
"td_height_ratio": 1.0,
|
||||
"td_length_ratio": 0.5,
|
||||
"td_maxheight": 2.0,
|
||||
"td_maxlen": 1.0,
|
||||
"td_target_name": "td_round_shape",
|
||||
"td_width_to_size_filter_ratio": 0.9
|
||||
},
|
||||
{
|
||||
"td_curve_segcount": 0,
|
||||
"td_height_ratio": 1.0,
|
||||
"td_length_ratio": 0.5,
|
||||
"td_maxheight": 2.0,
|
||||
"td_maxlen": 1.0,
|
||||
"td_target_name": "td_rect_shape",
|
||||
"td_width_to_size_filter_ratio": 0.9
|
||||
},
|
||||
{
|
||||
"td_curve_segcount": 0,
|
||||
"td_height_ratio": 1.0,
|
||||
"td_length_ratio": 0.5,
|
||||
"td_maxheight": 2.0,
|
||||
"td_maxlen": 1.0,
|
||||
"td_target_name": "td_track_end",
|
||||
"td_width_to_size_filter_ratio": 0.9
|
||||
}
|
||||
],
|
||||
"track_widths": [
|
||||
0.0,
|
||||
0.127,
|
||||
0.2,
|
||||
0.25,
|
||||
0.4,
|
||||
0.5,
|
||||
0.6,
|
||||
0.75,
|
||||
0.8
|
||||
],
|
||||
"via_dimensions": [
|
||||
{
|
||||
"diameter": 0.0,
|
||||
"drill": 0.0
|
||||
},
|
||||
{
|
||||
"diameter": 0.56,
|
||||
"drill": 0.3
|
||||
},
|
||||
{
|
||||
"diameter": 0.6,
|
||||
"drill": 0.3
|
||||
},
|
||||
{
|
||||
"diameter": 0.75,
|
||||
"drill": 0.375
|
||||
},
|
||||
{
|
||||
"diameter": 0.8,
|
||||
"drill": 0.4
|
||||
}
|
||||
],
|
||||
"zones_allow_external_fillets": false,
|
||||
"zones_use_no_outline": true
|
||||
},
|
||||
"layer_presets": [],
|
||||
"viewports": []
|
||||
},
|
||||
"boards": [],
|
||||
"cvpcb": {
|
||||
"equivalence_files": []
|
||||
},
|
||||
"erc": {
|
||||
"erc_exclusions": [],
|
||||
"meta": {
|
||||
"version": 0
|
||||
},
|
||||
"pin_map": [
|
||||
[
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
2
|
||||
],
|
||||
[
|
||||
0,
|
||||
2,
|
||||
0,
|
||||
1,
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
0,
|
||||
2,
|
||||
2,
|
||||
2,
|
||||
2
|
||||
],
|
||||
[
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
0,
|
||||
1,
|
||||
0,
|
||||
1,
|
||||
2
|
||||
],
|
||||
[
|
||||
0,
|
||||
1,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
1,
|
||||
2,
|
||||
1,
|
||||
1,
|
||||
2
|
||||
],
|
||||
[
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
2
|
||||
],
|
||||
[
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
2
|
||||
],
|
||||
[
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
0,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
2
|
||||
],
|
||||
[
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
2
|
||||
],
|
||||
[
|
||||
0,
|
||||
2,
|
||||
1,
|
||||
2,
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
0,
|
||||
2,
|
||||
2,
|
||||
2,
|
||||
2
|
||||
],
|
||||
[
|
||||
0,
|
||||
2,
|
||||
0,
|
||||
1,
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
0,
|
||||
2,
|
||||
0,
|
||||
0,
|
||||
2
|
||||
],
|
||||
[
|
||||
0,
|
||||
2,
|
||||
1,
|
||||
1,
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
0,
|
||||
2,
|
||||
0,
|
||||
0,
|
||||
2
|
||||
],
|
||||
[
|
||||
2,
|
||||
2,
|
||||
2,
|
||||
2,
|
||||
2,
|
||||
2,
|
||||
2,
|
||||
2,
|
||||
2,
|
||||
2,
|
||||
2,
|
||||
2
|
||||
]
|
||||
],
|
||||
"rule_severities": {
|
||||
"bus_definition_conflict": "error",
|
||||
"bus_entry_needed": "error",
|
||||
"bus_label_syntax": "error",
|
||||
"bus_to_bus_conflict": "error",
|
||||
"bus_to_net_conflict": "error",
|
||||
"different_unit_footprint": "error",
|
||||
"different_unit_net": "error",
|
||||
"duplicate_reference": "error",
|
||||
"duplicate_sheet_names": "error",
|
||||
"extra_units": "error",
|
||||
"global_label_dangling": "warning",
|
||||
"hier_label_mismatch": "error",
|
||||
"label_dangling": "error",
|
||||
"lib_symbol_issues": "warning",
|
||||
"multiple_net_names": "warning",
|
||||
"net_not_bus_member": "warning",
|
||||
"no_connect_connected": "warning",
|
||||
"no_connect_dangling": "warning",
|
||||
"pin_not_connected": "error",
|
||||
"pin_not_driven": "error",
|
||||
"pin_to_pin": "warning",
|
||||
"power_pin_not_driven": "error",
|
||||
"similar_labels": "warning",
|
||||
"unannotated": "error",
|
||||
"unit_value_mismatch": "error",
|
||||
"unresolved_variable": "error",
|
||||
"wire_dangling": "error"
|
||||
}
|
||||
},
|
||||
"libraries": {
|
||||
"pinned_footprint_libs": [],
|
||||
"pinned_symbol_libs": []
|
||||
},
|
||||
"meta": {
|
||||
"filename": "RP2040-Decoder.kicad_pro",
|
||||
"version": 1
|
||||
},
|
||||
"net_settings": {
|
||||
"classes": [
|
||||
{
|
||||
"bus_width": 12,
|
||||
"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
|
||||
}
|
||||
],
|
||||
"meta": {
|
||||
"version": 3
|
||||
},
|
||||
"net_colors": null,
|
||||
"netclass_assignments": null,
|
||||
"netclass_patterns": []
|
||||
},
|
||||
"pcbnew": {
|
||||
"last_paths": {
|
||||
"gencad": "",
|
||||
"idf": "",
|
||||
"netlist": "",
|
||||
"specctra_dsn": "",
|
||||
"step": "",
|
||||
"vrml": ""
|
||||
},
|
||||
"page_layout_descr_file": ""
|
||||
},
|
||||
"schematic": {
|
||||
"annotate_start_num": 0,
|
||||
"drawing": {
|
||||
"default_line_thickness": 6.0,
|
||||
"default_text_size": 50.0,
|
||||
"field_names": [],
|
||||
"intersheets_ref_own_page": false,
|
||||
"intersheets_ref_prefix": "",
|
||||
"intersheets_ref_short": false,
|
||||
"intersheets_ref_show": false,
|
||||
"intersheets_ref_suffix": "",
|
||||
"junction_size_choice": 3,
|
||||
"label_size_ratio": 0.25,
|
||||
"pin_symbol_size": 0.0,
|
||||
"text_offset_ratio": 0.08
|
||||
},
|
||||
"legacy_lib_dir": "",
|
||||
"legacy_lib_list": [],
|
||||
"meta": {
|
||||
"version": 1
|
||||
},
|
||||
"net_format_name": "",
|
||||
"ngspice": {
|
||||
"fix_include_paths": true,
|
||||
"fix_passive_vals": false,
|
||||
"meta": {
|
||||
"version": 0
|
||||
},
|
||||
"model_mode": 0,
|
||||
"workbook_filename": ""
|
||||
},
|
||||
"page_layout_descr_file": "",
|
||||
"plot_directory": "/home/gab/Documents/",
|
||||
"spice_adjust_passive_values": false,
|
||||
"spice_external_command": "spice \"%I\"",
|
||||
"subpart_first_id": 65,
|
||||
"subpart_id_separator": 0
|
||||
},
|
||||
"sheets": [
|
||||
[
|
||||
"11d18738-0f49-4d63-b61c-22a93efd5959",
|
||||
""
|
||||
]
|
||||
],
|
||||
"text_variables": {}
|
||||
}
|
||||
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
@@ -1,50 +0,0 @@
|
||||
(footprint "SOIC-8_5.23x5.23mm_P1.27mm" (version 20211014) (generator pcbnew)
|
||||
(layer "F.Cu")
|
||||
(tedit 621CE813)
|
||||
(descr "SOIC, 8 Pin (http://www.winbond.com/resource-files/w25q32jv%20revg%2003272018%20plus.pdf#page=68), generated with kicad-footprint-generator ipc_gullwing_generator.py")
|
||||
(tags "SOIC SO")
|
||||
(attr smd)
|
||||
(fp_text reference "REF**" (at 0 -3.56) (layer "F.SilkS")
|
||||
(effects (font (size 1 1) (thickness 0.15)))
|
||||
(tstamp 892c99ea-5410-4a65-9ee4-bdc09fdc90ee)
|
||||
)
|
||||
(fp_text value "SOIC-8_5.23x5.23mm_P1.27mm" (at 0 3.56) (layer "F.Fab")
|
||||
(effects (font (size 1 1) (thickness 0.15)))
|
||||
(tstamp c04ec0d1-7f0d-4019-91be-a6614badf406)
|
||||
)
|
||||
(fp_text user "${REFERENCE}" (at 0 0) (layer "F.Fab")
|
||||
(effects (font (size 1 1) (thickness 0.15)))
|
||||
(tstamp 77985a68-90d4-4d27-872a-c400b51090e9)
|
||||
)
|
||||
(fp_line (start -2.725 2.725) (end -2.725 2.465) (layer "F.SilkS") (width 0.12) (tstamp 00138a61-23f0-45f3-9f28-2bbd8494a1fc))
|
||||
(fp_line (start -2.725 -2.465) (end -4.4 -2.465) (layer "F.SilkS") (width 0.12) (tstamp 0ad895a6-0c83-484a-8b80-3635647eb60a))
|
||||
(fp_line (start 0 -2.725) (end -2.725 -2.725) (layer "F.SilkS") (width 0.12) (tstamp 0ef6c909-3192-40ee-a6d7-49ae09a79a2d))
|
||||
(fp_line (start -2.725 -2.725) (end -2.725 -2.465) (layer "F.SilkS") (width 0.12) (tstamp 1faa07e6-bd78-437e-b4e2-cd00c2b8018d))
|
||||
(fp_line (start 2.725 2.725) (end 2.725 2.465) (layer "F.SilkS") (width 0.12) (tstamp 3a26b0fd-8ddd-4bb6-8f59-5d8caaf547d2))
|
||||
(fp_line (start 0 2.725) (end 2.725 2.725) (layer "F.SilkS") (width 0.12) (tstamp 599161f8-efef-47ec-8f3f-69142e759f9f))
|
||||
(fp_line (start 0 2.725) (end -2.725 2.725) (layer "F.SilkS") (width 0.12) (tstamp 7563e6d6-e180-4d92-9939-ff14aba164c5))
|
||||
(fp_line (start 2.725 -2.725) (end 2.725 -2.465) (layer "F.SilkS") (width 0.12) (tstamp bd45a508-6e93-4f9b-948f-0868d234cca2))
|
||||
(fp_line (start 0 -2.725) (end 2.725 -2.725) (layer "F.SilkS") (width 0.12) (tstamp e0b94375-2281-4987-b4d4-78e8e535972c))
|
||||
(fp_line (start 4.65 -2.86) (end -4.65 -2.86) (layer "F.CrtYd") (width 0.05) (tstamp 15719beb-6925-433d-810a-8c40136a730d))
|
||||
(fp_line (start 4.65 2.86) (end 4.65 -2.86) (layer "F.CrtYd") (width 0.05) (tstamp 343b8478-4e57-4c34-a00f-f6c76028fbb0))
|
||||
(fp_line (start -4.65 2.86) (end 4.65 2.86) (layer "F.CrtYd") (width 0.05) (tstamp 48c8ef75-8bc0-4249-b6fc-f564812177b5))
|
||||
(fp_line (start -4.65 -2.86) (end -4.65 2.86) (layer "F.CrtYd") (width 0.05) (tstamp d364a3b0-54fd-4659-8dce-a730d0a819b4))
|
||||
(fp_line (start -2.615 2.615) (end -2.615 -1.615) (layer "F.Fab") (width 0.1) (tstamp 02b4b413-8363-4d1b-994e-188513d8ddc7))
|
||||
(fp_line (start 2.615 -2.615) (end 2.615 2.615) (layer "F.Fab") (width 0.1) (tstamp 0de79bc8-6e35-4f27-a959-67075a5c995d))
|
||||
(fp_line (start -1.615 -2.615) (end 2.615 -2.615) (layer "F.Fab") (width 0.1) (tstamp 6d79fd42-415e-413e-9d9a-317a78780624))
|
||||
(fp_line (start -2.615 -1.615) (end -1.615 -2.615) (layer "F.Fab") (width 0.1) (tstamp a9e3aef9-f101-4095-bdca-1439a0a3a462))
|
||||
(fp_line (start 2.615 2.615) (end -2.615 2.615) (layer "F.Fab") (width 0.1) (tstamp f6066510-5931-4b5c-bd2e-aa73c2658e09))
|
||||
(pad "1" smd roundrect (at -3.6 -1.905) (size 1.6 0.6) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25) (tstamp 27b69982-b2ed-4600-967a-124075f92a47))
|
||||
(pad "2" smd roundrect (at -3.6 -0.635) (size 1.6 0.6) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25) (tstamp 6d25bce9-3e60-4ced-b5a9-08751e8b6fc4))
|
||||
(pad "3" smd roundrect (at -3.6 0.635) (size 1.6 0.6) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25) (tstamp 20c0617b-b9fa-402b-acac-3d6d0fd080c9))
|
||||
(pad "4" smd roundrect (at -3.6 1.905) (size 1.6 0.6) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25) (tstamp f866660d-6ba6-48d1-8140-3aea9f62e041))
|
||||
(pad "5" smd roundrect (at 3.6 1.905) (size 1.6 0.6) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25) (tstamp 84c5eefd-df9f-4bf1-ada6-d7c8e324cafa))
|
||||
(pad "6" smd roundrect (at 3.6 0.635) (size 1.6 0.6) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25) (tstamp 8cae02d5-3e1a-460e-ab20-8d0d15978bd7))
|
||||
(pad "7" smd roundrect (at 3.6 -0.635) (size 1.6 0.6) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25) (tstamp bfac6452-2417-4786-863e-60ca15ff175c))
|
||||
(pad "8" smd roundrect (at 3.6 -1.905) (size 1.6 0.6) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25) (tstamp de3c0f07-7b33-4a21-a1da-0aaa6ffb3b32))
|
||||
(model "${KICAD6_3DMODEL_DIR}/Package_SO.3dshapes/SOIC-8_5.275x5.275mm_P1.27mm.wrl"
|
||||
(offset (xyz 0 0 0))
|
||||
(scale (xyz 1 1 1))
|
||||
(rotate (xyz 0 0 0))
|
||||
)
|
||||
)
|
||||
@@ -1,3 +0,0 @@
|
||||
(fp_lib_table
|
||||
(lib (name "RP2040-Decoder_Additional_Footprints")(type "KiCad")(uri "${KIPRJMOD}")(options "")(descr ""))
|
||||
)
|
||||
@@ -1,3 +0,0 @@
|
||||
(sym_lib_table
|
||||
(lib (name "RP2040-Decoder_Additional_Symbols")(type "KiCad")(uri "${KIPRJMOD}/RP2040-Decoder_Additional_Symbols.kicad_sym")(options "")(descr ""))
|
||||
)
|
||||
File renamed without changes.
@@ -15,14 +15,14 @@ float measure(uint8_t total_iterations,
|
||||
uint8_t measurement_delay_us,
|
||||
uint8_t l_side_arr_cutoff,
|
||||
uint8_t r_side_arr_cutoff,
|
||||
bool direction) {
|
||||
bool direction){
|
||||
uint32_t sum = 0;
|
||||
uint16_t adc_val[total_iterations];
|
||||
int32_t j = 0;
|
||||
uint16_t key;
|
||||
pwm_set_gpio_level(MOTOR_FWD_PIN, 0);
|
||||
pwm_set_gpio_level(MOTOR_REV_PIN, 0);
|
||||
adc_select_input((!direction) + 2);
|
||||
adc_select_input((!direction)+2);
|
||||
busy_wait_us(measurement_delay_us);
|
||||
adc_run(true);
|
||||
for (int32_t i = 0; i < total_iterations; ++i) {
|
||||
@@ -39,32 +39,32 @@ float measure(uint8_t total_iterations,
|
||||
adc_run(false);
|
||||
//discard x entries beginning from the lowest entry of the array (counting up); x = msr.l_side_arr_cutoff
|
||||
//discard y entries beginning from the highest index of the array (counting down); y = msr.r_side_arr_cutoff
|
||||
for (int32_t i = l_side_arr_cutoff; i < total_iterations - r_side_arr_cutoff; ++i) {
|
||||
for (int32_t i = l_side_arr_cutoff; i < total_iterations - r_side_arr_cutoff ; ++i) {
|
||||
sum += adc_val[i];
|
||||
}
|
||||
float res = (float) sum / (float) (total_iterations - (l_side_arr_cutoff + r_side_arr_cutoff));
|
||||
float res = (float)sum / (float)( total_iterations - (l_side_arr_cutoff + r_side_arr_cutoff) );
|
||||
// return true to keep the repeating timer active
|
||||
return res;
|
||||
}
|
||||
|
||||
// retrieve 4Bytes from CV_ARRAY_FLASH at once and return 32-Bit value
|
||||
uint32_t get_32bit_CV(uint16_t CV_start_index) {
|
||||
uint32_t get_32bit_CV (uint16_t CV_start_index){
|
||||
uint8_t byte_3 = CV_ARRAY_FLASH[CV_start_index];
|
||||
uint8_t byte_2 = CV_ARRAY_FLASH[CV_start_index + 1];
|
||||
uint8_t byte_1 = CV_ARRAY_FLASH[CV_start_index + 2];
|
||||
uint8_t byte_0 = CV_ARRAY_FLASH[CV_start_index + 3];
|
||||
return (byte_0) + (byte_1 << 8) + (byte_2 << 16) + (byte_3 << 24);
|
||||
uint8_t byte_2 = CV_ARRAY_FLASH[CV_start_index+1];
|
||||
uint8_t byte_1 = CV_ARRAY_FLASH[CV_start_index+2];
|
||||
uint8_t byte_0 = CV_ARRAY_FLASH[CV_start_index+3];
|
||||
return (byte_0) + (byte_1<<8) + (byte_2<<16) + (byte_3<<24);
|
||||
}
|
||||
|
||||
|
||||
// retrieve 2Bytes from CV_ARRAY_FLASH at once and return 16-Bit value
|
||||
uint16_t get_16bit_CV(uint16_t CV_start_index) {
|
||||
uint16_t get_16bit_CV (uint16_t CV_start_index){
|
||||
uint8_t byte_1 = CV_ARRAY_FLASH[CV_start_index];
|
||||
uint8_t byte_0 = CV_ARRAY_FLASH[CV_start_index + 1];
|
||||
return (byte_0) + (byte_1 << 8);
|
||||
uint8_t byte_0 = CV_ARRAY_FLASH[CV_start_index+1];
|
||||
return (byte_0) + (byte_1<<8);
|
||||
}
|
||||
|
||||
bool get_direction_of_speed_step(uint8_t speed_step) {
|
||||
bool get_direction_of_speed_step(uint8_t speed_step){
|
||||
// Shift by 7 Bytes to move bit7 into bit0 position and return
|
||||
return speed_step >> 7;
|
||||
}
|
||||
@@ -14,6 +14,7 @@
|
||||
#include "hardware/pwm.h"
|
||||
#include "hardware/adc.h"
|
||||
#include "hardware/flash.h"
|
||||
#include "hardware/gpio.h"
|
||||
|
||||
|
||||
// here you can enable printf debugging (needs extra soldering and you have to enable uart in the cmake configuration)
|
||||
@@ -72,34 +73,34 @@ float measure(uint8_t total_iterations,
|
||||
uint32_t get_32bit_CV (uint16_t CV_start_index);
|
||||
uint16_t get_16bit_CV (uint16_t CV_start_index);
|
||||
/*!
|
||||
* @brief Get direction
|
||||
* Function calculates direction.Direction is based on speed_step byte. <br>
|
||||
* Refers to "128 Speed Control" - NMRA Standard 9.2.1 section 2.3.2.1 or RCN-212 section 2.2.2. <br>
|
||||
* @brief Calculates the direction based on a speed step byte.
|
||||
*
|
||||
* The following speed steps exist:
|
||||
* * DEC | BIN | DIRECTION | DEFINITION
|
||||
* * 000 | 0000 0000 | Reverse | STOP
|
||||
* * 001 | 0000 0001 | Reverse | EMERGENCY STOP
|
||||
* * 002 | 0000 0010 | Reverse | Speed step 001 (Lowest speed)
|
||||
* * 003 | 0000 0011 | Reverse | Speed step 002
|
||||
* * 004 | 0000 0100 | Reverse | Speed step 003
|
||||
* * ... | .... .... | Reverse | .....
|
||||
* * ... | .... .... | Reverse | .....
|
||||
* * ... | .... .... | Reverse | .....
|
||||
* * 126 | 0111 1110 | Reverse | Speed step 125
|
||||
* * 127 | 0111 1111 | Reverse | Speed step 126 (Full speed)
|
||||
* * 128 | 1000 0000 | Forward | STOP
|
||||
* * 129 | 1000 0001 | Forward | EMERGENCY STOP
|
||||
* * 130 | 1000 0010 | Forward | Speed step 001 (Lowest speed)
|
||||
* * 131 | 1000 0011 | Forward | Speed step 002
|
||||
* * 132 | 1000 0100 | Forward | Speed step 003
|
||||
* * ... | .... .... | Forward | .....
|
||||
* * ... | .... .... | Forward | .....
|
||||
* * ... | .... .... | Forward | .....
|
||||
* * 254 | 1111 1110 | Forward | Speed step 125
|
||||
* * 255 | 1111 1111 | Forward | Speed step 126 (Full speed)
|
||||
* This function calculates the direction of movement based on the value of
|
||||
* the `speed_step` byte. It refers to the "128 Speed Control" standard as outlined
|
||||
* in NMRA Standard 9.2.1 section 2.3.2.1 or RCN-212 section 2.2.2.
|
||||
*
|
||||
* @param speed_step speed step byte
|
||||
* @return direction; false for reverse; true for forward;
|
||||
* The following speed steps are defined:
|
||||
*
|
||||
* | DEC | BIN | DIRECTION | DEFINITION |
|
||||
* |-----|-----------|-----------|----------------------|
|
||||
* | 000 | 0000 0000 | Reverse | STOP |
|
||||
* | 001 | 0000 0001 | Reverse | EMERGENCY STOP |
|
||||
* | 002 | 0000 0010 | Reverse | Speed step 001 |
|
||||
* | 003 | 0000 0011 | Reverse | Speed step 002 |
|
||||
* | 004 | 0000 0100 | Reverse | Speed step 003 |
|
||||
* | ... | .... .... | Reverse | ... |
|
||||
* | 126 | 0111 1110 | Reverse | Speed step 125 |
|
||||
* | 127 | 0111 1111 | Reverse | Speed step 126 |
|
||||
* | 128 | 1000 0000 | Forward | STOP |
|
||||
* | 129 | 1000 0001 | Forward | EMERGENCY STOP |
|
||||
* | 130 | 1000 0010 | Forward | Speed step 001 |
|
||||
* | 131 | 1000 0011 | Forward | Speed step 002 |
|
||||
* | 132 | 1000 0100 | Forward | Speed step 003 |
|
||||
* | ... | .... .... | Forward | ... |
|
||||
* | 254 | 1111 1110 | Forward | Speed step 125 |
|
||||
* | 255 | 1111 1111 | Forward | Speed step 126 |
|
||||
*
|
||||
* @param speed_step The speed step byte.
|
||||
* @return `true` for forward direction, `false` for reverse direction.
|
||||
*/
|
||||
bool get_direction_of_speed_step(uint8_t speed_step);
|
||||
Reference in new issue
Block a user