brd/sch: remove unused tab, add LED, add bat vias

This commit is contained in:
King Kévin 2023-05-28 21:40:06 +02:00
parent 295bf44a8c
commit a3e6fb3d36
3 changed files with 1593 additions and 1826 deletions

File diff suppressed because it is too large Load Diff

View File

@ -63,20 +63,26 @@
"rule_severities": {
"annular_width": "error",
"clearance": "error",
"connection_width": "warning",
"copper_edge_clearance": "error",
"copper_sliver": "warning",
"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": "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": "ignore",
"malformed_courtyard": "error",
"microvia_drill_out_of_range": "error",
"missing_courtyard": "warning",
@ -86,9 +92,14 @@
"padstack": "error",
"pth_inside_courtyard": "ignore",
"shorting_items": "error",
"silk_edge_clearance": "ignore",
"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",
@ -97,7 +108,6 @@
"unconnected_items": "error",
"unresolved_variable": "error",
"via_dangling": "warning",
"zone_has_empty_net": "error",
"zones_intersect": "error"
},
"rules": {
@ -105,20 +115,65 @@
"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.254,
"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.3,
"min_track_width": 0.127,
"min_via_annular_width": 0.13,
"min_via_diameter": 0.5,
"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
],
@ -354,7 +409,7 @@
"pinned_symbol_libs": []
},
"meta": {
"filename": "template.kicad_pro",
"filename": "RPH0002_connector.kicad_pro",
"version": 1
},
"net_settings": {

View File

@ -434,8 +434,6 @@
)
(no_connect (at 54.61 48.26) (uuid 120bf833-90ac-4efa-88a8-49af9b12f40d))
(no_connect (at 81.28 55.88) (uuid 443af092-60e7-46a2-8e24-c8fa7c766c4c))
(no_connect (at 93.98 40.64) (uuid c3dc4c44-f124-4e6b-8772-00d4d32a9e7c))
(wire (pts (xy 81.28 40.64) (xy 81.28 41.91))
(stroke (width 0) (type default))
@ -552,6 +550,11 @@
(effects (font (size 1.27 1.27)) (justify left bottom))
(uuid 0498a3f9-bb72-477a-bb23-526681bd3a70)
)
(text "pin 5 and 10 are also\ninternally connected in the battery,\nbut there are not used."
(at 66.04 77.47 0)
(effects (font (size 1.27 1.27)) (justify left bottom))
(uuid 630e7588-0897-4b5e-af6c-02d625e4b7c5)
)
(text "connector for RPH0002 battery by\nJinyun Reypu Electronic Technology\nused in OKAI ES400B escooter"
(at 111.76 118.11 0)
(effects (font (size 2 2)) (justify left bottom))
@ -565,6 +568,11 @@
(effects (font (size 1.27 1.27)) (justify right bottom))
(uuid a9321ebe-4124-4fc3-aff4-0ab2ce6d5daa)
)
(text "connect battery wires\ndirectly on tab bottom,\nor on this holes"
(at 33.02 81.28 0)
(effects (font (size 1.27 1.27)) (justify left bottom))
(uuid f2bc2005-695d-44e4-9861-6a4e8fd34f39)
)
(label "CANH" (at 80.01 45.72 180) (fields_autoplaced)
(effects (font (size 1.27 1.27)) (justify right bottom))
@ -587,6 +595,52 @@
(uuid 9c124762-598b-4031-8fc9-83986c8cc8ce)
)
(symbol (lib_id "partdb:connector/197054001") (at 45.72 66.04 0) (unit 1)
(in_bom yes) (on_board yes) (dnp no)
(uuid 00b73d16-9a3a-4725-b6df-995986e6ed99)
(property "Reference" "J4" (at 44.45 60.96 0)
(effects (font (size 1.27 1.27)) (justify left))
)
(property "Value" "BAT-" (at 45.72 63.5 0)
(effects (font (size 1.27 1.27)))
)
(property "Footprint" "qeda:TP" (at 45.72 66.04 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Datasheet" "https://www.molex.com/content/dam/molex/molex-dot-com/products/automated/en-us/salesdrawingpdf/197/19705/197054001_sd.pdf" (at 45.72 66.04 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Description" "PCB tab" (at 45.72 66.04 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "qeda_part" "connector/tab_molex_197054001" (at 45.72 66.04 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "qeda_variant" "" (at 45.72 66.04 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "JLCPCB_CORRECTION" "" (at 45.72 66.04 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "LCSC" "C505008" (at 45.72 66.04 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "JLCPCB" "" (at 45.72 66.04 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "DigiKey" "" (at 45.72 66.04 0)
(effects (font (size 1.27 1.27)) hide)
)
(pin "1" (uuid 5bb2b35e-68c6-4b50-97cb-1ce80355216f))
(instances
(project "RPH0002_connector"
(path "/43fc3289-82a7-492c-a423-3030e10115dc"
(reference "J4") (unit 1)
)
)
)
)
(symbol (lib_id "partdb:connector/197054001") (at 93.98 58.42 180) (unit 1)
(in_bom yes) (on_board yes) (dnp no)
(uuid 02e89edd-057c-43da-a1e8-ae52d3af2347)
@ -779,6 +833,31 @@
)
)
(symbol (lib_id "power:+BATT") (at 38.1 68.58 180) (unit 1)
(in_bom yes) (on_board yes) (dnp no)
(uuid 299410d9-337a-4fe7-af26-9df41a97c50b)
(property "Reference" "#PWR011" (at 38.1 64.77 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Value" "+BATT" (at 38.1 72.39 0)
(effects (font (size 1.27 1.27)))
)
(property "Footprint" "" (at 38.1 68.58 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Datasheet" "" (at 38.1 68.58 0)
(effects (font (size 1.27 1.27)) hide)
)
(pin "1" (uuid 93201cae-0c96-4eb1-a515-90a7f79e7689))
(instances
(project "RPH0002_connector"
(path "/43fc3289-82a7-492c-a423-3030e10115dc"
(reference "#PWR011") (unit 1)
)
)
)
)
(symbol (lib_id "power:GND") (at 129.54 35.56 270) (unit 1)
(in_bom yes) (on_board yes) (dnp no)
(uuid 2be3a5e8-40d5-47fb-9db5-c66d96cedb18)
@ -1084,6 +1163,52 @@
)
)
(symbol (lib_id "partdb:connector/197054001") (at 38.1 66.04 0) (unit 1)
(in_bom yes) (on_board yes) (dnp no)
(uuid 7e9b717b-933d-4333-895c-f48dc0061d11)
(property "Reference" "J3" (at 36.83 60.96 0)
(effects (font (size 1.27 1.27)) (justify left))
)
(property "Value" "BAT+" (at 38.1 63.5 0)
(effects (font (size 1.27 1.27)))
)
(property "Footprint" "qeda:TP" (at 38.1 66.04 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Datasheet" "https://www.molex.com/content/dam/molex/molex-dot-com/products/automated/en-us/salesdrawingpdf/197/19705/197054001_sd.pdf" (at 38.1 66.04 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Description" "PCB tab" (at 38.1 66.04 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "qeda_part" "connector/tab_molex_197054001" (at 38.1 66.04 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "qeda_variant" "" (at 38.1 66.04 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "JLCPCB_CORRECTION" "" (at 38.1 66.04 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "LCSC" "C505008" (at 38.1 66.04 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "JLCPCB" "" (at 38.1 66.04 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "DigiKey" "" (at 38.1 66.04 0)
(effects (font (size 1.27 1.27)) hide)
)
(pin "1" (uuid f0fdd3b0-e420-4a90-896a-46741a7dbcc5))
(instances
(project "RPH0002_connector"
(path "/43fc3289-82a7-492c-a423-3030e10115dc"
(reference "J3") (unit 1)
)
)
)
)
(symbol (lib_id "power:+BATT") (at 54.61 43.18 0) (unit 1)
(in_bom yes) (on_board yes) (dnp no)
(uuid 8142ea20-880f-43ee-8018-fcb3fc9a193c)
@ -1180,52 +1305,6 @@
)
)
(symbol (lib_id "partdb:connector/197054001") (at 93.98 38.1 0) (unit 1)
(in_bom yes) (on_board yes) (dnp no)
(uuid 975e793a-4c05-4e64-8e21-da542310f82c)
(property "Reference" "T5" (at 92.71 33.02 0)
(effects (font (size 1.27 1.27)) (justify left))
)
(property "Value" "5" (at 93.98 35.56 0)
(effects (font (size 1.27 1.27)))
)
(property "Footprint" "qeda:CONNECTOR_MOLEX_197054001" (at 93.98 38.1 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Datasheet" "https://www.molex.com/content/dam/molex/molex-dot-com/products/automated/en-us/salesdrawingpdf/197/19705/197054001_sd.pdf" (at 93.98 38.1 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Description" "PCB tab" (at 93.98 38.1 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "qeda_part" "connector/tab_molex_197054001" (at 93.98 38.1 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "qeda_variant" "" (at 93.98 38.1 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "JLCPCB_CORRECTION" "" (at 93.98 38.1 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "LCSC" "C505008" (at 93.98 38.1 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "JLCPCB" "" (at 93.98 38.1 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "DigiKey" "" (at 93.98 38.1 0)
(effects (font (size 1.27 1.27)) hide)
)
(pin "1" (uuid 632889ca-1b2b-440a-b674-3f51bdafc99e))
(instances
(project "RPH0002_connector"
(path "/43fc3289-82a7-492c-a423-3030e10115dc"
(reference "T5") (unit 1)
)
)
)
)
(symbol (lib_id "partdb:connector/197054001") (at 100.33 38.1 0) (unit 1)
(in_bom yes) (on_board yes) (dnp no)
(uuid 9c00c4ab-f58b-463d-8e9e-ce40b98009e9)
@ -1323,52 +1402,6 @@
)
)
(symbol (lib_id "partdb:connector/197054001") (at 81.28 58.42 180) (unit 1)
(in_bom yes) (on_board yes) (dnp no)
(uuid ab71f38f-b12a-4a69-8b83-a571d04073a2)
(property "Reference" "T10" (at 82.55 63.5 0)
(effects (font (size 1.27 1.27)) (justify left))
)
(property "Value" "10" (at 81.28 60.96 0)
(effects (font (size 1.27 1.27)))
)
(property "Footprint" "qeda:CONNECTOR_MOLEX_197054001" (at 81.28 58.42 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Datasheet" "https://www.molex.com/content/dam/molex/molex-dot-com/products/automated/en-us/salesdrawingpdf/197/19705/197054001_sd.pdf" (at 81.28 58.42 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Description" "PCB tab" (at 81.28 58.42 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "qeda_part" "connector/tab_molex_197054001" (at 81.28 58.42 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "qeda_variant" "" (at 81.28 58.42 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "JLCPCB_CORRECTION" "" (at 81.28 58.42 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "LCSC" "C505008" (at 81.28 58.42 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "JLCPCB" "" (at 81.28 58.42 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "DigiKey" "" (at 81.28 58.42 0)
(effects (font (size 1.27 1.27)) hide)
)
(pin "1" (uuid 2466cd09-a762-40e3-9b41-1b08fab99376))
(instances
(project "RPH0002_connector"
(path "/43fc3289-82a7-492c-a423-3030e10115dc"
(reference "T10") (unit 1)
)
)
)
)
(symbol (lib_id "qeda:LED0805") (at 129.54 54.61 0) (unit 1)
(in_bom yes) (on_board yes) (dnp no)
(uuid ac4dbec3-8a6d-45b4-b562-3bab9a7b5f35)
@ -1610,6 +1643,31 @@
)
)
(symbol (lib_id "power:-BATT") (at 45.72 68.58 180) (unit 1)
(in_bom yes) (on_board yes) (dnp no)
(uuid ede9562f-4284-4c8b-bd69-df5be3fd6f0f)
(property "Reference" "#PWR012" (at 45.72 64.77 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Value" "-BATT" (at 48.26 72.39 0)
(effects (font (size 1.27 1.27)) (justify left))
)
(property "Footprint" "" (at 45.72 68.58 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Datasheet" "" (at 45.72 68.58 0)
(effects (font (size 1.27 1.27)) hide)
)
(pin "1" (uuid 4d44625d-9fa1-4a15-8b09-69da8c8bedb4))
(instances
(project "RPH0002_connector"
(path "/43fc3289-82a7-492c-a423-3030e10115dc"
(reference "#PWR012") (unit 1)
)
)
)
)
(symbol (lib_id "power:+BATT") (at 71.12 46.99 0) (unit 1)
(in_bom yes) (on_board yes) (dnp no)
(uuid f0c860da-c7e9-49f7-9aeb-762342521d1e)