Skip to content
Snippets Groups Projects
Commit 9b7aca5d authored by cnlohr's avatar cnlohr
Browse files

ADding a rough draft of hardware

parent 13b29878
No related branches found
No related tags found
No related merge requests found
This hardware design is incomplete. NOT READY FOR TESTING.
This diff is collapsed.
{
"board": {
"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": 0.67,
"width": 0.67
},
"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.508
}
},
"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",
"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.0,
"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,
"solder_mask_clearance": 0.0,
"solder_mask_min_width": 0.0,
"use_height_for_length_calcs": true
},
"track_widths": [
0.0
],
"via_dimensions": [
{
"diameter": 0.0,
"drill": 0.0
}
],
"zones_allow_external_fillets": false,
"zones_use_no_outline": true
},
"layer_presets": []
},
"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": "ch32v003f4u6_with_wsled.kicad_pro",
"version": 1
},
"net_settings": {
"classes": [
{
"bus_width": 12.0,
"clearance": 0.16,
"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.2,
"via_diameter": 0.6,
"via_drill": 0.3,
"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": {
"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.375,
"pin_symbol_size": 25.0,
"text_offset_ratio": 0.15
},
"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": "",
"spice_adjust_passive_values": false,
"spice_external_command": "spice \"%I\"",
"subpart_first_id": 65,
"subpart_id_separator": 0
},
"sheets": [
[
"58ab71e8-deab-4616-a762-2b0b00886567",
""
]
],
"text_variables": {}
}
This diff is collapsed.
(kicad_symbol_lib (version 20211014) (generator kicad_symbol_editor)
(symbol "CH32V003F4U6" (in_bom yes) (on_board yes)
(property "Reference" "U" (id 0) (at 0 0 0)
(effects (font (size 1.27 1.27)))
)
(property "Value" "CH32V003F4U6" (id 1) (at 0 3.81 0)
(effects (font (size 1.27 1.27)))
)
(property "Footprint" "Package_DFN_QFN:QFN-20-1EP_3x3mm_P0.4mm_EP1.65x1.65mm" (id 2) (at -10.16 1.27 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Datasheet" "" (id 3) (at -10.16 -1.27 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "LCSC" "C5299908" (id 4) (at -10.16 -3.81 0)
(effects (font (size 1.27 1.27)) hide)
)
(symbol "CH32V003F4U6_0_1"
(rectangle (start -44.45 12.7) (end 44.45 -13.97)
(stroke (width 0) (type default) (color 0 0 0 0))
(fill (type background))
)
)
(symbol "CH32V003F4U6_1_1"
(pin bidirectional line (at -46.99 11.43 0) (length 2.54)
(name "PD7/NRST/T2CH4/OPP1/UCK" (effects (font (size 1.27 1.27))))
(number "1" (effects (font (size 1.27 1.27))))
)
(pin bidirectional line (at -46.99 -11.43 0) (length 2.54)
(name "PC3/T1CH3/T1CHIN/UCTS" (effects (font (size 1.27 1.27))))
(number "10" (effects (font (size 1.27 1.27))))
)
(pin bidirectional line (at 46.99 -11.43 180) (length 2.54)
(name "PC4/A2/T1CH4/MCO/T1CH1CH2N" (effects (font (size 1.27 1.27))))
(number "11" (effects (font (size 1.27 1.27))))
)
(pin bidirectional line (at 46.99 -8.89 180) (length 2.54)
(name "PC5/SCK/T1ETR/T2CH1ETR/SCL/UCK/T1CH3" (effects (font (size 1.27 1.27))))
(number "12" (effects (font (size 1.27 1.27))))
)
(pin bidirectional line (at 46.99 -6.35 180) (length 2.54)
(name "PC6/MOSI/T1CH1CH3/UCTS/SDA" (effects (font (size 1.27 1.27))))
(number "13" (effects (font (size 1.27 1.27))))
)
(pin bidirectional line (at 46.99 -3.81 180) (length 2.54)
(name "PC7/MISO/T1CH2/T2CH2/URTS" (effects (font (size 1.27 1.27))))
(number "14" (effects (font (size 1.27 1.27))))
)
(pin bidirectional line (at 46.99 -1.27 180) (length 2.54)
(name "PD1/SWIO/AETR/T1CH3/SCL/URX" (effects (font (size 1.27 1.27))))
(number "15" (effects (font (size 1.27 1.27))))
)
(pin bidirectional line (at 46.99 1.27 180) (length 2.54)
(name "PD2/A3/T1CH1/T2CH3/T1CH2N" (effects (font (size 1.27 1.27))))
(number "16" (effects (font (size 1.27 1.27))))
)
(pin bidirectional line (at 46.99 3.81 180) (length 2.54)
(name "PD3/A4/T2CH2/AETR/UCTS/T1CH4" (effects (font (size 1.27 1.27))))
(number "17" (effects (font (size 1.27 1.27))))
)
(pin bidirectional line (at 46.99 6.35 180) (length 2.54)
(name "PD4/A7/UCK/T2CH1ETR/OPO/T1CH4ETR" (effects (font (size 1.27 1.27))))
(number "18" (effects (font (size 1.27 1.27))))
)
(pin bidirectional line (at 46.99 8.89 180) (length 2.54)
(name "PD5/A5/UTX/T2CH4/URX" (effects (font (size 1.27 1.27))))
(number "19" (effects (font (size 1.27 1.27))))
)
(pin bidirectional line (at -46.99 8.89 0) (length 2.54)
(name "PA1/OSCI/A1/T1CH2/OPN0" (effects (font (size 1.27 1.27))))
(number "2" (effects (font (size 1.27 1.27))))
)
(pin bidirectional line (at 46.99 11.43 180) (length 2.54)
(name "PD6/A7/URX/T2CH3/UTX" (effects (font (size 1.27 1.27))))
(number "20" (effects (font (size 1.27 1.27))))
)
(pin bidirectional line (at 0 -16.51 90) (length 2.54)
(name "GND" (effects (font (size 1.27 1.27))))
(number "21" (effects (font (size 1.27 1.27))))
)
(pin bidirectional line (at -46.99 6.35 0) (length 2.54)
(name "PA2/OSCO/A0/T1CH2N/OPP0/AETR2" (effects (font (size 1.27 1.27))))
(number "3" (effects (font (size 1.27 1.27))))
)
(pin bidirectional line (at -46.99 3.81 0) (length 2.54)
(name "VSS" (effects (font (size 1.27 1.27))))
(number "4" (effects (font (size 1.27 1.27))))
)
(pin bidirectional line (at -46.99 1.27 0) (length 2.54)
(name "PD0/T1CH1N/OPN1/SDA/UTX" (effects (font (size 1.27 1.27))))
(number "5" (effects (font (size 1.27 1.27))))
)
(pin bidirectional line (at -46.99 -1.27 0) (length 2.54)
(name "VDD" (effects (font (size 1.27 1.27))))
(number "6" (effects (font (size 1.27 1.27))))
)
(pin bidirectional line (at -46.99 -3.81 0) (length 2.54)
(name "PC0/T2CH3/UTX/NSS/T1CH3" (effects (font (size 1.27 1.27))))
(number "7" (effects (font (size 1.27 1.27))))
)
(pin bidirectional line (at -46.99 -6.35 0) (length 2.54)
(name "PC1/SDA/NSS/T2CH4/T2CH1ETR/T1BKIN/URX" (effects (font (size 1.27 1.27))))
(number "8" (effects (font (size 1.27 1.27))))
)
(pin bidirectional line (at -46.99 -8.89 0) (length 2.54)
(name "PC2/SCL/URTS/T1BKIN/AETR/T2CH2/T1ETR" (effects (font (size 1.27 1.27))))
(number "9" (effects (font (size 1.27 1.27))))
)
)
)
)
(footprint "GOERTEK_MIC_B4013AM423" (version 20211014) (generator pcbnew)
(layer "F.Cu")
(tedit 62EA23B2)
(property "Cost100" "0.17")
(property "Digikey" "")
(property "LCSC" "C2835889")
(property "Notes" "DNP")
(property "Sheetfile" "Swadge-S2-Devkit.kicad_sch")
(property "Sheetname" "")
(property "Substitutable" "N")
(attr smd)
(fp_text reference "MK2" (at 0 -4.2 unlocked) (layer "F.SilkS")
(effects (font (size 1 1) (thickness 0.15)))
(tstamp e67c544f-736a-4c2e-b841-ef4fe335423b)
)
(fp_text value "Microphone" (at 0 4.2 unlocked) (layer "F.Fab")
(effects (font (size 1 1) (thickness 0.15)))
(tstamp 62031150-5b72-4c54-89ed-ffb52d695fcd)
)
(pad "1" smd custom (at -1.38 0) (size 0.5 0.5) (layers "F.Cu" "F.Paste" "F.Mask")
(options (clearance outline) (anchor circle))
(primitives
(gr_arc (start 0 0) (mid 2.76 0) (end 0 0) (width 0.9))
) (tstamp 6be14815-4a7d-42d1-90c7-04c36a9fc25e))
(pad "2" smd circle (at 0 0) (size 0.95 0.95) (layers "F.Cu" "F.Paste" "F.Mask") (tstamp 0491b3a8-0a88-4be8-8b7a-be3dac501142))
(model "${KIPRJMOD}/../Swadge-Parts/package3d/Goertek B4013AM423-098.STEP"
(offset (xyz 0 0 1.23))
(scale (xyz 1 1 1))
(rotate (xyz 0 180 0))
)
)
(footprint "WS2816-2121" (version 20211014) (generator pcbnew)
(layer "F.Cu")
(tedit 0)
(attr smd)
(fp_text reference "REF**" (at 0 -2.9 unlocked) (layer "F.SilkS")
(effects (font (size 1 1) (thickness 0.15)))
(tstamp 6e24dc95-0f93-4dfb-ba04-5454d12456a0)
)
(fp_text value "WS2816-2121" (at 0 4 unlocked) (layer "F.Fab")
(effects (font (size 1 1) (thickness 0.15)))
(tstamp 1cc91b6d-0d81-46cd-a67a-2381c43a07e2)
)
(fp_text user "${REFERENCE}" (at 0 2.5 unlocked) (layer "F.Fab")
(effects (font (size 1 1) (thickness 0.15)))
(tstamp 2863e791-1e1d-4d8d-8931-b547ac94531e)
)
(fp_line (start -1 1.2) (end -1.2 1.2) (layer "F.SilkS") (width 0.12) (tstamp 0bf9cbec-ffd8-4141-a9c9-41558b1d67c8))
(fp_line (start -1.2 1.2) (end -1.2 1) (layer "F.SilkS") (width 0.12) (tstamp 1c5f9628-7cb0-474b-8a9c-00ede6beac15))
(fp_line (start -1.2 -1.2) (end -1 -1.2) (layer "F.SilkS") (width 0.12) (tstamp 26a3f21a-b628-462c-a948-aba1e5b10a93))
(fp_line (start 1 1.4) (end 1.4 1) (layer "F.SilkS") (width 0.12) (tstamp 29712643-1c9c-4c14-b3cb-740913280344))
(fp_line (start 1.2 1.2) (end 1 1.2) (layer "F.SilkS") (width 0.12) (tstamp 3262608d-403e-4a81-8b9e-87df39cf03a0))
(fp_line (start 1 -1.2) (end 1.2 -1.2) (layer "F.SilkS") (width 0.12) (tstamp 542791ff-f67d-40b6-bca2-2700a928419a))
(fp_line (start 1 1.2) (end 1 1.4) (layer "F.SilkS") (width 0.12) (tstamp 591174db-5702-4742-b729-8053e39688b9))
(fp_line (start 1.2 1) (end 1.2 1.2) (layer "F.SilkS") (width 0.12) (tstamp 9e7a5fa6-ea50-4c5a-9cd9-168818d86684))
(fp_line (start 1.2 -1.2) (end 1.2 -1) (layer "F.SilkS") (width 0.12) (tstamp b1d971a9-970d-48f3-a853-a66ef283ff29))
(fp_line (start -1.2 -1) (end -1.2 -1.2) (layer "F.SilkS") (width 0.12) (tstamp efb8dcaf-5434-4ec2-84b0-9ca4ba7aae59))
(fp_line (start 1.4 1) (end 1.2 1) (layer "F.SilkS") (width 0.12) (tstamp fcab9f1e-a127-4dee-af09-21e5a2e5a911))
(fp_circle (center -1.4 -1.4) (end -1.4 -1.4) (layer "F.SilkS") (width 0.12) (fill none) (tstamp da2cb7d0-3feb-4dcf-8716-629cea404116))
(pad "1" smd roundrect (at -0.945 -0.63 90) (size 0.32 0.7) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25) (tstamp b2f3c961-c548-42b3-8770-cb4770382d73))
(pad "2" smd roundrect (at -0.945 0 90) (size 0.32 0.7) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25) (tstamp 8339aa98-c1e5-48b1-a3b6-e51c1c81a143))
(pad "3" smd roundrect (at -0.945 0.63 90) (size 0.32 0.7) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25) (tstamp aa037990-f116-4973-a09d-1cc3596c6336))
(pad "4" smd roundrect (at 0.945 0.63 90) (size 0.32 0.7) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25) (tstamp 9708b320-a6f3-4b3c-ad32-03ac05475f8d))
(pad "5" smd roundrect (at 0.945 0 90) (size 0.32 0.7) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25) (tstamp 0479f0b6-9466-41da-a459-0a007725fd5f))
(pad "6" smd roundrect (at 0.945 -0.63 90) (size 0.32 0.7) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25) (tstamp e7fa976c-4bbc-419c-839e-2bf43d5d330b))
)
(kicad_symbol_lib (version 20211014) (generator kicad_symbol_editor)
(symbol "WS2816C-2121" (in_bom yes) (on_board yes)
(property "Reference" "D?" (id 0) (at 0 8.89 0)
(effects (font (size 1.27 1.27)))
)
(property "Value" "WS2816C-2121" (id 1) (at 0 6.35 0)
(effects (font (size 1.27 1.27)))
)
(property "Footprint" "WS2816-2121:WS2816-2121" (id 2) (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Datasheet" "" (id 3) (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "LCSC" "C965561" (id 4) (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(symbol "WS2816C-2121_0_1"
(rectangle (start -2.54 3.81) (end 2.54 -3.81)
(stroke (width 0) (type default) (color 0 0 0 0))
(fill (type background))
)
)
(symbol "WS2816C-2121_1_1"
(pin input line (at -5.08 2.54 0) (length 2.54)
(name "BI" (effects (font (size 1.27 1.27))))
(number "1" (effects (font (size 1.27 1.27))))
)
(pin input line (at -5.08 0 0) (length 2.54)
(name "DI" (effects (font (size 1.27 1.27))))
(number "2" (effects (font (size 1.27 1.27))))
)
(pin power_in line (at -5.08 -2.54 0) (length 2.54)
(name "V" (effects (font (size 1.27 1.27))))
(number "3" (effects (font (size 1.27 1.27))))
)
(pin output line (at 5.08 -2.54 180) (length 2.54)
(name "DO" (effects (font (size 1.27 1.27))))
(number "4" (effects (font (size 1.27 1.27))))
)
(pin output line (at 5.08 0 180) (length 2.54)
(name "BO" (effects (font (size 1.27 1.27))))
(number "5" (effects (font (size 1.27 1.27))))
)
(pin power_in line (at 5.08 2.54 180) (length 2.54)
(name "G" (effects (font (size 1.27 1.27))))
(number "6" (effects (font (size 1.27 1.27))))
)
)
)
)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment