Compare commits
37 Commits
v2.x
...
feature/es
Author | SHA1 | Date | |
---|---|---|---|
4c19d757c6 | |||
3d17ba67ff | |||
9f249af430 | |||
8218c4b9a6 | |||
bfcf5e150c | |||
7957cf4003 | |||
171bd19458 | |||
21e5f86945 | |||
c7a0e3b264 | |||
b297994b6e | |||
4dafa0abfb | |||
c428ee6294 | |||
7415e74643 | |||
ca26f090fa | |||
66e276f15e | |||
65e5d0d753 | |||
3ece894592 | |||
f0e0781100 | |||
fe4b57808d | |||
60947059e8 | |||
d2fb6b8411 | |||
4d92e0c2a6 | |||
b57eb2513c | |||
3f98a321fc | |||
27858948e5 | |||
e87012cc9c | |||
214db0cc67 | |||
229f7cda10 | |||
b6abebd012 | |||
e2d00bc939 | |||
dd91973f9b | |||
bfb19321fd | |||
1fc04a58a0 | |||
d8044b8e34 | |||
86c6bb5a73 | |||
82bc9ed66d | |||
a44aa86732 |
Binary file not shown.
11474
battery_board/battery_board/battery_board.kicad_pcb
Normal file
11474
battery_board/battery_board/battery_board.kicad_pcb
Normal file
File diff suppressed because it is too large
Load Diff
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"board": {
|
"board": {
|
||||||
"active_layer": 31,
|
"active_layer": 36,
|
||||||
"active_layer_preset": "All Layers",
|
"active_layer_preset": "",
|
||||||
"auto_track_width": false,
|
"auto_track_width": false,
|
||||||
"hidden_netclasses": [],
|
"hidden_netclasses": [],
|
||||||
"hidden_nets": [],
|
"hidden_nets": [],
|
||||||
@ -14,13 +14,12 @@
|
|||||||
"vias": 1.0,
|
"vias": 1.0,
|
||||||
"zones": 0.6
|
"zones": 0.6
|
||||||
},
|
},
|
||||||
"ratsnest_display_mode": 0,
|
|
||||||
"selection_filter": {
|
"selection_filter": {
|
||||||
"dimensions": true,
|
"dimensions": true,
|
||||||
"footprints": true,
|
"footprints": true,
|
||||||
"graphics": true,
|
"graphics": true,
|
||||||
"keepouts": true,
|
"keepouts": true,
|
||||||
"lockedItems": true,
|
"lockedItems": false,
|
||||||
"otherItems": true,
|
"otherItems": true,
|
||||||
"pads": true,
|
"pads": true,
|
||||||
"text": true,
|
"text": true,
|
||||||
@ -68,8 +67,14 @@
|
|||||||
"visible_layers": "fffffff_ffffffff",
|
"visible_layers": "fffffff_ffffffff",
|
||||||
"zone_display_mode": 0
|
"zone_display_mode": 0
|
||||||
},
|
},
|
||||||
|
"git": {
|
||||||
|
"repo_password": "",
|
||||||
|
"repo_type": "",
|
||||||
|
"repo_username": "",
|
||||||
|
"ssh_key": ""
|
||||||
|
},
|
||||||
"meta": {
|
"meta": {
|
||||||
"filename": "plantctrl-extension.kicad_prl",
|
"filename": "battery_board.kicad_prl",
|
||||||
"version": 3
|
"version": 3
|
||||||
},
|
},
|
||||||
"project": {
|
"project": {
|
@ -3,14 +3,17 @@
|
|||||||
"3dviewports": [],
|
"3dviewports": [],
|
||||||
"design_settings": {
|
"design_settings": {
|
||||||
"defaults": {
|
"defaults": {
|
||||||
"board_outline_line_width": 0.09999999999999999,
|
"apply_defaults_to_fp_fields": false,
|
||||||
"copper_line_width": 0.19999999999999998,
|
"apply_defaults_to_fp_shapes": false,
|
||||||
|
"apply_defaults_to_fp_text": false,
|
||||||
|
"board_outline_line_width": 0.05,
|
||||||
|
"copper_line_width": 0.2,
|
||||||
"copper_text_italic": false,
|
"copper_text_italic": false,
|
||||||
"copper_text_size_h": 1.5,
|
"copper_text_size_h": 1.5,
|
||||||
"copper_text_size_v": 1.5,
|
"copper_text_size_v": 1.5,
|
||||||
"copper_text_thickness": 0.3,
|
"copper_text_thickness": 0.3,
|
||||||
"copper_text_upright": false,
|
"copper_text_upright": false,
|
||||||
"courtyard_line_width": 0.049999999999999996,
|
"courtyard_line_width": 0.05,
|
||||||
"dimension_precision": 4,
|
"dimension_precision": 4,
|
||||||
"dimension_units": 3,
|
"dimension_units": 3,
|
||||||
"dimensions": {
|
"dimensions": {
|
||||||
@ -21,13 +24,13 @@
|
|||||||
"text_position": 0,
|
"text_position": 0,
|
||||||
"units_format": 1
|
"units_format": 1
|
||||||
},
|
},
|
||||||
"fab_line_width": 0.09999999999999999,
|
"fab_line_width": 0.1,
|
||||||
"fab_text_italic": false,
|
"fab_text_italic": false,
|
||||||
"fab_text_size_h": 1.0,
|
"fab_text_size_h": 1.0,
|
||||||
"fab_text_size_v": 1.0,
|
"fab_text_size_v": 1.0,
|
||||||
"fab_text_thickness": 0.15,
|
"fab_text_thickness": 0.15,
|
||||||
"fab_text_upright": false,
|
"fab_text_upright": false,
|
||||||
"other_line_width": 0.15,
|
"other_line_width": 0.1,
|
||||||
"other_text_italic": false,
|
"other_text_italic": false,
|
||||||
"other_text_size_h": 1.0,
|
"other_text_size_h": 1.0,
|
||||||
"other_text_size_v": 1.0,
|
"other_text_size_v": 1.0,
|
||||||
@ -38,15 +41,14 @@
|
|||||||
"height": 1.524,
|
"height": 1.524,
|
||||||
"width": 1.524
|
"width": 1.524
|
||||||
},
|
},
|
||||||
"silk_line_width": 0.15,
|
"silk_line_width": 0.1,
|
||||||
"silk_text_italic": false,
|
"silk_text_italic": false,
|
||||||
"silk_text_size_h": 1.0,
|
"silk_text_size_h": 1.0,
|
||||||
"silk_text_size_v": 1.0,
|
"silk_text_size_v": 1.0,
|
||||||
"silk_text_thickness": 0.15,
|
"silk_text_thickness": 0.1,
|
||||||
"silk_text_upright": false,
|
"silk_text_upright": false,
|
||||||
"zones": {
|
"zones": {
|
||||||
"45_degree_only": false,
|
"min_clearance": 0.0
|
||||||
"min_clearance": 0.508
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"diff_pair_dimensions": [
|
"diff_pair_dimensions": [
|
||||||
@ -56,7 +58,9 @@
|
|||||||
"width": 0.0
|
"width": 0.0
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"drc_exclusions": [],
|
"drc_exclusions": [
|
||||||
|
"silk_over_copper|180609610|75440001|acdccf16-c559-46ce-9367-ee415ce6455a|00000000-0000-0000-0000-000000000000"
|
||||||
|
],
|
||||||
"meta": {
|
"meta": {
|
||||||
"version": 2
|
"version": 2
|
||||||
},
|
},
|
||||||
@ -73,9 +77,11 @@
|
|||||||
"duplicate_footprints": "warning",
|
"duplicate_footprints": "warning",
|
||||||
"extra_footprint": "warning",
|
"extra_footprint": "warning",
|
||||||
"footprint": "error",
|
"footprint": "error",
|
||||||
"footprint_type_mismatch": "error",
|
"footprint_symbol_mismatch": "warning",
|
||||||
|
"footprint_type_mismatch": "ignore",
|
||||||
"hole_clearance": "error",
|
"hole_clearance": "error",
|
||||||
"hole_near_hole": "error",
|
"hole_near_hole": "error",
|
||||||
|
"holes_co_located": "warning",
|
||||||
"invalid_outline": "error",
|
"invalid_outline": "error",
|
||||||
"isolated_copper": "warning",
|
"isolated_copper": "warning",
|
||||||
"item_on_disabled_layer": "error",
|
"item_on_disabled_layer": "error",
|
||||||
@ -89,7 +95,7 @@
|
|||||||
"missing_footprint": "warning",
|
"missing_footprint": "warning",
|
||||||
"net_conflict": "warning",
|
"net_conflict": "warning",
|
||||||
"npth_inside_courtyard": "ignore",
|
"npth_inside_courtyard": "ignore",
|
||||||
"padstack": "error",
|
"padstack": "warning",
|
||||||
"pth_inside_courtyard": "ignore",
|
"pth_inside_courtyard": "ignore",
|
||||||
"shorting_items": "error",
|
"shorting_items": "error",
|
||||||
"silk_edge_clearance": "warning",
|
"silk_edge_clearance": "warning",
|
||||||
@ -111,34 +117,27 @@
|
|||||||
"zones_intersect": "error"
|
"zones_intersect": "error"
|
||||||
},
|
},
|
||||||
"rules": {
|
"rules": {
|
||||||
"allow_blind_buried_vias": false,
|
|
||||||
"allow_microvias": false,
|
|
||||||
"max_error": 0.005,
|
"max_error": 0.005,
|
||||||
"min_clearance": 0.0,
|
"min_clearance": 0.0,
|
||||||
"min_connection": 0.0,
|
"min_connection": 0.0,
|
||||||
"min_copper_edge_clearance": 0.0,
|
"min_copper_edge_clearance": 0.4,
|
||||||
"min_hole_clearance": 0.25,
|
"min_hole_clearance": 0.25,
|
||||||
"min_hole_to_hole": 0.25,
|
"min_hole_to_hole": 0.25,
|
||||||
"min_microvia_diameter": 0.19999999999999998,
|
"min_microvia_diameter": 0.2,
|
||||||
"min_microvia_drill": 0.09999999999999999,
|
"min_microvia_drill": 0.1,
|
||||||
"min_resolved_spokes": 2,
|
"min_resolved_spokes": 2,
|
||||||
"min_silk_clearance": 0.0,
|
"min_silk_clearance": 0.0,
|
||||||
"min_text_height": 0.7999999999999999,
|
"min_text_height": 0.8,
|
||||||
"min_text_thickness": 0.08,
|
"min_text_thickness": 0.08,
|
||||||
"min_through_hole_diameter": 0.3,
|
"min_through_hole_diameter": 0.3,
|
||||||
"min_track_width": 0.19999999999999998,
|
"min_track_width": 0.0,
|
||||||
"min_via_annular_width": 0.049999999999999996,
|
"min_via_annular_width": 0.1,
|
||||||
"min_via_diameter": 0.39999999999999997,
|
"min_via_diameter": 0.5,
|
||||||
"solder_mask_clearance": 0.0,
|
"solder_mask_to_copper_clearance": 0.005,
|
||||||
"solder_mask_min_width": 0.0,
|
|
||||||
"solder_mask_to_copper_clearance": 0.0,
|
|
||||||
"use_height_for_length_calcs": true
|
"use_height_for_length_calcs": true
|
||||||
},
|
},
|
||||||
"teardrop_options": [
|
"teardrop_options": [
|
||||||
{
|
{
|
||||||
"td_allow_use_two_tracks": true,
|
|
||||||
"td_curve_segcount": 5,
|
|
||||||
"td_on_pad_in_zone": false,
|
|
||||||
"td_onpadsmd": true,
|
"td_onpadsmd": true,
|
||||||
"td_onroundshapesonly": false,
|
"td_onroundshapesonly": false,
|
||||||
"td_ontrackend": false,
|
"td_ontrackend": false,
|
||||||
@ -147,47 +146,92 @@
|
|||||||
],
|
],
|
||||||
"teardrop_parameters": [
|
"teardrop_parameters": [
|
||||||
{
|
{
|
||||||
|
"td_allow_use_two_tracks": true,
|
||||||
"td_curve_segcount": 0,
|
"td_curve_segcount": 0,
|
||||||
"td_height_ratio": 1.0,
|
"td_height_ratio": 1.0,
|
||||||
"td_length_ratio": 0.5,
|
"td_length_ratio": 0.5,
|
||||||
"td_maxheight": 2.0,
|
"td_maxheight": 2.0,
|
||||||
"td_maxlen": 1.0,
|
"td_maxlen": 1.0,
|
||||||
|
"td_on_pad_in_zone": false,
|
||||||
"td_target_name": "td_round_shape",
|
"td_target_name": "td_round_shape",
|
||||||
"td_width_to_size_filter_ratio": 0.9
|
"td_width_to_size_filter_ratio": 0.9
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
"td_allow_use_two_tracks": true,
|
||||||
"td_curve_segcount": 0,
|
"td_curve_segcount": 0,
|
||||||
"td_height_ratio": 1.0,
|
"td_height_ratio": 1.0,
|
||||||
"td_length_ratio": 0.5,
|
"td_length_ratio": 0.5,
|
||||||
"td_maxheight": 2.0,
|
"td_maxheight": 2.0,
|
||||||
"td_maxlen": 1.0,
|
"td_maxlen": 1.0,
|
||||||
|
"td_on_pad_in_zone": false,
|
||||||
"td_target_name": "td_rect_shape",
|
"td_target_name": "td_rect_shape",
|
||||||
"td_width_to_size_filter_ratio": 0.9
|
"td_width_to_size_filter_ratio": 0.9
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
"td_allow_use_two_tracks": true,
|
||||||
"td_curve_segcount": 0,
|
"td_curve_segcount": 0,
|
||||||
"td_height_ratio": 1.0,
|
"td_height_ratio": 1.0,
|
||||||
"td_length_ratio": 0.5,
|
"td_length_ratio": 0.5,
|
||||||
"td_maxheight": 2.0,
|
"td_maxheight": 2.0,
|
||||||
"td_maxlen": 1.0,
|
"td_maxlen": 1.0,
|
||||||
|
"td_on_pad_in_zone": false,
|
||||||
"td_target_name": "td_track_end",
|
"td_target_name": "td_track_end",
|
||||||
"td_width_to_size_filter_ratio": 0.9
|
"td_width_to_size_filter_ratio": 0.9
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"track_widths": [
|
"track_widths": [
|
||||||
0.0,
|
0.0,
|
||||||
0.15,
|
0.2,
|
||||||
0.5,
|
0.5,
|
||||||
1.0
|
2.0,
|
||||||
|
4.0,
|
||||||
|
5.0,
|
||||||
|
10.0
|
||||||
],
|
],
|
||||||
|
"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": [
|
"via_dimensions": [
|
||||||
{
|
{
|
||||||
"diameter": 0.0,
|
"diameter": 0.0,
|
||||||
"drill": 0.0
|
"drill": 0.0
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"diameter": 0.5,
|
||||||
|
"drill": 1.5
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"zones_allow_external_fillets": false,
|
"zones_allow_external_fillets": false
|
||||||
"zones_use_no_outline": true
|
},
|
||||||
|
"ipc2581": {
|
||||||
|
"dist": "",
|
||||||
|
"distpn": "",
|
||||||
|
"internal_id": "",
|
||||||
|
"mfg": "",
|
||||||
|
"mpn": ""
|
||||||
},
|
},
|
||||||
"layer_presets": [],
|
"layer_presets": [],
|
||||||
"viewports": []
|
"viewports": []
|
||||||
@ -374,18 +418,23 @@
|
|||||||
"rule_severities": {
|
"rule_severities": {
|
||||||
"bus_definition_conflict": "error",
|
"bus_definition_conflict": "error",
|
||||||
"bus_entry_needed": "error",
|
"bus_entry_needed": "error",
|
||||||
"bus_label_syntax": "error",
|
|
||||||
"bus_to_bus_conflict": "error",
|
"bus_to_bus_conflict": "error",
|
||||||
"bus_to_net_conflict": "error",
|
"bus_to_net_conflict": "error",
|
||||||
|
"conflicting_netclasses": "error",
|
||||||
"different_unit_footprint": "error",
|
"different_unit_footprint": "error",
|
||||||
"different_unit_net": "error",
|
"different_unit_net": "error",
|
||||||
"duplicate_reference": "error",
|
"duplicate_reference": "error",
|
||||||
"duplicate_sheet_names": "error",
|
"duplicate_sheet_names": "error",
|
||||||
|
"endpoint_off_grid": "warning",
|
||||||
"extra_units": "error",
|
"extra_units": "error",
|
||||||
"global_label_dangling": "warning",
|
"global_label_dangling": "warning",
|
||||||
"hier_label_mismatch": "error",
|
"hier_label_mismatch": "error",
|
||||||
"label_dangling": "error",
|
"label_dangling": "error",
|
||||||
"lib_symbol_issues": "warning",
|
"lib_symbol_issues": "warning",
|
||||||
|
"missing_bidi_pin": "warning",
|
||||||
|
"missing_input_pin": "warning",
|
||||||
|
"missing_power_pin": "error",
|
||||||
|
"missing_unit": "warning",
|
||||||
"multiple_net_names": "warning",
|
"multiple_net_names": "warning",
|
||||||
"net_not_bus_member": "warning",
|
"net_not_bus_member": "warning",
|
||||||
"no_connect_connected": "warning",
|
"no_connect_connected": "warning",
|
||||||
@ -395,6 +444,7 @@
|
|||||||
"pin_to_pin": "warning",
|
"pin_to_pin": "warning",
|
||||||
"power_pin_not_driven": "error",
|
"power_pin_not_driven": "error",
|
||||||
"similar_labels": "warning",
|
"similar_labels": "warning",
|
||||||
|
"simulation_model_issue": "ignore",
|
||||||
"unannotated": "error",
|
"unannotated": "error",
|
||||||
"unit_value_mismatch": "error",
|
"unit_value_mismatch": "error",
|
||||||
"unresolved_variable": "error",
|
"unresolved_variable": "error",
|
||||||
@ -406,7 +456,7 @@
|
|||||||
"pinned_symbol_libs": []
|
"pinned_symbol_libs": []
|
||||||
},
|
},
|
||||||
"meta": {
|
"meta": {
|
||||||
"filename": "plantctrl-extension.kicad_pro",
|
"filename": "battery_board.kicad_pro",
|
||||||
"version": 1
|
"version": 1
|
||||||
},
|
},
|
||||||
"net_settings": {
|
"net_settings": {
|
||||||
@ -423,9 +473,9 @@
|
|||||||
"name": "Default",
|
"name": "Default",
|
||||||
"pcb_color": "rgba(0, 0, 0, 0.000)",
|
"pcb_color": "rgba(0, 0, 0, 0.000)",
|
||||||
"schematic_color": "rgba(0, 0, 0, 0.000)",
|
"schematic_color": "rgba(0, 0, 0, 0.000)",
|
||||||
"track_width": 0.25,
|
"track_width": 0.2,
|
||||||
"via_diameter": 0.8,
|
"via_diameter": 0.6,
|
||||||
"via_drill": 0.4,
|
"via_drill": 0.3,
|
||||||
"wire_width": 6
|
"wire_width": 6
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
@ -441,15 +491,151 @@
|
|||||||
"gencad": "",
|
"gencad": "",
|
||||||
"idf": "",
|
"idf": "",
|
||||||
"netlist": "",
|
"netlist": "",
|
||||||
|
"plot": "",
|
||||||
|
"pos_files": "",
|
||||||
"specctra_dsn": "",
|
"specctra_dsn": "",
|
||||||
"step": "",
|
"step": "",
|
||||||
|
"svg": "",
|
||||||
"vrml": ""
|
"vrml": ""
|
||||||
},
|
},
|
||||||
"page_layout_descr_file": ""
|
"page_layout_descr_file": ""
|
||||||
},
|
},
|
||||||
"schematic": {
|
"schematic": {
|
||||||
"annotate_start_num": 0,
|
"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": "Availability",
|
||||||
|
"name": "Availability",
|
||||||
|
"show": false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"group_by": false,
|
||||||
|
"label": "Check_prices",
|
||||||
|
"name": "Check_prices",
|
||||||
|
"show": false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"group_by": false,
|
||||||
|
"label": "Description_1",
|
||||||
|
"name": "Description_1",
|
||||||
|
"show": false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"group_by": false,
|
||||||
|
"label": "LCSC_PART_NUMBER",
|
||||||
|
"name": "LCSC_PART_NUMBER",
|
||||||
|
"show": false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"group_by": false,
|
||||||
|
"label": "MF",
|
||||||
|
"name": "MF",
|
||||||
|
"show": false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"group_by": false,
|
||||||
|
"label": "MP",
|
||||||
|
"name": "MP",
|
||||||
|
"show": false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"group_by": false,
|
||||||
|
"label": "Package",
|
||||||
|
"name": "Package",
|
||||||
|
"show": false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"group_by": false,
|
||||||
|
"label": "Price",
|
||||||
|
"name": "Price",
|
||||||
|
"show": false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"group_by": false,
|
||||||
|
"label": "Purchase-URL",
|
||||||
|
"name": "Purchase-URL",
|
||||||
|
"show": false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"group_by": false,
|
||||||
|
"label": "SnapEDA_Link",
|
||||||
|
"name": "SnapEDA_Link",
|
||||||
|
"show": false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"group_by": false,
|
||||||
|
"label": "Description",
|
||||||
|
"name": "Description",
|
||||||
|
"show": false
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"filter_string": "",
|
||||||
|
"group_symbols": true,
|
||||||
|
"name": "",
|
||||||
|
"sort_asc": true,
|
||||||
|
"sort_field": "Reference"
|
||||||
|
},
|
||||||
|
"connection_grid_size": 50.0,
|
||||||
"drawing": {
|
"drawing": {
|
||||||
|
"dashed_lines_dash_length_ratio": 12.0,
|
||||||
|
"dashed_lines_gap_length_ratio": 3.0,
|
||||||
"default_line_thickness": 6.0,
|
"default_line_thickness": 6.0,
|
||||||
"default_text_size": 50.0,
|
"default_text_size": 50.0,
|
||||||
"field_names": [],
|
"field_names": [],
|
||||||
@ -460,6 +646,11 @@
|
|||||||
"intersheets_ref_suffix": "",
|
"intersheets_ref_suffix": "",
|
||||||
"junction_size_choice": 3,
|
"junction_size_choice": 3,
|
||||||
"label_size_ratio": 0.375,
|
"label_size_ratio": 0.375,
|
||||||
|
"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": 25.0,
|
"pin_symbol_size": 25.0,
|
||||||
"text_offset_ratio": 0.15
|
"text_offset_ratio": 0.15
|
||||||
},
|
},
|
||||||
@ -471,24 +662,27 @@
|
|||||||
"net_format_name": "",
|
"net_format_name": "",
|
||||||
"ngspice": {
|
"ngspice": {
|
||||||
"fix_include_paths": true,
|
"fix_include_paths": true,
|
||||||
"fix_passive_vals": false,
|
|
||||||
"meta": {
|
"meta": {
|
||||||
"version": 0
|
"version": 0
|
||||||
},
|
},
|
||||||
"model_mode": 0,
|
"model_mode": 4,
|
||||||
"workbook_filename": ""
|
"workbook_filename": ""
|
||||||
},
|
},
|
||||||
"page_layout_descr_file": "",
|
"page_layout_descr_file": "",
|
||||||
"plot_directory": "",
|
"plot_directory": "",
|
||||||
"spice_adjust_passive_values": false,
|
"spice_current_sheet_as_root": false,
|
||||||
"spice_external_command": "spice \"%I\"",
|
"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_first_id": 65,
|
||||||
"subpart_id_separator": 0
|
"subpart_id_separator": 0
|
||||||
},
|
},
|
||||||
"sheets": [
|
"sheets": [
|
||||||
[
|
[
|
||||||
"e63e39d7-6ac0-4ffd-8aa3-1841a4541b55",
|
"c27f19cf-4e70-4fd0-869e-d38d3638d9bf",
|
||||||
""
|
"Root"
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
"text_variables": {}
|
"text_variables": {}
|
6420
battery_board/battery_board/battery_board.kicad_sch
Normal file
6420
battery_board/battery_board/battery_board.kicad_sch
Normal file
File diff suppressed because it is too large
Load Diff
BIN
battery_board/battery_board/bq34z100-r2.pdf
Normal file
BIN
battery_board/battery_board/bq34z100-r2.pdf
Normal file
Binary file not shown.
@ -0,0 +1 @@
|
|||||||
|
{"EXTRA_LAYERS": "", "EXTEND_EDGE_CUT": false, "AUTO TRANSLATE": true, "AUTO FILL": true, "EXCLUDE DNP": false}
|
4
battery_board/battery_board/fp-lib-table
Normal file
4
battery_board/battery_board/fp-lib-table
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
(fp_lib_table
|
||||||
|
(version 7)
|
||||||
|
(lib (name "kicad-stuff")(type "KiCad")(uri "${KIPRJMOD}/kicad-stuff")(options "")(descr ""))
|
||||||
|
)
|
@ -0,0 +1,337 @@
|
|||||||
|
(footprint "AMASS_XT30UPB+DATA-M_1x02_P5.0mm_Vertical"
|
||||||
|
(version 20240108)
|
||||||
|
(generator "pcbnew")
|
||||||
|
(generator_version "8.0")
|
||||||
|
(layer "F.Cu")
|
||||||
|
(descr "Connector XT30 Vertical PCB Male, https://www.tme.eu/en/Document/4acc913878197f8c2e30d4b8cdc47230/XT30UPB%20SPEC.pdf")
|
||||||
|
(tags "RC Connector XT30")
|
||||||
|
(property "Reference" "REF**"
|
||||||
|
(at 2.5 -4 0)
|
||||||
|
(layer "F.SilkS")
|
||||||
|
(uuid "f7510d54-dcb1-4c3b-b842-cd250a98370c")
|
||||||
|
(effects
|
||||||
|
(font
|
||||||
|
(size 1 1)
|
||||||
|
(thickness 0.15)
|
||||||
|
)
|
||||||
|
)
|
||||||
|
)
|
||||||
|
(property "Value" "AMASS_XT30UPB+DATA-M_1x02_P5.0mm_Vertical"
|
||||||
|
(at 2.5 4 0)
|
||||||
|
(layer "F.Fab")
|
||||||
|
(uuid "c5a8a60c-4ea1-4401-a30c-34d36be61c07")
|
||||||
|
(effects
|
||||||
|
(font
|
||||||
|
(size 1 1)
|
||||||
|
(thickness 0.15)
|
||||||
|
)
|
||||||
|
)
|
||||||
|
)
|
||||||
|
(property "Footprint" ""
|
||||||
|
(at 0 0 0)
|
||||||
|
(unlocked yes)
|
||||||
|
(layer "F.Fab")
|
||||||
|
(hide yes)
|
||||||
|
(uuid "8fb27306-c085-4316-b554-4ba9be794054")
|
||||||
|
(effects
|
||||||
|
(font
|
||||||
|
(size 1.27 1.27)
|
||||||
|
(thickness 0.15)
|
||||||
|
)
|
||||||
|
)
|
||||||
|
)
|
||||||
|
(property "Datasheet" ""
|
||||||
|
(at 0 0 0)
|
||||||
|
(unlocked yes)
|
||||||
|
(layer "F.Fab")
|
||||||
|
(hide yes)
|
||||||
|
(uuid "74b71861-05d2-4229-8e81-25952aaaef7e")
|
||||||
|
(effects
|
||||||
|
(font
|
||||||
|
(size 1.27 1.27)
|
||||||
|
(thickness 0.15)
|
||||||
|
)
|
||||||
|
)
|
||||||
|
)
|
||||||
|
(property "Description" ""
|
||||||
|
(at 0 0 0)
|
||||||
|
(unlocked yes)
|
||||||
|
(layer "F.Fab")
|
||||||
|
(hide yes)
|
||||||
|
(uuid "a1d16ecc-7e64-48c4-b772-a9255380960d")
|
||||||
|
(effects
|
||||||
|
(font
|
||||||
|
(size 1.27 1.27)
|
||||||
|
(thickness 0.15)
|
||||||
|
)
|
||||||
|
)
|
||||||
|
)
|
||||||
|
(attr through_hole)
|
||||||
|
(fp_line
|
||||||
|
(start -2.71 -1.41)
|
||||||
|
(end -2.71 1.41)
|
||||||
|
(stroke
|
||||||
|
(width 0.12)
|
||||||
|
(type solid)
|
||||||
|
)
|
||||||
|
(layer "F.SilkS")
|
||||||
|
(uuid "e96c6ad2-9ca6-4df1-b35b-76e090d7ff4e")
|
||||||
|
)
|
||||||
|
(fp_line
|
||||||
|
(start -2.71 -1.41)
|
||||||
|
(end -1.01 -2.71)
|
||||||
|
(stroke
|
||||||
|
(width 0.12)
|
||||||
|
(type solid)
|
||||||
|
)
|
||||||
|
(layer "F.SilkS")
|
||||||
|
(uuid "0784d204-0a48-4a2b-8085-50e1ff7a1493")
|
||||||
|
)
|
||||||
|
(fp_line
|
||||||
|
(start -2.71 1.41)
|
||||||
|
(end -1.01 2.71)
|
||||||
|
(stroke
|
||||||
|
(width 0.12)
|
||||||
|
(type solid)
|
||||||
|
)
|
||||||
|
(layer "F.SilkS")
|
||||||
|
(uuid "db750970-e424-4a8e-a882-20a90baabffc")
|
||||||
|
)
|
||||||
|
(fp_line
|
||||||
|
(start -1.01 -2.71)
|
||||||
|
(end 7.71 -2.71)
|
||||||
|
(stroke
|
||||||
|
(width 0.12)
|
||||||
|
(type solid)
|
||||||
|
)
|
||||||
|
(layer "F.SilkS")
|
||||||
|
(uuid "9f23420e-db87-438c-a708-676a0616966e")
|
||||||
|
)
|
||||||
|
(fp_line
|
||||||
|
(start -1.01 2.71)
|
||||||
|
(end 7.71 2.71)
|
||||||
|
(stroke
|
||||||
|
(width 0.12)
|
||||||
|
(type solid)
|
||||||
|
)
|
||||||
|
(layer "F.SilkS")
|
||||||
|
(uuid "2ba574e3-9de5-4d7d-9777-e19e6fa702e7")
|
||||||
|
)
|
||||||
|
(fp_line
|
||||||
|
(start 7.71 -2.71)
|
||||||
|
(end 7.71 2.71)
|
||||||
|
(stroke
|
||||||
|
(width 0.12)
|
||||||
|
(type solid)
|
||||||
|
)
|
||||||
|
(layer "F.SilkS")
|
||||||
|
(uuid "2018cc6b-6115-4763-8b7c-54b60affbda7")
|
||||||
|
)
|
||||||
|
(fp_rect
|
||||||
|
(start -6.3 -2.71)
|
||||||
|
(end 7.71 2.7)
|
||||||
|
(stroke
|
||||||
|
(width 0.1)
|
||||||
|
(type default)
|
||||||
|
)
|
||||||
|
(fill none)
|
||||||
|
(layer "F.SilkS")
|
||||||
|
(uuid "11aac399-c862-4b67-9828-087abeea5b1b")
|
||||||
|
)
|
||||||
|
(fp_line
|
||||||
|
(start -3.1 -1.8)
|
||||||
|
(end -3.1 1.8)
|
||||||
|
(stroke
|
||||||
|
(width 0.05)
|
||||||
|
(type solid)
|
||||||
|
)
|
||||||
|
(layer "F.CrtYd")
|
||||||
|
(uuid "06ae69d8-1372-4524-8b1a-27a2f062f1c5")
|
||||||
|
)
|
||||||
|
(fp_line
|
||||||
|
(start -3.1 -1.8)
|
||||||
|
(end -1.4 -3.1)
|
||||||
|
(stroke
|
||||||
|
(width 0.05)
|
||||||
|
(type solid)
|
||||||
|
)
|
||||||
|
(layer "F.CrtYd")
|
||||||
|
(uuid "ae869a92-c688-4f2b-82ca-0578106a035a")
|
||||||
|
)
|
||||||
|
(fp_line
|
||||||
|
(start -3.1 1.8)
|
||||||
|
(end -1.4 3.1)
|
||||||
|
(stroke
|
||||||
|
(width 0.05)
|
||||||
|
(type solid)
|
||||||
|
)
|
||||||
|
(layer "F.CrtYd")
|
||||||
|
(uuid "cac6d927-6ba1-4095-825b-f94ee0d7abe9")
|
||||||
|
)
|
||||||
|
(fp_line
|
||||||
|
(start -1.4 -3.1)
|
||||||
|
(end 8.1 -3.1)
|
||||||
|
(stroke
|
||||||
|
(width 0.05)
|
||||||
|
(type solid)
|
||||||
|
)
|
||||||
|
(layer "F.CrtYd")
|
||||||
|
(uuid "fb4fa373-5492-4717-a9fe-7b69f4c53ba0")
|
||||||
|
)
|
||||||
|
(fp_line
|
||||||
|
(start -1.4 3.1)
|
||||||
|
(end 8.1 3.1)
|
||||||
|
(stroke
|
||||||
|
(width 0.05)
|
||||||
|
(type solid)
|
||||||
|
)
|
||||||
|
(layer "F.CrtYd")
|
||||||
|
(uuid "70296c77-546d-44a2-b5d3-e6dc58cf713b")
|
||||||
|
)
|
||||||
|
(fp_line
|
||||||
|
(start 8.1 -3.1)
|
||||||
|
(end 8.1 3.1)
|
||||||
|
(stroke
|
||||||
|
(width 0.05)
|
||||||
|
(type solid)
|
||||||
|
)
|
||||||
|
(layer "F.CrtYd")
|
||||||
|
(uuid "64764a09-de32-4f35-b54a-17e44810370f")
|
||||||
|
)
|
||||||
|
(fp_line
|
||||||
|
(start -2.6 -1.3)
|
||||||
|
(end -2.6 1.3)
|
||||||
|
(stroke
|
||||||
|
(width 0.1)
|
||||||
|
(type solid)
|
||||||
|
)
|
||||||
|
(layer "F.Fab")
|
||||||
|
(uuid "8d7ee7cb-5dda-453f-aa9a-6420c87f1b8e")
|
||||||
|
)
|
||||||
|
(fp_line
|
||||||
|
(start -2.6 -1.3)
|
||||||
|
(end -0.9 -2.6)
|
||||||
|
(stroke
|
||||||
|
(width 0.1)
|
||||||
|
(type solid)
|
||||||
|
)
|
||||||
|
(layer "F.Fab")
|
||||||
|
(uuid "2fa3ad90-36bb-4374-95ed-e44e50c7e385")
|
||||||
|
)
|
||||||
|
(fp_line
|
||||||
|
(start -2.6 1.3)
|
||||||
|
(end -0.9 2.6)
|
||||||
|
(stroke
|
||||||
|
(width 0.1)
|
||||||
|
(type solid)
|
||||||
|
)
|
||||||
|
(layer "F.Fab")
|
||||||
|
(uuid "2e4f8556-ffc2-4791-91da-e68c3513337e")
|
||||||
|
)
|
||||||
|
(fp_line
|
||||||
|
(start -0.9 -2.6)
|
||||||
|
(end 7.6 -2.6)
|
||||||
|
(stroke
|
||||||
|
(width 0.1)
|
||||||
|
(type solid)
|
||||||
|
)
|
||||||
|
(layer "F.Fab")
|
||||||
|
(uuid "cb9cd8af-1997-41db-b9fe-8982960ac6db")
|
||||||
|
)
|
||||||
|
(fp_line
|
||||||
|
(start -0.9 2.6)
|
||||||
|
(end 7.6 2.6)
|
||||||
|
(stroke
|
||||||
|
(width 0.1)
|
||||||
|
(type solid)
|
||||||
|
)
|
||||||
|
(layer "F.Fab")
|
||||||
|
(uuid "ea8a6c02-e974-4677-a854-a0891c323245")
|
||||||
|
)
|
||||||
|
(fp_line
|
||||||
|
(start 7.6 -2.6)
|
||||||
|
(end 7.6 2.6)
|
||||||
|
(stroke
|
||||||
|
(width 0.1)
|
||||||
|
(type solid)
|
||||||
|
)
|
||||||
|
(layer "F.Fab")
|
||||||
|
(uuid "c66f305c-0d56-4591-bc02-23252ad20321")
|
||||||
|
)
|
||||||
|
(fp_text user "-"
|
||||||
|
(at -4 0 0)
|
||||||
|
(layer "F.SilkS")
|
||||||
|
(uuid "c119570a-6846-48dc-9422-0b5665ab2df6")
|
||||||
|
(effects
|
||||||
|
(font
|
||||||
|
(size 1.5 1.5)
|
||||||
|
(thickness 0.15)
|
||||||
|
)
|
||||||
|
)
|
||||||
|
)
|
||||||
|
(fp_text user "+"
|
||||||
|
(at 9 0 0)
|
||||||
|
(layer "F.SilkS")
|
||||||
|
(uuid "d6ab678c-47f7-47e0-869b-ef3b9dbd1ba9")
|
||||||
|
(effects
|
||||||
|
(font
|
||||||
|
(size 1.5 1.5)
|
||||||
|
(thickness 0.15)
|
||||||
|
)
|
||||||
|
)
|
||||||
|
)
|
||||||
|
(fp_text user "${REFERENCE}"
|
||||||
|
(at 2.5 0 0)
|
||||||
|
(layer "F.Fab")
|
||||||
|
(uuid "a70efd12-1491-4664-ae98-5b2b7f52a502")
|
||||||
|
(effects
|
||||||
|
(font
|
||||||
|
(size 1 1)
|
||||||
|
(thickness 0.15)
|
||||||
|
)
|
||||||
|
)
|
||||||
|
)
|
||||||
|
(pad "1" thru_hole rect
|
||||||
|
(at 0 0)
|
||||||
|
(size 3 3)
|
||||||
|
(drill 1.8)
|
||||||
|
(layers "*.Cu" "*.Mask")
|
||||||
|
(remove_unused_layers no)
|
||||||
|
(uuid "3a0f3b23-814b-4df9-a02c-3d9fed9e23c9")
|
||||||
|
)
|
||||||
|
(pad "2" thru_hole circle
|
||||||
|
(at 5 0)
|
||||||
|
(size 3 3)
|
||||||
|
(drill 1.8)
|
||||||
|
(layers "*.Cu" "*.Mask")
|
||||||
|
(remove_unused_layers no)
|
||||||
|
(uuid "d897d74a-a13b-47cf-9806-eb8a75fe8d08")
|
||||||
|
)
|
||||||
|
(pad "3" thru_hole circle
|
||||||
|
(at -3.9 -1)
|
||||||
|
(size 1.524 1.524)
|
||||||
|
(drill 1)
|
||||||
|
(layers "*.Cu" "*.Mask")
|
||||||
|
(remove_unused_layers no)
|
||||||
|
(uuid "02a8c3fc-d75c-47a4-a907-f9191ff19e2c")
|
||||||
|
)
|
||||||
|
(pad "4" thru_hole circle
|
||||||
|
(at -3.9 1)
|
||||||
|
(size 1.524 1.524)
|
||||||
|
(drill 1)
|
||||||
|
(layers "*.Cu" "*.Mask")
|
||||||
|
(remove_unused_layers no)
|
||||||
|
(uuid "2000b5b8-f7c9-40a8-9010-65c16d2aefce")
|
||||||
|
)
|
||||||
|
(model "${KICAD8_3DMODEL_DIR}/Connector_AMASS.3dshapes/AMASS_XT30UPB-M_1x02_P5.0mm_Vertical.wrl"
|
||||||
|
(offset
|
||||||
|
(xyz 0 0 0)
|
||||||
|
)
|
||||||
|
(scale
|
||||||
|
(xyz 1 1 1)
|
||||||
|
)
|
||||||
|
(rotate
|
||||||
|
(xyz 0 0 0)
|
||||||
|
)
|
||||||
|
)
|
||||||
|
)
|
158
battery_board/battery_board/kicad-stuff/BQ34Z100PWR-G1.kicad_sym
Normal file
158
battery_board/battery_board/kicad-stuff/BQ34Z100PWR-G1.kicad_sym
Normal file
@ -0,0 +1,158 @@
|
|||||||
|
|
||||||
|
(kicad_symbol_lib (version 20211014) (generator kicad_symbol_editor)
|
||||||
|
(symbol "BQ34Z100PWR-G1" (pin_names (offset 1.016)) (in_bom yes) (on_board yes)
|
||||||
|
(property "Reference" "U" (id 0) (at -12.7 26.4 0.0)
|
||||||
|
(effects (font (size 1.27 1.27)) (justify bottom left))
|
||||||
|
)
|
||||||
|
(property "Value" "BQ34Z100PWR-G1" (id 1) (at -12.7 -29.4 0.0)
|
||||||
|
(effects (font (size 1.27 1.27)) (justify bottom left))
|
||||||
|
)
|
||||||
|
(property "Footprint" "BQ34Z100PWR-G1:SOP65P640X120-14N" (id 2) (at 0 0 0)
|
||||||
|
(effects (font (size 1.27 1.27)) (justify bottom) hide)
|
||||||
|
)
|
||||||
|
(property "MF" "Texas Instruments" (id 4) (at 0 0 0)
|
||||||
|
(effects (font (size 1.27 1.27)) (justify bottom) hide)
|
||||||
|
)
|
||||||
|
(property "Description" "\nMulti-chemistry Impedance Track™ standalone fuel gauge | battery gas gauge\n" (id 5) (at 0 0 0)
|
||||||
|
(effects (font (size 1.27 1.27)) (justify bottom) hide)
|
||||||
|
)
|
||||||
|
(property "Package" "TSSOP-14 Texas Instruments" (id 6) (at 0 0 0)
|
||||||
|
(effects (font (size 1.27 1.27)) (justify bottom) hide)
|
||||||
|
)
|
||||||
|
(property "Price" "None" (id 7) (at 0 0 0)
|
||||||
|
(effects (font (size 1.27 1.27)) (justify bottom) hide)
|
||||||
|
)
|
||||||
|
(property "SnapEDA_Link" "https://www.snapeda.com/parts/BQ34Z100PWR-G1/Texas+Instruments/view-part/?ref=snap" (id 8) (at 0 0 0)
|
||||||
|
(effects (font (size 1.27 1.27)) (justify bottom) hide)
|
||||||
|
)
|
||||||
|
(property "MP" "BQ34Z100PWR-G1" (id 9) (at 0 0 0)
|
||||||
|
(effects (font (size 1.27 1.27)) (justify bottom) hide)
|
||||||
|
)
|
||||||
|
(property "Purchase-URL" "https://www.snapeda.com/api/url_track_click_mouser/?unipart_id=327977&manufacturer=Texas Instruments&part_name=BQ34Z100PWR-G1&search_term=None" (id 10) (at 0 0 0)
|
||||||
|
(effects (font (size 1.27 1.27)) (justify bottom) hide)
|
||||||
|
)
|
||||||
|
(property "Availability" "In Stock" (id 11) (at 0 0 0)
|
||||||
|
(effects (font (size 1.27 1.27)) (justify bottom) hide)
|
||||||
|
)
|
||||||
|
(property "Check_prices" "https://www.snapeda.com/parts/BQ34Z100PWR-G1/Texas+Instruments/view-part/?ref=eda" (id 12) (at 0 0 0)
|
||||||
|
(effects (font (size 1.27 1.27)) (justify bottom) hide)
|
||||||
|
)
|
||||||
|
(symbol "BQ34Z100PWR-G1_0_0"
|
||||||
|
(rectangle (start -12.7 -25.4) (end 12.7 25.4)
|
||||||
|
(stroke (width 0.41)) (fill (type background))
|
||||||
|
)
|
||||||
|
(pin input line (at -17.78 22.86 0) (length 5.08)
|
||||||
|
(name "REGIN"
|
||||||
|
(effects (font (size 1.016 1.016)))
|
||||||
|
)
|
||||||
|
(number "6"
|
||||||
|
(effects (font (size 1.016 1.016)))
|
||||||
|
)
|
||||||
|
)
|
||||||
|
(pin bidirectional line (at -17.78 17.78 0) (length 5.08)
|
||||||
|
(name "BAT"
|
||||||
|
(effects (font (size 1.016 1.016)))
|
||||||
|
)
|
||||||
|
(number "4"
|
||||||
|
(effects (font (size 1.016 1.016)))
|
||||||
|
)
|
||||||
|
)
|
||||||
|
(pin bidirectional line (at -17.78 12.7 0) (length 5.08)
|
||||||
|
(name "CE"
|
||||||
|
(effects (font (size 1.016 1.016)))
|
||||||
|
)
|
||||||
|
(number "5"
|
||||||
|
(effects (font (size 1.016 1.016)))
|
||||||
|
)
|
||||||
|
)
|
||||||
|
(pin bidirectional line (at -17.78 7.62 0) (length 5.08)
|
||||||
|
(name "P1"
|
||||||
|
(effects (font (size 1.016 1.016)))
|
||||||
|
)
|
||||||
|
(number "3"
|
||||||
|
(effects (font (size 1.016 1.016)))
|
||||||
|
)
|
||||||
|
)
|
||||||
|
(pin bidirectional line (at -17.78 5.08 0) (length 5.08)
|
||||||
|
(name "P2"
|
||||||
|
(effects (font (size 1.016 1.016)))
|
||||||
|
)
|
||||||
|
(number "1"
|
||||||
|
(effects (font (size 1.016 1.016)))
|
||||||
|
)
|
||||||
|
)
|
||||||
|
(pin bidirectional line (at -17.78 2.54 0) (length 5.08)
|
||||||
|
(name "P3/SDA"
|
||||||
|
(effects (font (size 1.016 1.016)))
|
||||||
|
)
|
||||||
|
(number "14"
|
||||||
|
(effects (font (size 1.016 1.016)))
|
||||||
|
)
|
||||||
|
)
|
||||||
|
(pin bidirectional line (at -17.78 -2.54 0) (length 5.08)
|
||||||
|
(name "REG25"
|
||||||
|
(effects (font (size 1.016 1.016)))
|
||||||
|
)
|
||||||
|
(number "7"
|
||||||
|
(effects (font (size 1.016 1.016)))
|
||||||
|
)
|
||||||
|
)
|
||||||
|
(pin bidirectional line (at -17.78 -7.62 0) (length 5.08)
|
||||||
|
(name "SRN"
|
||||||
|
(effects (font (size 1.016 1.016)))
|
||||||
|
)
|
||||||
|
(number "10"
|
||||||
|
(effects (font (size 1.016 1.016)))
|
||||||
|
)
|
||||||
|
)
|
||||||
|
(pin bidirectional line (at -17.78 -12.7 0) (length 5.08)
|
||||||
|
(name "SRP"
|
||||||
|
(effects (font (size 1.016 1.016)))
|
||||||
|
)
|
||||||
|
(number "9"
|
||||||
|
(effects (font (size 1.016 1.016)))
|
||||||
|
)
|
||||||
|
)
|
||||||
|
(pin bidirectional line (at -17.78 -17.78 0) (length 5.08)
|
||||||
|
(name "VEN"
|
||||||
|
(effects (font (size 1.016 1.016)))
|
||||||
|
)
|
||||||
|
(number "2"
|
||||||
|
(effects (font (size 1.016 1.016)))
|
||||||
|
)
|
||||||
|
)
|
||||||
|
(pin bidirectional line (at 17.78 5.08 180.0) (length 5.08)
|
||||||
|
(name "P4/SCL"
|
||||||
|
(effects (font (size 1.016 1.016)))
|
||||||
|
)
|
||||||
|
(number "13"
|
||||||
|
(effects (font (size 1.016 1.016)))
|
||||||
|
)
|
||||||
|
)
|
||||||
|
(pin bidirectional line (at 17.78 2.54 180.0) (length 5.08)
|
||||||
|
(name "P5/HDQ"
|
||||||
|
(effects (font (size 1.016 1.016)))
|
||||||
|
)
|
||||||
|
(number "12"
|
||||||
|
(effects (font (size 1.016 1.016)))
|
||||||
|
)
|
||||||
|
)
|
||||||
|
(pin bidirectional line (at 17.78 1.77636e-15 180.0) (length 5.08)
|
||||||
|
(name "P6/TS"
|
||||||
|
(effects (font (size 1.016 1.016)))
|
||||||
|
)
|
||||||
|
(number "11"
|
||||||
|
(effects (font (size 1.016 1.016)))
|
||||||
|
)
|
||||||
|
)
|
||||||
|
(pin power_in line (at 17.78 -20.32 180.0) (length 5.08)
|
||||||
|
(name "VSS"
|
||||||
|
(effects (font (size 1.016 1.016)))
|
||||||
|
)
|
||||||
|
(number "8"
|
||||||
|
(effects (font (size 1.016 1.016)))
|
||||||
|
)
|
||||||
|
)
|
||||||
|
)
|
||||||
|
)
|
||||||
|
)
|
7027
battery_board/battery_board/kicad-stuff/BQ34Z100PWR-G1.step
Normal file
7027
battery_board/battery_board/kicad-stuff/BQ34Z100PWR-G1.step
Normal file
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,133 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!-- Generator: Adobe Illustrator 13.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 14948) -->
|
||||||
|
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
||||||
|
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="1325px"
|
||||||
|
height="675px" viewBox="0 0 1325 675" enable-background="new 0 0 1325 675" xml:space="preserve">
|
||||||
|
<g id="back">
|
||||||
|
<rect width="1325" height="675"/>
|
||||||
|
</g>
|
||||||
|
<g id="logo">
|
||||||
|
<g>
|
||||||
|
<path fill="#FFFFFF" d="M109.818,477.621H75.827v34.299h33.992v-11.638l12.612,2.614v6.409c0,4.956-0.932,8.331-2.794,10.126
|
||||||
|
c-1.864,1.794-5.409,2.691-10.639,2.691H76.647c-5.264,0-8.818-0.897-10.664-2.691c-1.846-1.795-2.769-5.17-2.769-10.126v-28.558
|
||||||
|
c0-4.922,0.923-8.287,2.769-10.1c1.846-1.812,5.4-2.717,10.664-2.717h32.351c5.229,0,8.775,0.905,10.639,2.717
|
||||||
|
c1.862,1.813,2.794,5.178,2.794,10.1v5.127l-12.612,2V477.621z"/>
|
||||||
|
<path fill="#FFFFFF" d="M148.424,522.123v-54.191h12.612v21.02h39.375v-21.02h12.715v54.191h-12.715v-23.328h-39.375v23.328
|
||||||
|
H148.424z"/>
|
||||||
|
<path fill="#FFFFFF" d="M230.456,522.123l30.659-54.191h12.151l31.069,54.191h-14.15l-6.511-11.844h-34.351l-6.306,11.844H230.456
|
||||||
|
z M254.706,500.487h23.738l-11.689-22.046L254.706,500.487z"/>
|
||||||
|
<path fill="#FFFFFF" d="M318.793,480.748c0-4.922,0.923-8.287,2.769-10.1c1.846-1.812,5.4-2.717,10.664-2.717h39.888
|
||||||
|
c5.263,0,8.818,0.905,10.664,2.717c1.846,1.813,2.769,5.178,2.769,10.1v28.558c0,4.956-0.923,8.331-2.769,10.126
|
||||||
|
c-1.846,1.794-5.401,2.691-10.664,2.691h-39.888c-5.264,0-8.818-0.897-10.664-2.691c-1.846-1.795-2.769-5.17-2.769-10.126V480.748
|
||||||
|
z M331.405,511.92h41.58v-34.299h-41.58V511.92z"/>
|
||||||
|
<path fill="#FFFFFF" d="M459.066,477.416h-35.479v11.639h33.787c5.297,0,8.877,0.905,10.741,2.717
|
||||||
|
c1.863,1.813,2.794,5.178,2.794,10.1v7.435c0,4.922-0.932,8.289-2.794,10.101c-1.863,1.812-5.443,2.717-10.741,2.717h-33.479
|
||||||
|
c-5.298,0-8.878-0.905-10.741-2.717c-1.863-1.812-2.794-5.179-2.794-10.101v-1.487l11.125-2.307v6.408h38.298v-12.355h-33.787
|
||||||
|
c-5.264,0-8.818-0.905-10.664-2.717s-2.769-5.179-2.769-10.101v-5.999c0-4.922,0.923-8.287,2.769-10.1
|
||||||
|
c1.846-1.812,5.4-2.717,10.664-2.717h30.762c5.092,0,8.604,0.871,10.536,2.614c1.931,1.743,2.897,4.837,2.897,9.28v1.127
|
||||||
|
l-11.125,2.615V477.416z"/>
|
||||||
|
<path fill="#FFFFFF" d="M537.714,522.123v-54.191h12.612v54.191H537.714z"/>
|
||||||
|
<path fill="#FFFFFF" d="M577.909,522.123v-54.191h10.203l25.532,32.761l24.968-32.761h10.1v54.191h-11.689v-33.479
|
||||||
|
c0-0.649,0.042-1.47,0.128-2.461c0.084-0.991,0.196-2.103,0.333-3.333c-0.684,1.402-1.282,2.556-1.794,3.461
|
||||||
|
c-0.513,0.906-0.974,1.649-1.384,2.229l-20.354,27.07h-2.512l-20.405-27.172c-0.752-1.025-1.393-1.991-1.923-2.897
|
||||||
|
c-0.53-0.905-0.966-1.785-1.307-2.64c0.103,1.127,0.179,2.152,0.231,3.076c0.051,0.922,0.077,1.812,0.077,2.666v33.479H577.909z"
|
||||||
|
/>
|
||||||
|
<path fill="#FFFFFF" d="M714.748,480.748c0-4.922,0.923-8.287,2.769-10.1c1.846-1.812,5.4-2.717,10.664-2.717h39.888
|
||||||
|
c5.263,0,8.818,0.905,10.664,2.717c1.846,1.813,2.769,5.178,2.769,10.1v28.558c0,4.956-0.923,8.331-2.769,10.126
|
||||||
|
c-1.846,1.794-5.401,2.691-10.664,2.691h-5.845l6.819,13.945h-12.51l-6.102-13.945h-22.251c-5.264,0-8.818-0.897-10.664-2.691
|
||||||
|
c-1.846-1.795-2.769-5.17-2.769-10.126V480.748z M727.36,511.92h18.56l-5.024-11.74l9.126-3.691l7.332,15.432h11.586v-34.299
|
||||||
|
H727.36V511.92z"/>
|
||||||
|
<path fill="#FFFFFF" d="M820.67,467.932v43.988h35.939v-43.988h12.562v41.374c0,4.956-0.923,8.331-2.769,10.126
|
||||||
|
c-1.846,1.794-5.401,2.691-10.664,2.691H821.49c-5.229,0-8.776-0.897-10.639-2.691c-1.863-1.795-2.794-5.17-2.794-10.126v-41.374
|
||||||
|
H820.67z"/>
|
||||||
|
<path fill="#FFFFFF" d="M884.244,522.123l30.659-54.191h12.151l31.068,54.191h-14.15l-6.511-11.844h-34.351l-6.307,11.844H884.244
|
||||||
|
z M908.494,500.487h23.738l-11.689-22.046L908.494,500.487z"/>
|
||||||
|
<path fill="#FFFFFF" d="M975.556,522.123v-54.191h34.863c9.946,0,17.594,2.324,22.943,6.973
|
||||||
|
c5.349,4.648,8.023,11.245,8.023,19.789c0,5.06-1.043,9.613-3.128,13.664c-2.085,4.05-5.023,7.237-8.818,9.562
|
||||||
|
c-2.357,1.47-5.289,2.538-8.792,3.204c-3.504,0.667-7.99,1-13.458,1H975.556z M988.168,511.92h16.304
|
||||||
|
c8.682,0,14.834-1.35,18.457-4.05c3.622-2.699,5.435-7.16,5.435-13.382c0-5.537-1.505-9.731-4.512-12.586
|
||||||
|
c-3.008-2.854-7.452-4.281-13.33-4.281h-22.354V511.92z"/>
|
||||||
|
<path fill="#FFFFFF" d="M1064.509,522.123v-54.191h46.348c4.307,0,7.425,0.829,9.356,2.486c1.931,1.658,2.896,4.332,2.896,8.023
|
||||||
|
v12.715c0,3.658-0.966,6.324-2.896,7.998c-1.932,1.675-5.05,2.512-9.356,2.512h-7.075l25.02,20.457h-18.098l-21.842-20.457
|
||||||
|
h-11.945v20.457H1064.509z M1105.268,477.313h-28.352v15.073h28.352c2.188,0,3.683-0.315,4.486-0.948
|
||||||
|
c0.803-0.632,1.205-1.751,1.205-3.358v-6.512c0-1.571-0.402-2.674-1.205-3.307C1108.95,477.63,1107.455,477.313,1105.268,477.313z
|
||||||
|
"/>
|
||||||
|
<path fill="#FFFFFF" d="M1134.594,522.123l30.659-54.191h12.151l31.068,54.191h-14.15l-6.511-11.844h-34.351l-6.307,11.844
|
||||||
|
H1134.594z M1158.844,500.487h23.738l-11.689-22.046L1158.844,500.487z"/>
|
||||||
|
<path fill="#FFFFFF" d="M1244.003,477.621v44.502h-12.612v-44.502h-24.865v-9.689h62.445v9.689H1244.003z"/>
|
||||||
|
<path fill="#FFFFFF" d="M71.188,626.523l-17.29-44.902h10.79l11.385,30.119l11.937-30.119h7.307l12.149,30.119l10.875-30.119
|
||||||
|
h9.346l-17.332,44.902h-7.052l-12.362-31.053l-12.532,31.053H71.188z"/>
|
||||||
|
<path fill="#FFFFFF" d="M151.73,626.523l-17.29-44.902h10.79l11.385,30.119l11.937-30.119h7.307l12.149,30.119l10.875-30.119
|
||||||
|
h9.346l-17.332,44.902h-7.052l-12.362-31.053l-12.532,31.053H151.73z"/>
|
||||||
|
<path fill="#FFFFFF" d="M232.273,626.523l-17.29-44.902h10.79l11.385,30.119l11.937-30.119h7.307l12.149,30.119l10.875-30.119
|
||||||
|
h9.346l-17.332,44.902h-7.052l-12.362-31.053l-12.532,31.053H232.273z"/>
|
||||||
|
<path fill="#FFFFFF" d="M303.301,613.057h1.572c0.765,0,1.302,0.22,1.614,0.659c0.312,0.439,0.467,1.281,0.467,2.527v7.052
|
||||||
|
c0,1.359-0.17,2.237-0.51,2.634s-1.388,0.595-3.144,0.595h-7.774c-0.765,0-1.303-0.227-1.614-0.68
|
||||||
|
c-0.312-0.453-0.467-1.303-0.467-2.549v-7.052c0-1.331,0.17-2.194,0.51-2.591s1.387-0.596,3.144-0.596H303.301z"/>
|
||||||
|
<path fill="#FFFFFF" d="M363.75,589.65h-28.165v28.42h28.165v-9.644l10.45,2.167v5.31c0,4.106-0.772,6.903-2.315,8.39
|
||||||
|
c-1.544,1.487-4.482,2.23-8.815,2.23h-26.805c-4.361,0-7.307-0.743-8.836-2.23c-1.529-1.486-2.294-4.283-2.294-8.39v-23.661
|
||||||
|
c0-4.078,0.765-6.868,2.294-8.369s4.475-2.252,8.836-2.252h26.805c4.333,0,7.271,0.751,8.815,2.252
|
||||||
|
c1.543,1.501,2.315,4.291,2.315,8.369v4.248l-10.45,1.656V589.65z"/>
|
||||||
|
<path fill="#FFFFFF" d="M433.418,589.65h-28.165v28.42h28.165v-9.644l10.45,2.167v5.31c0,4.106-0.772,6.903-2.315,8.39
|
||||||
|
c-1.544,1.487-4.482,2.23-8.815,2.23h-26.805c-4.361,0-7.307-0.743-8.836-2.23c-1.529-1.486-2.294-4.283-2.294-8.39v-23.661
|
||||||
|
c0-4.078,0.765-6.868,2.294-8.369s4.475-2.252,8.836-2.252h26.805c4.333,0,7.271,0.751,8.815,2.252
|
||||||
|
c1.543,1.501,2.315,4.291,2.315,8.369v4.248l-10.45,1.656V589.65z"/>
|
||||||
|
<path fill="#FFFFFF" d="M503.086,589.65h-28.165v28.42h28.165v-9.644l10.45,2.167v5.31c0,4.106-0.772,6.903-2.315,8.39
|
||||||
|
c-1.544,1.487-4.482,2.23-8.815,2.23h-26.805c-4.361,0-7.307-0.743-8.836-2.23c-1.529-1.486-2.294-4.283-2.294-8.39v-23.661
|
||||||
|
c0-4.078,0.765-6.868,2.294-8.369s4.475-2.252,8.836-2.252h26.805c4.333,0,7.271,0.751,8.815,2.252
|
||||||
|
c1.543,1.501,2.315,4.291,2.315,8.369v4.248l-10.45,1.656V589.65z"/>
|
||||||
|
<path fill="#FFFFFF" d="M527.768,607.832v-8.963h20.263v8.963H527.768z"/>
|
||||||
|
<path fill="#FFFFFF" d="M563.706,626.523v-44.902h8.454l21.155,27.146l20.688-27.146h8.369v44.902h-9.686v-27.74
|
||||||
|
c0-0.537,0.035-1.217,0.106-2.039c0.071-0.82,0.163-1.741,0.276-2.761c-0.567,1.161-1.062,2.117-1.487,2.867
|
||||||
|
c-0.425,0.751-0.807,1.367-1.147,1.849l-16.865,22.43h-2.082l-16.907-22.516c-0.623-0.85-1.154-1.649-1.593-2.399
|
||||||
|
c-0.439-0.75-0.801-1.479-1.083-2.188c0.085,0.936,0.149,1.785,0.191,2.549c0.043,0.766,0.064,1.502,0.064,2.209v27.74H563.706z"
|
||||||
|
/>
|
||||||
|
<path fill="#FFFFFF" d="M635.753,626.523l25.403-44.902h10.068l25.742,44.902h-11.725l-5.395-9.813h-28.462l-5.225,9.813H635.753z
|
||||||
|
M655.846,608.597h19.668l-9.686-18.267L655.846,608.597z"/>
|
||||||
|
<path fill="#FFFFFF" d="M711.326,626.523v-44.902h7.137l31.605,26.466c1.076,0.878,2.024,1.706,2.846,2.485s1.572,1.579,2.252,2.4
|
||||||
|
c-0.17-2.521-0.283-4.305-0.34-5.354c-0.057-1.047-0.085-1.854-0.085-2.421v-23.577h9.388v44.902h-7.137l-32.965-27.74
|
||||||
|
c-0.793-0.707-1.486-1.345-2.081-1.911s-1.147-1.147-1.657-1.741c0.142,1.388,0.248,2.697,0.319,3.929
|
||||||
|
c0.07,1.232,0.106,2.302,0.106,3.208v24.256H711.326z"/>
|
||||||
|
<path fill="#FFFFFF" d="M786.941,626.523v-44.902h7.137l31.605,26.466c1.076,0.878,2.024,1.706,2.846,2.485s1.572,1.579,2.252,2.4
|
||||||
|
c-0.17-2.521-0.283-4.305-0.34-5.354c-0.057-1.047-0.085-1.854-0.085-2.421v-23.577h9.388v44.902h-7.137l-32.965-27.74
|
||||||
|
c-0.793-0.707-1.486-1.345-2.081-1.911s-1.147-1.147-1.657-1.741c0.142,1.388,0.248,2.697,0.319,3.929
|
||||||
|
c0.07,1.232,0.106,2.302,0.106,3.208v24.256H786.941z"/>
|
||||||
|
<path fill="#FFFFFF" d="M862.642,626.523v-44.902h10.45v17.418h32.625v-17.418h10.535v44.902h-10.535v-19.328h-32.625v19.328
|
||||||
|
H862.642z"/>
|
||||||
|
<path fill="#FFFFFF" d="M939.19,626.523v-44.902h45.964v7.646h-35.514v10.025h20.73v7.646h-20.73v11.131h35.938v8.453H939.19z"/>
|
||||||
|
<path fill="#FFFFFF" d="M1004.866,626.523v-44.902h10.45v44.902H1004.866z"/>
|
||||||
|
<path fill="#FFFFFF" d="M1038.17,626.523v-44.902h8.453l21.156,27.146l20.688-27.146h8.369v44.902h-9.686v-27.74
|
||||||
|
c0-0.537,0.035-1.217,0.105-2.039c0.07-0.82,0.163-1.741,0.276-2.761c-0.566,1.161-1.062,2.117-1.487,2.867
|
||||||
|
c-0.424,0.751-0.807,1.367-1.146,1.849l-16.865,22.43h-2.081l-16.907-22.516c-0.623-0.85-1.154-1.649-1.593-2.399
|
||||||
|
c-0.439-0.75-0.801-1.479-1.083-2.188c0.084,0.936,0.148,1.785,0.19,2.549c0.043,0.766,0.063,1.502,0.063,2.209v27.74H1038.17z"/>
|
||||||
|
<path fill="#FFFFFF" d="M1124.83,613.057h1.572c0.764,0,1.302,0.22,1.613,0.659s0.468,1.281,0.468,2.527v7.052
|
||||||
|
c0,1.359-0.17,2.237-0.51,2.634s-1.388,0.595-3.144,0.595h-7.773c-0.766,0-1.304-0.227-1.615-0.68s-0.467-1.303-0.467-2.549
|
||||||
|
v-7.052c0-1.331,0.17-2.194,0.51-2.591s1.388-0.596,3.144-0.596H1124.83z"/>
|
||||||
|
<path fill="#FFFFFF" d="M1147.601,626.523v-44.902h28.887c8.241,0,14.577,1.927,19.01,5.777c4.433,3.853,6.648,9.318,6.648,16.398
|
||||||
|
c0,4.191-0.864,7.965-2.591,11.32c-1.729,3.356-4.164,5.997-7.307,7.923c-1.955,1.218-4.383,2.103-7.286,2.655
|
||||||
|
c-2.903,0.552-6.62,0.828-11.151,0.828H1147.601z M1158.051,618.07h13.509c7.193,0,12.291-1.119,15.293-3.356
|
||||||
|
s4.503-5.933,4.503-11.087c0-4.588-1.246-8.064-3.738-10.43c-2.492-2.364-6.174-3.547-11.045-3.547h-18.521V618.07z"/>
|
||||||
|
<path fill="#FFFFFF" d="M1221.304,626.523v-44.902h45.964v7.646h-35.514v10.025h20.73v7.646h-20.73v11.131h35.938v8.453H1221.304z
|
||||||
|
"/>
|
||||||
|
</g>
|
||||||
|
<g>
|
||||||
|
<polygon fill="#FFFFFF" points="1050.25,150.292 1050.25,100.292 1000.25,100.292 1000.25,49.792 799.75,49.792 799.75,100.25
|
||||||
|
749.75,100.25 749.75,349.791 799.75,349.791 799.75,400.292 1000.25,400.292 1000.25,349.791 1050.25,349.791 1050.25,300.292
|
||||||
|
950.25,300.292 950.25,349.791 849.75,349.791 849.75,100.292 950.25,100.292 950.25,150.292 "/>
|
||||||
|
</g>
|
||||||
|
<g>
|
||||||
|
<path fill="#FFFFFF" d="M1100.25,49.792v174.75h175V49.792H1100.25z M1251,124.042h-24.75v25h-50.75v24.75h75.5v25.125h-125.75
|
||||||
|
v-25.125h25.25v-24.75h25v-25h50.75v-25h-75.75v25h-25.25v-25h25.25v-25.25h75.75v25.25H1251V124.042z"/>
|
||||||
|
</g>
|
||||||
|
<g>
|
||||||
|
<polygon fill="#FFFFFF" points="700.25,150.292 700.25,100.292 650.25,100.292 650.25,49.792 449.75,49.792 449.75,100.25
|
||||||
|
399.75,100.25 399.75,349.791 449.75,349.791 449.75,400.292 650.25,400.292 650.25,349.791 700.25,349.791 700.25,300.292
|
||||||
|
600.25,300.292 600.25,349.791 499.75,349.791 499.75,100.292 600.25,100.292 600.25,150.292 "/>
|
||||||
|
</g>
|
||||||
|
<g>
|
||||||
|
<polygon fill="#FFFFFF" points="350.25,150.292 350.25,100.292 300.25,100.292 300.25,49.792 99.75,49.792 99.75,100.25
|
||||||
|
49.75,100.25 49.75,349.791 99.75,349.791 99.75,400.292 300.25,400.292 300.25,349.791 350.25,349.791 350.25,300.292
|
||||||
|
250.25,300.292 250.25,349.791 149.75,349.791 149.75,100.292 250.25,100.292 250.25,150.292 "/>
|
||||||
|
</g>
|
||||||
|
</g>
|
||||||
|
</svg>
|
After Width: | Height: | Size: 12 KiB |
9
battery_board/battery_board/kicad-stuff/DW01.dcm
Normal file
9
battery_board/battery_board/kicad-stuff/DW01.dcm
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
EESchema-DOCLIB Version 2.0
|
||||||
|
#
|
||||||
|
$CMP CN61CN33
|
||||||
|
D Microprocessor Reset (active-low) Circuit, SOT-23
|
||||||
|
K reset supervisor
|
||||||
|
F http://www.ti.com/lit/ds/symlink/lm809.pdf
|
||||||
|
$ENDCMP
|
||||||
|
#
|
||||||
|
#End Doc Library
|
186
battery_board/battery_board/kicad-stuff/DW01.kicad_sym
Normal file
186
battery_board/battery_board/kicad-stuff/DW01.kicad_sym
Normal file
@ -0,0 +1,186 @@
|
|||||||
|
(kicad_symbol_lib (version 20220914) (generator kicad_symbol_editor)
|
||||||
|
(symbol "CN61CN33" (in_bom yes) (on_board yes)
|
||||||
|
(property "Reference" "U" (at 2.54 12.7 0)
|
||||||
|
(effects (font (size 1.27 1.27)))
|
||||||
|
)
|
||||||
|
(property "Value" "CN61CN33" (at 5.08 10.16 0)
|
||||||
|
(effects (font (size 1.27 1.27)))
|
||||||
|
)
|
||||||
|
(property "Footprint" "Package_TO_SOT_SMD:SOT-23" (at 7.62 2.54 0)
|
||||||
|
(effects (font (size 1.27 1.27)) hide)
|
||||||
|
)
|
||||||
|
(property "Datasheet" "http://www.ti.com/lit/ds/symlink/lm809.pdf" (at 7.62 2.54 0)
|
||||||
|
(effects (font (size 1.27 1.27)) hide)
|
||||||
|
)
|
||||||
|
(property "ki_keywords" "reset supervisor" (at 0 0 0)
|
||||||
|
(effects (font (size 1.27 1.27)) hide)
|
||||||
|
)
|
||||||
|
(property "ki_description" "Microprocessor Reset (active-low) Circuit, SOT-23" (at 0 0 0)
|
||||||
|
(effects (font (size 1.27 1.27)) hide)
|
||||||
|
)
|
||||||
|
(property "ki_fp_filters" "SOT?23*" (at 0 0 0)
|
||||||
|
(effects (font (size 1.27 1.27)) hide)
|
||||||
|
)
|
||||||
|
(symbol "CN61CN33_0_1"
|
||||||
|
(rectangle (start 5.08 7.62) (end -5.08 -7.62)
|
||||||
|
(stroke (width 0.254) (type solid))
|
||||||
|
(fill (type background))
|
||||||
|
)
|
||||||
|
)
|
||||||
|
(symbol "CN61CN33_1_1"
|
||||||
|
(pin output line (at 0 -10.16 90) (length 2.54)
|
||||||
|
(name "RESET" (effects (font (size 1.27 1.27))))
|
||||||
|
(number "1" (effects (font (size 1.27 1.27))))
|
||||||
|
)
|
||||||
|
(pin power_in line (at 7.62 0 180) (length 2.54)
|
||||||
|
(name "GND" (effects (font (size 1.27 1.27))))
|
||||||
|
(number "2" (effects (font (size 1.27 1.27))))
|
||||||
|
)
|
||||||
|
(pin power_in line (at 0 10.16 270) (length 2.54)
|
||||||
|
(name "VCC" (effects (font (size 1.27 1.27))))
|
||||||
|
(number "3" (effects (font (size 1.27 1.27))))
|
||||||
|
)
|
||||||
|
)
|
||||||
|
)
|
||||||
|
(symbol "DS2438" (pin_names (offset 1.016)) (in_bom yes) (on_board yes)
|
||||||
|
(property "Reference" "U" (at 0 0 0)
|
||||||
|
(effects (font (size 1.27 1.27)))
|
||||||
|
)
|
||||||
|
(property "Value" "DS2438" (at 0 0 0)
|
||||||
|
(effects (font (size 1.27 1.27)))
|
||||||
|
)
|
||||||
|
(property "Footprint" "" (at 0 0 0)
|
||||||
|
(effects (font (size 1.27 1.27)) hide)
|
||||||
|
)
|
||||||
|
(property "Datasheet" "" (at 0 0 0)
|
||||||
|
(effects (font (size 1.27 1.27)) hide)
|
||||||
|
)
|
||||||
|
(symbol "DS2438_0_1"
|
||||||
|
(rectangle (start -11.43 -2.54) (end 12.7 -30.48)
|
||||||
|
(stroke (width 0) (type solid))
|
||||||
|
(fill (type background))
|
||||||
|
)
|
||||||
|
)
|
||||||
|
(symbol "DS2438_1_1"
|
||||||
|
(pin power_in line (at -13.97 -6.35 0) (length 2.54)
|
||||||
|
(name "GND" (effects (font (size 1.27 1.27))))
|
||||||
|
(number "1" (effects (font (size 1.27 1.27))))
|
||||||
|
)
|
||||||
|
(pin unspecified line (at -13.97 -12.7 0) (length 2.54)
|
||||||
|
(name "Vsens+" (effects (font (size 1.27 1.27))))
|
||||||
|
(number "2" (effects (font (size 1.27 1.27))))
|
||||||
|
)
|
||||||
|
(pin unspecified line (at -13.97 -19.05 0) (length 2.54)
|
||||||
|
(name "Vsense-" (effects (font (size 1.27 1.27))))
|
||||||
|
(number "3" (effects (font (size 1.27 1.27))))
|
||||||
|
)
|
||||||
|
(pin input line (at -13.97 -25.4 0) (length 2.54)
|
||||||
|
(name "Vad" (effects (font (size 1.27 1.27))))
|
||||||
|
(number "4" (effects (font (size 1.27 1.27))))
|
||||||
|
)
|
||||||
|
(pin power_in line (at 15.24 -25.4 180) (length 2.54)
|
||||||
|
(name "Vdd" (effects (font (size 1.27 1.27))))
|
||||||
|
(number "5" (effects (font (size 1.27 1.27))))
|
||||||
|
)
|
||||||
|
(pin unspecified line (at 15.24 -19.05 180) (length 2.54)
|
||||||
|
(name "NC" (effects (font (size 1.27 1.27))))
|
||||||
|
(number "6" (effects (font (size 1.27 1.27))))
|
||||||
|
)
|
||||||
|
(pin unspecified line (at 15.24 -12.7 180) (length 2.54)
|
||||||
|
(name "NC" (effects (font (size 1.27 1.27))))
|
||||||
|
(number "7" (effects (font (size 1.27 1.27))))
|
||||||
|
)
|
||||||
|
(pin bidirectional line (at 15.24 -6.35 180) (length 2.54)
|
||||||
|
(name "DQ" (effects (font (size 1.27 1.27))))
|
||||||
|
(number "8" (effects (font (size 1.27 1.27))))
|
||||||
|
)
|
||||||
|
)
|
||||||
|
)
|
||||||
|
(symbol "DW01" (pin_names (offset 1.016)) (in_bom yes) (on_board yes)
|
||||||
|
(property "Reference" "IC" (at 21.59 7.62 0)
|
||||||
|
(effects (font (size 1.27 1.27)) (justify left bottom))
|
||||||
|
)
|
||||||
|
(property "Value" "DW01" (at 21.59 5.08 0)
|
||||||
|
(effects (font (size 1.27 1.27)) (justify left bottom))
|
||||||
|
)
|
||||||
|
(property "Footprint" "SOT95P280X135-6N" (at 0 0 0)
|
||||||
|
(effects (font (size 1.27 1.27)) (justify left bottom) hide)
|
||||||
|
)
|
||||||
|
(property "Datasheet" "" (at 0 0 0)
|
||||||
|
(effects (font (size 1.27 1.27)) (justify left bottom) hide)
|
||||||
|
)
|
||||||
|
(property "HEIGHT" "1.35mm" (at 0 0 0)
|
||||||
|
(effects (font (size 1.27 1.27)) (justify left bottom) hide)
|
||||||
|
)
|
||||||
|
(property "DESCRIPTION" "ic" (at 0 0 0)
|
||||||
|
(effects (font (size 1.27 1.27)) (justify left bottom) hide)
|
||||||
|
)
|
||||||
|
(property "MANUFACTURER_PART_NUMBER" "DW01" (at 0 0 0)
|
||||||
|
(effects (font (size 1.27 1.27)) (justify left bottom) hide)
|
||||||
|
)
|
||||||
|
(property "MANUFACTURER_NAME" "Slkor" (at 0 0 0)
|
||||||
|
(effects (font (size 1.27 1.27)) (justify left bottom) hide)
|
||||||
|
)
|
||||||
|
(property "ki_locked" "" (at 0 0 0)
|
||||||
|
(effects (font (size 1.27 1.27)))
|
||||||
|
)
|
||||||
|
(symbol "DW01_0_0"
|
||||||
|
(polyline
|
||||||
|
(pts
|
||||||
|
(xy 5.08 2.54)
|
||||||
|
(xy 5.08 -7.62)
|
||||||
|
)
|
||||||
|
(stroke (width 0.254) (type solid))
|
||||||
|
(fill (type none))
|
||||||
|
)
|
||||||
|
(polyline
|
||||||
|
(pts
|
||||||
|
(xy 5.08 2.54)
|
||||||
|
(xy 20.32 2.54)
|
||||||
|
)
|
||||||
|
(stroke (width 0.254) (type solid))
|
||||||
|
(fill (type none))
|
||||||
|
)
|
||||||
|
(polyline
|
||||||
|
(pts
|
||||||
|
(xy 20.32 -7.62)
|
||||||
|
(xy 5.08 -7.62)
|
||||||
|
)
|
||||||
|
(stroke (width 0.254) (type solid))
|
||||||
|
(fill (type none))
|
||||||
|
)
|
||||||
|
(polyline
|
||||||
|
(pts
|
||||||
|
(xy 20.32 -7.62)
|
||||||
|
(xy 20.32 2.54)
|
||||||
|
)
|
||||||
|
(stroke (width 0.254) (type solid))
|
||||||
|
(fill (type none))
|
||||||
|
)
|
||||||
|
(pin bidirectional line (at 0 0 0) (length 5.08)
|
||||||
|
(name "OD" (effects (font (size 1.016 1.016))))
|
||||||
|
(number "1" (effects (font (size 1.016 1.016))))
|
||||||
|
)
|
||||||
|
(pin bidirectional line (at 0 -2.54 0) (length 5.08)
|
||||||
|
(name "CSI" (effects (font (size 1.016 1.016))))
|
||||||
|
(number "2" (effects (font (size 1.016 1.016))))
|
||||||
|
)
|
||||||
|
(pin bidirectional line (at 0 -5.08 0) (length 5.08)
|
||||||
|
(name "OC" (effects (font (size 1.016 1.016))))
|
||||||
|
(number "3" (effects (font (size 1.016 1.016))))
|
||||||
|
)
|
||||||
|
(pin bidirectional line (at 25.4 -5.08 180) (length 5.08)
|
||||||
|
(name "TD" (effects (font (size 1.016 1.016))))
|
||||||
|
(number "4" (effects (font (size 1.016 1.016))))
|
||||||
|
)
|
||||||
|
(pin bidirectional line (at 25.4 -2.54 180) (length 5.08)
|
||||||
|
(name "VDD" (effects (font (size 1.016 1.016))))
|
||||||
|
(number "5" (effects (font (size 1.016 1.016))))
|
||||||
|
)
|
||||||
|
(pin bidirectional line (at 25.4 0 180) (length 5.08)
|
||||||
|
(name "VSS" (effects (font (size 1.016 1.016))))
|
||||||
|
(number "6" (effects (font (size 1.016 1.016))))
|
||||||
|
)
|
||||||
|
)
|
||||||
|
)
|
||||||
|
)
|
67
battery_board/battery_board/kicad-stuff/DW01.lib
Normal file
67
battery_board/battery_board/kicad-stuff/DW01.lib
Normal file
@ -0,0 +1,67 @@
|
|||||||
|
EESchema-LIBRARY Version 2.4
|
||||||
|
#encoding utf-8
|
||||||
|
#
|
||||||
|
# CN61CN33
|
||||||
|
#
|
||||||
|
DEF CN61CN33 U 0 20 Y Y 1 F N
|
||||||
|
F0 "U" 100 500 50 H V C CNN
|
||||||
|
F1 "CN61CN33" 200 400 50 H V C CNN
|
||||||
|
F2 "Package_TO_SOT_SMD:SOT-23" 300 100 50 H I C CNN
|
||||||
|
F3 "" 300 100 50 H I C CNN
|
||||||
|
$FPLIST
|
||||||
|
SOT?23*
|
||||||
|
$ENDFPLIST
|
||||||
|
DRAW
|
||||||
|
S 200 300 -200 -300 0 1 10 f
|
||||||
|
X RESET 1 0 -400 100 U 50 50 1 1 O
|
||||||
|
X GND 2 300 0 100 L 50 50 1 1 W
|
||||||
|
X VCC 3 0 400 100 D 50 50 1 1 W
|
||||||
|
ENDDRAW
|
||||||
|
ENDDEF
|
||||||
|
#
|
||||||
|
# DS2438
|
||||||
|
#
|
||||||
|
DEF DS2438 U 0 40 Y Y 1 F N
|
||||||
|
F0 "U" 0 0 50 H V C CNN
|
||||||
|
F1 "DS2438" 0 0 50 H V C CNN
|
||||||
|
F2 "" 0 0 50 H I C CNN
|
||||||
|
F3 "" 0 0 50 H I C CNN
|
||||||
|
DRAW
|
||||||
|
S -450 -100 500 -1200 0 1 0 f
|
||||||
|
X GND 1 -550 -250 100 R 50 50 1 1 W
|
||||||
|
X Vsens+ 2 -550 -500 100 R 50 50 1 1 U
|
||||||
|
X Vsense- 3 -550 -750 100 R 50 50 1 1 U
|
||||||
|
X Vad 4 -550 -1000 100 R 50 50 1 1 I
|
||||||
|
X Vdd 5 600 -1000 100 L 50 50 1 1 W
|
||||||
|
X NC 6 600 -750 100 L 50 50 1 1 U
|
||||||
|
X NC 7 600 -500 100 L 50 50 1 1 U
|
||||||
|
X DQ 8 600 -250 100 L 50 50 1 1 B
|
||||||
|
ENDDRAW
|
||||||
|
ENDDEF
|
||||||
|
#
|
||||||
|
# DW01
|
||||||
|
#
|
||||||
|
DEF DW01 IC 0 40 Y Y 1 L N
|
||||||
|
F0 "IC" 850 300 50 H V L BNN
|
||||||
|
F1 "DW01" 850 200 50 H V L BNN
|
||||||
|
F2 "SOT95P280X135-6N" 0 0 50 H I L BNN
|
||||||
|
F3 "" 0 0 50 H I L BNN
|
||||||
|
F4 "1.35mm" 0 0 50 H I L BNN "HEIGHT"
|
||||||
|
F5 "ic" 0 0 50 H I L BNN "DESCRIPTION"
|
||||||
|
F6 "DW01" 0 0 50 H I L BNN "MANUFACTURER_PART_NUMBER"
|
||||||
|
F7 "Slkor" 0 0 50 H I L BNN "MANUFACTURER_NAME"
|
||||||
|
DRAW
|
||||||
|
P 2 0 0 10 200 100 200 -300 N
|
||||||
|
P 2 0 0 10 200 100 800 100 N
|
||||||
|
P 2 0 0 10 800 -300 200 -300 N
|
||||||
|
P 2 0 0 10 800 -300 800 100 N
|
||||||
|
X OD 1 0 0 200 R 40 40 0 0 B
|
||||||
|
X CSI 2 0 -100 200 R 40 40 0 0 B
|
||||||
|
X OC 3 0 -200 200 R 40 40 0 0 B
|
||||||
|
X TD 4 1000 -200 200 L 40 40 0 0 B
|
||||||
|
X VDD 5 1000 -100 200 L 40 40 0 0 B
|
||||||
|
X VSS 6 1000 0 200 L 40 40 0 0 B
|
||||||
|
ENDDRAW
|
||||||
|
ENDDEF
|
||||||
|
#
|
||||||
|
#End Library
|
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,154 @@
|
|||||||
|
|
||||||
|
(module DPAK457P991X255-3N (layer F.Cu) (tedit 5F5CEF39)
|
||||||
|
(descr "")
|
||||||
|
(fp_text reference REF** (at -2.825 -4.635 0) (layer F.SilkS)
|
||||||
|
(effects (font (size 1.0 1.0) (thickness 0.015)))
|
||||||
|
)
|
||||||
|
(fp_text value DPAK457P991X255-3N (at 5.43 5.365 0) (layer F.Fab)
|
||||||
|
(effects (font (size 1.0 1.0) (thickness 0.015)))
|
||||||
|
)
|
||||||
|
(fp_poly
|
||||||
|
(pts
|
||||||
|
(xy -0.265 -2.555)
|
||||||
|
(xy 0.855 -2.555)
|
||||||
|
(xy 0.855 -1.405)
|
||||||
|
(xy -0.265 -1.405)
|
||||||
|
) (layer F.Paste) (width 0.01)
|
||||||
|
)
|
||||||
|
(fp_poly
|
||||||
|
(pts
|
||||||
|
(xy 1.085 -2.555)
|
||||||
|
(xy 2.205 -2.555)
|
||||||
|
(xy 2.205 -1.405)
|
||||||
|
(xy 1.085 -1.405)
|
||||||
|
) (layer F.Paste) (width 0.01)
|
||||||
|
)
|
||||||
|
(fp_poly
|
||||||
|
(pts
|
||||||
|
(xy 2.435 -2.555)
|
||||||
|
(xy 3.555 -2.555)
|
||||||
|
(xy 3.555 -1.405)
|
||||||
|
(xy 2.435 -1.405)
|
||||||
|
) (layer F.Paste) (width 0.01)
|
||||||
|
)
|
||||||
|
(fp_poly
|
||||||
|
(pts
|
||||||
|
(xy 3.785 -2.555)
|
||||||
|
(xy 4.905 -2.555)
|
||||||
|
(xy 4.905 -1.405)
|
||||||
|
(xy 3.785 -1.405)
|
||||||
|
) (layer F.Paste) (width 0.01)
|
||||||
|
)
|
||||||
|
(fp_poly
|
||||||
|
(pts
|
||||||
|
(xy 3.785 -1.235)
|
||||||
|
(xy 4.905 -1.235)
|
||||||
|
(xy 4.905 -0.085)
|
||||||
|
(xy 3.785 -0.085)
|
||||||
|
) (layer F.Paste) (width 0.01)
|
||||||
|
)
|
||||||
|
(fp_poly
|
||||||
|
(pts
|
||||||
|
(xy 3.785 0.085)
|
||||||
|
(xy 4.905 0.085)
|
||||||
|
(xy 4.905 1.235)
|
||||||
|
(xy 3.785 1.235)
|
||||||
|
) (layer F.Paste) (width 0.01)
|
||||||
|
)
|
||||||
|
(fp_poly
|
||||||
|
(pts
|
||||||
|
(xy 3.785 1.405)
|
||||||
|
(xy 4.905 1.405)
|
||||||
|
(xy 4.905 2.555)
|
||||||
|
(xy 3.785 2.555)
|
||||||
|
) (layer F.Paste) (width 0.01)
|
||||||
|
)
|
||||||
|
(fp_poly
|
||||||
|
(pts
|
||||||
|
(xy 2.435 -1.235)
|
||||||
|
(xy 3.555 -1.235)
|
||||||
|
(xy 3.555 -0.085)
|
||||||
|
(xy 2.435 -0.085)
|
||||||
|
) (layer F.Paste) (width 0.01)
|
||||||
|
)
|
||||||
|
(fp_poly
|
||||||
|
(pts
|
||||||
|
(xy 2.435 0.085)
|
||||||
|
(xy 3.555 0.085)
|
||||||
|
(xy 3.555 1.235)
|
||||||
|
(xy 2.435 1.235)
|
||||||
|
) (layer F.Paste) (width 0.01)
|
||||||
|
)
|
||||||
|
(fp_poly
|
||||||
|
(pts
|
||||||
|
(xy 2.435 1.405)
|
||||||
|
(xy 3.555 1.405)
|
||||||
|
(xy 3.555 2.555)
|
||||||
|
(xy 2.435 2.555)
|
||||||
|
) (layer F.Paste) (width 0.01)
|
||||||
|
)
|
||||||
|
(fp_poly
|
||||||
|
(pts
|
||||||
|
(xy 1.085 -1.235)
|
||||||
|
(xy 2.205 -1.235)
|
||||||
|
(xy 2.205 -0.085)
|
||||||
|
(xy 1.085 -0.085)
|
||||||
|
) (layer F.Paste) (width 0.01)
|
||||||
|
)
|
||||||
|
(fp_poly
|
||||||
|
(pts
|
||||||
|
(xy 1.085 0.085)
|
||||||
|
(xy 2.205 0.085)
|
||||||
|
(xy 2.205 1.235)
|
||||||
|
(xy 1.085 1.235)
|
||||||
|
) (layer F.Paste) (width 0.01)
|
||||||
|
)
|
||||||
|
(fp_poly
|
||||||
|
(pts
|
||||||
|
(xy 1.085 1.405)
|
||||||
|
(xy 2.205 1.405)
|
||||||
|
(xy 2.205 2.555)
|
||||||
|
(xy 1.085 2.555)
|
||||||
|
) (layer F.Paste) (width 0.01)
|
||||||
|
)
|
||||||
|
(fp_poly
|
||||||
|
(pts
|
||||||
|
(xy -0.265 -1.235)
|
||||||
|
(xy 0.855 -1.235)
|
||||||
|
(xy 0.855 -0.085)
|
||||||
|
(xy -0.265 -0.085)
|
||||||
|
) (layer F.Paste) (width 0.01)
|
||||||
|
)
|
||||||
|
(fp_poly
|
||||||
|
(pts
|
||||||
|
(xy -0.265 0.085)
|
||||||
|
(xy 0.855 0.085)
|
||||||
|
(xy 0.855 1.235)
|
||||||
|
(xy -0.265 1.235)
|
||||||
|
) (layer F.Paste) (width 0.01)
|
||||||
|
)
|
||||||
|
(fp_poly
|
||||||
|
(pts
|
||||||
|
(xy -0.265 1.405)
|
||||||
|
(xy 0.855 1.405)
|
||||||
|
(xy 0.855 2.555)
|
||||||
|
(xy -0.265 2.555)
|
||||||
|
) (layer F.Paste) (width 0.01)
|
||||||
|
)
|
||||||
|
(fp_line (start 3.875 -3.365) (end -2.345 -3.365) (layer F.SilkS) (width 0.127))
|
||||||
|
(fp_line (start -2.345 -3.365) (end -2.345 3.365) (layer F.SilkS) (width 0.127))
|
||||||
|
(fp_line (start -2.345 3.365) (end 3.875 3.365) (layer F.SilkS) (width 0.127))
|
||||||
|
(fp_line (start 3.875 3.365) (end 3.875 -3.365) (layer F.Fab) (width 0.127))
|
||||||
|
(fp_line (start 3.875 -3.365) (end -2.345 -3.365) (layer F.Fab) (width 0.127))
|
||||||
|
(fp_line (start -2.345 -3.365) (end -2.345 3.365) (layer F.Fab) (width 0.127))
|
||||||
|
(fp_line (start -2.345 3.365) (end 3.875 3.365) (layer F.Fab) (width 0.127))
|
||||||
|
(fp_circle (center -6.015 -2.285) (end -5.915 -2.285) (layer F.SilkS) (width 0.2))
|
||||||
|
(fp_circle (center -6.015 -2.285) (end -5.915 -2.285) (layer F.Fab) (width 0.2))
|
||||||
|
(fp_line (start -5.815 -3.615) (end 5.815 -3.615) (layer F.CrtYd) (width 0.05))
|
||||||
|
(fp_line (start 5.815 -3.615) (end 5.815 3.615) (layer F.CrtYd) (width 0.05))
|
||||||
|
(fp_line (start 5.815 3.615) (end -5.815 3.615) (layer F.CrtYd) (width 0.05))
|
||||||
|
(fp_line (start -5.815 3.615) (end -5.815 -3.615) (layer F.CrtYd) (width 0.05))
|
||||||
|
(pad 1 smd rect (at -4.45 -2.285) (size 2.22 0.96) (layers F.Cu F.Mask F.Paste))
|
||||||
|
(pad 3 smd rect (at -4.45 2.285) (size 2.22 0.96) (layers F.Cu F.Mask F.Paste))
|
||||||
|
(pad 4 smd rect (at 2.32 0.0) (size 6.49 5.63) (layers F.Cu F.Mask))
|
||||||
|
)
|
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,9 @@
|
|||||||
|
EESchema-DOCLIB Version 2.0
|
||||||
|
#
|
||||||
|
$CMP SR04M-2-HeaderConn_01x04_Female
|
||||||
|
D Generic connector, single row, 01x04, script generated (kicad-library-utils/schlib/autogen/connector/)
|
||||||
|
K connector
|
||||||
|
F ~
|
||||||
|
$ENDCMP
|
||||||
|
#
|
||||||
|
#End Doc Library
|
@ -0,0 +1,454 @@
|
|||||||
|
(kicad_symbol_lib (version 20220914) (generator kicad_symbol_editor)
|
||||||
|
(symbol "ESP32-DEVKITC-32D" (pin_names (offset 1.016)) (in_bom yes) (on_board yes)
|
||||||
|
(property "Reference" "U" (at -15.2654 26.0604 0)
|
||||||
|
(effects (font (size 1.27 1.27)) (justify left bottom))
|
||||||
|
)
|
||||||
|
(property "Value" "ESP32-DEVKITC-32D" (at -15.2654 -27.9654 0)
|
||||||
|
(effects (font (size 1.27 1.27)) (justify left bottom))
|
||||||
|
)
|
||||||
|
(property "Footprint" "MODULE_ESP32-DEVKITC-32D" (at 0 0 0)
|
||||||
|
(effects (font (size 1.27 1.27)) (justify left bottom) hide)
|
||||||
|
)
|
||||||
|
(property "Datasheet" "4" (at 0 0 0)
|
||||||
|
(effects (font (size 1.27 1.27)) (justify left bottom) hide)
|
||||||
|
)
|
||||||
|
(property "Field4" "Espressif Systems" (at 0 0 0)
|
||||||
|
(effects (font (size 1.27 1.27)) (justify left bottom) hide)
|
||||||
|
)
|
||||||
|
(property "ki_locked" "" (at 0 0 0)
|
||||||
|
(effects (font (size 1.27 1.27)))
|
||||||
|
)
|
||||||
|
(symbol "ESP32-DEVKITC-32D_0_0"
|
||||||
|
(polyline
|
||||||
|
(pts
|
||||||
|
(xy -15.24 -25.4)
|
||||||
|
(xy -15.24 25.4)
|
||||||
|
)
|
||||||
|
(stroke (width 0.254) (type solid))
|
||||||
|
(fill (type none))
|
||||||
|
)
|
||||||
|
(polyline
|
||||||
|
(pts
|
||||||
|
(xy -15.24 25.4)
|
||||||
|
(xy 15.24 25.4)
|
||||||
|
)
|
||||||
|
(stroke (width 0.254) (type solid))
|
||||||
|
(fill (type none))
|
||||||
|
)
|
||||||
|
(polyline
|
||||||
|
(pts
|
||||||
|
(xy 15.24 -25.4)
|
||||||
|
(xy -15.24 -25.4)
|
||||||
|
)
|
||||||
|
(stroke (width 0.254) (type solid))
|
||||||
|
(fill (type none))
|
||||||
|
)
|
||||||
|
(polyline
|
||||||
|
(pts
|
||||||
|
(xy 15.24 25.4)
|
||||||
|
(xy 15.24 -25.4)
|
||||||
|
)
|
||||||
|
(stroke (width 0.254) (type solid))
|
||||||
|
(fill (type none))
|
||||||
|
)
|
||||||
|
(pin power_in line (at -20.32 22.86 0) (length 5.08)
|
||||||
|
(name "3V3" (effects (font (size 1.016 1.016))))
|
||||||
|
(number "1" (effects (font (size 1.016 1.016))))
|
||||||
|
)
|
||||||
|
(pin bidirectional line (at -20.32 0 0) (length 5.08)
|
||||||
|
(name "IO26" (effects (font (size 1.016 1.016))))
|
||||||
|
(number "10" (effects (font (size 1.016 1.016))))
|
||||||
|
)
|
||||||
|
(pin bidirectional line (at -20.32 -2.54 0) (length 5.08)
|
||||||
|
(name "IO27" (effects (font (size 1.016 1.016))))
|
||||||
|
(number "11" (effects (font (size 1.016 1.016))))
|
||||||
|
)
|
||||||
|
(pin bidirectional line (at -20.32 -5.08 0) (length 5.08)
|
||||||
|
(name "IO14" (effects (font (size 1.016 1.016))))
|
||||||
|
(number "12" (effects (font (size 1.016 1.016))))
|
||||||
|
)
|
||||||
|
(pin bidirectional line (at -20.32 -7.62 0) (length 5.08)
|
||||||
|
(name "IO12" (effects (font (size 1.016 1.016))))
|
||||||
|
(number "13" (effects (font (size 1.016 1.016))))
|
||||||
|
)
|
||||||
|
(pin power_in line (at -20.32 -10.16 0) (length 5.08)
|
||||||
|
(name "GND1" (effects (font (size 1.016 1.016))))
|
||||||
|
(number "14" (effects (font (size 1.016 1.016))))
|
||||||
|
)
|
||||||
|
(pin bidirectional line (at -20.32 -12.7 0) (length 5.08)
|
||||||
|
(name "IO13" (effects (font (size 1.016 1.016))))
|
||||||
|
(number "15" (effects (font (size 1.016 1.016))))
|
||||||
|
)
|
||||||
|
(pin bidirectional line (at -20.32 -15.24 0) (length 5.08)
|
||||||
|
(name "SD2" (effects (font (size 1.016 1.016))))
|
||||||
|
(number "16" (effects (font (size 1.016 1.016))))
|
||||||
|
)
|
||||||
|
(pin bidirectional line (at -20.32 -17.78 0) (length 5.08)
|
||||||
|
(name "SD3" (effects (font (size 1.016 1.016))))
|
||||||
|
(number "17" (effects (font (size 1.016 1.016))))
|
||||||
|
)
|
||||||
|
(pin bidirectional line (at -20.32 -20.32 0) (length 5.08)
|
||||||
|
(name "CMD" (effects (font (size 1.016 1.016))))
|
||||||
|
(number "18" (effects (font (size 1.016 1.016))))
|
||||||
|
)
|
||||||
|
(pin power_in line (at -20.32 -22.86 0) (length 5.08)
|
||||||
|
(name "EXT_5V" (effects (font (size 1.016 1.016))))
|
||||||
|
(number "19" (effects (font (size 1.016 1.016))))
|
||||||
|
)
|
||||||
|
(pin input line (at -20.32 20.32 0) (length 5.08)
|
||||||
|
(name "EN" (effects (font (size 1.016 1.016))))
|
||||||
|
(number "2" (effects (font (size 1.016 1.016))))
|
||||||
|
)
|
||||||
|
(pin power_in line (at 20.32 22.86 180) (length 5.08)
|
||||||
|
(name "GND3" (effects (font (size 1.016 1.016))))
|
||||||
|
(number "20" (effects (font (size 1.016 1.016))))
|
||||||
|
)
|
||||||
|
(pin bidirectional line (at 20.32 20.32 180) (length 5.08)
|
||||||
|
(name "IO23" (effects (font (size 1.016 1.016))))
|
||||||
|
(number "21" (effects (font (size 1.016 1.016))))
|
||||||
|
)
|
||||||
|
(pin bidirectional line (at 20.32 17.78 180) (length 5.08)
|
||||||
|
(name "IO22" (effects (font (size 1.016 1.016))))
|
||||||
|
(number "22" (effects (font (size 1.016 1.016))))
|
||||||
|
)
|
||||||
|
(pin output line (at 20.32 15.24 180) (length 5.08)
|
||||||
|
(name "TXD0" (effects (font (size 1.016 1.016))))
|
||||||
|
(number "23" (effects (font (size 1.016 1.016))))
|
||||||
|
)
|
||||||
|
(pin input line (at 20.32 12.7 180) (length 5.08)
|
||||||
|
(name "RXD0" (effects (font (size 1.016 1.016))))
|
||||||
|
(number "24" (effects (font (size 1.016 1.016))))
|
||||||
|
)
|
||||||
|
(pin bidirectional line (at 20.32 10.16 180) (length 5.08)
|
||||||
|
(name "IO21" (effects (font (size 1.016 1.016))))
|
||||||
|
(number "25" (effects (font (size 1.016 1.016))))
|
||||||
|
)
|
||||||
|
(pin power_in line (at 20.32 7.62 180) (length 5.08)
|
||||||
|
(name "GND2" (effects (font (size 1.016 1.016))))
|
||||||
|
(number "26" (effects (font (size 1.016 1.016))))
|
||||||
|
)
|
||||||
|
(pin bidirectional line (at 20.32 5.08 180) (length 5.08)
|
||||||
|
(name "IO19" (effects (font (size 1.016 1.016))))
|
||||||
|
(number "27" (effects (font (size 1.016 1.016))))
|
||||||
|
)
|
||||||
|
(pin bidirectional line (at 20.32 2.54 180) (length 5.08)
|
||||||
|
(name "IO18" (effects (font (size 1.016 1.016))))
|
||||||
|
(number "28" (effects (font (size 1.016 1.016))))
|
||||||
|
)
|
||||||
|
(pin bidirectional line (at 20.32 0 180) (length 5.08)
|
||||||
|
(name "IO5" (effects (font (size 1.016 1.016))))
|
||||||
|
(number "29" (effects (font (size 1.016 1.016))))
|
||||||
|
)
|
||||||
|
(pin input line (at -20.32 17.78 0) (length 5.08)
|
||||||
|
(name "SENSOR_VP" (effects (font (size 1.016 1.016))))
|
||||||
|
(number "3" (effects (font (size 1.016 1.016))))
|
||||||
|
)
|
||||||
|
(pin bidirectional line (at 20.32 -2.54 180) (length 5.08)
|
||||||
|
(name "IO17" (effects (font (size 1.016 1.016))))
|
||||||
|
(number "30" (effects (font (size 1.016 1.016))))
|
||||||
|
)
|
||||||
|
(pin bidirectional line (at 20.32 -5.08 180) (length 5.08)
|
||||||
|
(name "IO16" (effects (font (size 1.016 1.016))))
|
||||||
|
(number "31" (effects (font (size 1.016 1.016))))
|
||||||
|
)
|
||||||
|
(pin bidirectional line (at 20.32 -7.62 180) (length 5.08)
|
||||||
|
(name "IO4" (effects (font (size 1.016 1.016))))
|
||||||
|
(number "32" (effects (font (size 1.016 1.016))))
|
||||||
|
)
|
||||||
|
(pin bidirectional line (at 20.32 -10.16 180) (length 5.08)
|
||||||
|
(name "IO0" (effects (font (size 1.016 1.016))))
|
||||||
|
(number "33" (effects (font (size 1.016 1.016))))
|
||||||
|
)
|
||||||
|
(pin bidirectional line (at 20.32 -12.7 180) (length 5.08)
|
||||||
|
(name "IO2" (effects (font (size 1.016 1.016))))
|
||||||
|
(number "34" (effects (font (size 1.016 1.016))))
|
||||||
|
)
|
||||||
|
(pin bidirectional line (at 20.32 -15.24 180) (length 5.08)
|
||||||
|
(name "IO15" (effects (font (size 1.016 1.016))))
|
||||||
|
(number "35" (effects (font (size 1.016 1.016))))
|
||||||
|
)
|
||||||
|
(pin bidirectional line (at 20.32 -17.78 180) (length 5.08)
|
||||||
|
(name "SD1" (effects (font (size 1.016 1.016))))
|
||||||
|
(number "36" (effects (font (size 1.016 1.016))))
|
||||||
|
)
|
||||||
|
(pin bidirectional line (at 20.32 -20.32 180) (length 5.08)
|
||||||
|
(name "SD0" (effects (font (size 1.016 1.016))))
|
||||||
|
(number "37" (effects (font (size 1.016 1.016))))
|
||||||
|
)
|
||||||
|
(pin input clock (at 20.32 -22.86 180) (length 5.08)
|
||||||
|
(name "CLK" (effects (font (size 1.016 1.016))))
|
||||||
|
(number "38" (effects (font (size 1.016 1.016))))
|
||||||
|
)
|
||||||
|
(pin input line (at -20.32 15.24 0) (length 5.08)
|
||||||
|
(name "SENSOR_VN" (effects (font (size 1.016 1.016))))
|
||||||
|
(number "4" (effects (font (size 1.016 1.016))))
|
||||||
|
)
|
||||||
|
(pin bidirectional line (at -20.32 12.7 0) (length 5.08)
|
||||||
|
(name "IO34" (effects (font (size 1.016 1.016))))
|
||||||
|
(number "5" (effects (font (size 1.016 1.016))))
|
||||||
|
)
|
||||||
|
(pin bidirectional line (at -20.32 10.16 0) (length 5.08)
|
||||||
|
(name "IO35" (effects (font (size 1.016 1.016))))
|
||||||
|
(number "6" (effects (font (size 1.016 1.016))))
|
||||||
|
)
|
||||||
|
(pin bidirectional line (at -20.32 7.62 0) (length 5.08)
|
||||||
|
(name "IO32" (effects (font (size 1.016 1.016))))
|
||||||
|
(number "7" (effects (font (size 1.016 1.016))))
|
||||||
|
)
|
||||||
|
(pin bidirectional line (at -20.32 5.08 0) (length 5.08)
|
||||||
|
(name "IO33" (effects (font (size 1.016 1.016))))
|
||||||
|
(number "8" (effects (font (size 1.016 1.016))))
|
||||||
|
)
|
||||||
|
(pin bidirectional line (at -20.32 2.54 0) (length 5.08)
|
||||||
|
(name "IO25" (effects (font (size 1.016 1.016))))
|
||||||
|
(number "9" (effects (font (size 1.016 1.016))))
|
||||||
|
)
|
||||||
|
)
|
||||||
|
)
|
||||||
|
(symbol "SL2300" (pin_names (offset 1.016)) (in_bom yes) (on_board yes)
|
||||||
|
(property "Reference" "Q" (at 0 0 0)
|
||||||
|
(effects (font (size 1.27 1.27)))
|
||||||
|
)
|
||||||
|
(property "Value" "SL2300" (at 7.62 0 0)
|
||||||
|
(effects (font (size 1.27 1.27)))
|
||||||
|
)
|
||||||
|
(property "Footprint" "" (at 0 0 0)
|
||||||
|
(effects (font (size 1.27 1.27)) hide)
|
||||||
|
)
|
||||||
|
(property "Datasheet" "" (at 0 0 0)
|
||||||
|
(effects (font (size 1.27 1.27)) hide)
|
||||||
|
)
|
||||||
|
(symbol "SL2300_1_1"
|
||||||
|
(polyline
|
||||||
|
(pts
|
||||||
|
(xy -1.016 0)
|
||||||
|
(xy -3.81 0)
|
||||||
|
)
|
||||||
|
(stroke (width 0) (type solid))
|
||||||
|
(fill (type none))
|
||||||
|
)
|
||||||
|
(polyline
|
||||||
|
(pts
|
||||||
|
(xy -1.016 1.905)
|
||||||
|
(xy -1.016 -1.905)
|
||||||
|
)
|
||||||
|
(stroke (width 0.254) (type solid))
|
||||||
|
(fill (type none))
|
||||||
|
)
|
||||||
|
(polyline
|
||||||
|
(pts
|
||||||
|
(xy -0.508 -1.27)
|
||||||
|
(xy -0.508 -2.286)
|
||||||
|
)
|
||||||
|
(stroke (width 0.254) (type solid))
|
||||||
|
(fill (type none))
|
||||||
|
)
|
||||||
|
(polyline
|
||||||
|
(pts
|
||||||
|
(xy -0.508 0.508)
|
||||||
|
(xy -0.508 -0.508)
|
||||||
|
)
|
||||||
|
(stroke (width 0.254) (type solid))
|
||||||
|
(fill (type none))
|
||||||
|
)
|
||||||
|
(polyline
|
||||||
|
(pts
|
||||||
|
(xy -0.508 2.286)
|
||||||
|
(xy -0.508 1.27)
|
||||||
|
)
|
||||||
|
(stroke (width 0.254) (type solid))
|
||||||
|
(fill (type none))
|
||||||
|
)
|
||||||
|
(polyline
|
||||||
|
(pts
|
||||||
|
(xy 1.27 2.54)
|
||||||
|
(xy 1.27 1.778)
|
||||||
|
)
|
||||||
|
(stroke (width 0) (type solid))
|
||||||
|
(fill (type none))
|
||||||
|
)
|
||||||
|
(polyline
|
||||||
|
(pts
|
||||||
|
(xy 1.27 -2.54)
|
||||||
|
(xy 1.27 0)
|
||||||
|
(xy -0.508 0)
|
||||||
|
)
|
||||||
|
(stroke (width 0) (type solid))
|
||||||
|
(fill (type none))
|
||||||
|
)
|
||||||
|
(polyline
|
||||||
|
(pts
|
||||||
|
(xy -0.508 -1.778)
|
||||||
|
(xy 2.032 -1.778)
|
||||||
|
(xy 2.032 1.778)
|
||||||
|
(xy -0.508 1.778)
|
||||||
|
)
|
||||||
|
(stroke (width 0) (type solid))
|
||||||
|
(fill (type none))
|
||||||
|
)
|
||||||
|
(polyline
|
||||||
|
(pts
|
||||||
|
(xy -0.254 0)
|
||||||
|
(xy 0.762 0.381)
|
||||||
|
(xy 0.762 -0.381)
|
||||||
|
(xy -0.254 0)
|
||||||
|
)
|
||||||
|
(stroke (width 0) (type solid))
|
||||||
|
(fill (type outline))
|
||||||
|
)
|
||||||
|
(polyline
|
||||||
|
(pts
|
||||||
|
(xy 1.524 0.508)
|
||||||
|
(xy 1.651 0.381)
|
||||||
|
(xy 2.413 0.381)
|
||||||
|
(xy 2.54 0.254)
|
||||||
|
)
|
||||||
|
(stroke (width 0) (type solid))
|
||||||
|
(fill (type none))
|
||||||
|
)
|
||||||
|
(polyline
|
||||||
|
(pts
|
||||||
|
(xy 2.032 0.381)
|
||||||
|
(xy 1.651 -0.254)
|
||||||
|
(xy 2.413 -0.254)
|
||||||
|
(xy 2.032 0.381)
|
||||||
|
)
|
||||||
|
(stroke (width 0) (type solid))
|
||||||
|
(fill (type none))
|
||||||
|
)
|
||||||
|
(circle (center 0.381 0) (radius 2.794)
|
||||||
|
(stroke (width 0.254) (type solid))
|
||||||
|
(fill (type none))
|
||||||
|
)
|
||||||
|
(circle (center 1.27 -1.778) (radius 0.254)
|
||||||
|
(stroke (width 0) (type solid))
|
||||||
|
(fill (type outline))
|
||||||
|
)
|
||||||
|
(circle (center 1.27 1.778) (radius 0.254)
|
||||||
|
(stroke (width 0) (type solid))
|
||||||
|
(fill (type outline))
|
||||||
|
)
|
||||||
|
(pin input line (at -6.35 0 0) (length 2.54)
|
||||||
|
(name "G" (effects (font (size 1.27 1.27))))
|
||||||
|
(number "1" (effects (font (size 1.27 1.27))))
|
||||||
|
)
|
||||||
|
(pin passive line (at 1.27 -5.08 90) (length 2.54)
|
||||||
|
(name "S" (effects (font (size 1.27 1.27))))
|
||||||
|
(number "2" (effects (font (size 1.27 1.27))))
|
||||||
|
)
|
||||||
|
(pin passive line (at 1.27 5.08 270) (length 2.54)
|
||||||
|
(name "D" (effects (font (size 1.27 1.27))))
|
||||||
|
(number "3" (effects (font (size 1.27 1.27))))
|
||||||
|
)
|
||||||
|
)
|
||||||
|
)
|
||||||
|
(symbol "SR04M-2" (pin_names (offset 1.016)) (in_bom yes) (on_board yes)
|
||||||
|
(property "Reference" "H" (at 6.35 27.94 0)
|
||||||
|
(effects (font (size 1.27 1.27)))
|
||||||
|
)
|
||||||
|
(property "Value" "SR04M-2" (at 7.62 -21.59 0)
|
||||||
|
(effects (font (size 1.27 1.27)))
|
||||||
|
)
|
||||||
|
(property "Footprint" "" (at 0 0 0)
|
||||||
|
(effects (font (size 1.27 1.27)) hide)
|
||||||
|
)
|
||||||
|
(property "Datasheet" "" (at 0 0 0)
|
||||||
|
(effects (font (size 1.27 1.27)) hide)
|
||||||
|
)
|
||||||
|
(symbol "SR04M-2_0_1"
|
||||||
|
(rectangle (start -22.86 26.67) (end 41.91 -20.32)
|
||||||
|
(stroke (width 0.254) (type solid))
|
||||||
|
(fill (type none))
|
||||||
|
)
|
||||||
|
)
|
||||||
|
)
|
||||||
|
(symbol "SR04M-2-HeaderConn_01x04_Female" (pin_names (offset 1.016) hide) (in_bom yes) (on_board yes)
|
||||||
|
(property "Reference" "J" (at 0 5.08 0)
|
||||||
|
(effects (font (size 1.27 1.27)))
|
||||||
|
)
|
||||||
|
(property "Value" "SR04M-2-HeaderConn_01x04_Female" (at 0 -7.62 0)
|
||||||
|
(effects (font (size 1.27 1.27)))
|
||||||
|
)
|
||||||
|
(property "Footprint" "ESP32:SR04M-2PinHeader_1x04_P2.54mm_Vertical" (at 0 0 0)
|
||||||
|
(effects (font (size 1.27 1.27)) hide)
|
||||||
|
)
|
||||||
|
(property "Datasheet" "~" (at 0 0 0)
|
||||||
|
(effects (font (size 1.27 1.27)) hide)
|
||||||
|
)
|
||||||
|
(property "ki_keywords" "connector" (at 0 0 0)
|
||||||
|
(effects (font (size 1.27 1.27)) hide)
|
||||||
|
)
|
||||||
|
(property "ki_description" "Generic connector, single row, 01x04, script generated (kicad-library-utils/schlib/autogen/connector/)" (at 0 0 0)
|
||||||
|
(effects (font (size 1.27 1.27)) hide)
|
||||||
|
)
|
||||||
|
(property "ki_fp_filters" "Connector*:*_1x??_*" (at 0 0 0)
|
||||||
|
(effects (font (size 1.27 1.27)) hide)
|
||||||
|
)
|
||||||
|
(symbol "SR04M-2-HeaderConn_01x04_Female_1_1"
|
||||||
|
(arc (start 0 -4.572) (mid -0.5058 -5.08) (end 0 -5.588)
|
||||||
|
(stroke (width 0.1524) (type solid))
|
||||||
|
(fill (type none))
|
||||||
|
)
|
||||||
|
(arc (start 0 -2.032) (mid -0.5058 -2.54) (end 0 -3.048)
|
||||||
|
(stroke (width 0.1524) (type solid))
|
||||||
|
(fill (type none))
|
||||||
|
)
|
||||||
|
(polyline
|
||||||
|
(pts
|
||||||
|
(xy -1.27 -5.08)
|
||||||
|
(xy -0.508 -5.08)
|
||||||
|
)
|
||||||
|
(stroke (width 0.1524) (type solid))
|
||||||
|
(fill (type none))
|
||||||
|
)
|
||||||
|
(polyline
|
||||||
|
(pts
|
||||||
|
(xy -1.27 -2.54)
|
||||||
|
(xy -0.508 -2.54)
|
||||||
|
)
|
||||||
|
(stroke (width 0.1524) (type solid))
|
||||||
|
(fill (type none))
|
||||||
|
)
|
||||||
|
(polyline
|
||||||
|
(pts
|
||||||
|
(xy -1.27 0)
|
||||||
|
(xy -0.508 0)
|
||||||
|
)
|
||||||
|
(stroke (width 0.1524) (type solid))
|
||||||
|
(fill (type none))
|
||||||
|
)
|
||||||
|
(polyline
|
||||||
|
(pts
|
||||||
|
(xy -1.27 2.54)
|
||||||
|
(xy -0.508 2.54)
|
||||||
|
)
|
||||||
|
(stroke (width 0.1524) (type solid))
|
||||||
|
(fill (type none))
|
||||||
|
)
|
||||||
|
(arc (start 0 0.508) (mid -0.5058 0) (end 0 -0.508)
|
||||||
|
(stroke (width 0.1524) (type solid))
|
||||||
|
(fill (type none))
|
||||||
|
)
|
||||||
|
(arc (start 0 3.048) (mid -0.5058 2.54) (end 0 2.032)
|
||||||
|
(stroke (width 0.1524) (type solid))
|
||||||
|
(fill (type none))
|
||||||
|
)
|
||||||
|
(pin power_in line (at -5.08 2.54 0) (length 3.81)
|
||||||
|
(name "VCC" (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 3.81)
|
||||||
|
(name "RX" (effects (font (size 1.27 1.27))))
|
||||||
|
(number "2" (effects (font (size 1.27 1.27))))
|
||||||
|
)
|
||||||
|
(pin output line (at -5.08 -2.54 0) (length 3.81)
|
||||||
|
(name "TX" (effects (font (size 1.27 1.27))))
|
||||||
|
(number "3" (effects (font (size 1.27 1.27))))
|
||||||
|
)
|
||||||
|
(pin power_in line (at -5.08 -5.08 0) (length 3.81)
|
||||||
|
(name "GND" (effects (font (size 1.27 1.27))))
|
||||||
|
(number "4" (effects (font (size 1.27 1.27))))
|
||||||
|
)
|
||||||
|
)
|
||||||
|
)
|
||||||
|
)
|
@ -0,0 +1,124 @@
|
|||||||
|
EESchema-LIBRARY Version 2.4
|
||||||
|
#encoding utf-8
|
||||||
|
#
|
||||||
|
# ESP32-DEVKITC-32D
|
||||||
|
#
|
||||||
|
DEF ESP32-DEVKITC-32D U 0 40 Y Y 1 L N
|
||||||
|
F0 "U" -601 1026 50 H V L BNN
|
||||||
|
F1 "ESP32-DEVKITC-32D" -601 -1101 50 H V L BNN
|
||||||
|
F2 "MODULE_ESP32-DEVKITC-32D" 0 0 50 H I L BNN
|
||||||
|
F3 "4" 0 0 50 H I L BNN
|
||||||
|
F4 "Espressif Systems" 0 0 50 H I L BNN
|
||||||
|
DRAW
|
||||||
|
P 2 0 0 10 -600 -1000 -600 1000 N
|
||||||
|
P 2 0 0 10 -600 1000 600 1000 N
|
||||||
|
P 2 0 0 10 600 -1000 -600 -1000 N
|
||||||
|
P 2 0 0 10 600 1000 600 -1000 N
|
||||||
|
X 3V3 1 -800 900 200 R 40 40 0 0 W
|
||||||
|
X IO26 10 -800 0 200 R 40 40 0 0 B
|
||||||
|
X IO27 11 -800 -100 200 R 40 40 0 0 B
|
||||||
|
X IO14 12 -800 -200 200 R 40 40 0 0 B
|
||||||
|
X IO12 13 -800 -300 200 R 40 40 0 0 B
|
||||||
|
X GND1 14 -800 -400 200 R 40 40 0 0 W
|
||||||
|
X IO13 15 -800 -500 200 R 40 40 0 0 B
|
||||||
|
X SD2 16 -800 -600 200 R 40 40 0 0 B
|
||||||
|
X SD3 17 -800 -700 200 R 40 40 0 0 B
|
||||||
|
X CMD 18 -800 -800 200 R 40 40 0 0 B
|
||||||
|
X EXT_5V 19 -800 -900 200 R 40 40 0 0 W
|
||||||
|
X EN 2 -800 800 200 R 40 40 0 0 I
|
||||||
|
X GND3 20 800 900 200 L 40 40 0 0 W
|
||||||
|
X IO23 21 800 800 200 L 40 40 0 0 B
|
||||||
|
X IO22 22 800 700 200 L 40 40 0 0 B
|
||||||
|
X TXD0 23 800 600 200 L 40 40 0 0 O
|
||||||
|
X RXD0 24 800 500 200 L 40 40 0 0 I
|
||||||
|
X IO21 25 800 400 200 L 40 40 0 0 B
|
||||||
|
X GND2 26 800 300 200 L 40 40 0 0 W
|
||||||
|
X IO19 27 800 200 200 L 40 40 0 0 B
|
||||||
|
X IO18 28 800 100 200 L 40 40 0 0 B
|
||||||
|
X IO5 29 800 0 200 L 40 40 0 0 B
|
||||||
|
X SENSOR_VP 3 -800 700 200 R 40 40 0 0 I
|
||||||
|
X IO17 30 800 -100 200 L 40 40 0 0 B
|
||||||
|
X IO16 31 800 -200 200 L 40 40 0 0 B
|
||||||
|
X IO4 32 800 -300 200 L 40 40 0 0 B
|
||||||
|
X IO0 33 800 -400 200 L 40 40 0 0 B
|
||||||
|
X IO2 34 800 -500 200 L 40 40 0 0 B
|
||||||
|
X IO15 35 800 -600 200 L 40 40 0 0 B
|
||||||
|
X SD1 36 800 -700 200 L 40 40 0 0 B
|
||||||
|
X SD0 37 800 -800 200 L 40 40 0 0 B
|
||||||
|
X CLK 38 800 -900 200 L 40 40 0 0 I C
|
||||||
|
X SENSOR_VN 4 -800 600 200 R 40 40 0 0 I
|
||||||
|
X IO34 5 -800 500 200 R 40 40 0 0 B
|
||||||
|
X IO35 6 -800 400 200 R 40 40 0 0 B
|
||||||
|
X IO32 7 -800 300 200 R 40 40 0 0 B
|
||||||
|
X IO33 8 -800 200 200 R 40 40 0 0 B
|
||||||
|
X IO25 9 -800 100 200 R 40 40 0 0 B
|
||||||
|
ENDDRAW
|
||||||
|
ENDDEF
|
||||||
|
#
|
||||||
|
# SL2300
|
||||||
|
#
|
||||||
|
DEF SL2300 Q 0 40 Y Y 1 F N
|
||||||
|
F0 "Q" 0 0 50 H V C CNN
|
||||||
|
F1 "SL2300" 300 0 50 H V C CNN
|
||||||
|
F2 "" 0 0 50 H I C CNN
|
||||||
|
F3 "" 0 0 50 H I C CNN
|
||||||
|
DRAW
|
||||||
|
C 15 0 110 1 1 10 N
|
||||||
|
C 50 -70 10 1 1 0 F
|
||||||
|
C 50 70 10 1 1 0 F
|
||||||
|
P 2 1 1 0 -40 0 -150 0 N
|
||||||
|
P 2 1 1 10 -40 75 -40 -75 N
|
||||||
|
P 2 1 1 10 -20 -50 -20 -90 N
|
||||||
|
P 2 1 1 10 -20 20 -20 -20 N
|
||||||
|
P 2 1 1 10 -20 90 -20 50 N
|
||||||
|
P 2 1 1 0 50 100 50 70 N
|
||||||
|
P 3 1 1 0 50 -100 50 0 -20 0 N
|
||||||
|
P 4 1 1 0 -20 -70 80 -70 80 70 -20 70 N
|
||||||
|
P 4 1 1 0 -10 0 30 15 30 -15 -10 0 F
|
||||||
|
P 4 1 1 0 60 20 65 15 95 15 100 10 N
|
||||||
|
P 4 1 1 0 80 15 65 -10 95 -10 80 15 N
|
||||||
|
X G 1 -250 0 100 R 50 50 1 1 I
|
||||||
|
X S 2 50 -200 100 U 50 50 1 1 P
|
||||||
|
X D 3 50 200 100 D 50 50 1 1 P
|
||||||
|
ENDDRAW
|
||||||
|
ENDDEF
|
||||||
|
#
|
||||||
|
# SR04M-2
|
||||||
|
#
|
||||||
|
DEF SR04M-2 H 0 40 Y Y 1 F N
|
||||||
|
F0 "H" 250 1100 50 H V C CNN
|
||||||
|
F1 "SR04M-2" 300 -850 50 H V C CNN
|
||||||
|
F2 "" 0 0 50 H I C CNN
|
||||||
|
F3 "" 0 0 50 H I C CNN
|
||||||
|
DRAW
|
||||||
|
S -900 1050 1650 -800 0 1 10 N
|
||||||
|
ENDDRAW
|
||||||
|
ENDDEF
|
||||||
|
#
|
||||||
|
# SR04M-2-HeaderConn_01x04_Female
|
||||||
|
#
|
||||||
|
DEF SR04M-2-HeaderConn_01x04_Female J 0 40 Y N 1 F N
|
||||||
|
F0 "J" 0 200 50 H V C CNN
|
||||||
|
F1 "SR04M-2-HeaderConn_01x04_Female" 0 -300 50 H V C CNN
|
||||||
|
F2 "ESP32:SR04M-2PinHeader_1x04_P2.54mm_Vertical" 0 0 50 H I C CNN
|
||||||
|
F3 "" 0 0 50 H I C CNN
|
||||||
|
$FPLIST
|
||||||
|
Connector*:*_1x??_*
|
||||||
|
$ENDFPLIST
|
||||||
|
DRAW
|
||||||
|
A 0 -200 20 901 -901 1 1 6 N 0 -180 0 -220
|
||||||
|
A 0 -100 20 901 -901 1 1 6 N 0 -80 0 -120
|
||||||
|
A 0 0 20 901 -901 1 1 6 N 0 20 0 -20
|
||||||
|
A 0 100 20 901 -901 1 1 6 N 0 120 0 80
|
||||||
|
P 2 1 1 6 -50 -200 -20 -200 N
|
||||||
|
P 2 1 1 6 -50 -100 -20 -100 N
|
||||||
|
P 2 1 1 6 -50 0 -20 0 N
|
||||||
|
P 2 1 1 6 -50 100 -20 100 N
|
||||||
|
X VCC 1 -200 100 150 R 50 50 1 1 W
|
||||||
|
X RX 2 -200 0 150 R 50 50 1 1 I
|
||||||
|
X TX 3 -200 -100 150 R 50 50 1 1 O
|
||||||
|
X GND 4 -200 -200 150 R 50 50 1 1 W
|
||||||
|
ENDDRAW
|
||||||
|
ENDDEF
|
||||||
|
#
|
||||||
|
#End Library
|
@ -0,0 +1,65 @@
|
|||||||
|
(module MODULE_ESP32-DEVKITC-32D (layer F.Cu) (tedit 5F565126)
|
||||||
|
(fp_text reference REF** (at -10.829175 -28.446045) (layer F.SilkS)
|
||||||
|
(effects (font (size 1.000386 1.000386) (thickness 0.015)))
|
||||||
|
)
|
||||||
|
(fp_text value MODULE_ESP32-DEVKITC-32D (at 1.24136 28.294535) (layer F.Fab)
|
||||||
|
(effects (font (size 1.001047 1.001047) (thickness 0.015)))
|
||||||
|
)
|
||||||
|
(fp_circle (center -14.6 -19.9) (end -14.46 -19.9) (layer F.Fab) (width 0.28))
|
||||||
|
(fp_circle (center -14.6 -19.9) (end -14.46 -19.9) (layer F.Fab) (width 0.28))
|
||||||
|
(fp_line (start -14.2 27.5) (end -14.2 -27.4) (layer F.CrtYd) (width 0.05))
|
||||||
|
(fp_line (start 14.2 27.5) (end -14.2 27.5) (layer F.CrtYd) (width 0.05))
|
||||||
|
(fp_line (start 14.2 -27.4) (end 14.2 27.5) (layer F.CrtYd) (width 0.05))
|
||||||
|
(fp_line (start -14.2 -27.4) (end 14.2 -27.4) (layer F.CrtYd) (width 0.05))
|
||||||
|
(fp_line (start 13.95 27.25) (end -13.95 27.25) (layer F.SilkS) (width 0.127))
|
||||||
|
(fp_line (start 13.95 -27.15) (end 13.95 27.25) (layer F.SilkS) (width 0.127))
|
||||||
|
(fp_line (start -13.95 -27.15) (end 13.95 -27.15) (layer F.SilkS) (width 0.127))
|
||||||
|
(fp_line (start -13.95 27.25) (end -13.95 -27.15) (layer F.SilkS) (width 0.127))
|
||||||
|
(fp_line (start -13.95 27.25) (end -13.95 -27.15) (layer F.Fab) (width 0.127))
|
||||||
|
(fp_line (start 13.95 27.25) (end -13.95 27.25) (layer F.Fab) (width 0.127))
|
||||||
|
(fp_line (start 13.95 -27.15) (end 13.95 27.25) (layer F.Fab) (width 0.127))
|
||||||
|
(fp_line (start -13.95 -27.15) (end 13.95 -27.15) (layer F.Fab) (width 0.127))
|
||||||
|
(pad 1 thru_hole rect (at -12.7 -19.76) (size 1.56 1.56) (drill 1.04) (layers *.Cu *.Mask))
|
||||||
|
(pad 2 thru_hole circle (at -12.7 -17.22) (size 1.56 1.56) (drill 1.04) (layers *.Cu *.Mask))
|
||||||
|
(pad 19 thru_hole circle (at -12.7 25.96) (size 1.56 1.56) (drill 1.04) (layers *.Cu *.Mask))
|
||||||
|
(pad 3 thru_hole circle (at -12.7 -14.68) (size 1.56 1.56) (drill 1.04) (layers *.Cu *.Mask))
|
||||||
|
(pad 4 thru_hole circle (at -12.7 -12.14) (size 1.56 1.56) (drill 1.04) (layers *.Cu *.Mask))
|
||||||
|
(pad 5 thru_hole circle (at -12.7 -9.6) (size 1.56 1.56) (drill 1.04) (layers *.Cu *.Mask))
|
||||||
|
(pad 6 thru_hole circle (at -12.7 -7.06) (size 1.56 1.56) (drill 1.04) (layers *.Cu *.Mask))
|
||||||
|
(pad 7 thru_hole circle (at -12.7 -4.52) (size 1.56 1.56) (drill 1.04) (layers *.Cu *.Mask))
|
||||||
|
(pad 8 thru_hole circle (at -12.7 -1.98) (size 1.56 1.56) (drill 1.04) (layers *.Cu *.Mask))
|
||||||
|
(pad 9 thru_hole circle (at -12.7 0.56) (size 1.56 1.56) (drill 1.04) (layers *.Cu *.Mask))
|
||||||
|
(pad 10 thru_hole circle (at -12.7 3.1) (size 1.56 1.56) (drill 1.04) (layers *.Cu *.Mask))
|
||||||
|
(pad 11 thru_hole circle (at -12.7 5.64) (size 1.56 1.56) (drill 1.04) (layers *.Cu *.Mask))
|
||||||
|
(pad 12 thru_hole circle (at -12.7 8.18) (size 1.56 1.56) (drill 1.04) (layers *.Cu *.Mask))
|
||||||
|
(pad 13 thru_hole circle (at -12.7 10.72) (size 1.56 1.56) (drill 1.04) (layers *.Cu *.Mask))
|
||||||
|
(pad 14 thru_hole circle (at -12.7 13.26) (size 1.56 1.56) (drill 1.04) (layers *.Cu *.Mask))
|
||||||
|
(pad 15 thru_hole circle (at -12.7 15.8) (size 1.56 1.56) (drill 1.04) (layers *.Cu *.Mask))
|
||||||
|
(pad 16 thru_hole circle (at -12.7 18.34) (size 1.56 1.56) (drill 1.04) (layers *.Cu *.Mask))
|
||||||
|
(pad 17 thru_hole circle (at -12.7 20.88) (size 1.56 1.56) (drill 1.04) (layers *.Cu *.Mask))
|
||||||
|
(pad 18 thru_hole circle (at -12.7 23.42) (size 1.56 1.56) (drill 1.04) (layers *.Cu *.Mask))
|
||||||
|
(pad 20 thru_hole circle (at 12.7 -19.76) (size 1.56 1.56) (drill 1.04) (layers *.Cu *.Mask))
|
||||||
|
(pad 21 thru_hole circle (at 12.7 -17.22) (size 1.56 1.56) (drill 1.04) (layers *.Cu *.Mask))
|
||||||
|
(pad 22 thru_hole circle (at 12.7 -14.68) (size 1.56 1.56) (drill 1.04) (layers *.Cu *.Mask))
|
||||||
|
(pad 23 thru_hole circle (at 12.7 -12.14) (size 1.56 1.56) (drill 1.04) (layers *.Cu *.Mask))
|
||||||
|
(pad 24 thru_hole circle (at 12.7 -9.6) (size 1.56 1.56) (drill 1.04) (layers *.Cu *.Mask))
|
||||||
|
(pad 25 thru_hole circle (at 12.7 -7.06) (size 1.56 1.56) (drill 1.04) (layers *.Cu *.Mask))
|
||||||
|
(pad 26 thru_hole circle (at 12.7 -4.52) (size 1.56 1.56) (drill 1.04) (layers *.Cu *.Mask))
|
||||||
|
(pad 27 thru_hole circle (at 12.7 -1.98) (size 1.56 1.56) (drill 1.04) (layers *.Cu *.Mask))
|
||||||
|
(pad 28 thru_hole circle (at 12.7 0.56) (size 1.56 1.56) (drill 1.04) (layers *.Cu *.Mask))
|
||||||
|
(pad 29 thru_hole circle (at 12.7 3.1) (size 1.56 1.56) (drill 1.04) (layers *.Cu *.Mask))
|
||||||
|
(pad 30 thru_hole circle (at 12.7 5.64) (size 1.56 1.56) (drill 1.04) (layers *.Cu *.Mask))
|
||||||
|
(pad 31 thru_hole circle (at 12.7 8.18) (size 1.56 1.56) (drill 1.04) (layers *.Cu *.Mask))
|
||||||
|
(pad 32 thru_hole circle (at 12.7 10.72) (size 1.56 1.56) (drill 1.04) (layers *.Cu *.Mask))
|
||||||
|
(pad 33 thru_hole circle (at 12.7 13.26) (size 1.56 1.56) (drill 1.04) (layers *.Cu *.Mask))
|
||||||
|
(pad 34 thru_hole circle (at 12.7 15.8) (size 1.56 1.56) (drill 1.04) (layers *.Cu *.Mask))
|
||||||
|
(pad 35 thru_hole circle (at 12.7 18.34) (size 1.56 1.56) (drill 1.04) (layers *.Cu *.Mask))
|
||||||
|
(pad 36 thru_hole circle (at 12.7 20.88) (size 1.56 1.56) (drill 1.04) (layers *.Cu *.Mask))
|
||||||
|
(pad 37 thru_hole circle (at 12.7 23.42) (size 1.56 1.56) (drill 1.04) (layers *.Cu *.Mask))
|
||||||
|
(pad 38 thru_hole circle (at 12.7 25.96) (size 1.56 1.56) (drill 1.04) (layers *.Cu *.Mask))
|
||||||
|
(model ${KIPRJMOD}/kicad-stuff/ESP32-DEVKITC-32D--3DModel-STEP-56544.STEP
|
||||||
|
(offset (xyz 0 -3 1.5))
|
||||||
|
(scale (xyz 1 1 1))
|
||||||
|
(rotate (xyz -90 0 0))
|
||||||
|
)
|
||||||
|
)
|
@ -0,0 +1,43 @@
|
|||||||
|
(module SR04M-2PinHeader_1x04_P2.54mm_Vertical (layer F.Cu) (tedit 5FC1448F)
|
||||||
|
(descr "Through hole straight pin header, 1x04, 2.54mm pitch, single row")
|
||||||
|
(tags "Through hole pin header THT 1x04 2.54mm single row")
|
||||||
|
(fp_text reference REF** (at 0 -2.33) (layer F.SilkS)
|
||||||
|
(effects (font (size 1 1) (thickness 0.15)))
|
||||||
|
)
|
||||||
|
(fp_text value SR04M-2PinHeader_1x04_P2.54mm_Vertical (at 0 9.95) (layer F.Fab)
|
||||||
|
(effects (font (size 1 1) (thickness 0.15)))
|
||||||
|
)
|
||||||
|
(fp_line (start 1.8 -1.8) (end -1.8 -1.8) (layer F.CrtYd) (width 0.05))
|
||||||
|
(fp_line (start 1.8 9.4) (end 1.8 -1.8) (layer F.CrtYd) (width 0.05))
|
||||||
|
(fp_line (start -1.8 9.4) (end 1.8 9.4) (layer F.CrtYd) (width 0.05))
|
||||||
|
(fp_line (start -1.8 -1.8) (end -1.8 9.4) (layer F.CrtYd) (width 0.05))
|
||||||
|
(fp_line (start -1.33 -1.33) (end 0 -1.33) (layer F.SilkS) (width 0.12))
|
||||||
|
(fp_line (start -1.33 0) (end -1.33 -1.33) (layer F.SilkS) (width 0.12))
|
||||||
|
(fp_line (start -1.33 1.27) (end 1.33 1.27) (layer F.SilkS) (width 0.12))
|
||||||
|
(fp_line (start 1.33 1.27) (end 1.33 8.95) (layer F.SilkS) (width 0.12))
|
||||||
|
(fp_line (start -1.33 1.27) (end -1.33 8.95) (layer F.SilkS) (width 0.12))
|
||||||
|
(fp_line (start -1.33 8.95) (end 1.33 8.95) (layer F.SilkS) (width 0.12))
|
||||||
|
(fp_line (start -1.27 -0.635) (end -0.635 -1.27) (layer F.Fab) (width 0.1))
|
||||||
|
(fp_line (start -1.27 8.89) (end -1.27 -0.635) (layer F.Fab) (width 0.1))
|
||||||
|
(fp_line (start 1.27 8.89) (end -1.27 8.89) (layer F.Fab) (width 0.1))
|
||||||
|
(fp_line (start 1.27 -1.27) (end 1.27 8.89) (layer F.Fab) (width 0.1))
|
||||||
|
(fp_line (start -0.635 -1.27) (end 1.27 -1.27) (layer F.Fab) (width 0.1))
|
||||||
|
(fp_line (start 0 -17.5) (end 10 -17.5) (layer F.SilkS) (width 0.12))
|
||||||
|
(fp_line (start 10 -17.5) (end 10 23.5) (layer F.SilkS) (width 0.12))
|
||||||
|
(fp_line (start 10 23.5) (end -10 23.5) (layer F.SilkS) (width 0.12))
|
||||||
|
(fp_line (start -10 23.5) (end -10 -17.5) (layer F.SilkS) (width 0.12))
|
||||||
|
(fp_line (start -10 -17.5) (end 0.5 -17.5) (layer F.SilkS) (width 0.12))
|
||||||
|
(fp_poly (pts (xy 8.81 6.27) (xy 3.81 6.27) (xy 3.81 1.27) (xy 8.81 1.27)) (layer F.Fab) (width 0.1))
|
||||||
|
(fp_text user %R (at 0 3.81 90) (layer F.Fab)
|
||||||
|
(effects (font (size 1 1) (thickness 0.15)))
|
||||||
|
)
|
||||||
|
(pad 1 thru_hole rect (at 0 0) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask))
|
||||||
|
(pad 2 thru_hole oval (at 0 2.54) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask))
|
||||||
|
(pad 3 thru_hole oval (at 0 5.08) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask))
|
||||||
|
(pad 4 thru_hole oval (at 0 7.62) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask))
|
||||||
|
(model ${KISYS3DMOD}/Connector_PinHeader_2.54mm.3dshapes/PinHeader_1x04_P2.54mm_Vertical.wrl
|
||||||
|
(at (xyz 0 0 0))
|
||||||
|
(scale (xyz 1 1 1))
|
||||||
|
(rotate (xyz 0 0 0))
|
||||||
|
)
|
||||||
|
)
|
@ -0,0 +1 @@
|
|||||||
|
<!DOCTYPE HTML><html lang="en-US"> <head> <meta charset="UTF-8"> <meta http-equiv="refresh" content="0; url=https://www.snapeda.com/about/import/#"> <script type="text/javascript">window.location.href="https://www.snapeda.com/about/import/#" </script> <title>Page Redirection</title> </head> <body> If you are not redirected automatically, follow this <a href="https://www.snapeda.com/about/import/#">link to the import guide</a>. </body></html>
|
@ -0,0 +1,74 @@
|
|||||||
|
(kicad_symbol_lib (version 20220914) (generator kicad_symbol_editor)
|
||||||
|
(symbol "LP38690DT-3.3" (pin_names (offset 1.016)) (in_bom yes) (on_board yes)
|
||||||
|
(property "Reference" "U" (at -10.16 5.08 0)
|
||||||
|
(effects (font (size 1.27 1.27)) (justify left bottom))
|
||||||
|
)
|
||||||
|
(property "Value" "LP38690DT-3.3" (at -10.16 -7.62 0)
|
||||||
|
(effects (font (size 1.27 1.27)) (justify left bottom))
|
||||||
|
)
|
||||||
|
(property "Footprint" "DPAK457P991X255-3N" (at 0 0 0)
|
||||||
|
(effects (font (size 1.27 1.27)) (justify left bottom) hide)
|
||||||
|
)
|
||||||
|
(property "Datasheet" "IPC-7351B" (at 0 0 0)
|
||||||
|
(effects (font (size 1.27 1.27)) (justify left bottom) hide)
|
||||||
|
)
|
||||||
|
(property "Field4" "Texas Instruments" (at 0 0 0)
|
||||||
|
(effects (font (size 1.27 1.27)) (justify left bottom) hide)
|
||||||
|
)
|
||||||
|
(property "Field5" "M" (at 0 0 0)
|
||||||
|
(effects (font (size 1.27 1.27)) (justify left bottom) hide)
|
||||||
|
)
|
||||||
|
(property "Field6" "2.55mm" (at 0 0 0)
|
||||||
|
(effects (font (size 1.27 1.27)) (justify left bottom) hide)
|
||||||
|
)
|
||||||
|
(property "ki_locked" "" (at 0 0 0)
|
||||||
|
(effects (font (size 1.27 1.27)))
|
||||||
|
)
|
||||||
|
(symbol "LP38690DT-3.3_0_0"
|
||||||
|
(polyline
|
||||||
|
(pts
|
||||||
|
(xy -10.16 -5.08)
|
||||||
|
(xy 10.16 -5.08)
|
||||||
|
)
|
||||||
|
(stroke (width 0.1524) (type solid))
|
||||||
|
(fill (type none))
|
||||||
|
)
|
||||||
|
(polyline
|
||||||
|
(pts
|
||||||
|
(xy -10.16 5.08)
|
||||||
|
(xy -10.16 -5.08)
|
||||||
|
)
|
||||||
|
(stroke (width 0.1524) (type solid))
|
||||||
|
(fill (type none))
|
||||||
|
)
|
||||||
|
(polyline
|
||||||
|
(pts
|
||||||
|
(xy 10.16 -5.08)
|
||||||
|
(xy 10.16 5.08)
|
||||||
|
)
|
||||||
|
(stroke (width 0.1524) (type solid))
|
||||||
|
(fill (type none))
|
||||||
|
)
|
||||||
|
(polyline
|
||||||
|
(pts
|
||||||
|
(xy 10.16 5.08)
|
||||||
|
(xy -10.16 5.08)
|
||||||
|
)
|
||||||
|
(stroke (width 0.1524) (type solid))
|
||||||
|
(fill (type none))
|
||||||
|
)
|
||||||
|
(pin output line (at 15.24 2.54 180) (length 5.08)
|
||||||
|
(name "OUT" (effects (font (size 1.016 1.016))))
|
||||||
|
(number "1" (effects (font (size 1.016 1.016))))
|
||||||
|
)
|
||||||
|
(pin input line (at -15.24 2.54 0) (length 5.08)
|
||||||
|
(name "IN" (effects (font (size 1.016 1.016))))
|
||||||
|
(number "3" (effects (font (size 1.016 1.016))))
|
||||||
|
)
|
||||||
|
(pin power_in line (at 15.24 -2.54 180) (length 5.08)
|
||||||
|
(name "GND" (effects (font (size 1.016 1.016))))
|
||||||
|
(number "4" (effects (font (size 1.016 1.016))))
|
||||||
|
)
|
||||||
|
)
|
||||||
|
)
|
||||||
|
)
|
27
battery_board/battery_board/kicad-stuff/LP38690DT-3.3.lib
Normal file
27
battery_board/battery_board/kicad-stuff/LP38690DT-3.3.lib
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
EESchema-LIBRARY Version 2.3
|
||||||
|
#encoding utf-8
|
||||||
|
#(c) SnapEDA 2016 (snapeda.com)
|
||||||
|
#This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License (CC BY-SA) with Design Exception 1.0
|
||||||
|
#
|
||||||
|
# LP38690DT-3.3
|
||||||
|
#
|
||||||
|
DEF LP38690DT-3.3 U 0 40 Y Y 1 L N
|
||||||
|
F0 "U" -400 200 50 H V L BNN
|
||||||
|
F1 "LP38690DT-3.3" -400 -300 50 H V L BNN
|
||||||
|
F2 "DPAK457P991X255-3N" 0 0 50 H I L BNN
|
||||||
|
F3 "IPC-7351B" 0 0 50 H I L BNN
|
||||||
|
F4 "Texas Instruments" 0 0 50 H I L BNN
|
||||||
|
F5 "M" 0 0 50 H I L BNN
|
||||||
|
F6 "2.55mm" 0 0 50 H I L BNN
|
||||||
|
DRAW
|
||||||
|
P 2 0 0 6 -400 200 -400 -200 N
|
||||||
|
P 2 0 0 6 -400 -200 400 -200 N
|
||||||
|
P 2 0 0 6 400 -200 400 200 N
|
||||||
|
P 2 0 0 6 400 200 -400 200 N
|
||||||
|
X IN 3 -600 100 200 R 40 40 0 0 I
|
||||||
|
X OUT 1 600 100 200 L 40 40 0 0 O
|
||||||
|
X GND 4 600 -100 200 L 40 40 0 0 W
|
||||||
|
ENDDRAW
|
||||||
|
ENDDEF
|
||||||
|
#
|
||||||
|
# End Library
|
@ -0,0 +1,63 @@
|
|||||||
|
(footprint "R_Shunt_Vishay_WSK2512_6332Metric_T1.19mm" (version 20221018) (generator pcbnew)
|
||||||
|
(layer "F.Cu")
|
||||||
|
(descr "Shunt Resistor SMD 2512 (6332 Metric), 2.6mm thick, Vishay WKS2512, Terminal length (T) 1.19mm, 5 to 200 milli Ohm (http://http://www.vishay.com/docs/30108/wsk.pdf)")
|
||||||
|
(tags "resistor shunt WSK2512")
|
||||||
|
(attr smd)
|
||||||
|
(fp_text reference "REF**" (at 0 -2.65) (layer "F.SilkS")
|
||||||
|
(effects (font (size 1 1) (thickness 0.15)))
|
||||||
|
(tstamp e64357ee-67ea-437d-842c-edd4e9b0e817)
|
||||||
|
)
|
||||||
|
(fp_text value "R_Shunt_Vishay_WSK2512_6332Metric_T1.19mm" (at 0 2.65) (layer "F.Fab")
|
||||||
|
(effects (font (size 1 1) (thickness 0.15)))
|
||||||
|
(tstamp 6d43eee8-d677-4710-a5b6-ed0a393d7e86)
|
||||||
|
)
|
||||||
|
(fp_text user "${REFERENCE}" (at 0 0) (layer "F.Fab")
|
||||||
|
(effects (font (size 1 1) (thickness 0.15)))
|
||||||
|
(tstamp 7af73258-6848-4c90-ada6-9916b21e0d54)
|
||||||
|
)
|
||||||
|
(fp_line (start -2.5 1.7) (end 1.67 1.7)
|
||||||
|
(stroke (width 0.12) (type solid)) (layer "F.SilkS") (tstamp 686b0a9f-f303-4b9c-97bc-13b268071b2a))
|
||||||
|
(fp_line (start -1.67 -1.7) (end 2.53 -1.7)
|
||||||
|
(stroke (width 0.12) (type solid)) (layer "F.SilkS") (tstamp 8ff3cd0c-2e69-49a7-948e-62e2af1cdeaf))
|
||||||
|
(fp_line (start -4.38 -1.9) (end 4.38 -1.9)
|
||||||
|
(stroke (width 0.05) (type solid)) (layer "F.CrtYd") (tstamp 97453d6f-90a6-4d0b-9533-4b9de0e70d67))
|
||||||
|
(fp_line (start -4.38 1.9) (end -4.38 -1.9)
|
||||||
|
(stroke (width 0.05) (type solid)) (layer "F.CrtYd") (tstamp 8d751a64-d963-4d3e-b652-c6367d221a4c))
|
||||||
|
(fp_line (start 4.38 -1.9) (end 4.38 1.9)
|
||||||
|
(stroke (width 0.05) (type solid)) (layer "F.CrtYd") (tstamp 5fc8cbbe-390d-45f2-b9e2-001b3b36ad53))
|
||||||
|
(fp_line (start 4.38 1.9) (end -4.38 1.9)
|
||||||
|
(stroke (width 0.05) (type solid)) (layer "F.CrtYd") (tstamp 85ea9322-734e-4f57-b7f4-e08d8559c109))
|
||||||
|
(fp_line (start -3.175 -1.59) (end 3.175 -1.59)
|
||||||
|
(stroke (width 0.1) (type solid)) (layer "F.Fab") (tstamp a616017c-8c30-4c24-8988-6ebc65a5a14c))
|
||||||
|
(fp_line (start -3.175 0.32) (end -3.175 -1.59)
|
||||||
|
(stroke (width 0.1) (type solid)) (layer "F.Fab") (tstamp 007035a4-df14-4627-b9dd-16c0816e9fc4))
|
||||||
|
(fp_line (start -3.175 0.32) (end -2.795 0.32)
|
||||||
|
(stroke (width 0.1) (type solid)) (layer "F.Fab") (tstamp 7a92ebc4-86fb-494b-8925-1512bf4598dd))
|
||||||
|
(fp_line (start -3.175 0.94) (end -3.175 1.59)
|
||||||
|
(stroke (width 0.1) (type solid)) (layer "F.Fab") (tstamp 8d1ed9db-8b9e-4c9a-b026-a147d8ba5a89))
|
||||||
|
(fp_line (start -3.175 0.94) (end -2.795 0.94)
|
||||||
|
(stroke (width 0.1) (type solid)) (layer "F.Fab") (tstamp 3238b0a3-1bbc-4ecd-9eca-d39a4563f46a))
|
||||||
|
(fp_line (start -2.795 0.94) (end -2.795 0.32)
|
||||||
|
(stroke (width 0.1) (type solid)) (layer "F.Fab") (tstamp 56e7214e-7e65-4896-9919-6dfa6ad242a1))
|
||||||
|
(fp_line (start 2.79 -0.94) (end 3.17 -0.94)
|
||||||
|
(stroke (width 0.1) (type solid)) (layer "F.Fab") (tstamp bf2fd8b5-dc07-4d36-93f4-c05d760e4ae8))
|
||||||
|
(fp_line (start 2.79 -0.32) (end 2.79 -0.94)
|
||||||
|
(stroke (width 0.1) (type solid)) (layer "F.Fab") (tstamp 2732ea3b-0a68-4014-9f1f-147b192cb827))
|
||||||
|
(fp_line (start 2.79 -0.32) (end 3.17 -0.32)
|
||||||
|
(stroke (width 0.1) (type solid)) (layer "F.Fab") (tstamp 7597632e-0fab-4537-9ef5-3d955ee8fe04))
|
||||||
|
(fp_line (start 3.175 -0.94) (end 3.175 -1.59)
|
||||||
|
(stroke (width 0.1) (type solid)) (layer "F.Fab") (tstamp be78e59b-9296-4843-849b-9aeaddf3ec90))
|
||||||
|
(fp_line (start 3.175 -0.32) (end 3.175 1.59)
|
||||||
|
(stroke (width 0.1) (type solid)) (layer "F.Fab") (tstamp f0529fdf-6a96-4afa-ae66-3987676f8cc1))
|
||||||
|
(fp_line (start 3.175 1.59) (end -3.175 1.59)
|
||||||
|
(stroke (width 0.1) (type solid)) (layer "F.Fab") (tstamp 5494f1f1-9934-4901-ae11-4f45356840a6))
|
||||||
|
(pad "1" smd roundrect (at -2.985 0.635) (size 2.29 2.03) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.12) (tstamp 7d665233-6376-4fd3-9d23-184556b0630c))
|
||||||
|
(pad "2" smd roundrect (at -3.43 -1.27) (size 1.4 0.76) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.12) (tstamp a060266a-0c38-4364-b2df-6f7cf4c69f0d))
|
||||||
|
(pad "3" smd roundrect (at 3.43 -1.27) (size 1.4 0.76) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25) (tstamp a1e31646-49e8-4836-bd67-1b6bed652414))
|
||||||
|
(pad "4" smd roundrect (at 2.985 0.635) (size 2.29 2.03) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.12) (tstamp 3f532dd2-fd5a-4fe7-9636-aa84f769e3b2))
|
||||||
|
(model "${KICAD6_3DMODEL_DIR}/Resistor_SMD.3dshapes/R_Shunt_Vishay_WSK2512_6332Metric_T1.19mm.wrl"
|
||||||
|
(offset (xyz 0 0 0))
|
||||||
|
(scale (xyz 1 1 1))
|
||||||
|
(rotate (xyz 0 0 0))
|
||||||
|
)
|
||||||
|
)
|
@ -0,0 +1,37 @@
|
|||||||
|
|
||||||
|
(footprint SOP65P640X120-14N (layer F.Cu) (tedit 65346025)
|
||||||
|
(descr "")
|
||||||
|
(attr smd)
|
||||||
|
(fp_text reference REF** (at -0.595 -3.435 0) (layer F.SilkS)
|
||||||
|
(effects (font (size 1.0 1.0) (thickness 0.15)))
|
||||||
|
)
|
||||||
|
(fp_text value SOP65P640X120-14N (at 7.025 3.435 0) (layer F.Fab)
|
||||||
|
(effects (font (size 1.0 1.0) (thickness 0.15)))
|
||||||
|
)
|
||||||
|
(pad 1 smd roundrect (roundrect_rratio 0.05) (at -2.87 -1.95) (size 1.57 0.41) (layers F.Cu F.Mask F.Paste) (solder_mask_margin 0.102))
|
||||||
|
(pad 2 smd roundrect (roundrect_rratio 0.05) (at -2.87 -1.3) (size 1.57 0.41) (layers F.Cu F.Mask F.Paste) (solder_mask_margin 0.102))
|
||||||
|
(pad 3 smd roundrect (roundrect_rratio 0.05) (at -2.87 -0.65) (size 1.57 0.41) (layers F.Cu F.Mask F.Paste) (solder_mask_margin 0.102))
|
||||||
|
(pad 4 smd roundrect (roundrect_rratio 0.05) (at -2.87 0.0) (size 1.57 0.41) (layers F.Cu F.Mask F.Paste) (solder_mask_margin 0.102))
|
||||||
|
(pad 5 smd roundrect (roundrect_rratio 0.05) (at -2.87 0.65) (size 1.57 0.41) (layers F.Cu F.Mask F.Paste) (solder_mask_margin 0.102))
|
||||||
|
(pad 6 smd roundrect (roundrect_rratio 0.05) (at -2.87 1.3) (size 1.57 0.41) (layers F.Cu F.Mask F.Paste) (solder_mask_margin 0.102))
|
||||||
|
(pad 7 smd roundrect (roundrect_rratio 0.05) (at -2.87 1.95) (size 1.57 0.41) (layers F.Cu F.Mask F.Paste) (solder_mask_margin 0.102))
|
||||||
|
(pad 8 smd roundrect (roundrect_rratio 0.05) (at 2.87 1.95) (size 1.57 0.41) (layers F.Cu F.Mask F.Paste) (solder_mask_margin 0.102))
|
||||||
|
(pad 9 smd roundrect (roundrect_rratio 0.05) (at 2.87 1.3) (size 1.57 0.41) (layers F.Cu F.Mask F.Paste) (solder_mask_margin 0.102))
|
||||||
|
(pad 10 smd roundrect (roundrect_rratio 0.05) (at 2.87 0.65) (size 1.57 0.41) (layers F.Cu F.Mask F.Paste) (solder_mask_margin 0.102))
|
||||||
|
(pad 11 smd roundrect (roundrect_rratio 0.05) (at 2.87 0.0) (size 1.57 0.41) (layers F.Cu F.Mask F.Paste) (solder_mask_margin 0.102))
|
||||||
|
(pad 12 smd roundrect (roundrect_rratio 0.05) (at 2.87 -0.65) (size 1.57 0.41) (layers F.Cu F.Mask F.Paste) (solder_mask_margin 0.102))
|
||||||
|
(pad 13 smd roundrect (roundrect_rratio 0.05) (at 2.87 -1.3) (size 1.57 0.41) (layers F.Cu F.Mask F.Paste) (solder_mask_margin 0.102))
|
||||||
|
(pad 14 smd roundrect (roundrect_rratio 0.05) (at 2.87 -1.95) (size 1.57 0.41) (layers F.Cu F.Mask F.Paste) (solder_mask_margin 0.102))
|
||||||
|
(fp_circle (center -4.24 -2.26) (end -4.14 -2.26) (layer F.SilkS) (width 0.2))
|
||||||
|
(fp_circle (center -4.24 -2.26) (end -4.14 -2.26) (layer F.Fab) (width 0.2))
|
||||||
|
(fp_line (start -2.2 -2.5) (end 2.2 -2.5) (layer F.Fab) (width 0.127))
|
||||||
|
(fp_line (start -2.2 2.5) (end 2.2 2.5) (layer F.Fab) (width 0.127))
|
||||||
|
(fp_line (start -2.2 -2.5) (end 2.2 -2.5) (layer F.SilkS) (width 0.127))
|
||||||
|
(fp_line (start -2.2 2.5) (end 2.2 2.5) (layer F.SilkS) (width 0.127))
|
||||||
|
(fp_line (start -2.2 -2.5) (end -2.2 2.5) (layer F.Fab) (width 0.127))
|
||||||
|
(fp_line (start 2.2 -2.5) (end 2.2 2.5) (layer F.Fab) (width 0.127))
|
||||||
|
(fp_line (start -3.905 -2.75) (end 3.905 -2.75) (layer F.CrtYd) (width 0.05))
|
||||||
|
(fp_line (start -3.905 2.75) (end 3.905 2.75) (layer F.CrtYd) (width 0.05))
|
||||||
|
(fp_line (start -3.905 -2.75) (end -3.905 2.75) (layer F.CrtYd) (width 0.05))
|
||||||
|
(fp_line (start 3.905 -2.75) (end 3.905 2.75) (layer F.CrtYd) (width 0.05))
|
||||||
|
)
|
29
battery_board/battery_board/kicad-stuff/SSOP10.kicad_mod
Normal file
29
battery_board/battery_board/kicad-stuff/SSOP10.kicad_mod
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
|
||||||
|
(footprint SSOP10 (layer F.Cu) (tedit 652971AF)
|
||||||
|
(descr "")
|
||||||
|
(attr smd)
|
||||||
|
(fp_text reference REF** (at -3.2004 0.0 900) (layer F.SilkS)
|
||||||
|
(effects (font (size 0.64 0.64) (thickness 0.15)))
|
||||||
|
)
|
||||||
|
(fp_text value SSOP10 (at 3.1496 -0.4064 900) (layer F.Fab)
|
||||||
|
(effects (font (size 0.64 0.64) (thickness 0.15)))
|
||||||
|
)
|
||||||
|
(pad 2 smd rect (at -1.0 2.8) (size 0.6 1.75) (layers F.Cu F.Mask F.Paste) (solder_mask_margin 0.102))
|
||||||
|
(pad 9 smd rect (at -1.0 -2.8) (size 0.6 1.75) (layers F.Cu F.Mask F.Paste) (solder_mask_margin 0.102))
|
||||||
|
(pad 1 smd rect (at -2.0 2.8) (size 0.6 1.75) (layers F.Cu F.Mask F.Paste) (solder_mask_margin 0.102))
|
||||||
|
(pad 3 smd rect (at 0.0 2.8) (size 0.6 1.75) (layers F.Cu F.Mask F.Paste) (solder_mask_margin 0.102))
|
||||||
|
(pad 4 smd rect (at 1.0 2.8) (size 0.6 1.75) (layers F.Cu F.Mask F.Paste) (solder_mask_margin 0.102))
|
||||||
|
(pad 10 smd rect (at -2.0 -2.8) (size 0.6 1.75) (layers F.Cu F.Mask F.Paste) (solder_mask_margin 0.102))
|
||||||
|
(pad 8 smd rect (at 0.0 -2.8) (size 0.6 1.75) (layers F.Cu F.Mask F.Paste) (solder_mask_margin 0.102))
|
||||||
|
(pad 7 smd rect (at 1.0 -2.8) (size 0.6 1.75) (layers F.Cu F.Mask F.Paste) (solder_mask_margin 0.102))
|
||||||
|
(pad 5 smd rect (at 2.0 2.8) (size 0.6 1.75) (layers F.Cu F.Mask F.Paste) (solder_mask_margin 0.102))
|
||||||
|
(pad 6 smd rect (at 2.0 -2.8) (size 0.6 1.75) (layers F.Cu F.Mask F.Paste) (solder_mask_margin 0.102))
|
||||||
|
(fp_line (start 2.527 -1.9) (end 2.527 1.4) (layer F.Fab) (width 0.2032))
|
||||||
|
(fp_line (start 2.527 1.4) (end 2.527 1.9) (layer F.Fab) (width 0.2032))
|
||||||
|
(fp_line (start 2.527 1.9) (end -2.527 1.9) (layer F.Fab) (width 0.2032))
|
||||||
|
(fp_line (start -2.527 1.9) (end -2.527 1.4) (layer F.Fab) (width 0.2032))
|
||||||
|
(fp_line (start -2.527 1.4) (end -2.527 -1.9) (layer F.Fab) (width 0.2032))
|
||||||
|
(fp_line (start -2.527 -1.9) (end 2.527 -1.9) (layer F.Fab) (width 0.2032))
|
||||||
|
(fp_line (start 2.527 1.4) (end -2.527 1.4) (layer F.Fab) (width 0.2032))
|
||||||
|
(fp_line (start -1.905 1.016) (end -1.905 -1.016) (layer F.SilkS) (width 0.3048))
|
||||||
|
)
|
104
battery_board/battery_board/kicad-stuff/SX1308.kicad_sym
Normal file
104
battery_board/battery_board/kicad-stuff/SX1308.kicad_sym
Normal file
@ -0,0 +1,104 @@
|
|||||||
|
(kicad_symbol_lib (version 20220914) (generator kicad_symbol_editor)
|
||||||
|
(symbol "SX1308" (pin_names (offset 1.016)) (in_bom yes) (on_board yes)
|
||||||
|
(property "Reference" "U" (at -17.78 20.32 0)
|
||||||
|
(effects (font (size 1.27 1.27)) (justify left bottom))
|
||||||
|
)
|
||||||
|
(property "Value" "SX1308" (at -17.8054 17.8054 0)
|
||||||
|
(effects (font (size 1.27 1.27)) (justify left bottom))
|
||||||
|
)
|
||||||
|
(property "Footprint" "SOT-23-6" (at 0 0 0)
|
||||||
|
(effects (font (size 1.27 1.27)) (justify left bottom) hide)
|
||||||
|
)
|
||||||
|
(property "Datasheet" "" (at 0 0 0)
|
||||||
|
(effects (font (size 1.27 1.27)) (justify left bottom) hide)
|
||||||
|
)
|
||||||
|
(property "ki_locked" "" (at 0 0 0)
|
||||||
|
(effects (font (size 1.27 1.27)))
|
||||||
|
)
|
||||||
|
(symbol "SX1308_0_0"
|
||||||
|
(polyline
|
||||||
|
(pts
|
||||||
|
(xy -17.78 -7.62)
|
||||||
|
(xy -17.78 15.24)
|
||||||
|
)
|
||||||
|
(stroke (width 0.254) (type solid))
|
||||||
|
(fill (type none))
|
||||||
|
)
|
||||||
|
(polyline
|
||||||
|
(pts
|
||||||
|
(xy -17.78 15.24)
|
||||||
|
(xy 0 15.24)
|
||||||
|
)
|
||||||
|
(stroke (width 0.254) (type solid))
|
||||||
|
(fill (type none))
|
||||||
|
)
|
||||||
|
(polyline
|
||||||
|
(pts
|
||||||
|
(xy -13.7922 0.1778)
|
||||||
|
(xy -11.2522 0.1778)
|
||||||
|
)
|
||||||
|
(stroke (width 0.254) (type solid))
|
||||||
|
(fill (type none))
|
||||||
|
)
|
||||||
|
(polyline
|
||||||
|
(pts
|
||||||
|
(xy -11.303 1.6764)
|
||||||
|
(xy -8.763 1.6764)
|
||||||
|
)
|
||||||
|
(stroke (width 0.254) (type solid))
|
||||||
|
(fill (type none))
|
||||||
|
)
|
||||||
|
(polyline
|
||||||
|
(pts
|
||||||
|
(xy -11.2522 0.1778)
|
||||||
|
(xy -11.303 1.6764)
|
||||||
|
)
|
||||||
|
(stroke (width 0.254) (type solid))
|
||||||
|
(fill (type none))
|
||||||
|
)
|
||||||
|
(polyline
|
||||||
|
(pts
|
||||||
|
(xy 0 -7.62)
|
||||||
|
(xy -17.78 -7.62)
|
||||||
|
)
|
||||||
|
(stroke (width 0.254) (type solid))
|
||||||
|
(fill (type none))
|
||||||
|
)
|
||||||
|
(polyline
|
||||||
|
(pts
|
||||||
|
(xy 0 15.24)
|
||||||
|
(xy 0 -7.62)
|
||||||
|
)
|
||||||
|
(stroke (width 0.254) (type solid))
|
||||||
|
(fill (type none))
|
||||||
|
)
|
||||||
|
(text "ON/OFF" (at -10.8712 -0.0508 0)
|
||||||
|
(effects (font (size 0.8128 0.8128)) (justify left bottom))
|
||||||
|
)
|
||||||
|
(pin bidirectional line (at 5.08 12.7 180) (length 5.08)
|
||||||
|
(name "SW" (effects (font (size 1.016 1.016))))
|
||||||
|
(number "1" (effects (font (size 1.016 1.016))))
|
||||||
|
)
|
||||||
|
(pin bidirectional line (at -22.86 -5.08 0) (length 5.08)
|
||||||
|
(name "GND" (effects (font (size 1.016 1.016))))
|
||||||
|
(number "2" (effects (font (size 1.016 1.016))))
|
||||||
|
)
|
||||||
|
(pin bidirectional line (at 5.08 -2.54 180) (length 5.08)
|
||||||
|
(name "FB" (effects (font (size 1.016 1.016))))
|
||||||
|
(number "3" (effects (font (size 1.016 1.016))))
|
||||||
|
)
|
||||||
|
(pin bidirectional line (at -22.86 2.54 0) (length 5.08)
|
||||||
|
(name "EN" (effects (font (size 1.016 1.016))))
|
||||||
|
(number "4" (effects (font (size 1.016 1.016))))
|
||||||
|
)
|
||||||
|
(pin bidirectional line (at -22.86 12.7 0) (length 5.08)
|
||||||
|
(name "IN" (effects (font (size 1.016 1.016))))
|
||||||
|
(number "5" (effects (font (size 1.016 1.016))))
|
||||||
|
)
|
||||||
|
(pin bidirectional line (at 5.08 5.08 180) (length 5.08)
|
||||||
|
(name "N/C" (effects (font (size 1.016 1.016))))
|
||||||
|
(number "6" (effects (font (size 1.016 1.016))))
|
||||||
|
)
|
||||||
|
)
|
||||||
|
)
|
||||||
|
)
|
31
battery_board/battery_board/kicad-stuff/SX1308.lib
Normal file
31
battery_board/battery_board/kicad-stuff/SX1308.lib
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
EESchema-LIBRARY Version 2.3
|
||||||
|
#encoding utf-8
|
||||||
|
#(c) SnapEDA 2016 (snapeda.com)
|
||||||
|
#This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License (CC BY-SA) with Design Exception 1.0
|
||||||
|
#
|
||||||
|
# SX1308
|
||||||
|
#
|
||||||
|
DEF SX1308 U 0 40 Y Y 1 L N
|
||||||
|
F0 "U" -700 800 50 H V L BNN
|
||||||
|
F1 "SX1308" -701 701 50 H V L BNN
|
||||||
|
F2 "SOT-23-6" 0 0 50 H I L BNN
|
||||||
|
F3 "" 0 0 50 H I L BNN
|
||||||
|
DRAW
|
||||||
|
P 2 0 0 10 -700 600 0 600 N
|
||||||
|
P 2 0 0 10 0 600 0 -300 N
|
||||||
|
P 2 0 0 10 0 -300 -700 -300 N
|
||||||
|
P 2 0 0 10 -700 -300 -700 600 N
|
||||||
|
P 2 0 0 10 -543 7 -443 7 N
|
||||||
|
P 2 0 0 10 -443 7 -445 66 N
|
||||||
|
P 2 0 0 10 -445 66 -345 66 N
|
||||||
|
T 0 -428 -2 32 0 0 0 ON/OFF Normal 0 L B
|
||||||
|
X SW 1 200 500 200 L 40 40 0 0 B
|
||||||
|
X FB 3 200 -100 200 L 40 40 0 0 B
|
||||||
|
X IN 5 -900 500 200 R 40 40 0 0 B
|
||||||
|
X EN 4 -900 100 200 R 40 40 0 0 B
|
||||||
|
X GND 2 -900 -200 200 R 40 40 0 0 B
|
||||||
|
X N/C 6 200 200 200 L 40 40 0 0 B
|
||||||
|
ENDDRAW
|
||||||
|
ENDDEF
|
||||||
|
#
|
||||||
|
# End Library
|
168
battery_board/battery_board/kicad-stuff/ds2438.kicad_sym
Normal file
168
battery_board/battery_board/kicad-stuff/ds2438.kicad_sym
Normal file
@ -0,0 +1,168 @@
|
|||||||
|
(kicad_symbol_lib (version 20220914) (generator kicad_symbol_editor)
|
||||||
|
(symbol "ds2438az+" (pin_names (offset 0.254)) (in_bom yes) (on_board yes)
|
||||||
|
(property "Reference" "U" (at 30.48 10.16 0)
|
||||||
|
(effects (font (size 1.524 1.524)))
|
||||||
|
)
|
||||||
|
(property "Value" "ds2438az+" (at 30.48 7.62 0)
|
||||||
|
(effects (font (size 1.524 1.524)))
|
||||||
|
)
|
||||||
|
(property "Footprint" "21-0041B_8_MXM" (at 30.48 6.096 0)
|
||||||
|
(effects (font (size 1.524 1.524)) hide)
|
||||||
|
)
|
||||||
|
(property "Datasheet" "" (at 0 0 0)
|
||||||
|
(effects (font (size 1.524 1.524)))
|
||||||
|
)
|
||||||
|
(property "ki_locked" "" (at 0 0 0)
|
||||||
|
(effects (font (size 1.27 1.27)))
|
||||||
|
)
|
||||||
|
(property "ki_fp_filters" "21-0041B_8_MXM 21-0041B_8_MXM-M 21-0041B_8_MXM-L" (at 0 0 0)
|
||||||
|
(effects (font (size 1.27 1.27)) hide)
|
||||||
|
)
|
||||||
|
(symbol "ds2438az+_1_1"
|
||||||
|
(polyline
|
||||||
|
(pts
|
||||||
|
(xy 7.112 -7.62)
|
||||||
|
(xy 6.0452 -8.128)
|
||||||
|
)
|
||||||
|
(stroke (width 0.127) (type solid))
|
||||||
|
(fill (type none))
|
||||||
|
)
|
||||||
|
(polyline
|
||||||
|
(pts
|
||||||
|
(xy 7.112 -7.62)
|
||||||
|
(xy 6.0452 -7.112)
|
||||||
|
)
|
||||||
|
(stroke (width 0.127) (type solid))
|
||||||
|
(fill (type none))
|
||||||
|
)
|
||||||
|
(polyline
|
||||||
|
(pts
|
||||||
|
(xy 7.112 -5.08)
|
||||||
|
(xy 6.0452 -5.588)
|
||||||
|
)
|
||||||
|
(stroke (width 0.127) (type solid))
|
||||||
|
(fill (type none))
|
||||||
|
)
|
||||||
|
(polyline
|
||||||
|
(pts
|
||||||
|
(xy 7.112 -5.08)
|
||||||
|
(xy 6.0452 -4.572)
|
||||||
|
)
|
||||||
|
(stroke (width 0.127) (type solid))
|
||||||
|
(fill (type none))
|
||||||
|
)
|
||||||
|
(polyline
|
||||||
|
(pts
|
||||||
|
(xy 7.112 -2.54)
|
||||||
|
(xy 6.0452 -3.048)
|
||||||
|
)
|
||||||
|
(stroke (width 0.127) (type solid))
|
||||||
|
(fill (type none))
|
||||||
|
)
|
||||||
|
(polyline
|
||||||
|
(pts
|
||||||
|
(xy 7.112 -2.54)
|
||||||
|
(xy 6.0452 -2.032)
|
||||||
|
)
|
||||||
|
(stroke (width 0.127) (type solid))
|
||||||
|
(fill (type none))
|
||||||
|
)
|
||||||
|
(polyline
|
||||||
|
(pts
|
||||||
|
(xy 7.62 -12.7)
|
||||||
|
(xy 53.34 -12.7)
|
||||||
|
)
|
||||||
|
(stroke (width 0.127) (type solid))
|
||||||
|
(fill (type none))
|
||||||
|
)
|
||||||
|
(polyline
|
||||||
|
(pts
|
||||||
|
(xy 7.62 5.08)
|
||||||
|
(xy 7.62 -12.7)
|
||||||
|
)
|
||||||
|
(stroke (width 0.127) (type solid))
|
||||||
|
(fill (type none))
|
||||||
|
)
|
||||||
|
(polyline
|
||||||
|
(pts
|
||||||
|
(xy 53.34 -12.7)
|
||||||
|
(xy 53.34 5.08)
|
||||||
|
)
|
||||||
|
(stroke (width 0.127) (type solid))
|
||||||
|
(fill (type none))
|
||||||
|
)
|
||||||
|
(polyline
|
||||||
|
(pts
|
||||||
|
(xy 53.34 5.08)
|
||||||
|
(xy 7.62 5.08)
|
||||||
|
)
|
||||||
|
(stroke (width 0.127) (type solid))
|
||||||
|
(fill (type none))
|
||||||
|
)
|
||||||
|
(polyline
|
||||||
|
(pts
|
||||||
|
(xy 53.848 0)
|
||||||
|
(xy 54.9148 -0.508)
|
||||||
|
)
|
||||||
|
(stroke (width 0.127) (type solid))
|
||||||
|
(fill (type none))
|
||||||
|
)
|
||||||
|
(polyline
|
||||||
|
(pts
|
||||||
|
(xy 53.848 0)
|
||||||
|
(xy 54.9148 0.508)
|
||||||
|
)
|
||||||
|
(stroke (width 0.127) (type solid))
|
||||||
|
(fill (type none))
|
||||||
|
)
|
||||||
|
(polyline
|
||||||
|
(pts
|
||||||
|
(xy 55.4228 -0.508)
|
||||||
|
(xy 56.4642 0)
|
||||||
|
)
|
||||||
|
(stroke (width 0.127) (type solid))
|
||||||
|
(fill (type none))
|
||||||
|
)
|
||||||
|
(polyline
|
||||||
|
(pts
|
||||||
|
(xy 55.4228 0.508)
|
||||||
|
(xy 56.4642 0)
|
||||||
|
)
|
||||||
|
(stroke (width 0.127) (type solid))
|
||||||
|
(fill (type none))
|
||||||
|
)
|
||||||
|
(pin power_in line (at 0 0 0) (length 7.62)
|
||||||
|
(name "GND" (effects (font (size 1.4986 1.4986))))
|
||||||
|
(number "1" (effects (font (size 1.4986 1.4986))))
|
||||||
|
)
|
||||||
|
(pin input line (at 0 -2.54 0) (length 7.62)
|
||||||
|
(name "VSENS+" (effects (font (size 1.4986 1.4986))))
|
||||||
|
(number "2" (effects (font (size 1.4986 1.4986))))
|
||||||
|
)
|
||||||
|
(pin input line (at 0 -5.08 0) (length 7.62)
|
||||||
|
(name "VSENS-" (effects (font (size 1.4986 1.4986))))
|
||||||
|
(number "3" (effects (font (size 1.4986 1.4986))))
|
||||||
|
)
|
||||||
|
(pin input line (at 0 -7.62 0) (length 7.62)
|
||||||
|
(name "VAD" (effects (font (size 1.4986 1.4986))))
|
||||||
|
(number "4" (effects (font (size 1.4986 1.4986))))
|
||||||
|
)
|
||||||
|
(pin power_in line (at 60.96 -7.62 180) (length 7.62)
|
||||||
|
(name "VDD" (effects (font (size 1.4986 1.4986))))
|
||||||
|
(number "5" (effects (font (size 1.4986 1.4986))))
|
||||||
|
)
|
||||||
|
(pin no_connect line (at 60.96 -5.08 180) (length 7.62)
|
||||||
|
(name "NC" (effects (font (size 1.4986 1.4986))))
|
||||||
|
(number "6" (effects (font (size 1.4986 1.4986))))
|
||||||
|
)
|
||||||
|
(pin no_connect line (at 60.96 -2.54 180) (length 7.62)
|
||||||
|
(name "NC" (effects (font (size 1.4986 1.4986))))
|
||||||
|
(number "7" (effects (font (size 1.4986 1.4986))))
|
||||||
|
)
|
||||||
|
(pin bidirectional line (at 60.96 0 180) (length 7.62)
|
||||||
|
(name "DQ" (effects (font (size 1.4986 1.4986))))
|
||||||
|
(number "8" (effects (font (size 1.4986 1.4986))))
|
||||||
|
)
|
||||||
|
)
|
||||||
|
)
|
||||||
|
)
|
42
battery_board/battery_board/kicad-stuff/ds2438.lib
Normal file
42
battery_board/battery_board/kicad-stuff/ds2438.lib
Normal file
@ -0,0 +1,42 @@
|
|||||||
|
EESchema-LIBRARY Version 2.3 Date: 21-02-2013 11:13:20
|
||||||
|
#encoding utf-8
|
||||||
|
#
|
||||||
|
# ds2438az+
|
||||||
|
#
|
||||||
|
DEF ds2438az+ U 0 10 Y Y 1 L N
|
||||||
|
F0 "U" 1200 400 60 H V C CNN
|
||||||
|
F1 "ds2438az+" 1200 300 60 H V C CNN
|
||||||
|
F2 "21-0041B_8_MXM" 1200 240 60 H I C CNN
|
||||||
|
F3 "~" 0 0 60 H V C CNN
|
||||||
|
$FPLIST
|
||||||
|
21-0041B_8_MXM
|
||||||
|
21-0041B_8_MXM-M
|
||||||
|
21-0041B_8_MXM-L
|
||||||
|
$ENDFPLIST
|
||||||
|
DRAW
|
||||||
|
X GND 1 0 0 300 R 59 59 1 1 W
|
||||||
|
X VSENS+ 2 0 -100 300 R 59 59 1 1 I
|
||||||
|
X VSENS- 3 0 -200 300 R 59 59 1 1 I
|
||||||
|
X VAD 4 0 -300 300 R 59 59 1 1 I
|
||||||
|
X VDD 5 2400 -300 300 L 59 59 1 1 W
|
||||||
|
X NC 6 2400 -200 300 L 59 59 1 1 N
|
||||||
|
X NC 7 2400 -100 300 L 59 59 1 1 N
|
||||||
|
X DQ 8 2400 0 300 L 59 59 1 1 B
|
||||||
|
P 2 1 1 5 280 -100 238 -80 N
|
||||||
|
P 2 1 1 5 280 -100 238 -120 N
|
||||||
|
P 2 1 1 5 280 -200 238 -180 N
|
||||||
|
P 2 1 1 5 280 -200 238 -220 N
|
||||||
|
P 2 1 1 5 280 -300 238 -280 N
|
||||||
|
P 2 1 1 5 280 -300 238 -320 N
|
||||||
|
P 2 1 1 5 2120 0 2162 20 N
|
||||||
|
P 2 1 1 5 2120 0 2162 -20 N
|
||||||
|
P 2 1 1 5 2182 20 2223 0 N
|
||||||
|
P 2 1 1 5 2182 -20 2223 0 N
|
||||||
|
P 2 1 1 5 300 200 300 -500 N
|
||||||
|
P 2 1 1 5 300 -500 2100 -500 N
|
||||||
|
P 2 1 1 5 2100 -500 2100 200 N
|
||||||
|
P 2 1 1 5 2100 200 300 200 N
|
||||||
|
ENDDRAW
|
||||||
|
ENDDEF
|
||||||
|
#
|
||||||
|
#End Library
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
111
battery_board/battery_board/kicad-stuff/easyeda2kicad.kicad_sym
Normal file
111
battery_board/battery_board/kicad-stuff/easyeda2kicad.kicad_sym
Normal file
@ -0,0 +1,111 @@
|
|||||||
|
(kicad_symbol_lib
|
||||||
|
(version 20211014)
|
||||||
|
(generator https://github.com/uPesy/easyeda2kicad.py)
|
||||||
|
(symbol "UX-144S-ACP5"
|
||||||
|
(in_bom yes)
|
||||||
|
(on_board yes)
|
||||||
|
(property
|
||||||
|
"Reference"
|
||||||
|
"USB"
|
||||||
|
(id 0)
|
||||||
|
(at 0 11.43 0)
|
||||||
|
(effects (font (size 1.27 1.27) ) )
|
||||||
|
)
|
||||||
|
(property
|
||||||
|
"Value"
|
||||||
|
"UX-144S-ACP5"
|
||||||
|
(id 1)
|
||||||
|
(at 0 -8.89 0)
|
||||||
|
(effects (font (size 1.27 1.27) ) )
|
||||||
|
)
|
||||||
|
(property
|
||||||
|
"Footprint"
|
||||||
|
"easyeda2kicad:MINI-USB-SMD_UX-144S-ACP5"
|
||||||
|
(id 2)
|
||||||
|
(at 0 -11.43 0)
|
||||||
|
(effects (font (size 1.27 1.27) ) hide)
|
||||||
|
)
|
||||||
|
(property
|
||||||
|
"Datasheet"
|
||||||
|
"https://lcsc.com/product-detail/USB-Connectors_XUNPU-UX-144S-ACP5_C720611.html"
|
||||||
|
(id 3)
|
||||||
|
(at 0 -13.97 0)
|
||||||
|
(effects (font (size 1.27 1.27) ) hide)
|
||||||
|
)
|
||||||
|
(property
|
||||||
|
"LCSC Part"
|
||||||
|
"C720611"
|
||||||
|
(id 5)
|
||||||
|
(at 0 -16.51 0)
|
||||||
|
(effects (font (size 1.27 1.27) ) hide)
|
||||||
|
)
|
||||||
|
(symbol "UX-144S-ACP5_0_1"
|
||||||
|
(rectangle
|
||||||
|
(start -7.62 8.89)
|
||||||
|
(end 7.62 -6.35)
|
||||||
|
(stroke (width 0) (type default) (color 0 0 0 0))
|
||||||
|
(fill (type background))
|
||||||
|
)
|
||||||
|
(circle
|
||||||
|
(center -6.35 7.62)
|
||||||
|
(radius 0.38)
|
||||||
|
(stroke (width 0) (type default) (color 0 0 0 0))
|
||||||
|
(fill (type none))
|
||||||
|
)
|
||||||
|
(pin unspecified line
|
||||||
|
(at 10.16 5.08 180)
|
||||||
|
(length 2.54)
|
||||||
|
(name "GND" (effects (font (size 1.27 1.27))))
|
||||||
|
(number "9" (effects (font (size 1.27 1.27))))
|
||||||
|
)
|
||||||
|
(pin unspecified line
|
||||||
|
(at 10.16 2.54 180)
|
||||||
|
(length 2.54)
|
||||||
|
(name "GND" (effects (font (size 1.27 1.27))))
|
||||||
|
(number "8" (effects (font (size 1.27 1.27))))
|
||||||
|
)
|
||||||
|
(pin unspecified line
|
||||||
|
(at 10.16 -0.00 180)
|
||||||
|
(length 2.54)
|
||||||
|
(name "GND" (effects (font (size 1.27 1.27))))
|
||||||
|
(number "7" (effects (font (size 1.27 1.27))))
|
||||||
|
)
|
||||||
|
(pin unspecified line
|
||||||
|
(at 10.16 -2.54 180)
|
||||||
|
(length 2.54)
|
||||||
|
(name "GND" (effects (font (size 1.27 1.27))))
|
||||||
|
(number "6" (effects (font (size 1.27 1.27))))
|
||||||
|
)
|
||||||
|
(pin unspecified line
|
||||||
|
(at -10.16 -3.81 0)
|
||||||
|
(length 2.54)
|
||||||
|
(name "GND" (effects (font (size 1.27 1.27))))
|
||||||
|
(number "5" (effects (font (size 1.27 1.27))))
|
||||||
|
)
|
||||||
|
(pin unspecified line
|
||||||
|
(at -10.16 -1.27 0)
|
||||||
|
(length 2.54)
|
||||||
|
(name "ID" (effects (font (size 1.27 1.27))))
|
||||||
|
(number "4" (effects (font (size 1.27 1.27))))
|
||||||
|
)
|
||||||
|
(pin unspecified line
|
||||||
|
(at -10.16 1.27 0)
|
||||||
|
(length 2.54)
|
||||||
|
(name "D+" (effects (font (size 1.27 1.27))))
|
||||||
|
(number "3" (effects (font (size 1.27 1.27))))
|
||||||
|
)
|
||||||
|
(pin unspecified line
|
||||||
|
(at -10.16 3.81 0)
|
||||||
|
(length 2.54)
|
||||||
|
(name "D-" (effects (font (size 1.27 1.27))))
|
||||||
|
(number "2" (effects (font (size 1.27 1.27))))
|
||||||
|
)
|
||||||
|
(pin unspecified line
|
||||||
|
(at -10.16 6.35 0)
|
||||||
|
(length 2.54)
|
||||||
|
(name "VBUS" (effects (font (size 1.27 1.27))))
|
||||||
|
(number "1" (effects (font (size 1.27 1.27))))
|
||||||
|
)
|
||||||
|
)
|
||||||
|
)
|
||||||
|
)
|
@ -0,0 +1,256 @@
|
|||||||
|
(footprint "MINI-USB-SMD_UX-144S-ACP5"
|
||||||
|
(version 20240108)
|
||||||
|
(generator "pcbnew")
|
||||||
|
(generator_version "8.0")
|
||||||
|
(layer "F.Cu")
|
||||||
|
(property "Reference" "REF**"
|
||||||
|
(at 0 -6.85 0)
|
||||||
|
(layer "F.SilkS")
|
||||||
|
(uuid "e22138c6-3cb3-4e3c-ba92-a1710585cb5a")
|
||||||
|
(effects
|
||||||
|
(font
|
||||||
|
(size 1 1)
|
||||||
|
(thickness 0.15)
|
||||||
|
)
|
||||||
|
)
|
||||||
|
)
|
||||||
|
(property "Value" "MINI-USB-SMD_UX-144S-ACP5"
|
||||||
|
(at 0 6.85 0)
|
||||||
|
(layer "F.Fab")
|
||||||
|
(uuid "858a2627-e471-4bfb-9d6c-fd1b80f75161")
|
||||||
|
(effects
|
||||||
|
(font
|
||||||
|
(size 1 1)
|
||||||
|
(thickness 0.15)
|
||||||
|
)
|
||||||
|
)
|
||||||
|
)
|
||||||
|
(property "Footprint" ""
|
||||||
|
(at 0 0 0)
|
||||||
|
(layer "F.Fab")
|
||||||
|
(hide yes)
|
||||||
|
(uuid "e47c3973-5f77-49a7-9761-9ae10304f142")
|
||||||
|
(effects
|
||||||
|
(font
|
||||||
|
(size 1.27 1.27)
|
||||||
|
(thickness 0.15)
|
||||||
|
)
|
||||||
|
)
|
||||||
|
)
|
||||||
|
(property "Datasheet" ""
|
||||||
|
(at 0 0 0)
|
||||||
|
(layer "F.Fab")
|
||||||
|
(hide yes)
|
||||||
|
(uuid "26eeaf8e-5561-47b5-8bd4-deeb0ff6028a")
|
||||||
|
(effects
|
||||||
|
(font
|
||||||
|
(size 1.27 1.27)
|
||||||
|
(thickness 0.15)
|
||||||
|
)
|
||||||
|
)
|
||||||
|
)
|
||||||
|
(property "Description" ""
|
||||||
|
(at 0 0 0)
|
||||||
|
(layer "F.Fab")
|
||||||
|
(hide yes)
|
||||||
|
(uuid "df698dc1-8038-47dd-b09b-19d65b3be886")
|
||||||
|
(effects
|
||||||
|
(font
|
||||||
|
(size 1.27 1.27)
|
||||||
|
(thickness 0.15)
|
||||||
|
)
|
||||||
|
)
|
||||||
|
)
|
||||||
|
(attr smd)
|
||||||
|
(fp_line
|
||||||
|
(start -4.7 1.67)
|
||||||
|
(end -4.7 -1.47)
|
||||||
|
(stroke
|
||||||
|
(width 0.25)
|
||||||
|
(type solid)
|
||||||
|
)
|
||||||
|
(layer "F.SilkS")
|
||||||
|
(uuid "03440d98-e390-4a02-b4b0-b92205207476")
|
||||||
|
)
|
||||||
|
(fp_line
|
||||||
|
(start -4.7 5.84)
|
||||||
|
(end -4.7 4.03)
|
||||||
|
(stroke
|
||||||
|
(width 0.25)
|
||||||
|
(type solid)
|
||||||
|
)
|
||||||
|
(layer "F.SilkS")
|
||||||
|
(uuid "dba5fb97-b84e-4a41-85a6-f4fdb2339977")
|
||||||
|
)
|
||||||
|
(fp_line
|
||||||
|
(start -4.7 5.84)
|
||||||
|
(end 4.7 5.84)
|
||||||
|
(stroke
|
||||||
|
(width 0.25)
|
||||||
|
(type solid)
|
||||||
|
)
|
||||||
|
(layer "F.SilkS")
|
||||||
|
(uuid "e9634972-07de-4463-b72c-20fdc7e82f51")
|
||||||
|
)
|
||||||
|
(fp_line
|
||||||
|
(start -2.08 -3.56)
|
||||||
|
(end -3.22 -3.56)
|
||||||
|
(stroke
|
||||||
|
(width 0.25)
|
||||||
|
(type solid)
|
||||||
|
)
|
||||||
|
(layer "F.SilkS")
|
||||||
|
(uuid "dc5e02c5-dbda-406e-be24-d4fd6d4d39b2")
|
||||||
|
)
|
||||||
|
(fp_line
|
||||||
|
(start 3.22 -3.56)
|
||||||
|
(end 2.08 -3.56)
|
||||||
|
(stroke
|
||||||
|
(width 0.25)
|
||||||
|
(type solid)
|
||||||
|
)
|
||||||
|
(layer "F.SilkS")
|
||||||
|
(uuid "e1775f8a-42ad-41b1-8e07-5553a0c1f786")
|
||||||
|
)
|
||||||
|
(fp_line
|
||||||
|
(start 4.7 1.67)
|
||||||
|
(end 4.7 -1.47)
|
||||||
|
(stroke
|
||||||
|
(width 0.25)
|
||||||
|
(type solid)
|
||||||
|
)
|
||||||
|
(layer "F.SilkS")
|
||||||
|
(uuid "b21655b3-f4bd-4a22-9260-c998017c187d")
|
||||||
|
)
|
||||||
|
(fp_line
|
||||||
|
(start 4.7 5.84)
|
||||||
|
(end 4.7 4.03)
|
||||||
|
(stroke
|
||||||
|
(width 0.25)
|
||||||
|
(type solid)
|
||||||
|
)
|
||||||
|
(layer "F.SilkS")
|
||||||
|
(uuid "b8716775-fa34-44c7-9a12-b008ee829381")
|
||||||
|
)
|
||||||
|
(fp_circle
|
||||||
|
(center -2.2 -0.1)
|
||||||
|
(end -2.01 -0.1)
|
||||||
|
(stroke
|
||||||
|
(width 0.38)
|
||||||
|
(type solid)
|
||||||
|
)
|
||||||
|
(fill none)
|
||||||
|
(layer "Cmts.User")
|
||||||
|
(uuid "de63054b-d560-446e-acd5-3d574530415b")
|
||||||
|
)
|
||||||
|
(fp_circle
|
||||||
|
(center 2.2 -0.1)
|
||||||
|
(end 2.39 -0.1)
|
||||||
|
(stroke
|
||||||
|
(width 0.38)
|
||||||
|
(type solid)
|
||||||
|
)
|
||||||
|
(fill none)
|
||||||
|
(layer "Cmts.User")
|
||||||
|
(uuid "81ac27ac-99bd-4e20-acf0-7bd310da8d42")
|
||||||
|
)
|
||||||
|
(fp_circle
|
||||||
|
(center -4.67 -3.46)
|
||||||
|
(end -4.64 -3.46)
|
||||||
|
(stroke
|
||||||
|
(width 0.06)
|
||||||
|
(type solid)
|
||||||
|
)
|
||||||
|
(fill none)
|
||||||
|
(layer "F.Fab")
|
||||||
|
(uuid "fd695e98-9e3b-4a37-8976-4cf48758b0bb")
|
||||||
|
)
|
||||||
|
(fp_text user "${REFERENCE}"
|
||||||
|
(at 0 0 0)
|
||||||
|
(layer "F.Fab")
|
||||||
|
(uuid "ebb3e71d-8b4f-4e74-a06c-fa75e65fb5ea")
|
||||||
|
(effects
|
||||||
|
(font
|
||||||
|
(size 1 1)
|
||||||
|
(thickness 0.15)
|
||||||
|
)
|
||||||
|
)
|
||||||
|
)
|
||||||
|
(pad "" smd circle
|
||||||
|
(at -2.2 -0.1)
|
||||||
|
(size 1 1)
|
||||||
|
(layers "F.Paste")
|
||||||
|
(uuid "bd4630f6-b596-42aa-a67b-d92affdad121")
|
||||||
|
)
|
||||||
|
(pad "" smd circle
|
||||||
|
(at 2.2 -0.1)
|
||||||
|
(size 1 1)
|
||||||
|
(layers "F.Paste")
|
||||||
|
(uuid "5600899a-4eef-439b-b910-bd9b182b3af5")
|
||||||
|
)
|
||||||
|
(pad "1" smd rect
|
||||||
|
(at -1.6 -2.85)
|
||||||
|
(size 0.5 1.7)
|
||||||
|
(layers "F.Cu" "F.Paste" "F.Mask")
|
||||||
|
(uuid "335fc2d7-32d6-4034-8537-3e4ecdbb698e")
|
||||||
|
)
|
||||||
|
(pad "2" smd rect
|
||||||
|
(at -0.8 -2.85)
|
||||||
|
(size 0.5 1.7)
|
||||||
|
(layers "F.Cu" "F.Paste" "F.Mask")
|
||||||
|
(uuid "ad9d26c5-067e-4461-a7de-8849dc9b3d7a")
|
||||||
|
)
|
||||||
|
(pad "3" smd rect
|
||||||
|
(at 0 -2.85)
|
||||||
|
(size 0.5 1.7)
|
||||||
|
(layers "F.Cu" "F.Paste" "F.Mask")
|
||||||
|
(uuid "07c2e01e-14f9-40a4-a86a-be138db1f386")
|
||||||
|
)
|
||||||
|
(pad "4" smd rect
|
||||||
|
(at 0.8 -2.85)
|
||||||
|
(size 0.5 1.7)
|
||||||
|
(layers "F.Cu" "F.Paste" "F.Mask")
|
||||||
|
(uuid "d6db4c4a-622f-481f-9577-0021a75fe066")
|
||||||
|
)
|
||||||
|
(pad "5" smd rect
|
||||||
|
(at 1.6 -2.85)
|
||||||
|
(size 0.5 1.7)
|
||||||
|
(layers "F.Cu" "F.Paste" "F.Mask")
|
||||||
|
(uuid "775ff58f-f278-4d45-878f-eb1e67ee5746")
|
||||||
|
)
|
||||||
|
(pad "6" smd rect
|
||||||
|
(at -4.17 -2.65)
|
||||||
|
(size 1.45 1.9)
|
||||||
|
(layers "F.Cu" "F.Paste" "F.Mask")
|
||||||
|
(uuid "b5e05f8a-9ee3-4e04-b21c-09af79a7cad4")
|
||||||
|
)
|
||||||
|
(pad "7" smd rect
|
||||||
|
(at -4.17 2.85)
|
||||||
|
(size 1.45 1.9)
|
||||||
|
(layers "F.Cu" "F.Paste" "F.Mask")
|
||||||
|
(uuid "3fd2e9c6-b2e3-46a8-9255-7cd472742419")
|
||||||
|
)
|
||||||
|
(pad "8" smd rect
|
||||||
|
(at 4.17 2.85)
|
||||||
|
(size 1.45 1.9)
|
||||||
|
(layers "F.Cu" "F.Paste" "F.Mask")
|
||||||
|
(uuid "1d175ab4-356e-4f51-b58d-b305fd7c0af9")
|
||||||
|
)
|
||||||
|
(pad "9" smd rect
|
||||||
|
(at 4.17 -2.65)
|
||||||
|
(size 1.45 1.9)
|
||||||
|
(layers "F.Cu" "F.Paste" "F.Mask")
|
||||||
|
(uuid "875b3383-2651-4a80-aa85-613ada3fbbba")
|
||||||
|
)
|
||||||
|
(model "${KIPRJMOD}/kicad-stuff/easyeda2kicad.3dshapes/MINI-USB-SMD_UX-144S-ACP5.step"
|
||||||
|
(offset
|
||||||
|
(xyz 0 -1.25 2)
|
||||||
|
)
|
||||||
|
(scale
|
||||||
|
(xyz 1 1 1)
|
||||||
|
)
|
||||||
|
(rotate
|
||||||
|
(xyz 0 0 0)
|
||||||
|
)
|
||||||
|
)
|
||||||
|
)
|
13
battery_board/battery_board/kicad-stuff/misc_footprints-master/.gitignore
vendored
Normal file
13
battery_board/battery_board/kicad-stuff/misc_footprints-master/.gitignore
vendored
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
# For PCBs designed using KiCAD: http://www.kicad-pcb.org/
|
||||||
|
|
||||||
|
# Temporary files
|
||||||
|
*.000
|
||||||
|
*.bak
|
||||||
|
*.bck
|
||||||
|
*.kicad_pcb-bak
|
||||||
|
|
||||||
|
# Netlist files (exported from Eeschema)
|
||||||
|
*.net
|
||||||
|
|
||||||
|
# Autorouter files (exported from Pcbnew)
|
||||||
|
.dsn
|
@ -0,0 +1,21 @@
|
|||||||
|
The MIT License (MIT)
|
||||||
|
|
||||||
|
Copyright (c) 2016 kubabu
|
||||||
|
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
|
of this software and associated documentation files (the "Software"), to deal
|
||||||
|
in the Software without restriction, including without limitation the rights
|
||||||
|
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
|
copies of the Software, and to permit persons to whom the Software is
|
||||||
|
furnished to do so, subject to the following conditions:
|
||||||
|
|
||||||
|
The above copyright notice and this permission notice shall be included in all
|
||||||
|
copies or substantial portions of the Software.
|
||||||
|
|
||||||
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
|
SOFTWARE.
|
@ -0,0 +1,12 @@
|
|||||||
|
# misc_footprints
|
||||||
|
Library of KiCad footprints with various parts
|
||||||
|
==============================================
|
||||||
|
Modules:
|
||||||
|
* TP4056 Li-Ion cell charger module with BMS: DW01 + 8205S for protection
|
||||||
|
* XL6009 DC-DC step-up (boost) voltage converter
|
||||||
|
* MT3608 DC-DC step-up (boost) voltage converter
|
||||||
|
* MP1584 DC-DC step-down (buck) voltage converter
|
||||||
|
|
||||||
|
Parts:
|
||||||
|
* 18650 one-cell casket
|
||||||
|
* Nokia N95 battery connector
|
@ -0,0 +1,43 @@
|
|||||||
|
import os
|
||||||
|
import sys
|
||||||
|
|
||||||
|
dir_path = None
|
||||||
|
|
||||||
|
# Gerber files generated by Kicad are content- compatible with those
|
||||||
|
# made in EAGLE but naming convention is different, which can be problematic
|
||||||
|
# Renaming GERBERS to EAGLE convention eg. enables OSHPark to parse them
|
||||||
|
|
||||||
|
# Remember to megre PTH and NPTH drillings to one .drl file
|
||||||
|
|
||||||
|
EAGLE_counterparts = {
|
||||||
|
"-F.Cu.gbr": ".GTL", # Top Layer
|
||||||
|
"-B.Cu.gbr": ".GBL", # Bottom Layer
|
||||||
|
"-F.Mask.gbr": ".GTS", # Top Soldermask
|
||||||
|
"-B.Mask.gbr": ".GBS", # Bottom Soldermask
|
||||||
|
"-F.SilkS.gbr": ".GTO", # Top Silkscreen
|
||||||
|
"-B.SilkS.gbr": ".GBO", # Bottom Silkscreen
|
||||||
|
# "": ".G2L",
|
||||||
|
# "": ".G3L",
|
||||||
|
"-Edge.Cuts.gbr": ".GKO", # Board Outline
|
||||||
|
".drl": ".XLN" # Drills
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
def eaglize_file(filename):
|
||||||
|
for k_format in EAGLE_counterparts.keys():
|
||||||
|
if filename.endswith(k_format):
|
||||||
|
k = filename.rfind(k_format)
|
||||||
|
new_filename = filename[:k] + EAGLE_counterparts[k_format]
|
||||||
|
os.rename(filename, new_filename)
|
||||||
|
return new_filename
|
||||||
|
|
||||||
|
|
||||||
|
if __name__ == "__main__":
|
||||||
|
try:
|
||||||
|
dir_path = sys.argv[1]
|
||||||
|
except IndexError:
|
||||||
|
dir_path = '.'
|
||||||
|
|
||||||
|
for root, dirs, files in os.walk(dir_path):
|
||||||
|
for file_name in files:
|
||||||
|
eaglize_file(file_name)
|
@ -0,0 +1,37 @@
|
|||||||
|
(module 16850_cell_casket (layer F.Cu) (tedit 55D20D10)
|
||||||
|
(fp_text reference REF** (at 38.7 -6.45) (layer F.SilkS)
|
||||||
|
(effects (font (size 1 1) (thickness 0.15)))
|
||||||
|
)
|
||||||
|
(fp_text value 16850_cell_casket (at 19.812 -11.684) (layer F.Fab)
|
||||||
|
(effects (font (size 1 1) (thickness 0.15)))
|
||||||
|
)
|
||||||
|
(fp_line (start 49.5 -3) (end 44.5 0) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_line (start 49.5 -3) (end 55.5 0) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_line (start 76.5 -3.5) (end 76.5 3.5) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_line (start 76.5 3.5) (end 1.5 3.5) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_line (start 1.5 3.5) (end 1.5 -3.5) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_line (start 1.5 -3.5) (end 76.5 -3.5) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_line (start 55.5 0) (end 49.5 3) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_line (start 49.5 3) (end 44.5 0) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_text user BLM (at 49.9 0.1) (layer F.SilkS)
|
||||||
|
(effects (font (size 3 2) (thickness 0.15)))
|
||||||
|
)
|
||||||
|
(fp_text user 18650 (at 27.5 0) (layer F.SilkS)
|
||||||
|
(effects (font (size 2 2) (thickness 0.15)))
|
||||||
|
)
|
||||||
|
(fp_line (start 60.5 0) (end 62.5 0) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_circle (center 61.5 0) (end 63 -0.5) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_line (start 18 -1) (end 18 1) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_line (start 17 0) (end 19 0) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_circle (center 18 0) (end 19 -1) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_circle (center 67 0) (end 67 -2) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_circle (center 11 0) (end 11 -2) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_circle (center 67 0) (end 66.8 -1.5) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_circle (center 11 0) (end 10.8 -1.5) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_line (start 0 10.45) (end 0 -10.45) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_line (start 78 10.45) (end 0 10.45) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_line (start 78 -10.45) (end 78 10.45) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_line (start 0 -10.45) (end 78 -10.45) (layer F.SilkS) (width 0.15))
|
||||||
|
(pad 2 thru_hole rect (at 77.474 0) (size 1.524 1.524) (drill 0.762) (layers *.Cu *.Mask F.SilkS))
|
||||||
|
(pad 1 thru_hole rect (at 0.504 0) (size 1.524 1.524) (drill 0.762) (layers *.Cu *.Mask F.SilkS))
|
||||||
|
)
|
@ -0,0 +1,48 @@
|
|||||||
|
(module 4056E_LiIon_loader (layer F.Cu) (tedit 569E29C6)
|
||||||
|
(fp_text reference M1 (at -1.266 1.13) (layer F.SilkS)
|
||||||
|
(effects (font (size 1 1) (thickness 0.15)))
|
||||||
|
)
|
||||||
|
(fp_text value 4056E_Loader_prot (at 0.66 -3.46) (layer F.Fab)
|
||||||
|
(effects (font (size 1 1) (thickness 0.15)))
|
||||||
|
)
|
||||||
|
(fp_line (start -13.29 8.5) (end 12.7 8.5) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_line (start -13.3 -8.5) (end 12.7 -8.5) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_line (start -13.77 3.36) (end -13.77 -3.19) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_text user microUSB (at -9.438 0.086 180) (layer F.SilkS)
|
||||||
|
(effects (font (size 1 1) (thickness 0.15)))
|
||||||
|
)
|
||||||
|
(fp_line (start -13.756 3.388) (end -13.248 3.388) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_line (start -13.248 3.388) (end -12.994 2.88) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_line (start -12.994 2.88) (end -12.74 2.88) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_line (start -13.756 -3.216) (end -13.248 -3.216) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_line (start -13.248 -3.216) (end -12.994 -2.708) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_line (start -12.994 -2.708) (end -8.168 -2.708) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_line (start -8.168 -2.708) (end -8.168 2.88) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_line (start -8.168 2.88) (end -12.74 2.88) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_text user B- (at 10.674 1.29) (layer F.SilkS)
|
||||||
|
(effects (font (size 1 1) (thickness 0.15)))
|
||||||
|
)
|
||||||
|
(fp_text user B+ (at 10.674 -2.012) (layer F.SilkS)
|
||||||
|
(effects (font (size 1 1) (thickness 0.15)))
|
||||||
|
)
|
||||||
|
(fp_text user OUT- (at 7.19 6.556) (layer F.SilkS)
|
||||||
|
(effects (font (size 1 1) (thickness 0.15)))
|
||||||
|
)
|
||||||
|
(fp_text user OUT+ (at 6.87 -6.348) (layer F.SilkS)
|
||||||
|
(effects (font (size 1 1) (thickness 0.15)))
|
||||||
|
)
|
||||||
|
(fp_text user IN- (at -6.9 6.76) (layer F.SilkS)
|
||||||
|
(effects (font (size 1 1) (thickness 0.15)))
|
||||||
|
)
|
||||||
|
(fp_text user IN+ (at -7.43 -6.13) (layer F.SilkS)
|
||||||
|
(effects (font (size 1 1) (thickness 0.15)))
|
||||||
|
)
|
||||||
|
(fp_line (start -13.296 8.5) (end -13.296 -8.5) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_line (start 12.706 -8.5) (end 12.706 8.5) (layer F.SilkS) (width 0.15))
|
||||||
|
(pad 1 thru_hole rect (at -11 -6.5) (size 3 3) (drill 1.25) (layers *.Cu *.Mask F.SilkS))
|
||||||
|
(pad 2 thru_hole rect (at -11 6.5) (size 3 3) (drill 1.25) (layers *.Cu *.Mask F.SilkS))
|
||||||
|
(pad 6 thru_hole rect (at 11 7) (size 2.5 2.5) (drill 1.25) (layers *.Cu *.Mask F.SilkS))
|
||||||
|
(pad 5 thru_hole rect (at 11 -7) (size 2.5 2.5) (drill 1.25) (layers *.Cu *.Mask F.SilkS))
|
||||||
|
(pad 3 thru_hole rect (at 11 -3.75) (size 2.5 2.5) (drill 1.25) (layers *.Cu *.Mask F.SilkS))
|
||||||
|
(pad 4 thru_hole rect (at 11 3.75) (size 2.5 2.5) (drill 1.25) (layers *.Cu *.Mask F.SilkS))
|
||||||
|
)
|
@ -0,0 +1,48 @@
|
|||||||
|
(module 4056E_LiIon_loader_SMT (layer F.Cu) (tedit 569E2953)
|
||||||
|
(fp_text reference M1 (at -1.266 1.13) (layer F.SilkS)
|
||||||
|
(effects (font (size 1 1) (thickness 0.15)))
|
||||||
|
)
|
||||||
|
(fp_text value 4056E_Loader_prot (at 0.66 -3.46) (layer F.Fab)
|
||||||
|
(effects (font (size 1 1) (thickness 0.15)))
|
||||||
|
)
|
||||||
|
(fp_line (start -13.29 8.5) (end 12.7 8.5) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_line (start -13.3 -8.5) (end 12.7 -8.5) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_line (start -13.87 3.26) (end -13.87 -3.29) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_text user microUSB (at -9.538 -0.014 180) (layer F.SilkS)
|
||||||
|
(effects (font (size 1 1) (thickness 0.15)))
|
||||||
|
)
|
||||||
|
(fp_line (start -13.856 3.288) (end -13.348 3.288) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_line (start -13.348 3.288) (end -13.094 2.78) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_line (start -13.094 2.78) (end -12.84 2.78) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_line (start -13.856 -3.316) (end -13.348 -3.316) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_line (start -13.348 -3.316) (end -13.094 -2.808) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_line (start -13.094 -2.808) (end -8.268 -2.808) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_line (start -8.268 -2.808) (end -8.268 2.78) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_line (start -8.268 2.78) (end -12.84 2.78) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_text user B- (at 10.674 1.29) (layer F.SilkS)
|
||||||
|
(effects (font (size 1 1) (thickness 0.15)))
|
||||||
|
)
|
||||||
|
(fp_text user B+ (at 10.674 -2.012) (layer F.SilkS)
|
||||||
|
(effects (font (size 1 1) (thickness 0.15)))
|
||||||
|
)
|
||||||
|
(fp_text user OUT- (at 7.19 6.556) (layer F.SilkS)
|
||||||
|
(effects (font (size 1 1) (thickness 0.15)))
|
||||||
|
)
|
||||||
|
(fp_text user OUT+ (at 6.87 -6.348) (layer F.SilkS)
|
||||||
|
(effects (font (size 1 1) (thickness 0.15)))
|
||||||
|
)
|
||||||
|
(fp_text user IN- (at -6.9 6.76) (layer F.SilkS)
|
||||||
|
(effects (font (size 1 1) (thickness 0.15)))
|
||||||
|
)
|
||||||
|
(fp_text user IN+ (at -7.43 -6.13) (layer F.SilkS)
|
||||||
|
(effects (font (size 1 1) (thickness 0.15)))
|
||||||
|
)
|
||||||
|
(fp_line (start -13.296 8.5) (end -13.296 -8.5) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_line (start 12.706 -8.5) (end 12.706 8.5) (layer F.SilkS) (width 0.15))
|
||||||
|
(pad 1 smd rect (at -11 -6.75) (size 3 3) (layers F.Cu F.Paste F.Mask))
|
||||||
|
(pad 2 smd rect (at -11 6.75) (size 3 3) (layers F.Cu F.Paste F.Mask))
|
||||||
|
(pad 6 smd rect (at 11 7) (size 3 2.5) (layers F.Cu F.Paste F.Mask))
|
||||||
|
(pad 5 smd rect (at 11 -7) (size 3 2.5) (layers F.Cu F.Paste F.Mask))
|
||||||
|
(pad 3 smd rect (at 11 -3.75) (size 3 2.5) (layers F.Cu F.Paste F.Mask))
|
||||||
|
(pad 4 smd rect (at 11 3.75) (size 3 2.5) (layers F.Cu F.Paste F.Mask))
|
||||||
|
)
|
@ -0,0 +1,48 @@
|
|||||||
|
(module 4056E_LiIon_loader_prot (layer F.Cu) (tedit 55D73003)
|
||||||
|
(fp_text reference M1 (at -1.266 1.13) (layer F.SilkS)
|
||||||
|
(effects (font (size 1 1) (thickness 0.15)))
|
||||||
|
)
|
||||||
|
(fp_text value 4056E_Loader_prot (at 0.66 -3.46) (layer F.Fab)
|
||||||
|
(effects (font (size 1 1) (thickness 0.15)))
|
||||||
|
)
|
||||||
|
(fp_line (start -13.29 8.27) (end 12.7 8.27) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_line (start -13.3 -8.88) (end 12.7 -8.87) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_line (start -13.87 2.96) (end -13.87 -3.59) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_text user microUSB (at -9.538 -0.314 180) (layer F.SilkS)
|
||||||
|
(effects (font (size 1 1) (thickness 0.15)))
|
||||||
|
)
|
||||||
|
(fp_line (start -13.856 2.988) (end -13.348 2.988) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_line (start -13.348 2.988) (end -13.094 2.48) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_line (start -13.094 2.48) (end -12.84 2.48) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_line (start -13.856 -3.616) (end -13.348 -3.616) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_line (start -13.348 -3.616) (end -13.094 -3.108) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_line (start -13.094 -3.108) (end -8.268 -3.108) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_line (start -8.268 -3.108) (end -8.268 2.48) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_line (start -8.268 2.48) (end -12.84 2.48) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_text user B- (at 10.674 1.29) (layer F.SilkS)
|
||||||
|
(effects (font (size 1 1) (thickness 0.15)))
|
||||||
|
)
|
||||||
|
(fp_text user B+ (at 10.674 -2.012) (layer F.SilkS)
|
||||||
|
(effects (font (size 1 1) (thickness 0.15)))
|
||||||
|
)
|
||||||
|
(fp_text user OUT- (at 7.19 6.556) (layer F.SilkS)
|
||||||
|
(effects (font (size 1 1) (thickness 0.15)))
|
||||||
|
)
|
||||||
|
(fp_text user OUT+ (at 6.87 -6.348) (layer F.SilkS)
|
||||||
|
(effects (font (size 1 1) (thickness 0.15)))
|
||||||
|
)
|
||||||
|
(fp_text user IN- (at -6.9 6.76) (layer F.SilkS)
|
||||||
|
(effects (font (size 1 1) (thickness 0.15)))
|
||||||
|
)
|
||||||
|
(fp_text user IN+ (at -7.43 -6.13) (layer F.SilkS)
|
||||||
|
(effects (font (size 1 1) (thickness 0.15)))
|
||||||
|
)
|
||||||
|
(fp_line (start -13.296 8.275) (end -13.296 -8.87) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_line (start 12.706 -8.87) (end 12.706 8.275) (layer F.SilkS) (width 0.15))
|
||||||
|
(pad 1 thru_hole rect (at -10.76 -6.51) (size 2.1 2.1) (drill 1) (layers *.Cu *.Mask F.SilkS))
|
||||||
|
(pad 2 thru_hole rect (at -10.76 6.37) (size 2.1 2.1) (drill 1) (layers *.Cu *.Mask F.SilkS))
|
||||||
|
(pad 6 thru_hole rect (at 10.7 6.37) (size 2.1 2.1) (drill 1.2) (layers *.Cu *.Mask F.SilkS))
|
||||||
|
(pad 5 thru_hole rect (at 10.7 -6.33) (size 2.1 2.1) (drill 1.2) (layers *.Cu *.Mask F.SilkS))
|
||||||
|
(pad 3 thru_hole rect (at 10.7 -3.79) (size 2.1 2.1) (drill 1.2) (layers *.Cu *.Mask F.SilkS))
|
||||||
|
(pad 4 thru_hole rect (at 10.7 3.83) (size 2.1 2.1) (drill 0.762) (layers *.Cu *.Mask F.SilkS))
|
||||||
|
)
|
@ -0,0 +1,51 @@
|
|||||||
|
(module BatteryHolder_Keystone_1042_1x18650 (layer F.Cu) (tedit 5F8201AB)
|
||||||
|
(descr "Battery holder for 18650 cylindrical cells http://www.keyelco.com/product.cfm/product_id/918")
|
||||||
|
(tags "18650 Keystone 1042 Li-ion")
|
||||||
|
(attr smd)
|
||||||
|
(fp_text reference REF** (at 0 -11.5) (layer F.SilkS)
|
||||||
|
(effects (font (size 1 1) (thickness 0.15)))
|
||||||
|
)
|
||||||
|
(fp_text value BatteryHolder_Keystone_1042_1x18650 (at 0 11.3) (layer F.Fab)
|
||||||
|
(effects (font (size 1 1) (thickness 0.15)))
|
||||||
|
)
|
||||||
|
(fp_line (start -42.5 -4.75) (end -42.5 -7.25) (layer F.SilkS) (width 0.12))
|
||||||
|
(fp_line (start -43.75 -6) (end -41.25 -6) (layer F.SilkS) (width 0.12))
|
||||||
|
(fp_line (start -39.03 3.68) (end -43.5 3.68) (layer F.CrtYd) (width 0.05))
|
||||||
|
(fp_line (start -43.5 3.68) (end -43.5 -3.68) (layer F.CrtYd) (width 0.05))
|
||||||
|
(fp_line (start -43.5 -3.68) (end -39.03 -3.68) (layer F.CrtYd) (width 0.05))
|
||||||
|
(fp_line (start 43.5 -3.68) (end 39.03 -3.68) (layer F.CrtYd) (width 0.05))
|
||||||
|
(fp_line (start 39.03 3.68) (end 43.5 3.68) (layer F.CrtYd) (width 0.05))
|
||||||
|
(fp_line (start -39.03 -10.83) (end -39.03 -3.68) (layer F.CrtYd) (width 0.05))
|
||||||
|
(fp_line (start -39.03 10.83) (end -39.03 3.68) (layer F.CrtYd) (width 0.05))
|
||||||
|
(fp_line (start 39.03 -10.83) (end 39.03 -3.68) (layer F.CrtYd) (width 0.05))
|
||||||
|
(fp_line (start -39.03 -10.83) (end 39.03 -10.83) (layer F.CrtYd) (width 0.05))
|
||||||
|
(fp_line (start -39.03 10.83) (end 39.03 10.83) (layer F.CrtYd) (width 0.05))
|
||||||
|
(fp_line (start 38.53 -10.33) (end 38.53 10.33) (layer F.Fab) (width 0.1))
|
||||||
|
(fp_line (start -33.3675 -10.33) (end 38.53 -10.33) (layer F.Fab) (width 0.1))
|
||||||
|
(fp_line (start 43.75 -6) (end 41.25 -6) (layer F.SilkS) (width 0.12))
|
||||||
|
(fp_line (start -38.53 -5.1675) (end -38.53 10.33) (layer F.Fab) (width 0.1))
|
||||||
|
(fp_line (start -38.53 10.33) (end 38.53 10.33) (layer F.Fab) (width 0.1))
|
||||||
|
(fp_line (start 38.64 -3.44) (end 38.64 -10.42) (layer F.SilkS) (width 0.12))
|
||||||
|
(fp_line (start 38.64 -10.44) (end -38.64 -10.44) (layer F.SilkS) (width 0.12))
|
||||||
|
(fp_line (start -38.64 -10.44) (end -38.64 -3.44) (layer F.SilkS) (width 0.12))
|
||||||
|
(fp_line (start 38.64 3.44) (end 38.64 10.44) (layer F.SilkS) (width 0.12))
|
||||||
|
(fp_line (start 38.64 10.44) (end -38.64 10.44) (layer F.SilkS) (width 0.12))
|
||||||
|
(fp_line (start -38.64 10.44) (end -38.64 3.44) (layer F.SilkS) (width 0.12))
|
||||||
|
(fp_text user %R (at 0 0) (layer F.Fab)
|
||||||
|
(effects (font (size 1 1) (thickness 0.15)))
|
||||||
|
)
|
||||||
|
(fp_line (start 39.03 10.83) (end 39.03 3.68) (layer F.CrtYd) (width 0.05))
|
||||||
|
(fp_line (start 43.5 3.68) (end 43.5 -3.68) (layer F.CrtYd) (width 0.05))
|
||||||
|
(fp_line (start -38.64 -3.44) (end -43 -3.44) (layer F.SilkS) (width 0.12))
|
||||||
|
(fp_line (start -33.3675 -10.33) (end -38.53 -5.1675) (layer F.Fab) (width 0.1))
|
||||||
|
(pad "" np_thru_hole circle (at -35.93 -8) (size 2.39 2.39) (drill 2.39) (layers *.Cu *.Mask))
|
||||||
|
(pad "" np_thru_hole circle (at -27.6 8) (size 3.45 3.45) (drill 3.45) (layers *.Cu *.Mask))
|
||||||
|
(pad "" np_thru_hole circle (at 27.6 -8) (size 3.45 3.45) (drill 3.45) (layers *.Cu *.Mask))
|
||||||
|
(pad 2 thru_hole rect (at 39.33 0) (size 7.34 6.35) (drill 2) (layers *.Cu *.Mask))
|
||||||
|
(pad 1 thru_hole rect (at -39.33 0) (size 7.34 6.35) (drill 2) (layers *.Cu *.Mask))
|
||||||
|
(model ${KISYS3DMOD}/Battery.3dshapes/BatteryHolder_Keystone_1042_1x18650.wrl
|
||||||
|
(at (xyz 0 0 0))
|
||||||
|
(scale (xyz 1 1 1))
|
||||||
|
(rotate (xyz 0 0 0))
|
||||||
|
)
|
||||||
|
)
|
@ -0,0 +1,89 @@
|
|||||||
|
(module MP1584_buck_module (layer F.Cu) (tedit 55D1F7A1)
|
||||||
|
(fp_text reference REF** (at 5.08 0.762) (layer F.SilkS)
|
||||||
|
(effects (font (size 1 1) (thickness 0.15)))
|
||||||
|
)
|
||||||
|
(fp_text value MP1584_buck_module (at 0.635 9.144) (layer F.Fab)
|
||||||
|
(effects (font (size 1 1) (thickness 0.15)))
|
||||||
|
)
|
||||||
|
(fp_line (start 3.302 4.318) (end 1.016 6.096) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_line (start -6.096 4.318) (end 3.302 4.318) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_line (start 3.302 4.318) (end 1.016 2.54) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_line (start -1.524 -1.778) (end -1.016 -1.778) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_line (start -1.016 -1.778) (end -1.016 2.286) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_line (start -1.016 2.286) (end -1.524 2.286) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_line (start -1.524 2.286) (end -1.524 2.794) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_line (start -1.524 2.794) (end -1.778 2.794) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_line (start -1.778 2.794) (end -1.778 2.286) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_line (start -1.778 2.286) (end -2.794 2.286) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_line (start -2.794 2.286) (end -2.794 2.794) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_line (start -2.794 2.794) (end -3.048 2.794) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_line (start -3.048 2.794) (end -3.048 2.286) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_line (start -3.048 2.286) (end -4.064 2.286) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_line (start -4.064 2.286) (end -4.064 2.794) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_line (start -4.064 2.794) (end -4.318 2.794) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_line (start -4.318 2.794) (end -4.318 2.286) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_line (start -4.318 2.286) (end -5.334 2.286) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_line (start -5.334 2.286) (end -5.334 2.794) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_line (start -5.334 2.794) (end -5.588 2.794) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_line (start -5.588 2.794) (end -5.588 2.286) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_line (start -5.588 2.286) (end -6.096 2.286) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_line (start -6.096 2.286) (end -6.096 2.032) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_line (start -2.794 -1.778) (end -1.778 -1.778) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_line (start -4.064 -1.778) (end -3.048 -1.778) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_line (start -5.334 -1.778) (end -4.318 -1.778) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_line (start -1.778 -1.778) (end -1.778 -2.286) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_line (start -1.778 -2.286) (end -1.524 -2.286) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_line (start -3.048 -1.778) (end -3.048 -2.286) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_line (start -3.048 -2.286) (end -2.794 -2.286) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_line (start -4.318 -1.778) (end -4.318 -2.286) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_line (start -4.318 -2.286) (end -4.064 -2.286) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_line (start -6.096 2.032) (end -6.096 -1.778) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_line (start -6.096 -1.778) (end -5.842 -1.778) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_line (start -5.842 -1.778) (end -5.588 -1.778) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_line (start -5.588 -1.778) (end -5.588 -2.286) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_line (start -5.588 -2.286) (end -5.334 -2.286) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_line (start -1.524 -1.778) (end -1.524 -2.286) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_line (start -2.794 -2.286) (end -2.794 -1.778) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_line (start -4.064 -1.778) (end -4.064 -2.286) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_line (start -5.334 -1.778) (end -5.334 -2.286) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_line (start 10.033 0.508) (end 8.509 0.508) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_line (start 8.509 0.508) (end 9.271 0.508) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_line (start 9.271 0.508) (end 9.271 2.286) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_line (start 9.271 -2.286) (end 9.271 -0.508) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_line (start 9.271 -0.508) (end 8.509 -0.508) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_line (start 8.509 -0.508) (end 10.033 -0.508) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_line (start -2.159 -7.62) (end -2.159 -5.334) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_line (start -4.191 -7.62) (end -4.191 -5.334) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_line (start -4.191 -5.334) (end -2.159 -6.604) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_line (start -2.159 -6.604) (end -4.191 -7.62) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_line (start 6.223 -6.604) (end 1.397 -6.604) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_line (start 1.397 -6.604) (end 1.397 -0.508) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_line (start 1.397 -0.508) (end 6.985 -0.508) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_line (start 6.985 -0.508) (end 6.985 -6.604) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_line (start 6.985 -6.604) (end 6.223 -6.604) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_line (start 6.223 -7.62) (end 7.239 -7.62) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_circle (center 6.731 -7.62) (end 7.239 -7.874) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_line (start 6.731 7.112) (end 6.731 8.128) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_line (start 6.223 7.62) (end 7.239 7.62) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_circle (center 6.731 7.62) (end 7.239 7.874) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_line (start 7.493 8.382) (end 7.493 2.286) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_line (start 7.493 2.286) (end 11.049 2.286) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_line (start 11.049 -2.286) (end 7.493 -2.286) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_line (start 7.493 -2.286) (end 7.493 -8.382) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_line (start -11.049 2.286) (end -7.493 2.286) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_line (start -7.493 2.286) (end -7.493 8.382) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_line (start -7.493 -8.382) (end -7.493 -2.286) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_line (start -7.493 -2.286) (end -11.049 -2.286) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_line (start -11.049 -8.382) (end 11.049 -8.382) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_line (start 11.049 -8.382) (end 11.049 8.382) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_line (start 11.049 8.382) (end -11.049 8.382) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_line (start -11.049 8.382) (end -11.049 -8.382) (layer F.SilkS) (width 0.15))
|
||||||
|
(pad 2 thru_hole circle (at -9.271 -6.604) (size 1.524 1.524) (drill 0.7) (layers *.Cu *.Mask F.SilkS))
|
||||||
|
(pad 1 thru_hole rect (at -9.271 6.604) (size 1.524 1.524) (drill 0.7) (layers *.Cu *.Mask F.SilkS))
|
||||||
|
(pad 3 thru_hole circle (at 9.271 -6.604) (size 1.524 1.524) (drill 0.7) (layers *.Cu *.Mask F.SilkS))
|
||||||
|
(pad 4 thru_hole rect (at 9.271 6.604) (size 1.524 1.524) (drill 0.7) (layers *.Cu *.Mask F.SilkS))
|
||||||
|
(pad 3 thru_hole rect (at 9.271 -4.064) (size 1.524 1.524) (drill 0.7) (layers *.Cu *.Mask F.SilkS))
|
||||||
|
(pad 2 thru_hole rect (at -9.271 -4.064) (size 1.524 1.524) (drill 0.7) (layers *.Cu *.Mask F.SilkS))
|
||||||
|
(pad 1 thru_hole circle (at -9.271 4.064) (size 1.524 1.524) (drill 0.7) (layers *.Cu *.Mask F.SilkS))
|
||||||
|
(pad 4 thru_hole circle (at 9.271 4.064) (size 1.524 1.524) (drill 0.7) (layers *.Cu *.Mask F.SilkS))
|
||||||
|
)
|
@ -0,0 +1,36 @@
|
|||||||
|
(module MT3608_module (layer F.Cu) (tedit 569D6CFB)
|
||||||
|
(fp_text reference M2 (at 0.25 6 180) (layer F.SilkS)
|
||||||
|
(effects (font (size 1 1) (thickness 0.15)))
|
||||||
|
)
|
||||||
|
(fp_text value DC_DC_boost_module (at 0 -1 180) (layer F.Fab)
|
||||||
|
(effects (font (size 1 1) (thickness 0.15)))
|
||||||
|
)
|
||||||
|
(fp_text user VOUT- (at -16 6.5) (layer F.SilkS)
|
||||||
|
(effects (font (size 1 1) (thickness 0.15)))
|
||||||
|
)
|
||||||
|
(fp_text user VIN+ (at 14 -6.5) (layer F.SilkS)
|
||||||
|
(effects (font (size 1 1) (thickness 0.15)))
|
||||||
|
)
|
||||||
|
(fp_text user VIN- (at 14 6.5) (layer F.SilkS)
|
||||||
|
(effects (font (size 1 1) (thickness 0.15)))
|
||||||
|
)
|
||||||
|
(fp_text user VOUT+ (at -16 -6.5) (layer F.SilkS)
|
||||||
|
(effects (font (size 1 1) (thickness 0.15)))
|
||||||
|
)
|
||||||
|
(fp_line (start -8 -7) (end -8 -4) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_line (start -4.5 -7) (end -4.5 -4) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_line (start -4.5 -4) (end -8 -5.5) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_line (start -8 -5.5) (end -4.5 -7) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_arc (start -17 -6) (end -19.5 -6) (angle 90) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_arc (start 14 -6) (end 14 -8.5) (angle 90) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_arc (start 14 6) (end 16.5 6) (angle 90) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_arc (start -17 6) (end -17 8.5) (angle 90) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_line (start -17 8.5) (end 14 8.5) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_line (start 14 -8.5) (end -17 -8.5) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_line (start 16.5 6) (end 16.5 -6) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_line (start -19.5 -6) (end -19.5 6) (layer F.SilkS) (width 0.15))
|
||||||
|
(pad 1 thru_hole rect (at 14 -3.2 180) (size 5 3.5) (drill 1.25) (layers *.Cu *.Mask F.SilkS))
|
||||||
|
(pad 2 thru_hole rect (at 14 3.25 180) (size 5 3.5) (drill 1.25) (layers *.Cu *.Mask F.SilkS))
|
||||||
|
(pad 3 thru_hole rect (at -17 3.25 180) (size 5 3.5) (drill 1.25) (layers *.Cu *.Mask F.SilkS))
|
||||||
|
(pad 4 thru_hole rect (at -17 -3.25 180) (size 5 3.5) (drill 1.25) (layers *.Cu *.Mask F.SilkS))
|
||||||
|
)
|
@ -0,0 +1,39 @@
|
|||||||
|
(module MT3608_module_SMT (layer F.Cu) (tedit 569D6C5F)
|
||||||
|
(fp_text reference M2 (at 0.25 6 180) (layer F.SilkS)
|
||||||
|
(effects (font (size 1 1) (thickness 0.15)))
|
||||||
|
)
|
||||||
|
(fp_text value DC_DC_boost_module (at 0 -1 180) (layer F.Fab)
|
||||||
|
(effects (font (size 1 1) (thickness 0.15)))
|
||||||
|
)
|
||||||
|
(fp_text user VOUT- (at -16 6.5) (layer F.SilkS)
|
||||||
|
(effects (font (size 1 1) (thickness 0.15)))
|
||||||
|
)
|
||||||
|
(fp_text user VIN+ (at 14 -6.5) (layer F.SilkS)
|
||||||
|
(effects (font (size 1 1) (thickness 0.15)))
|
||||||
|
)
|
||||||
|
(fp_text user VIN- (at 14 6.5) (layer F.SilkS)
|
||||||
|
(effects (font (size 1 1) (thickness 0.15)))
|
||||||
|
)
|
||||||
|
(fp_text user VOUT+ (at -16 -6.5) (layer F.SilkS)
|
||||||
|
(effects (font (size 1 1) (thickness 0.15)))
|
||||||
|
)
|
||||||
|
(fp_line (start -8 -7) (end -8 -4) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_line (start -4.5 -7) (end -4.5 -4) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_line (start -4.5 -4) (end -8 -5.5) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_line (start -8 -5.5) (end -4.5 -7) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_arc (start -17 -6) (end -19.5 -6) (angle 90) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_arc (start 14 -6) (end 14 -8.5) (angle 90) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_arc (start 14 6) (end 16.5 6) (angle 90) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_arc (start -17 6) (end -17 8.5) (angle 90) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_line (start -17 8.5) (end 14 8.5) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_line (start 14 -8.5) (end -17 -8.5) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_line (start 16.5 6) (end 16.5 -6) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_line (start -19.5 -6) (end -19.5 6) (layer F.SilkS) (width 0.15))
|
||||||
|
(pad "" thru_hole circle (at -7.75 5) (size 2.1 2.1) (drill 2) (layers *.Cu *.Mask F.SilkS))
|
||||||
|
(pad "" thru_hole circle (at -5.5 2.5) (size 2.1 2.1) (drill 2) (layers *.Cu *.Mask F.SilkS))
|
||||||
|
(pad "" thru_hole circle (at -10.5 2.5) (size 2.1 2.1) (drill 2) (layers *.Cu *.Mask F.SilkS))
|
||||||
|
(pad 1 smd rect (at 14 -3.2 180) (size 5 3.5) (layers F.Cu F.Paste F.Mask))
|
||||||
|
(pad 2 smd rect (at 14 3.25 180) (size 5 3.5) (layers F.Cu F.Paste F.Mask))
|
||||||
|
(pad 3 smd rect (at -17 3.25 180) (size 5 3.5) (layers F.Cu F.Paste F.Mask))
|
||||||
|
(pad 4 smd rect (at -17 -3.25 180) (size 5 3.5) (layers F.Cu F.Paste F.Mask))
|
||||||
|
)
|
@ -0,0 +1,14 @@
|
|||||||
|
(module N95_battery_connector (layer F.Cu) (tedit 569FD4EC)
|
||||||
|
(fp_text reference CON** (at -0.5 6) (layer F.SilkS)
|
||||||
|
(effects (font (size 1 1) (thickness 0.15)))
|
||||||
|
)
|
||||||
|
(fp_text value N95_battery_connector (at 0.5 -6) (layer F.Fab)
|
||||||
|
(effects (font (size 1 1) (thickness 0.15)))
|
||||||
|
)
|
||||||
|
(fp_line (start 2.5 -4.5) (end -3 -4.5) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_line (start -3 -4.5) (end -3 4.5) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_line (start -3 4.5) (end 2.5 4.5) (layer F.SilkS) (width 0.15))
|
||||||
|
(pad 2 smd rect (at 0 0) (size 5.5 1.5) (layers F.Cu F.Paste F.Mask))
|
||||||
|
(pad 3 smd rect (at 0 -3.5) (size 5.5 1.5) (layers F.Cu F.Paste F.Mask))
|
||||||
|
(pad 1 smd rect (at 0 3.5) (size 5.5 1.5) (layers F.Cu F.Paste F.Mask))
|
||||||
|
)
|
@ -0,0 +1,21 @@
|
|||||||
|
|
||||||
|
(module SOT-23-6 (layer F.Cu) (tedit 5FBEB024)
|
||||||
|
(descr "")
|
||||||
|
(fp_text reference REF** (at 0.0762369 -0.0794385 900) (layer F.SilkS)
|
||||||
|
(effects (font (size 0.600290551181 0.600290551181) (thickness 0.015)))
|
||||||
|
)
|
||||||
|
(fp_text value SOT-23-6 (at 0 0) (layer F.Fab)
|
||||||
|
(effects (font (size 0.787401574803 0.787401574803) (thickness 0.015)))
|
||||||
|
)
|
||||||
|
(fp_line (start 0.7 -1.5) (end 0.7 1.5) (layer F.SilkS) (width 0.1524))
|
||||||
|
(fp_line (start 0.7 1.5) (end -0.7 1.5) (layer F.SilkS) (width 0.1524))
|
||||||
|
(fp_line (start -0.7 1.5) (end -0.7 -1.5) (layer F.SilkS) (width 0.1524))
|
||||||
|
(fp_line (start -0.7 -1.5) (end 0.7 -1.5) (layer F.SilkS) (width 0.1524))
|
||||||
|
(fp_circle (center -1.2 -1.7) (end -0.9764 -1.7) (layer F.SilkS) (width 0.1524))
|
||||||
|
(pad 2 smd rect (at -1.35 0.0) (size 1.0 0.55) (layers F.Cu F.Mask F.Paste))
|
||||||
|
(pad 1 smd rect (at -1.35 -0.95) (size 1.0 0.55) (layers F.Cu F.Mask F.Paste))
|
||||||
|
(pad 3 smd rect (at -1.35 0.95) (size 1.0 0.55) (layers F.Cu F.Mask F.Paste))
|
||||||
|
(pad 4 smd rect (at 1.35 0.95) (size 1.0 0.55) (layers F.Cu F.Mask F.Paste))
|
||||||
|
(pad 6 smd rect (at 1.35 -0.95) (size 1.0 0.55) (layers F.Cu F.Mask F.Paste))
|
||||||
|
(pad 5 smd rect (at 1.35 0.0) (size 1.0 0.55) (layers F.Cu F.Mask F.Paste))
|
||||||
|
)
|
@ -0,0 +1,30 @@
|
|||||||
|
|
||||||
|
(module SOT95P280X135-6N (layer F.Cu) (tedit 5FAC25EE)
|
||||||
|
(descr "<b>SOT2-23-6</b><br>")
|
||||||
|
(fp_text reference REF** (at 0.0 0.0 0) (layer F.SilkS)
|
||||||
|
(effects (font (size 1.0 1.0) (thickness 0.015)))
|
||||||
|
)
|
||||||
|
(fp_text value SOT95P280X135-6N (at 0.0 0.0 0) (layer F.Fab)
|
||||||
|
(effects (font (size 1.0 1.0) (thickness 0.015)))
|
||||||
|
)
|
||||||
|
(fp_line (start -2.125 -1.835) (end 2.125 -1.835) (layer F.Fab) (width 0.05))
|
||||||
|
(fp_line (start 2.125 -1.835) (end 2.125 1.835) (layer F.Fab) (width 0.05))
|
||||||
|
(fp_line (start 2.125 1.835) (end -2.125 1.835) (layer F.Fab) (width 0.05))
|
||||||
|
(fp_line (start -2.125 1.835) (end -2.125 -1.835) (layer F.Fab) (width 0.05))
|
||||||
|
(fp_line (start -0.8 -1.46) (end 0.8 -1.46) (layer F.Fab) (width 0.1))
|
||||||
|
(fp_line (start 0.8 -1.46) (end 0.8 1.46) (layer F.Fab) (width 0.1))
|
||||||
|
(fp_line (start 0.8 1.46) (end -0.8 1.46) (layer F.Fab) (width 0.1))
|
||||||
|
(fp_line (start -0.8 1.46) (end -0.8 -1.46) (layer F.Fab) (width 0.1))
|
||||||
|
(fp_line (start -0.8 -0.51) (end 0.15 -1.46) (layer F.Fab) (width 0.1))
|
||||||
|
(fp_line (start -0.275 -1.46) (end 0.275 -1.46) (layer F.SilkS) (width 0.2))
|
||||||
|
(fp_line (start 0.275 -1.46) (end 0.275 1.46) (layer F.SilkS) (width 0.2))
|
||||||
|
(fp_line (start 0.275 1.46) (end -0.275 1.46) (layer F.SilkS) (width 0.2))
|
||||||
|
(fp_line (start -0.275 1.46) (end -0.275 -1.46) (layer F.SilkS) (width 0.2))
|
||||||
|
(fp_line (start -1.875 -1.6) (end -0.625 -1.6) (layer F.SilkS) (width 0.2))
|
||||||
|
(pad 1 smd rect (at -1.25 -0.95) (size 1.25 0.6) (layers F.Cu F.Mask F.Paste))
|
||||||
|
(pad 2 smd rect (at -1.25 0.0) (size 1.25 0.6) (layers F.Cu F.Mask F.Paste))
|
||||||
|
(pad 3 smd rect (at -1.25 0.95) (size 1.25 0.6) (layers F.Cu F.Mask F.Paste))
|
||||||
|
(pad 4 smd rect (at 1.25 0.95) (size 1.25 0.6) (layers F.Cu F.Mask F.Paste))
|
||||||
|
(pad 5 smd rect (at 1.25 0.0) (size 1.25 0.6) (layers F.Cu F.Mask F.Paste))
|
||||||
|
(pad 6 smd rect (at 1.25 -0.95) (size 1.25 0.6) (layers F.Cu F.Mask F.Paste))
|
||||||
|
)
|
@ -0,0 +1,55 @@
|
|||||||
|
(module XL6009_module (layer F.Cu) (tedit 56419D18)
|
||||||
|
(fp_text reference M2 (at -38.375 -16.125) (layer F.SilkS)
|
||||||
|
(effects (font (size 1 1) (thickness 0.15)))
|
||||||
|
)
|
||||||
|
(fp_text value DC_DC_boost_module (at -22.9 -7.075) (layer F.Fab)
|
||||||
|
(effects (font (size 1 1) (thickness 0.15)))
|
||||||
|
)
|
||||||
|
(fp_circle (center -6.604 -2.54) (end -5.842 -0.508) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_circle (center -6.604 -2.54) (end -6.604 -1.016) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_circle (center -36.576 -18.542) (end -37.084 -20.574) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_circle (center -36.576 -18.542) (end -36.576 -20.066) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_line (start -11.176 -19.05) (end -11.176 -14.986) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_line (start -15.24 -19.05) (end -15.24 -14.986) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_line (start -15.24 -14.986) (end -11.176 -17.018) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_line (start -11.176 -17.018) (end -15.24 -19.05) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_line (start -30.988 -17.526) (end -29.972 -18.542) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_circle (center -30.48 -18.034) (end -29.972 -18.542) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_line (start -31.496 -19.558) (end -31.496 -16.002) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_line (start -31.496 -16.002) (end -30.988 -16.002) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_line (start -30.988 -16.002) (end -30.988 -16.51) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_line (start -30.988 -16.51) (end -22.86 -16.51) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_line (start -22.86 -16.51) (end -22.86 -16.002) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_line (start -22.86 -16.002) (end -22.352 -16.002) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_line (start -22.352 -16.002) (end -22.352 -19.558) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_line (start -22.352 -19.558) (end -31.496 -19.558) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_line (start -41.148 -7.874) (end -35.052 -7.874) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_line (start -35.052 -7.874) (end -35.052 -12.446) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_line (start -35.052 -12.446) (end -36.576 -13.97) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_line (start -36.576 -13.97) (end -39.624 -13.97) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_line (start -39.624 -13.97) (end -41.148 -12.446) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_line (start -41.148 -12.446) (end -41.148 -7.874) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_line (start -0.508 -12.446) (end -0.508 -6.858) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_line (start -0.508 -6.858) (end -7.62 -6.858) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_line (start -7.62 -6.858) (end -7.62 -12.446) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_line (start -7.62 -12.446) (end -5.588 -13.97) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_line (start -5.588 -13.97) (end -2.54 -13.97) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_line (start -2.54 -13.97) (end -0.508 -12.446) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_line (start -30.988 -0.762) (end -33.02 -0.762) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_line (start -33.02 -0.762) (end -34.036 -0.762) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_line (start -34.036 -0.762) (end -34.036 -11.938) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_line (start -34.036 -11.938) (end -22.86 -11.938) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_line (start -22.86 -11.938) (end -22.86 -10.414) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_line (start -22.86 -10.922) (end -22.86 -0.762) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_line (start -22.86 -0.762) (end -30.988 -0.762) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_circle (center -38.1 -10.922) (end -35.56 -12.446) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_circle (center -4.064 -10.414) (end -1.016 -11.938) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_line (start 0 0) (end -43.18 0) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_line (start -43.18 0) (end -43.18 -21.082) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_line (start 0 0) (end 0 -21.082) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_line (start -43.18 -21.082) (end 0 -21.082) (layer F.SilkS) (width 0.15))
|
||||||
|
(pad 1 thru_hole rect (at -41.3258 -19.1516) (size 1.524 1.524) (drill 1) (layers *.Cu *.Mask F.SilkS))
|
||||||
|
(pad 2 thru_hole rect (at -41.3258 -1.9812) (size 1.524 1.524) (drill 1) (layers *.Cu *.Mask F.SilkS))
|
||||||
|
(pad 3 thru_hole rect (at -1.8542 -1.9812) (size 1.524 1.524) (drill 1) (layers *.Cu *.Mask F.SilkS))
|
||||||
|
(pad 4 thru_hole rect (at -1.8542 -19.1262) (size 1.524 1.524) (drill 1) (layers *.Cu *.Mask F.SilkS))
|
||||||
|
)
|
@ -0,0 +1,58 @@
|
|||||||
|
(module XL6009_module_SMT (layer F.Cu) (tedit 569E2A66)
|
||||||
|
(fp_text reference M2 (at -38.375 -16.125) (layer F.SilkS)
|
||||||
|
(effects (font (size 1 1) (thickness 0.15)))
|
||||||
|
)
|
||||||
|
(fp_text value DC_DC_boost_module (at -22.9 -7.075) (layer F.Fab)
|
||||||
|
(effects (font (size 1 1) (thickness 0.15)))
|
||||||
|
)
|
||||||
|
(fp_circle (center -6.604 -2.54) (end -5.842 -0.508) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_circle (center -6.604 -2.54) (end -6.604 -1.016) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_circle (center -36.576 -18.542) (end -37.084 -20.574) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_circle (center -36.576 -18.542) (end -36.576 -20.066) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_line (start -11.176 -19.05) (end -11.176 -14.986) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_line (start -15.24 -19.05) (end -15.24 -14.986) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_line (start -15.24 -14.986) (end -11.176 -17.018) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_line (start -11.176 -17.018) (end -15.24 -19.05) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_line (start -30.988 -17.526) (end -29.972 -18.542) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_circle (center -30.48 -18.034) (end -29.972 -18.542) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_line (start -31.496 -19.558) (end -31.496 -16.002) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_line (start -31.496 -16.002) (end -30.988 -16.002) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_line (start -30.988 -16.002) (end -30.988 -16.51) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_line (start -30.988 -16.51) (end -22.86 -16.51) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_line (start -22.86 -16.51) (end -22.86 -16.002) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_line (start -22.86 -16.002) (end -22.352 -16.002) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_line (start -22.352 -16.002) (end -22.352 -19.558) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_line (start -22.352 -19.558) (end -31.496 -19.558) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_line (start -41.148 -7.874) (end -35.052 -7.874) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_line (start -35.052 -7.874) (end -35.052 -12.446) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_line (start -35.052 -12.446) (end -36.576 -13.97) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_line (start -36.576 -13.97) (end -39.624 -13.97) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_line (start -39.624 -13.97) (end -41.148 -12.446) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_line (start -41.148 -12.446) (end -41.148 -7.874) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_line (start -0.508 -12.446) (end -0.508 -6.858) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_line (start -0.508 -6.858) (end -7.62 -6.858) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_line (start -7.62 -6.858) (end -7.62 -12.446) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_line (start -7.62 -12.446) (end -5.588 -13.97) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_line (start -5.588 -13.97) (end -2.54 -13.97) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_line (start -2.54 -13.97) (end -0.508 -12.446) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_line (start -30.988 -0.762) (end -33.02 -0.762) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_line (start -33.02 -0.762) (end -34.036 -0.762) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_line (start -34.036 -0.762) (end -34.036 -11.938) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_line (start -34.036 -11.938) (end -22.86 -11.938) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_line (start -22.86 -11.938) (end -22.86 -10.414) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_line (start -22.86 -10.922) (end -22.86 -0.762) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_line (start -22.86 -0.762) (end -30.988 -0.762) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_circle (center -38.1 -10.922) (end -35.56 -12.446) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_circle (center -4.064 -10.414) (end -1.016 -11.938) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_line (start 0 0) (end -43.18 0) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_line (start -43.18 0) (end -43.18 -21.082) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_line (start 0 0) (end 0 -21.082) (layer F.SilkS) (width 0.15))
|
||||||
|
(fp_line (start -43.18 -21.082) (end 0 -21.082) (layer F.SilkS) (width 0.15))
|
||||||
|
(pad "" thru_hole circle (at -25.2 -18) (size 1.5 1.5) (drill 1.25) (layers *.Cu *.Mask F.SilkS))
|
||||||
|
(pad "" thru_hole circle (at -27.8 -18) (size 1.5 1.5) (drill 1.25) (layers *.Cu *.Mask F.SilkS))
|
||||||
|
(pad 1 smd rect (at -41.3258 -19.1516) (size 3.8 4) (layers F.Cu F.Paste F.Mask))
|
||||||
|
(pad 2 smd rect (at -41.3258 -1.9812) (size 3.8 4) (layers F.Cu F.Paste F.Mask))
|
||||||
|
(pad 3 smd rect (at -1.8542 -1.9812) (size 3.8 4) (layers F.Cu F.Paste F.Mask))
|
||||||
|
(pad 4 smd rect (at -1.8542 -19.1262) (size 3.8 4) (layers F.Cu F.Paste F.Mask))
|
||||||
|
(pad "" thru_hole circle (at -30.3 -18) (size 1.5 1.5) (drill 1.25) (layers *.Cu *.Mask F.SilkS))
|
||||||
|
)
|
@ -0,0 +1,94 @@
|
|||||||
|
(module 21-0041B_8_MXM (layer F.Cu)
|
||||||
|
(fp_text reference REF** (at 0 0) (layer F.SilkS)
|
||||||
|
(effects (font (size 1 1) (thickness .15)))
|
||||||
|
)
|
||||||
|
(fp_text value 21-0041B_8_MXM (at 0 0) (layer F.SilkS)
|
||||||
|
(effects (font (size 1 1) (thickness .15)))
|
||||||
|
)
|
||||||
|
(fp_text user "Copyright 2016 Accelerated Designs. All rights reserved." (at 0 0) (layer Cmts.User)
|
||||||
|
(effects (font (size .127 .127) (thickness .002)))
|
||||||
|
)
|
||||||
|
(fp_text user "*" (at -2.97815 -3.5814) (layer F.SilkS)
|
||||||
|
(effects (font (size 1 1) (thickness .15)))
|
||||||
|
)
|
||||||
|
(fp_text user "*" (at -1.6129 -2.4257) (layer F.Fab)
|
||||||
|
(effects (font (size 1 1) (thickness .15)))
|
||||||
|
)
|
||||||
|
(fp_text user "0.05in/1.27mm" (at -5.77215 -1.27) (layer Dwgs.User)
|
||||||
|
(effects (font (size 1 1) (thickness .15)))
|
||||||
|
)
|
||||||
|
(fp_text user "0.021in/0.533mm" (at 5.77215 -1.905) (layer Dwgs.User)
|
||||||
|
(effects (font (size 1 1) (thickness .15)))
|
||||||
|
)
|
||||||
|
(fp_text user "0.214in/5.448mm" (at 0 -4.9149) (layer Dwgs.User)
|
||||||
|
(effects (font (size 1 1) (thickness .15)))
|
||||||
|
)
|
||||||
|
(fp_text user "0.058in/1.46mm" (at -2.72415 4.9149) (layer Dwgs.User)
|
||||||
|
(effects (font (size 1 1) (thickness .15)))
|
||||||
|
)
|
||||||
|
(fp_text user "*" (at -2.97815 -3.5814) (layer F.SilkS)
|
||||||
|
(effects (font (size 1 1) (thickness .15)))
|
||||||
|
)
|
||||||
|
(fp_text user "*" (at -1.6129 -2.4257) (layer F.Fab)
|
||||||
|
(effects (font (size 1 1) (thickness .15)))
|
||||||
|
)
|
||||||
|
(fp_line (start -1.9939 -1.6637) (end -1.9939 -2.1463) (layer F.Fab) (width .1524))
|
||||||
|
(fp_line (start -1.9939 -2.1463) (end -3.0988 -2.1463) (layer F.Fab) (width .1524))
|
||||||
|
(fp_line (start -3.0988 -2.1463) (end -3.0988 -1.6637) (layer F.Fab) (width .1524))
|
||||||
|
(fp_line (start -3.0988 -1.6637) (end -1.9939 -1.6637) (layer F.Fab) (width .1524))
|
||||||
|
(fp_line (start -1.9939 -.3937) (end -1.9939 -.8763) (layer F.Fab) (width .1524))
|
||||||
|
(fp_line (start -1.9939 -.8763) (end -3.0988 -.8763) (layer F.Fab) (width .1524))
|
||||||
|
(fp_line (start -3.0988 -.8763) (end -3.0988 -.3937) (layer F.Fab) (width .1524))
|
||||||
|
(fp_line (start -3.0988 -.3937) (end -1.9939 -.3937) (layer F.Fab) (width .1524))
|
||||||
|
(fp_line (start -1.9939 .8763) (end -1.9939 .3937) (layer F.Fab) (width .1524))
|
||||||
|
(fp_line (start -1.9939 .3937) (end -3.0988 .3937) (layer F.Fab) (width .1524))
|
||||||
|
(fp_line (start -3.0988 .3937) (end -3.0988 .8763) (layer F.Fab) (width .1524))
|
||||||
|
(fp_line (start -3.0988 .8763) (end -1.9939 .8763) (layer F.Fab) (width .1524))
|
||||||
|
(fp_line (start -1.9939 2.1463) (end -1.9939 1.6637) (layer F.Fab) (width .1524))
|
||||||
|
(fp_line (start -1.9939 1.6637) (end -3.0988 1.6637) (layer F.Fab) (width .1524))
|
||||||
|
(fp_line (start -3.0988 1.6637) (end -3.0988 2.1463) (layer F.Fab) (width .1524))
|
||||||
|
(fp_line (start -3.0988 2.1463) (end -1.9939 2.1463) (layer F.Fab) (width .1524))
|
||||||
|
(fp_line (start 1.9939 1.6637) (end 1.9939 2.1463) (layer F.Fab) (width .1524))
|
||||||
|
(fp_line (start 1.9939 2.1463) (end 3.0988 2.1463) (layer F.Fab) (width .1524))
|
||||||
|
(fp_line (start 3.0988 2.1463) (end 3.0988 1.6637) (layer F.Fab) (width .1524))
|
||||||
|
(fp_line (start 3.0988 1.6637) (end 1.9939 1.6637) (layer F.Fab) (width .1524))
|
||||||
|
(fp_line (start 1.9939 .3937) (end 1.9939 .8763) (layer F.Fab) (width .1524))
|
||||||
|
(fp_line (start 1.9939 .8763) (end 3.0988 .8763) (layer F.Fab) (width .1524))
|
||||||
|
(fp_line (start 3.0988 .8763) (end 3.0988 .3937) (layer F.Fab) (width .1524))
|
||||||
|
(fp_line (start 3.0988 .3937) (end 1.9939 .3937) (layer F.Fab) (width .1524))
|
||||||
|
(fp_line (start 1.9939 -.8763) (end 1.9939 -.3937) (layer F.Fab) (width .1524))
|
||||||
|
(fp_line (start 1.9939 -.3937) (end 3.0988 -.3937) (layer F.Fab) (width .1524))
|
||||||
|
(fp_line (start 3.0988 -.3937) (end 3.0988 -.8763) (layer F.Fab) (width .1524))
|
||||||
|
(fp_line (start 3.0988 -.8763) (end 1.9939 -.8763) (layer F.Fab) (width .1524))
|
||||||
|
(fp_line (start 1.9939 -2.1463) (end 1.9939 -1.6637) (layer F.Fab) (width .1524))
|
||||||
|
(fp_line (start 1.9939 -1.6637) (end 3.0988 -1.6637) (layer F.Fab) (width .1524))
|
||||||
|
(fp_line (start 3.0988 -1.6637) (end 3.0988 -2.1463) (layer F.Fab) (width .1524))
|
||||||
|
(fp_line (start 3.0988 -2.1463) (end 1.9939 -2.1463) (layer F.Fab) (width .1524))
|
||||||
|
(fp_line (start -2.1209 2.6289) (end 2.1209 2.6289) (layer F.SilkS) (width .1524))
|
||||||
|
(fp_line (start 2.1209 -2.6289) (end -2.1209 -2.6289) (layer F.SilkS) (width .1524))
|
||||||
|
(fp_line (start -1.9939 2.5019) (end 1.9939 2.5019) (layer F.Fab) (width .1524))
|
||||||
|
(fp_line (start 1.9939 2.5019) (end 1.9939 -2.5019) (layer F.Fab) (width .1524))
|
||||||
|
(fp_line (start 1.9939 -2.5019) (end -1.9939 -2.5019) (layer F.Fab) (width .1524))
|
||||||
|
(fp_line (start -1.9939 -2.5019) (end -1.9939 2.5019) (layer F.Fab) (width .1524))
|
||||||
|
(fp_line (start -3.7084 2.4257) (end -3.7084 -2.4257) (layer F.CrtYd) (width .1524))
|
||||||
|
(fp_line (start -3.7084 -2.4257) (end -2.2479 -2.4257) (layer F.CrtYd) (width .1524))
|
||||||
|
(fp_line (start -2.2479 -2.4257) (end -2.2479 -2.7559) (layer F.CrtYd) (width .1524))
|
||||||
|
(fp_line (start -2.2479 -2.7559) (end 2.2479 -2.7559) (layer F.CrtYd) (width .1524))
|
||||||
|
(fp_line (start 2.2479 -2.7559) (end 2.2479 -2.4257) (layer F.CrtYd) (width .1524))
|
||||||
|
(fp_line (start 2.2479 -2.4257) (end 3.7084 -2.4257) (layer F.CrtYd) (width .1524))
|
||||||
|
(fp_line (start 3.7084 -2.4257) (end 3.7084 2.4257) (layer F.CrtYd) (width .1524))
|
||||||
|
(fp_line (start 3.7084 2.4257) (end 2.2479 2.4257) (layer F.CrtYd) (width .1524))
|
||||||
|
(fp_line (start 2.2479 2.4257) (end 2.2479 2.7559) (layer F.CrtYd) (width .1524))
|
||||||
|
(fp_line (start 2.2479 2.7559) (end -2.2479 2.7559) (layer F.CrtYd) (width .1524))
|
||||||
|
(fp_line (start -2.2479 2.7559) (end -2.2479 2.4257) (layer F.CrtYd) (width .1524))
|
||||||
|
(fp_line (start -2.2479 2.4257) (end -3.7084 2.4257) (layer F.CrtYd) (width .1524))
|
||||||
|
(fp_arc (start 0 -2.5019) (end .3048 -2.5019) (angle 180)(layer F.Fab) (width .1524))
|
||||||
|
(pad 1 smd rect (at -2.72415 -1.905) (size 1.4605 .5334) (layers F.Cu F.Paste F.Mask))
|
||||||
|
(pad 2 smd rect (at -2.72415 -.635) (size 1.4605 .5334) (layers F.Cu F.Paste F.Mask))
|
||||||
|
(pad 3 smd rect (at -2.72415 .635) (size 1.4605 .5334) (layers F.Cu F.Paste F.Mask))
|
||||||
|
(pad 4 smd rect (at -2.72415 1.905) (size 1.4605 .5334) (layers F.Cu F.Paste F.Mask))
|
||||||
|
(pad 5 smd rect (at 2.72415 1.905) (size 1.4605 .5334) (layers F.Cu F.Paste F.Mask))
|
||||||
|
(pad 6 smd rect (at 2.72415 .635) (size 1.4605 .5334) (layers F.Cu F.Paste F.Mask))
|
||||||
|
(pad 7 smd rect (at 2.72415 -.635) (size 1.4605 .5334) (layers F.Cu F.Paste F.Mask))
|
||||||
|
(pad 8 smd rect (at 2.72415 -1.905) (size 1.4605 .5334) (layers F.Cu F.Paste F.Mask))
|
||||||
|
)
|
6
battery_board/battery_board/sym-lib-table
Normal file
6
battery_board/battery_board/sym-lib-table
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
(sym_lib_table
|
||||||
|
(version 7)
|
||||||
|
(lib (name "easyeda2kicad")(type "KiCad")(uri "${KIPRJMOD}/kicad-stuff/easyeda2kicad.kicad_sym")(options "")(descr ""))
|
||||||
|
(lib (name "BQ34Z100PWR-G1")(type "KiCad")(uri "${KIPRJMOD}/kicad-stuff/BQ34Z100PWR-G1.kicad_sym")(options "")(descr ""))
|
||||||
|
(lib (name "ESP32-DEVKITC-32D")(type "KiCad")(uri "${KIPRJMOD}/kicad-stuff/ESP32/ESP32-DEVKITC-32D.kicad_sym")(options "")(descr ""))
|
||||||
|
)
|
File diff suppressed because it is too large
Load Diff
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"board": {
|
"board": {
|
||||||
"active_layer": 39,
|
"active_layer": 1,
|
||||||
"active_layer_preset": "",
|
"active_layer_preset": "",
|
||||||
"auto_track_width": false,
|
"auto_track_width": false,
|
||||||
"hidden_netclasses": [],
|
"hidden_netclasses": [],
|
||||||
@ -8,7 +8,7 @@
|
|||||||
"high_contrast_mode": 0,
|
"high_contrast_mode": 0,
|
||||||
"net_color_mode": 1,
|
"net_color_mode": 1,
|
||||||
"opacity": {
|
"opacity": {
|
||||||
"images": 0.6,
|
"images": 0.4399999976158142,
|
||||||
"pads": 1.0,
|
"pads": 1.0,
|
||||||
"tracks": 1.0,
|
"tracks": 1.0,
|
||||||
"vias": 1.0,
|
"vias": 1.0,
|
||||||
@ -68,7 +68,7 @@
|
|||||||
39,
|
39,
|
||||||
40
|
40
|
||||||
],
|
],
|
||||||
"visible_layers": "ffdfffe_ffffffff",
|
"visible_layers": "ffc7fff_ffffffff",
|
||||||
"zone_display_mode": 1
|
"zone_display_mode": 1
|
||||||
},
|
},
|
||||||
"git": {
|
"git": {
|
||||||
|
@ -37,9 +37,9 @@
|
|||||||
"other_text_thickness": 0.15,
|
"other_text_thickness": 0.15,
|
||||||
"other_text_upright": false,
|
"other_text_upright": false,
|
||||||
"pads": {
|
"pads": {
|
||||||
"drill": 0.0,
|
"drill": 0.25,
|
||||||
"height": 3.0,
|
"height": 0.35,
|
||||||
"width": 1.6
|
"width": 0.35
|
||||||
},
|
},
|
||||||
"silk_line_width": 0.12,
|
"silk_line_width": 0.12,
|
||||||
"silk_text_italic": false,
|
"silk_text_italic": false,
|
||||||
@ -64,8 +64,8 @@
|
|||||||
"version": 2
|
"version": 2
|
||||||
},
|
},
|
||||||
"rule_severities": {
|
"rule_severities": {
|
||||||
"annular_width": "error",
|
"annular_width": "ignore",
|
||||||
"clearance": "error",
|
"clearance": "warning",
|
||||||
"connection_width": "warning",
|
"connection_width": "warning",
|
||||||
"copper_edge_clearance": "error",
|
"copper_edge_clearance": "error",
|
||||||
"copper_sliver": "warning",
|
"copper_sliver": "warning",
|
||||||
@ -80,6 +80,7 @@
|
|||||||
"footprint_type_mismatch": "ignore",
|
"footprint_type_mismatch": "ignore",
|
||||||
"hole_clearance": "error",
|
"hole_clearance": "error",
|
||||||
"hole_near_hole": "error",
|
"hole_near_hole": "error",
|
||||||
|
"holes_co_located": "warning",
|
||||||
"invalid_outline": "error",
|
"invalid_outline": "error",
|
||||||
"isolated_copper": "warning",
|
"isolated_copper": "warning",
|
||||||
"item_on_disabled_layer": "error",
|
"item_on_disabled_layer": "error",
|
||||||
@ -96,7 +97,7 @@
|
|||||||
"padstack": "warning",
|
"padstack": "warning",
|
||||||
"pth_inside_courtyard": "ignore",
|
"pth_inside_courtyard": "ignore",
|
||||||
"shorting_items": "error",
|
"shorting_items": "error",
|
||||||
"silk_edge_clearance": "warning",
|
"silk_edge_clearance": "ignore",
|
||||||
"silk_over_copper": "ignore",
|
"silk_over_copper": "ignore",
|
||||||
"silk_overlap": "ignore",
|
"silk_overlap": "ignore",
|
||||||
"skew_out_of_range": "error",
|
"skew_out_of_range": "error",
|
||||||
@ -445,8 +446,8 @@
|
|||||||
"no_connect_dangling": "warning",
|
"no_connect_dangling": "warning",
|
||||||
"pin_not_connected": "error",
|
"pin_not_connected": "error",
|
||||||
"pin_not_driven": "error",
|
"pin_not_driven": "error",
|
||||||
"pin_to_pin": "error",
|
"pin_to_pin": "ignore",
|
||||||
"power_pin_not_driven": "error",
|
"power_pin_not_driven": "ignore",
|
||||||
"similar_labels": "warning",
|
"similar_labels": "warning",
|
||||||
"simulation_model_issue": "ignore",
|
"simulation_model_issue": "ignore",
|
||||||
"unannotated": "error",
|
"unannotated": "error",
|
||||||
@ -1051,6 +1052,7 @@
|
|||||||
},
|
},
|
||||||
"schematic": {
|
"schematic": {
|
||||||
"annotate_start_num": 0,
|
"annotate_start_num": 0,
|
||||||
|
"bom_export_filename": "",
|
||||||
"bom_fmt_presets": [],
|
"bom_fmt_presets": [],
|
||||||
"bom_fmt_settings": {
|
"bom_fmt_settings": {
|
||||||
"field_delimiter": ",",
|
"field_delimiter": ",",
|
||||||
@ -1100,13 +1102,139 @@
|
|||||||
"label": "DNP",
|
"label": "DNP",
|
||||||
"name": "${DNP}",
|
"name": "${DNP}",
|
||||||
"show": true
|
"show": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"group_by": false,
|
||||||
|
"label": "#",
|
||||||
|
"name": "${ITEM_NUMBER}",
|
||||||
|
"show": false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"group_by": false,
|
||||||
|
"label": "Availability",
|
||||||
|
"name": "Availability",
|
||||||
|
"show": false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"group_by": false,
|
||||||
|
"label": "Check_prices",
|
||||||
|
"name": "Check_prices",
|
||||||
|
"show": false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"group_by": false,
|
||||||
|
"label": "Description_1",
|
||||||
|
"name": "Description_1",
|
||||||
|
"show": false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"group_by": false,
|
||||||
|
"label": "LCSC",
|
||||||
|
"name": "LCSC",
|
||||||
|
"show": false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"group_by": false,
|
||||||
|
"label": "LCSC_PART_NUMBER",
|
||||||
|
"name": "LCSC_PART_NUMBER",
|
||||||
|
"show": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"group_by": false,
|
||||||
|
"label": "MANUFACTURER",
|
||||||
|
"name": "MANUFACTURER",
|
||||||
|
"show": false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"group_by": false,
|
||||||
|
"label": "MAXIMUM_PACKAGE_HEIGHT",
|
||||||
|
"name": "MAXIMUM_PACKAGE_HEIGHT",
|
||||||
|
"show": false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"group_by": false,
|
||||||
|
"label": "MF",
|
||||||
|
"name": "MF",
|
||||||
|
"show": false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"group_by": false,
|
||||||
|
"label": "MP",
|
||||||
|
"name": "MP",
|
||||||
|
"show": false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"group_by": false,
|
||||||
|
"label": "PARTREV",
|
||||||
|
"name": "PARTREV",
|
||||||
|
"show": false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"group_by": false,
|
||||||
|
"label": "Package",
|
||||||
|
"name": "Package",
|
||||||
|
"show": false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"group_by": false,
|
||||||
|
"label": "Price",
|
||||||
|
"name": "Price",
|
||||||
|
"show": false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"group_by": false,
|
||||||
|
"label": "Purchase-URL",
|
||||||
|
"name": "Purchase-URL",
|
||||||
|
"show": false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"group_by": false,
|
||||||
|
"label": "STANDARD",
|
||||||
|
"name": "STANDARD",
|
||||||
|
"show": false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"group_by": false,
|
||||||
|
"label": "Sim.Device",
|
||||||
|
"name": "Sim.Device",
|
||||||
|
"show": false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"group_by": false,
|
||||||
|
"label": "Sim.Pins",
|
||||||
|
"name": "Sim.Pins",
|
||||||
|
"show": false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"group_by": false,
|
||||||
|
"label": "Sim.Type",
|
||||||
|
"name": "Sim.Type",
|
||||||
|
"show": false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"group_by": false,
|
||||||
|
"label": "SnapEDA_Link",
|
||||||
|
"name": "SnapEDA_Link",
|
||||||
|
"show": false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"group_by": false,
|
||||||
|
"label": "Description",
|
||||||
|
"name": "Description",
|
||||||
|
"show": false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"group_by": false,
|
||||||
|
"label": "LCSC Part",
|
||||||
|
"name": "LCSC Part",
|
||||||
|
"show": false
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"filter_string": "",
|
"filter_string": "",
|
||||||
"group_symbols": true,
|
"group_symbols": true,
|
||||||
"name": "Grouped By Value",
|
"name": "",
|
||||||
"sort_asc": true,
|
"sort_asc": true,
|
||||||
"sort_field": "Reference"
|
"sort_field": "Value"
|
||||||
},
|
},
|
||||||
"connection_grid_size": 50.0,
|
"connection_grid_size": 50.0,
|
||||||
"drawing": {
|
"drawing": {
|
||||||
@ -1142,7 +1270,7 @@
|
|||||||
"meta": {
|
"meta": {
|
||||||
"version": 0
|
"version": 0
|
||||||
},
|
},
|
||||||
"model_mode": 0,
|
"model_mode": 4,
|
||||||
"workbook_filename": ""
|
"workbook_filename": ""
|
||||||
},
|
},
|
||||||
"page_layout_descr_file": "",
|
"page_layout_descr_file": "",
|
||||||
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
1086
board/esp32c6/ESP32-C6-WROOM-1-N8.kicad_sym
Normal file
1086
board/esp32c6/ESP32-C6-WROOM-1-N8.kicad_sym
Normal file
File diff suppressed because it is too large
Load Diff
104
board/esp32c6/XCVR_ESP32-C6-WROOM-1-N8.kicad_mod
Normal file
104
board/esp32c6/XCVR_ESP32-C6-WROOM-1-N8.kicad_mod
Normal file
@ -0,0 +1,104 @@
|
|||||||
|
|
||||||
|
(footprint XCVR_ESP32-C6-WROOM-1-N8 (layer F.Cu) (tedit 66216AE3)
|
||||||
|
(descr "")
|
||||||
|
(attr smd)
|
||||||
|
(fp_text reference REF** (at -5.825 -13.885 0) (layer F.SilkS)
|
||||||
|
(effects (font (size 1.0 1.0) (thickness 0.15)))
|
||||||
|
)
|
||||||
|
(fp_text value XCVR_ESP32-C6-WROOM-1-N8 (at 6.24 13.865 0) (layer F.Fab)
|
||||||
|
(effects (font (size 1.0 1.0) (thickness 0.15)))
|
||||||
|
)
|
||||||
|
(pad 1 smd rect (at -8.75 -5.26) (size 1.5 0.9) (layers F.Cu F.Mask F.Paste) (solder_mask_margin 0.102))
|
||||||
|
(pad 2 smd rect (at -8.75 -3.99) (size 1.5 0.9) (layers F.Cu F.Mask F.Paste) (solder_mask_margin 0.102))
|
||||||
|
(pad 3 smd rect (at -8.75 -2.72) (size 1.5 0.9) (layers F.Cu F.Mask F.Paste) (solder_mask_margin 0.102))
|
||||||
|
(pad 4 smd rect (at -8.75 -1.45) (size 1.5 0.9) (layers F.Cu F.Mask F.Paste) (solder_mask_margin 0.102))
|
||||||
|
(pad 5 smd rect (at -8.75 -0.18) (size 1.5 0.9) (layers F.Cu F.Mask F.Paste) (solder_mask_margin 0.102))
|
||||||
|
(pad 6 smd rect (at -8.75 1.09) (size 1.5 0.9) (layers F.Cu F.Mask F.Paste) (solder_mask_margin 0.102))
|
||||||
|
(pad 7 smd rect (at -8.75 2.36) (size 1.5 0.9) (layers F.Cu F.Mask F.Paste) (solder_mask_margin 0.102))
|
||||||
|
(pad 8 smd rect (at -8.75 3.63) (size 1.5 0.9) (layers F.Cu F.Mask F.Paste) (solder_mask_margin 0.102))
|
||||||
|
(pad 9 smd rect (at -8.75 4.9) (size 1.5 0.9) (layers F.Cu F.Mask F.Paste) (solder_mask_margin 0.102))
|
||||||
|
(pad 10 smd rect (at -8.75 6.17) (size 1.5 0.9) (layers F.Cu F.Mask F.Paste) (solder_mask_margin 0.102))
|
||||||
|
(pad 11 smd rect (at -8.75 7.44) (size 1.5 0.9) (layers F.Cu F.Mask F.Paste) (solder_mask_margin 0.102))
|
||||||
|
(pad 12 smd rect (at -8.75 8.71) (size 1.5 0.9) (layers F.Cu F.Mask F.Paste) (solder_mask_margin 0.102))
|
||||||
|
(pad 13 smd rect (at -8.75 9.98) (size 1.5 0.9) (layers F.Cu F.Mask F.Paste) (solder_mask_margin 0.102))
|
||||||
|
(pad 14 smd rect (at -8.75 11.25) (size 1.5 0.9) (layers F.Cu F.Mask F.Paste) (solder_mask_margin 0.102))
|
||||||
|
(pad 15 smd rect (at 8.75 11.25) (size 1.5 0.9) (layers F.Cu F.Mask F.Paste) (solder_mask_margin 0.102))
|
||||||
|
(pad 16 smd rect (at 8.75 9.98) (size 1.5 0.9) (layers F.Cu F.Mask F.Paste) (solder_mask_margin 0.102))
|
||||||
|
(pad 17 smd rect (at 8.75 8.71) (size 1.5 0.9) (layers F.Cu F.Mask F.Paste) (solder_mask_margin 0.102))
|
||||||
|
(pad 18 smd rect (at 8.75 7.44) (size 1.5 0.9) (layers F.Cu F.Mask F.Paste) (solder_mask_margin 0.102))
|
||||||
|
(pad 19 smd rect (at 8.75 6.17) (size 1.5 0.9) (layers F.Cu F.Mask F.Paste) (solder_mask_margin 0.102))
|
||||||
|
(pad 20 smd rect (at 8.75 4.9) (size 1.5 0.9) (layers F.Cu F.Mask F.Paste) (solder_mask_margin 0.102))
|
||||||
|
(pad 21 smd rect (at 8.75 3.63) (size 1.5 0.9) (layers F.Cu F.Mask F.Paste) (solder_mask_margin 0.102))
|
||||||
|
(pad 22 smd rect (at 8.75 2.36) (size 1.5 0.9) (layers F.Cu F.Mask F.Paste) (solder_mask_margin 0.102))
|
||||||
|
(pad 23 smd rect (at 8.75 1.09) (size 1.5 0.9) (layers F.Cu F.Mask F.Paste) (solder_mask_margin 0.102))
|
||||||
|
(pad 24 smd rect (at 8.75 -0.18) (size 1.5 0.9) (layers F.Cu F.Mask F.Paste) (solder_mask_margin 0.102))
|
||||||
|
(pad 25 smd rect (at 8.75 -1.45) (size 1.5 0.9) (layers F.Cu F.Mask F.Paste) (solder_mask_margin 0.102))
|
||||||
|
(pad 26 smd rect (at 8.75 -2.72) (size 1.5 0.9) (layers F.Cu F.Mask F.Paste) (solder_mask_margin 0.102))
|
||||||
|
(pad 27 smd rect (at 8.75 -3.99) (size 1.5 0.9) (layers F.Cu F.Mask F.Paste) (solder_mask_margin 0.102))
|
||||||
|
(pad 28 smd rect (at 8.75 -5.26) (size 1.5 0.9) (layers F.Cu F.Mask F.Paste) (solder_mask_margin 0.102))
|
||||||
|
(pad 29_5 smd rect (at -1.505 0.46) (size 0.8 0.8) (layers F.Cu F.Mask F.Paste) (solder_mask_margin 0.102))
|
||||||
|
(pad 29_1 smd rect (at -2.755 -0.79) (size 0.8 0.8) (layers F.Cu F.Mask F.Paste) (solder_mask_margin 0.102))
|
||||||
|
(pad 29_2 smd rect (at -1.505 -0.79) (size 0.8 0.8) (layers F.Cu F.Mask F.Paste) (solder_mask_margin 0.102))
|
||||||
|
(pad 29_3 smd rect (at -0.255 -0.79) (size 0.8 0.8) (layers F.Cu F.Mask F.Paste) (solder_mask_margin 0.102))
|
||||||
|
(pad 29_4 smd rect (at -2.755 0.46) (size 0.8 0.8) (layers F.Cu F.Mask F.Paste) (solder_mask_margin 0.102))
|
||||||
|
(pad 29_6 smd rect (at -0.255 0.46) (size 0.8 0.8) (layers F.Cu F.Mask F.Paste) (solder_mask_margin 0.102))
|
||||||
|
(pad 29_7 smd rect (at -2.755 1.71) (size 0.8 0.8) (layers F.Cu F.Mask F.Paste) (solder_mask_margin 0.102))
|
||||||
|
(pad 29_8 smd rect (at -1.505 1.71) (size 0.8 0.8) (layers F.Cu F.Mask F.Paste) (solder_mask_margin 0.102))
|
||||||
|
(pad 29_9 smd rect (at -0.255 1.71) (size 0.8 0.8) (layers F.Cu F.Mask F.Paste) (solder_mask_margin 0.102))
|
||||||
|
(pad 30_1 thru_hole circle (at -2.13 -0.79) (size 0.35 0.35) (drill 0.25) (layers *.Cu))
|
||||||
|
(pad 30_2 thru_hole circle (at -0.88 -0.79) (size 0.35 0.35) (drill 0.25) (layers *.Cu))
|
||||||
|
(pad 30_3 thru_hole circle (at -2.755 -0.165) (size 0.35 0.35) (drill 0.25) (layers *.Cu))
|
||||||
|
(pad 30_4 thru_hole circle (at -1.505 -0.165) (size 0.35 0.35) (drill 0.25) (layers *.Cu))
|
||||||
|
(pad 30_5 thru_hole circle (at -0.255 -0.165) (size 0.35 0.35) (drill 0.25) (layers *.Cu))
|
||||||
|
(pad 30_6 thru_hole circle (at -2.13 0.46) (size 0.35 0.35) (drill 0.25) (layers *.Cu))
|
||||||
|
(pad 30_7 thru_hole circle (at -0.88 0.46) (size 0.35 0.35) (drill 0.25) (layers *.Cu))
|
||||||
|
(pad 30_8 thru_hole circle (at -2.755 1.085) (size 0.35 0.35) (drill 0.25) (layers *.Cu))
|
||||||
|
(pad 30_9 thru_hole circle (at -1.505 1.085) (size 0.35 0.35) (drill 0.25) (layers *.Cu))
|
||||||
|
(pad 30_10 thru_hole circle (at -0.255 1.085) (size 0.35 0.35) (drill 0.25) (layers *.Cu))
|
||||||
|
(pad 30_11 thru_hole circle (at -2.13 1.71) (size 0.35 0.35) (drill 0.25) (layers *.Cu))
|
||||||
|
(pad 30_12 thru_hole circle (at -0.88 1.71) (size 0.35 0.35) (drill 0.25) (layers *.Cu))
|
||||||
|
(fp_line (start -9.0 12.75) (end 9.0 12.75) (layer F.Fab) (width 0.127))
|
||||||
|
(fp_line (start -9.0 -12.75) (end 9.0 -12.75) (layer F.Fab) (width 0.127))
|
||||||
|
(fp_line (start 9.0 -12.75) (end 9.0 12.75) (layer F.Fab) (width 0.127))
|
||||||
|
(fp_line (start -9.0 12.75) (end 9.0 12.75) (layer F.SilkS) (width 0.127))
|
||||||
|
(fp_line (start -9.0 12.75) (end -9.0 12.02) (layer F.SilkS) (width 0.127))
|
||||||
|
(fp_line (start 9.0 12.02) (end 9.0 12.75) (layer F.SilkS) (width 0.127))
|
||||||
|
(fp_line (start -9.0 -6.03) (end -9.0 -12.75) (layer F.SilkS) (width 0.127))
|
||||||
|
(fp_line (start -9.0 -12.75) (end 9.0 -12.75) (layer F.SilkS) (width 0.127))
|
||||||
|
(fp_line (start 9.0 -12.75) (end 9.0 -6.03) (layer F.SilkS) (width 0.127))
|
||||||
|
(zone (net 0) (net_name "") (layers *.Cu) (hatch full 0.508)
|
||||||
|
(connect_pads (clearance 0))
|
||||||
|
(min_thickness 0.01)
|
||||||
|
(keepout (tracks allowed) (vias not_allowed) (pads allowed ) (copperpour allowed) (footprints allowed))
|
||||||
|
(fill (thermal_gap 0.508) (thermal_bridge_width 0.508))
|
||||||
|
(polygon
|
||||||
|
(pts
|
||||||
|
(xy -9.0 -12.75)
|
||||||
|
(xy 9.0 -12.75)
|
||||||
|
(xy 9.0 -6.75)
|
||||||
|
(xy -9.0 -6.75)
|
||||||
|
)
|
||||||
|
)
|
||||||
|
)
|
||||||
|
(zone (net 0) (net_name "") (layer F.Cu) (hatch full 0.508)
|
||||||
|
(connect_pads (clearance 0))
|
||||||
|
(min_thickness 0.01)
|
||||||
|
(keepout (tracks not_allowed) (vias not_allowed) (pads not_allowed ) (copperpour not_allowed) (footprints allowed))
|
||||||
|
(fill (thermal_gap 0.508) (thermal_bridge_width 0.508))
|
||||||
|
(polygon
|
||||||
|
(pts
|
||||||
|
(xy -9.0 -12.75)
|
||||||
|
(xy 9.0 -12.75)
|
||||||
|
(xy 9.0 -6.75)
|
||||||
|
(xy -9.0 -6.75)
|
||||||
|
)
|
||||||
|
)
|
||||||
|
)
|
||||||
|
(fp_line (start -9.75 -13.0) (end -9.75 13.0) (layer F.CrtYd) (width 0.05))
|
||||||
|
(fp_line (start -9.75 13.0) (end 9.75 13.0) (layer F.CrtYd) (width 0.05))
|
||||||
|
(fp_line (start 9.75 13.0) (end 9.75 -13.0) (layer F.CrtYd) (width 0.05))
|
||||||
|
(fp_line (start 9.75 -13.0) (end -9.75 -13.0) (layer F.CrtYd) (width 0.05))
|
||||||
|
(fp_line (start -9.0 12.75) (end -9.0 -12.75) (layer F.Fab) (width 0.127))
|
||||||
|
(fp_circle (center -10.0 -5.25) (end -9.9 -5.25) (layer F.SilkS) (width 0.2))
|
||||||
|
(fp_circle (center -10.0 -5.25) (end -9.9 -5.25) (layer F.Fab) (width 0.2))
|
||||||
|
)
|
1
board/fabrication-toolkit-options.json
Normal file
1
board/fabrication-toolkit-options.json
Normal file
@ -0,0 +1 @@
|
|||||||
|
{"EXTRA_LAYERS": "", "EXTEND_EDGE_CUT": false, "AUTO TRANSLATE": true, "AUTO FILL": true, "EXCLUDE DNP": true}
|
@ -4,4 +4,6 @@
|
|||||||
(lib (name "ESP32")(type "KiCad")(uri "${KIPRJMOD}/kicad-stuff/ESP32")(options "")(descr ""))
|
(lib (name "ESP32")(type "KiCad")(uri "${KIPRJMOD}/kicad-stuff/ESP32")(options "")(descr ""))
|
||||||
(lib (name "kicad-stuff")(type "KiCad")(uri "${KIPRJMOD}/kicad-stuff")(options "")(descr ""))
|
(lib (name "kicad-stuff")(type "KiCad")(uri "${KIPRJMOD}/kicad-stuff")(options "")(descr ""))
|
||||||
(lib (name "board")(type "KiCad")(uri "${KIPRJMOD}/")(options "")(descr ""))
|
(lib (name "board")(type "KiCad")(uri "${KIPRJMOD}/")(options "")(descr ""))
|
||||||
|
(lib (name "esp32c6")(type "KiCad")(uri "${KIPRJMOD}/esp32c6")(options "")(descr ""))
|
||||||
|
(lib (name "easyeda2kicad")(type "KiCad")(uri "${KIPRJMOD}/kicad-stuff/easyeda2kicad.pretty")(options "")(descr ""))
|
||||||
)
|
)
|
||||||
|
@ -0,0 +1,337 @@
|
|||||||
|
(footprint "AMASS_XT30UPB+DATA-M_1x02_P5.0mm_Vertical"
|
||||||
|
(version 20240108)
|
||||||
|
(generator "pcbnew")
|
||||||
|
(generator_version "8.0")
|
||||||
|
(layer "F.Cu")
|
||||||
|
(descr "Connector XT30 Vertical PCB Male, https://www.tme.eu/en/Document/4acc913878197f8c2e30d4b8cdc47230/XT30UPB%20SPEC.pdf")
|
||||||
|
(tags "RC Connector XT30")
|
||||||
|
(property "Reference" "REF**"
|
||||||
|
(at 2.5 -4 0)
|
||||||
|
(layer "F.SilkS")
|
||||||
|
(uuid "f7510d54-dcb1-4c3b-b842-cd250a98370c")
|
||||||
|
(effects
|
||||||
|
(font
|
||||||
|
(size 1 1)
|
||||||
|
(thickness 0.15)
|
||||||
|
)
|
||||||
|
)
|
||||||
|
)
|
||||||
|
(property "Value" "AMASS_XT30UPB+DATA-M_1x02_P5.0mm_Vertical"
|
||||||
|
(at 2.5 4 0)
|
||||||
|
(layer "F.Fab")
|
||||||
|
(uuid "c5a8a60c-4ea1-4401-a30c-34d36be61c07")
|
||||||
|
(effects
|
||||||
|
(font
|
||||||
|
(size 1 1)
|
||||||
|
(thickness 0.15)
|
||||||
|
)
|
||||||
|
)
|
||||||
|
)
|
||||||
|
(property "Footprint" ""
|
||||||
|
(at 0 0 0)
|
||||||
|
(unlocked yes)
|
||||||
|
(layer "F.Fab")
|
||||||
|
(hide yes)
|
||||||
|
(uuid "8fb27306-c085-4316-b554-4ba9be794054")
|
||||||
|
(effects
|
||||||
|
(font
|
||||||
|
(size 1.27 1.27)
|
||||||
|
(thickness 0.15)
|
||||||
|
)
|
||||||
|
)
|
||||||
|
)
|
||||||
|
(property "Datasheet" ""
|
||||||
|
(at 0 0 0)
|
||||||
|
(unlocked yes)
|
||||||
|
(layer "F.Fab")
|
||||||
|
(hide yes)
|
||||||
|
(uuid "74b71861-05d2-4229-8e81-25952aaaef7e")
|
||||||
|
(effects
|
||||||
|
(font
|
||||||
|
(size 1.27 1.27)
|
||||||
|
(thickness 0.15)
|
||||||
|
)
|
||||||
|
)
|
||||||
|
)
|
||||||
|
(property "Description" ""
|
||||||
|
(at 0 0 0)
|
||||||
|
(unlocked yes)
|
||||||
|
(layer "F.Fab")
|
||||||
|
(hide yes)
|
||||||
|
(uuid "a1d16ecc-7e64-48c4-b772-a9255380960d")
|
||||||
|
(effects
|
||||||
|
(font
|
||||||
|
(size 1.27 1.27)
|
||||||
|
(thickness 0.15)
|
||||||
|
)
|
||||||
|
)
|
||||||
|
)
|
||||||
|
(attr through_hole)
|
||||||
|
(fp_line
|
||||||
|
(start -2.71 -1.41)
|
||||||
|
(end -2.71 1.41)
|
||||||
|
(stroke
|
||||||
|
(width 0.12)
|
||||||
|
(type solid)
|
||||||
|
)
|
||||||
|
(layer "F.SilkS")
|
||||||
|
(uuid "e96c6ad2-9ca6-4df1-b35b-76e090d7ff4e")
|
||||||
|
)
|
||||||
|
(fp_line
|
||||||
|
(start -2.71 -1.41)
|
||||||
|
(end -1.01 -2.71)
|
||||||
|
(stroke
|
||||||
|
(width 0.12)
|
||||||
|
(type solid)
|
||||||
|
)
|
||||||
|
(layer "F.SilkS")
|
||||||
|
(uuid "0784d204-0a48-4a2b-8085-50e1ff7a1493")
|
||||||
|
)
|
||||||
|
(fp_line
|
||||||
|
(start -2.71 1.41)
|
||||||
|
(end -1.01 2.71)
|
||||||
|
(stroke
|
||||||
|
(width 0.12)
|
||||||
|
(type solid)
|
||||||
|
)
|
||||||
|
(layer "F.SilkS")
|
||||||
|
(uuid "db750970-e424-4a8e-a882-20a90baabffc")
|
||||||
|
)
|
||||||
|
(fp_line
|
||||||
|
(start -1.01 -2.71)
|
||||||
|
(end 7.71 -2.71)
|
||||||
|
(stroke
|
||||||
|
(width 0.12)
|
||||||
|
(type solid)
|
||||||
|
)
|
||||||
|
(layer "F.SilkS")
|
||||||
|
(uuid "9f23420e-db87-438c-a708-676a0616966e")
|
||||||
|
)
|
||||||
|
(fp_line
|
||||||
|
(start -1.01 2.71)
|
||||||
|
(end 7.71 2.71)
|
||||||
|
(stroke
|
||||||
|
(width 0.12)
|
||||||
|
(type solid)
|
||||||
|
)
|
||||||
|
(layer "F.SilkS")
|
||||||
|
(uuid "2ba574e3-9de5-4d7d-9777-e19e6fa702e7")
|
||||||
|
)
|
||||||
|
(fp_line
|
||||||
|
(start 7.71 -2.71)
|
||||||
|
(end 7.71 2.71)
|
||||||
|
(stroke
|
||||||
|
(width 0.12)
|
||||||
|
(type solid)
|
||||||
|
)
|
||||||
|
(layer "F.SilkS")
|
||||||
|
(uuid "2018cc6b-6115-4763-8b7c-54b60affbda7")
|
||||||
|
)
|
||||||
|
(fp_rect
|
||||||
|
(start -6.3 -2.71)
|
||||||
|
(end 7.71 2.7)
|
||||||
|
(stroke
|
||||||
|
(width 0.1)
|
||||||
|
(type default)
|
||||||
|
)
|
||||||
|
(fill none)
|
||||||
|
(layer "F.SilkS")
|
||||||
|
(uuid "11aac399-c862-4b67-9828-087abeea5b1b")
|
||||||
|
)
|
||||||
|
(fp_line
|
||||||
|
(start -3.1 -1.8)
|
||||||
|
(end -3.1 1.8)
|
||||||
|
(stroke
|
||||||
|
(width 0.05)
|
||||||
|
(type solid)
|
||||||
|
)
|
||||||
|
(layer "F.CrtYd")
|
||||||
|
(uuid "06ae69d8-1372-4524-8b1a-27a2f062f1c5")
|
||||||
|
)
|
||||||
|
(fp_line
|
||||||
|
(start -3.1 -1.8)
|
||||||
|
(end -1.4 -3.1)
|
||||||
|
(stroke
|
||||||
|
(width 0.05)
|
||||||
|
(type solid)
|
||||||
|
)
|
||||||
|
(layer "F.CrtYd")
|
||||||
|
(uuid "ae869a92-c688-4f2b-82ca-0578106a035a")
|
||||||
|
)
|
||||||
|
(fp_line
|
||||||
|
(start -3.1 1.8)
|
||||||
|
(end -1.4 3.1)
|
||||||
|
(stroke
|
||||||
|
(width 0.05)
|
||||||
|
(type solid)
|
||||||
|
)
|
||||||
|
(layer "F.CrtYd")
|
||||||
|
(uuid "cac6d927-6ba1-4095-825b-f94ee0d7abe9")
|
||||||
|
)
|
||||||
|
(fp_line
|
||||||
|
(start -1.4 -3.1)
|
||||||
|
(end 8.1 -3.1)
|
||||||
|
(stroke
|
||||||
|
(width 0.05)
|
||||||
|
(type solid)
|
||||||
|
)
|
||||||
|
(layer "F.CrtYd")
|
||||||
|
(uuid "fb4fa373-5492-4717-a9fe-7b69f4c53ba0")
|
||||||
|
)
|
||||||
|
(fp_line
|
||||||
|
(start -1.4 3.1)
|
||||||
|
(end 8.1 3.1)
|
||||||
|
(stroke
|
||||||
|
(width 0.05)
|
||||||
|
(type solid)
|
||||||
|
)
|
||||||
|
(layer "F.CrtYd")
|
||||||
|
(uuid "70296c77-546d-44a2-b5d3-e6dc58cf713b")
|
||||||
|
)
|
||||||
|
(fp_line
|
||||||
|
(start 8.1 -3.1)
|
||||||
|
(end 8.1 3.1)
|
||||||
|
(stroke
|
||||||
|
(width 0.05)
|
||||||
|
(type solid)
|
||||||
|
)
|
||||||
|
(layer "F.CrtYd")
|
||||||
|
(uuid "64764a09-de32-4f35-b54a-17e44810370f")
|
||||||
|
)
|
||||||
|
(fp_line
|
||||||
|
(start -2.6 -1.3)
|
||||||
|
(end -2.6 1.3)
|
||||||
|
(stroke
|
||||||
|
(width 0.1)
|
||||||
|
(type solid)
|
||||||
|
)
|
||||||
|
(layer "F.Fab")
|
||||||
|
(uuid "8d7ee7cb-5dda-453f-aa9a-6420c87f1b8e")
|
||||||
|
)
|
||||||
|
(fp_line
|
||||||
|
(start -2.6 -1.3)
|
||||||
|
(end -0.9 -2.6)
|
||||||
|
(stroke
|
||||||
|
(width 0.1)
|
||||||
|
(type solid)
|
||||||
|
)
|
||||||
|
(layer "F.Fab")
|
||||||
|
(uuid "2fa3ad90-36bb-4374-95ed-e44e50c7e385")
|
||||||
|
)
|
||||||
|
(fp_line
|
||||||
|
(start -2.6 1.3)
|
||||||
|
(end -0.9 2.6)
|
||||||
|
(stroke
|
||||||
|
(width 0.1)
|
||||||
|
(type solid)
|
||||||
|
)
|
||||||
|
(layer "F.Fab")
|
||||||
|
(uuid "2e4f8556-ffc2-4791-91da-e68c3513337e")
|
||||||
|
)
|
||||||
|
(fp_line
|
||||||
|
(start -0.9 -2.6)
|
||||||
|
(end 7.6 -2.6)
|
||||||
|
(stroke
|
||||||
|
(width 0.1)
|
||||||
|
(type solid)
|
||||||
|
)
|
||||||
|
(layer "F.Fab")
|
||||||
|
(uuid "cb9cd8af-1997-41db-b9fe-8982960ac6db")
|
||||||
|
)
|
||||||
|
(fp_line
|
||||||
|
(start -0.9 2.6)
|
||||||
|
(end 7.6 2.6)
|
||||||
|
(stroke
|
||||||
|
(width 0.1)
|
||||||
|
(type solid)
|
||||||
|
)
|
||||||
|
(layer "F.Fab")
|
||||||
|
(uuid "ea8a6c02-e974-4677-a854-a0891c323245")
|
||||||
|
)
|
||||||
|
(fp_line
|
||||||
|
(start 7.6 -2.6)
|
||||||
|
(end 7.6 2.6)
|
||||||
|
(stroke
|
||||||
|
(width 0.1)
|
||||||
|
(type solid)
|
||||||
|
)
|
||||||
|
(layer "F.Fab")
|
||||||
|
(uuid "c66f305c-0d56-4591-bc02-23252ad20321")
|
||||||
|
)
|
||||||
|
(fp_text user "-"
|
||||||
|
(at -4 0 0)
|
||||||
|
(layer "F.SilkS")
|
||||||
|
(uuid "c119570a-6846-48dc-9422-0b5665ab2df6")
|
||||||
|
(effects
|
||||||
|
(font
|
||||||
|
(size 1.5 1.5)
|
||||||
|
(thickness 0.15)
|
||||||
|
)
|
||||||
|
)
|
||||||
|
)
|
||||||
|
(fp_text user "+"
|
||||||
|
(at 9 0 0)
|
||||||
|
(layer "F.SilkS")
|
||||||
|
(uuid "d6ab678c-47f7-47e0-869b-ef3b9dbd1ba9")
|
||||||
|
(effects
|
||||||
|
(font
|
||||||
|
(size 1.5 1.5)
|
||||||
|
(thickness 0.15)
|
||||||
|
)
|
||||||
|
)
|
||||||
|
)
|
||||||
|
(fp_text user "${REFERENCE}"
|
||||||
|
(at 2.5 0 0)
|
||||||
|
(layer "F.Fab")
|
||||||
|
(uuid "a70efd12-1491-4664-ae98-5b2b7f52a502")
|
||||||
|
(effects
|
||||||
|
(font
|
||||||
|
(size 1 1)
|
||||||
|
(thickness 0.15)
|
||||||
|
)
|
||||||
|
)
|
||||||
|
)
|
||||||
|
(pad "1" thru_hole rect
|
||||||
|
(at 0 0)
|
||||||
|
(size 3 3)
|
||||||
|
(drill 1.8)
|
||||||
|
(layers "*.Cu" "*.Mask")
|
||||||
|
(remove_unused_layers no)
|
||||||
|
(uuid "3a0f3b23-814b-4df9-a02c-3d9fed9e23c9")
|
||||||
|
)
|
||||||
|
(pad "2" thru_hole circle
|
||||||
|
(at 5 0)
|
||||||
|
(size 3 3)
|
||||||
|
(drill 1.8)
|
||||||
|
(layers "*.Cu" "*.Mask")
|
||||||
|
(remove_unused_layers no)
|
||||||
|
(uuid "d897d74a-a13b-47cf-9806-eb8a75fe8d08")
|
||||||
|
)
|
||||||
|
(pad "3" thru_hole circle
|
||||||
|
(at -3.9 -1)
|
||||||
|
(size 1.524 1.524)
|
||||||
|
(drill 1)
|
||||||
|
(layers "*.Cu" "*.Mask")
|
||||||
|
(remove_unused_layers no)
|
||||||
|
(uuid "02a8c3fc-d75c-47a4-a907-f9191ff19e2c")
|
||||||
|
)
|
||||||
|
(pad "4" thru_hole circle
|
||||||
|
(at -3.9 1)
|
||||||
|
(size 1.524 1.524)
|
||||||
|
(drill 1)
|
||||||
|
(layers "*.Cu" "*.Mask")
|
||||||
|
(remove_unused_layers no)
|
||||||
|
(uuid "2000b5b8-f7c9-40a8-9010-65c16d2aefce")
|
||||||
|
)
|
||||||
|
(model "${KICAD8_3DMODEL_DIR}/Connector_AMASS.3dshapes/AMASS_XT30UPB-M_1x02_P5.0mm_Vertical.wrl"
|
||||||
|
(offset
|
||||||
|
(xyz 0 0 0)
|
||||||
|
)
|
||||||
|
(scale
|
||||||
|
(xyz 1 1 1)
|
||||||
|
)
|
||||||
|
(rotate
|
||||||
|
(xyz 0 0 0)
|
||||||
|
)
|
||||||
|
)
|
||||||
|
)
|
25767
board/kicad-stuff/easyeda2kicad.3dshapes/MINI-USB-SMD_UX-144S-ACP5.step
Normal file
25767
board/kicad-stuff/easyeda2kicad.3dshapes/MINI-USB-SMD_UX-144S-ACP5.step
Normal file
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
111
board/kicad-stuff/easyeda2kicad.kicad_sym
Normal file
111
board/kicad-stuff/easyeda2kicad.kicad_sym
Normal file
@ -0,0 +1,111 @@
|
|||||||
|
(kicad_symbol_lib
|
||||||
|
(version 20211014)
|
||||||
|
(generator https://github.com/uPesy/easyeda2kicad.py)
|
||||||
|
(symbol "UX-144S-ACP5"
|
||||||
|
(in_bom yes)
|
||||||
|
(on_board yes)
|
||||||
|
(property
|
||||||
|
"Reference"
|
||||||
|
"USB"
|
||||||
|
(id 0)
|
||||||
|
(at 0 11.43 0)
|
||||||
|
(effects (font (size 1.27 1.27) ) )
|
||||||
|
)
|
||||||
|
(property
|
||||||
|
"Value"
|
||||||
|
"UX-144S-ACP5"
|
||||||
|
(id 1)
|
||||||
|
(at 0 -8.89 0)
|
||||||
|
(effects (font (size 1.27 1.27) ) )
|
||||||
|
)
|
||||||
|
(property
|
||||||
|
"Footprint"
|
||||||
|
"easyeda2kicad:MINI-USB-SMD_UX-144S-ACP5"
|
||||||
|
(id 2)
|
||||||
|
(at 0 -11.43 0)
|
||||||
|
(effects (font (size 1.27 1.27) ) hide)
|
||||||
|
)
|
||||||
|
(property
|
||||||
|
"Datasheet"
|
||||||
|
"https://lcsc.com/product-detail/USB-Connectors_XUNPU-UX-144S-ACP5_C720611.html"
|
||||||
|
(id 3)
|
||||||
|
(at 0 -13.97 0)
|
||||||
|
(effects (font (size 1.27 1.27) ) hide)
|
||||||
|
)
|
||||||
|
(property
|
||||||
|
"LCSC Part"
|
||||||
|
"C720611"
|
||||||
|
(id 5)
|
||||||
|
(at 0 -16.51 0)
|
||||||
|
(effects (font (size 1.27 1.27) ) hide)
|
||||||
|
)
|
||||||
|
(symbol "UX-144S-ACP5_0_1"
|
||||||
|
(rectangle
|
||||||
|
(start -7.62 8.89)
|
||||||
|
(end 7.62 -6.35)
|
||||||
|
(stroke (width 0) (type default) (color 0 0 0 0))
|
||||||
|
(fill (type background))
|
||||||
|
)
|
||||||
|
(circle
|
||||||
|
(center -6.35 7.62)
|
||||||
|
(radius 0.38)
|
||||||
|
(stroke (width 0) (type default) (color 0 0 0 0))
|
||||||
|
(fill (type none))
|
||||||
|
)
|
||||||
|
(pin unspecified line
|
||||||
|
(at 10.16 5.08 180)
|
||||||
|
(length 2.54)
|
||||||
|
(name "GND" (effects (font (size 1.27 1.27))))
|
||||||
|
(number "9" (effects (font (size 1.27 1.27))))
|
||||||
|
)
|
||||||
|
(pin unspecified line
|
||||||
|
(at 10.16 2.54 180)
|
||||||
|
(length 2.54)
|
||||||
|
(name "GND" (effects (font (size 1.27 1.27))))
|
||||||
|
(number "8" (effects (font (size 1.27 1.27))))
|
||||||
|
)
|
||||||
|
(pin unspecified line
|
||||||
|
(at 10.16 -0.00 180)
|
||||||
|
(length 2.54)
|
||||||
|
(name "GND" (effects (font (size 1.27 1.27))))
|
||||||
|
(number "7" (effects (font (size 1.27 1.27))))
|
||||||
|
)
|
||||||
|
(pin unspecified line
|
||||||
|
(at 10.16 -2.54 180)
|
||||||
|
(length 2.54)
|
||||||
|
(name "GND" (effects (font (size 1.27 1.27))))
|
||||||
|
(number "6" (effects (font (size 1.27 1.27))))
|
||||||
|
)
|
||||||
|
(pin unspecified line
|
||||||
|
(at -10.16 -3.81 0)
|
||||||
|
(length 2.54)
|
||||||
|
(name "GND" (effects (font (size 1.27 1.27))))
|
||||||
|
(number "5" (effects (font (size 1.27 1.27))))
|
||||||
|
)
|
||||||
|
(pin unspecified line
|
||||||
|
(at -10.16 -1.27 0)
|
||||||
|
(length 2.54)
|
||||||
|
(name "ID" (effects (font (size 1.27 1.27))))
|
||||||
|
(number "4" (effects (font (size 1.27 1.27))))
|
||||||
|
)
|
||||||
|
(pin unspecified line
|
||||||
|
(at -10.16 1.27 0)
|
||||||
|
(length 2.54)
|
||||||
|
(name "D+" (effects (font (size 1.27 1.27))))
|
||||||
|
(number "3" (effects (font (size 1.27 1.27))))
|
||||||
|
)
|
||||||
|
(pin unspecified line
|
||||||
|
(at -10.16 3.81 0)
|
||||||
|
(length 2.54)
|
||||||
|
(name "D-" (effects (font (size 1.27 1.27))))
|
||||||
|
(number "2" (effects (font (size 1.27 1.27))))
|
||||||
|
)
|
||||||
|
(pin unspecified line
|
||||||
|
(at -10.16 6.35 0)
|
||||||
|
(length 2.54)
|
||||||
|
(name "VBUS" (effects (font (size 1.27 1.27))))
|
||||||
|
(number "1" (effects (font (size 1.27 1.27))))
|
||||||
|
)
|
||||||
|
)
|
||||||
|
)
|
||||||
|
)
|
@ -0,0 +1,256 @@
|
|||||||
|
(footprint "MINI-USB-SMD_UX-144S-ACP5"
|
||||||
|
(version 20240108)
|
||||||
|
(generator "pcbnew")
|
||||||
|
(generator_version "8.0")
|
||||||
|
(layer "F.Cu")
|
||||||
|
(property "Reference" "REF**"
|
||||||
|
(at 0 -6.85 0)
|
||||||
|
(layer "F.SilkS")
|
||||||
|
(uuid "e22138c6-3cb3-4e3c-ba92-a1710585cb5a")
|
||||||
|
(effects
|
||||||
|
(font
|
||||||
|
(size 1 1)
|
||||||
|
(thickness 0.15)
|
||||||
|
)
|
||||||
|
)
|
||||||
|
)
|
||||||
|
(property "Value" "MINI-USB-SMD_UX-144S-ACP5"
|
||||||
|
(at 0 6.85 0)
|
||||||
|
(layer "F.Fab")
|
||||||
|
(uuid "858a2627-e471-4bfb-9d6c-fd1b80f75161")
|
||||||
|
(effects
|
||||||
|
(font
|
||||||
|
(size 1 1)
|
||||||
|
(thickness 0.15)
|
||||||
|
)
|
||||||
|
)
|
||||||
|
)
|
||||||
|
(property "Footprint" ""
|
||||||
|
(at 0 0 0)
|
||||||
|
(layer "F.Fab")
|
||||||
|
(hide yes)
|
||||||
|
(uuid "e47c3973-5f77-49a7-9761-9ae10304f142")
|
||||||
|
(effects
|
||||||
|
(font
|
||||||
|
(size 1.27 1.27)
|
||||||
|
(thickness 0.15)
|
||||||
|
)
|
||||||
|
)
|
||||||
|
)
|
||||||
|
(property "Datasheet" ""
|
||||||
|
(at 0 0 0)
|
||||||
|
(layer "F.Fab")
|
||||||
|
(hide yes)
|
||||||
|
(uuid "26eeaf8e-5561-47b5-8bd4-deeb0ff6028a")
|
||||||
|
(effects
|
||||||
|
(font
|
||||||
|
(size 1.27 1.27)
|
||||||
|
(thickness 0.15)
|
||||||
|
)
|
||||||
|
)
|
||||||
|
)
|
||||||
|
(property "Description" ""
|
||||||
|
(at 0 0 0)
|
||||||
|
(layer "F.Fab")
|
||||||
|
(hide yes)
|
||||||
|
(uuid "df698dc1-8038-47dd-b09b-19d65b3be886")
|
||||||
|
(effects
|
||||||
|
(font
|
||||||
|
(size 1.27 1.27)
|
||||||
|
(thickness 0.15)
|
||||||
|
)
|
||||||
|
)
|
||||||
|
)
|
||||||
|
(attr smd)
|
||||||
|
(fp_line
|
||||||
|
(start -4.7 1.67)
|
||||||
|
(end -4.7 -1.47)
|
||||||
|
(stroke
|
||||||
|
(width 0.25)
|
||||||
|
(type solid)
|
||||||
|
)
|
||||||
|
(layer "F.SilkS")
|
||||||
|
(uuid "03440d98-e390-4a02-b4b0-b92205207476")
|
||||||
|
)
|
||||||
|
(fp_line
|
||||||
|
(start -4.7 5.84)
|
||||||
|
(end -4.7 4.03)
|
||||||
|
(stroke
|
||||||
|
(width 0.25)
|
||||||
|
(type solid)
|
||||||
|
)
|
||||||
|
(layer "F.SilkS")
|
||||||
|
(uuid "dba5fb97-b84e-4a41-85a6-f4fdb2339977")
|
||||||
|
)
|
||||||
|
(fp_line
|
||||||
|
(start -4.7 5.84)
|
||||||
|
(end 4.7 5.84)
|
||||||
|
(stroke
|
||||||
|
(width 0.25)
|
||||||
|
(type solid)
|
||||||
|
)
|
||||||
|
(layer "F.SilkS")
|
||||||
|
(uuid "e9634972-07de-4463-b72c-20fdc7e82f51")
|
||||||
|
)
|
||||||
|
(fp_line
|
||||||
|
(start -2.08 -3.56)
|
||||||
|
(end -3.22 -3.56)
|
||||||
|
(stroke
|
||||||
|
(width 0.25)
|
||||||
|
(type solid)
|
||||||
|
)
|
||||||
|
(layer "F.SilkS")
|
||||||
|
(uuid "dc5e02c5-dbda-406e-be24-d4fd6d4d39b2")
|
||||||
|
)
|
||||||
|
(fp_line
|
||||||
|
(start 3.22 -3.56)
|
||||||
|
(end 2.08 -3.56)
|
||||||
|
(stroke
|
||||||
|
(width 0.25)
|
||||||
|
(type solid)
|
||||||
|
)
|
||||||
|
(layer "F.SilkS")
|
||||||
|
(uuid "e1775f8a-42ad-41b1-8e07-5553a0c1f786")
|
||||||
|
)
|
||||||
|
(fp_line
|
||||||
|
(start 4.7 1.67)
|
||||||
|
(end 4.7 -1.47)
|
||||||
|
(stroke
|
||||||
|
(width 0.25)
|
||||||
|
(type solid)
|
||||||
|
)
|
||||||
|
(layer "F.SilkS")
|
||||||
|
(uuid "b21655b3-f4bd-4a22-9260-c998017c187d")
|
||||||
|
)
|
||||||
|
(fp_line
|
||||||
|
(start 4.7 5.84)
|
||||||
|
(end 4.7 4.03)
|
||||||
|
(stroke
|
||||||
|
(width 0.25)
|
||||||
|
(type solid)
|
||||||
|
)
|
||||||
|
(layer "F.SilkS")
|
||||||
|
(uuid "b8716775-fa34-44c7-9a12-b008ee829381")
|
||||||
|
)
|
||||||
|
(fp_circle
|
||||||
|
(center -2.2 -0.1)
|
||||||
|
(end -2.01 -0.1)
|
||||||
|
(stroke
|
||||||
|
(width 0.38)
|
||||||
|
(type solid)
|
||||||
|
)
|
||||||
|
(fill none)
|
||||||
|
(layer "Cmts.User")
|
||||||
|
(uuid "de63054b-d560-446e-acd5-3d574530415b")
|
||||||
|
)
|
||||||
|
(fp_circle
|
||||||
|
(center 2.2 -0.1)
|
||||||
|
(end 2.39 -0.1)
|
||||||
|
(stroke
|
||||||
|
(width 0.38)
|
||||||
|
(type solid)
|
||||||
|
)
|
||||||
|
(fill none)
|
||||||
|
(layer "Cmts.User")
|
||||||
|
(uuid "81ac27ac-99bd-4e20-acf0-7bd310da8d42")
|
||||||
|
)
|
||||||
|
(fp_circle
|
||||||
|
(center -4.67 -3.46)
|
||||||
|
(end -4.64 -3.46)
|
||||||
|
(stroke
|
||||||
|
(width 0.06)
|
||||||
|
(type solid)
|
||||||
|
)
|
||||||
|
(fill none)
|
||||||
|
(layer "F.Fab")
|
||||||
|
(uuid "fd695e98-9e3b-4a37-8976-4cf48758b0bb")
|
||||||
|
)
|
||||||
|
(fp_text user "${REFERENCE}"
|
||||||
|
(at 0 0 0)
|
||||||
|
(layer "F.Fab")
|
||||||
|
(uuid "ebb3e71d-8b4f-4e74-a06c-fa75e65fb5ea")
|
||||||
|
(effects
|
||||||
|
(font
|
||||||
|
(size 1 1)
|
||||||
|
(thickness 0.15)
|
||||||
|
)
|
||||||
|
)
|
||||||
|
)
|
||||||
|
(pad "" smd circle
|
||||||
|
(at -2.2 -0.1)
|
||||||
|
(size 1 1)
|
||||||
|
(layers "F.Paste")
|
||||||
|
(uuid "bd4630f6-b596-42aa-a67b-d92affdad121")
|
||||||
|
)
|
||||||
|
(pad "" smd circle
|
||||||
|
(at 2.2 -0.1)
|
||||||
|
(size 1 1)
|
||||||
|
(layers "F.Paste")
|
||||||
|
(uuid "5600899a-4eef-439b-b910-bd9b182b3af5")
|
||||||
|
)
|
||||||
|
(pad "1" smd rect
|
||||||
|
(at -1.6 -2.85)
|
||||||
|
(size 0.5 1.7)
|
||||||
|
(layers "F.Cu" "F.Paste" "F.Mask")
|
||||||
|
(uuid "335fc2d7-32d6-4034-8537-3e4ecdbb698e")
|
||||||
|
)
|
||||||
|
(pad "2" smd rect
|
||||||
|
(at -0.8 -2.85)
|
||||||
|
(size 0.5 1.7)
|
||||||
|
(layers "F.Cu" "F.Paste" "F.Mask")
|
||||||
|
(uuid "ad9d26c5-067e-4461-a7de-8849dc9b3d7a")
|
||||||
|
)
|
||||||
|
(pad "3" smd rect
|
||||||
|
(at 0 -2.85)
|
||||||
|
(size 0.5 1.7)
|
||||||
|
(layers "F.Cu" "F.Paste" "F.Mask")
|
||||||
|
(uuid "07c2e01e-14f9-40a4-a86a-be138db1f386")
|
||||||
|
)
|
||||||
|
(pad "4" smd rect
|
||||||
|
(at 0.8 -2.85)
|
||||||
|
(size 0.5 1.7)
|
||||||
|
(layers "F.Cu" "F.Paste" "F.Mask")
|
||||||
|
(uuid "d6db4c4a-622f-481f-9577-0021a75fe066")
|
||||||
|
)
|
||||||
|
(pad "5" smd rect
|
||||||
|
(at 1.6 -2.85)
|
||||||
|
(size 0.5 1.7)
|
||||||
|
(layers "F.Cu" "F.Paste" "F.Mask")
|
||||||
|
(uuid "775ff58f-f278-4d45-878f-eb1e67ee5746")
|
||||||
|
)
|
||||||
|
(pad "6" smd rect
|
||||||
|
(at -4.17 -2.65)
|
||||||
|
(size 1.45 1.9)
|
||||||
|
(layers "F.Cu" "F.Paste" "F.Mask")
|
||||||
|
(uuid "b5e05f8a-9ee3-4e04-b21c-09af79a7cad4")
|
||||||
|
)
|
||||||
|
(pad "7" smd rect
|
||||||
|
(at -4.17 2.85)
|
||||||
|
(size 1.45 1.9)
|
||||||
|
(layers "F.Cu" "F.Paste" "F.Mask")
|
||||||
|
(uuid "3fd2e9c6-b2e3-46a8-9255-7cd472742419")
|
||||||
|
)
|
||||||
|
(pad "8" smd rect
|
||||||
|
(at 4.17 2.85)
|
||||||
|
(size 1.45 1.9)
|
||||||
|
(layers "F.Cu" "F.Paste" "F.Mask")
|
||||||
|
(uuid "1d175ab4-356e-4f51-b58d-b305fd7c0af9")
|
||||||
|
)
|
||||||
|
(pad "9" smd rect
|
||||||
|
(at 4.17 -2.65)
|
||||||
|
(size 1.45 1.9)
|
||||||
|
(layers "F.Cu" "F.Paste" "F.Mask")
|
||||||
|
(uuid "875b3383-2651-4a80-aa85-613ada3fbbba")
|
||||||
|
)
|
||||||
|
(model "${KIPRJMOD}/kicad-stuff/easyeda2kicad.3dshapes/MINI-USB-SMD_UX-144S-ACP5.step"
|
||||||
|
(offset
|
||||||
|
(xyz 0 -1.25 2)
|
||||||
|
)
|
||||||
|
(scale
|
||||||
|
(xyz 1 1 1)
|
||||||
|
)
|
||||||
|
(rotate
|
||||||
|
(xyz 0 0 0)
|
||||||
|
)
|
||||||
|
)
|
||||||
|
)
|
BIN
board/production/PlantCtrlESP32.zip
Normal file
BIN
board/production/PlantCtrlESP32.zip
Normal file
Binary file not shown.
BIN
board/production/backups/PlantCtrlESP32_2024-06-03_21-42-02.zip
Normal file
BIN
board/production/backups/PlantCtrlESP32_2024-06-03_21-42-02.zip
Normal file
Binary file not shown.
BIN
board/production/backups/PlantCtrlESP32_2024-06-04_01-38-57.zip
Normal file
BIN
board/production/backups/PlantCtrlESP32_2024-06-04_01-38-57.zip
Normal file
Binary file not shown.
BIN
board/production/backups/PlantCtrlESP32_2024-06-04_01-47-41.zip
Normal file
BIN
board/production/backups/PlantCtrlESP32_2024-06-04_01-47-41.zip
Normal file
Binary file not shown.
1342
board/production/netlist.ipc
Normal file
1342
board/production/netlist.ipc
Normal file
File diff suppressed because it is too large
Load Diff
@ -8,4 +8,6 @@
|
|||||||
(lib (name "CN3306")(type "KiCad")(uri "${KIPRJMOD}/CN3306.kicad_sym")(options "")(descr ""))
|
(lib (name "CN3306")(type "KiCad")(uri "${KIPRJMOD}/CN3306.kicad_sym")(options "")(descr ""))
|
||||||
(lib (name "CN3795")(type "KiCad")(uri "${KIPRJMOD}/CN3795.kicad_sym")(options "")(descr ""))
|
(lib (name "CN3795")(type "KiCad")(uri "${KIPRJMOD}/CN3795.kicad_sym")(options "")(descr ""))
|
||||||
(lib (name "BQ34Z100PWR-G1")(type "KiCad")(uri "${KIPRJMOD}/kicad-stuff/BQ34Z100PWR-G1.kicad_sym")(options "")(descr ""))
|
(lib (name "BQ34Z100PWR-G1")(type "KiCad")(uri "${KIPRJMOD}/kicad-stuff/BQ34Z100PWR-G1.kicad_sym")(options "")(descr ""))
|
||||||
|
(lib (name "ESP32-C6-WROOM-1-N8")(type "KiCad")(uri "${KIPRJMOD}/esp32c6/ESP32-C6-WROOM-1-N8.kicad_sym")(options "")(descr ""))
|
||||||
|
(lib (name "easyeda2kicad")(type "KiCad")(uri "${KIPRJMOD}/kicad-stuff/easyeda2kicad.kicad_sym")(options "")(descr ""))
|
||||||
)
|
)
|
||||||
|
10
esp32/.gitignore
vendored
10
esp32/.gitignore
vendored
@ -1,10 +0,0 @@
|
|||||||
*.swp
|
|
||||||
.pio
|
|
||||||
.vscode/.browse.c_cpp.db*
|
|
||||||
.vscode/c_cpp_properties.json
|
|
||||||
.vscode/launch.json
|
|
||||||
.vscode/ipch
|
|
||||||
doc/
|
|
||||||
custom_platformio.ini
|
|
||||||
cppcheck-build-dir
|
|
||||||
host/settings.json
|
|
10
esp32/.vscode/extensions.json
vendored
10
esp32/.vscode/extensions.json
vendored
@ -1,10 +0,0 @@
|
|||||||
{
|
|
||||||
// See http://go.microsoft.com/fwlink/?LinkId=827846
|
|
||||||
// for the documentation about the extensions.json format
|
|
||||||
"recommendations": [
|
|
||||||
"platformio.platformio-ide"
|
|
||||||
],
|
|
||||||
"unwantedRecommendations": [
|
|
||||||
"ms-vscode.cpptools-extension-pack"
|
|
||||||
]
|
|
||||||
}
|
|
@ -1,3 +0,0 @@
|
|||||||
cmake_minimum_required(VERSION 3.16.0)
|
|
||||||
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
|
|
||||||
project(esp32)
|
|
2522
esp32/Doxyfile
2522
esp32/Doxyfile
File diff suppressed because it is too large
Load Diff
@ -1,31 +0,0 @@
|
|||||||
{
|
|
||||||
"folders": [
|
|
||||||
{
|
|
||||||
"path": "."
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"settings": {
|
|
||||||
"files.associations": {
|
|
||||||
"functional": "cpp",
|
|
||||||
"*.tcc": "cpp",
|
|
||||||
"map": "cpp",
|
|
||||||
"*.cps": "javascript",
|
|
||||||
"bitset": "cpp",
|
|
||||||
"algorithm": "cpp",
|
|
||||||
"istream": "cpp",
|
|
||||||
"limits": "cpp",
|
|
||||||
"streambuf": "cpp",
|
|
||||||
"string": "cpp",
|
|
||||||
"typeinfo": "cpp",
|
|
||||||
"cmath": "cpp",
|
|
||||||
"iterator": "cpp",
|
|
||||||
"array": "cpp",
|
|
||||||
"tuple": "cpp",
|
|
||||||
"utility": "cpp",
|
|
||||||
"fstream": "cpp",
|
|
||||||
"ostream": "cpp",
|
|
||||||
"sstream": "cpp"
|
|
||||||
"system_error": "cpp"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,69 +0,0 @@
|
|||||||
# PlantControl
|
|
||||||
## Hardware
|
|
||||||
|
|
||||||
Main processor
|
|
||||||
* ESP32 with 16MB Flash
|
|
||||||
|
|
||||||
One-Wire
|
|
||||||
* Temperatur Sensor (DS18B20)
|
|
||||||
* Lipo-Monitoring (DS2438)
|
|
||||||
|
|
||||||
Lipo Protection
|
|
||||||
* Open drain 3.3V detector (CN61CN33 @ jlcpcb parts)
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### Used Pins:
|
|
||||||
* See '''include/ControllerConfiguration.h'''
|
|
||||||
|
|
||||||
## Software
|
|
||||||
* MQTT topics
|
|
||||||
|
|
||||||
# Hardware
|
|
||||||
## Features
|
|
||||||
* Support for up to
|
|
||||||
* 7 Moister sensors
|
|
||||||
* 7 Pumps
|
|
||||||
* Sensors
|
|
||||||
* Solar powered (voltage)
|
|
||||||
* Lipo-Powered (DS2438 for monitoring)
|
|
||||||
* Temperature
|
|
||||||
* Laser distance sensor [VL53L0X]
|
|
||||||
* Custom GPIO
|
|
||||||
|
|
||||||
## Documentation of Power-Modes
|
|
||||||
https://lastminuteengineers.com/esp32-sleep-modes-power-consumption/#esp32-deep-sleep
|
|
||||||
|
|
||||||
|
|
||||||
gpio 17 only out no hold
|
|
||||||
gpio 16 only out no hold
|
|
||||||
|
|
||||||
## Additional hardware
|
|
||||||
solar charger 2A?
|
|
||||||
https://www.aliexpress.com/item/4000238259949.html?spm=a2g0o.productlist.0.0.7e50231cCWGu0Z&algo_pvid=9ab7b0d3-5026-438b-972b-1d4a81d4dc56&algo_expid=9ab7b0d3-5026-438b-972b-1d4a81d4dc56-11&btsid=0b0a0ac215999246489888249e72a9&ws_ab_test=searchweb0_0,searchweb201602_,searchweb201603_
|
|
||||||
|
|
||||||
MT3608 boost für pumpe
|
|
||||||
https://www.aliexpress.com/item/32925951391.html?spm=a2g0o.productlist.0.0.39e21087nAzH9q&algo_pvid=7db0a849-62f7-4403-88e3-615ee4d99339&algo_expid=7db0a849-62f7-4403-88e3-615ee4d99339-0&btsid=0b0a0ac215999252934777876e7253&ws_ab_test=searchweb0_0,searchweb201602_,searchweb201603_
|
|
||||||
|
|
||||||
DS18B20 one wire temp sensor
|
|
||||||
|
|
||||||
|
|
||||||
# Features
|
|
||||||
## Empires Wunschliste
|
|
||||||
* Pflanze
|
|
||||||
* Pumpe
|
|
||||||
* [x] Zeitspann (wann laufen darf)
|
|
||||||
* [x] Helligkeitstrigger (Um den Morgen zum pumpen zu erkennen)
|
|
||||||
* [-] Maximal Dauer zum Pumpen (als Zeit oder Milliliter)
|
|
||||||
* [x] Zeitspanne zwischen zwei Pumpvorgängen
|
|
||||||
* Moister sensor
|
|
||||||
* [x] Schwellwert für Pumpe
|
|
||||||
* Tank
|
|
||||||
* Füllstand Anzeige (in Liter)
|
|
||||||
* Minimum Wasserstand (in cm damit Pumpen nicht leer laufen; enspricht 0 nutzbaren Liter)
|
|
||||||
* [x] Maximaler Wasserstand des Tanks (in cm & Liter)
|
|
||||||
|
|
||||||
## Masterplan 2.0
|
|
||||||
* Partitionslayout
|
|
||||||
|
|
||||||
|
|
@ -1,16 +0,0 @@
|
|||||||
[env:esp32doit-devkit-v1]
|
|
||||||
platform = espressif32
|
|
||||||
board = esp32doit-devkit-v1
|
|
||||||
framework = arduino
|
|
||||||
build_flags = -DPIO_FRAMEWORK_ARDUINO_LWIP2_LOW_MEMORY
|
|
||||||
board_build.partitions = defaultWithSmallerSpiffs.csv
|
|
||||||
|
|
||||||
; the latest development brankitchen-lightch (convention V3.0.x)
|
|
||||||
lib_deps = ArduinoJson@6.16.1
|
|
||||||
OneWire
|
|
||||||
DallasTemperature
|
|
||||||
pololu/VL53L0X
|
|
||||||
https://github.com/homieiot/homie-esp8266.git#develop
|
|
||||||
|
|
||||||
; add additional parameter, like the upload port
|
|
||||||
upload_port=/dev/ttyUSB1
|
|
1
esp32/data/homie/.gitignore
vendored
1
esp32/data/homie/.gitignore
vendored
@ -1 +0,0 @@
|
|||||||
config.json
|
|
@ -1,12 +0,0 @@
|
|||||||
# Filesystem
|
|
||||||
## Configuration
|
|
||||||
Use the config-example.json from the host folder and create here a config.json file.
|
|
||||||
## HowTo upload
|
|
||||||
Start Platform.io
|
|
||||||
Open a new Atom-Terminal and generate the filesystem with the following command :
|
|
||||||
```pio run -t buildfs```
|
|
||||||
Upload this new generated filesystem with:
|
|
||||||
```pio run -t uploadfs```
|
|
||||||
|
|
||||||
## Command pio
|
|
||||||
Can be found at ```~/.platformio/penv/bin/pio```
|
|
Binary file not shown.
@ -1,7 +0,0 @@
|
|||||||
# Name, Type, SubType, Offset, Size, Flags
|
|
||||||
nvs, data, nvs, 0x9000, 0x4000
|
|
||||||
otadata, data, ota, 0xD000, 0x2000
|
|
||||||
phy_init, data, phy, 0xF000, 0x1000
|
|
||||||
ota_0, app, ota_0, 0x10000, 0x1E0000
|
|
||||||
ota_1, app, ota_1, 0x1F0000, 0x1E0000
|
|
||||||
spiffs, data, spiffs, 0x3D0000, 0x30000
|
|
|
@ -1,90 +0,0 @@
|
|||||||
# Configuration
|
|
||||||
## File
|
|
||||||
Generate a file as, described in
|
|
||||||
https://homieiot.github.io/homie-esp8266/docs/3.0.0/configuration/json-configuration-file/
|
|
||||||
For further details have a look at the Readme.md one level above.
|
|
||||||
|
|
||||||
## Upload
|
|
||||||
* Start ESP
|
|
||||||
* Login to Wifi, opened by the ESP
|
|
||||||
* Use the script to upload the configuration file
|
|
||||||
* restart the ESP
|
|
||||||
|
|
||||||
# Remote Upload
|
|
||||||
|
|
||||||
This script will allow you to send an OTA update to your device.
|
|
||||||
|
|
||||||
## Installation
|
|
||||||
|
|
||||||
Requirements are:
|
|
||||||
* paho-mqtt
|
|
||||||
|
|
||||||
## Usage
|
|
||||||
|
|
||||||
See ***upload-via-mqtt.sh***
|
|
||||||
|
|
||||||
# Remote Upload - Backend
|
|
||||||
|
|
||||||
## Usage
|
|
||||||
|
|
||||||
```text
|
|
||||||
usage: ota_updater.py [-h] -l BROKER_HOST -p BROKER_PORT [-u BROKER_USERNAME]
|
|
||||||
[-d BROKER_PASSWORD] [-t BASE_TOPIC] -i DEVICE_ID
|
|
||||||
firmware
|
|
||||||
|
|
||||||
ota firmware update scirpt for ESP8226 implemenation of the Homie mqtt IoT
|
|
||||||
convention.
|
|
||||||
|
|
||||||
positional arguments:
|
|
||||||
firmware path to the firmware to be sent to the device
|
|
||||||
|
|
||||||
arguments:
|
|
||||||
-h, --help show this help message and exit
|
|
||||||
-l BROKER_HOST, --broker-host BROKER_HOST
|
|
||||||
host name or ip address of the mqtt broker
|
|
||||||
-p BROKER_PORT, --broker-port BROKER_PORT
|
|
||||||
port of the mqtt broker
|
|
||||||
-u BROKER_USERNAME, --broker-username BROKER_USERNAME
|
|
||||||
username used to authenticate with the mqtt broker
|
|
||||||
-d BROKER_PASSWORD, --broker-password BROKER_PASSWORD
|
|
||||||
password used to authenticate with the mqtt broker
|
|
||||||
-t BASE_TOPIC, --base-topic BASE_TOPIC
|
|
||||||
base topic of the homie devices on the broker
|
|
||||||
-i DEVICE_ID, --device-id DEVICE_ID
|
|
||||||
homie device id
|
|
||||||
```
|
|
||||||
|
|
||||||
* `BROKER_HOST` and `BROKER_PORT` defaults to 127.0.0.1 and 1883 respectively if not set.
|
|
||||||
* `BROKER_USERNAME` and `BROKER_PASSWORD` are optional.
|
|
||||||
* `BASE_TOPIC` has to end with a slash, defaults to `homie/` if not set.
|
|
||||||
|
|
||||||
### Example:
|
|
||||||
|
|
||||||
```bash
|
|
||||||
python ota_updater.py -l localhost -u admin -d secure -t "homie/" -i "device-id" /path/to/firmware.bin
|
|
||||||
```
|
|
||||||
|
|
||||||
The Parameter can be extracted from the serial console
|
|
||||||
```serial
|
|
||||||
{} Stored configuration
|
|
||||||
• Hardware device ID: 12345abcd
|
|
||||||
• Device ID: MyDeviceId
|
|
||||||
• Name: MyDeviceName
|
|
||||||
• Device Stats Interval: 60 sec
|
|
||||||
• Wi-Fi:
|
|
||||||
◦ SSID: MyWifi
|
|
||||||
◦ Password not shown
|
|
||||||
• MQTT:
|
|
||||||
◦ Host: 192.168.0.2
|
|
||||||
◦ Port: 1883
|
|
||||||
◦ Base topic: /test/
|
|
||||||
◦ Auth? no
|
|
||||||
```
|
|
||||||
|
|
||||||
will result in the following command (when executed in this folder):
|
|
||||||
```bash
|
|
||||||
python ota_updater.py -l 192.168.0.2 -t "/test/" -i "MyDeviceId" ../.pio/build/esp32doit-devkit-v1/firmware.bin
|
|
||||||
```
|
|
||||||
|
|
||||||
### Source
|
|
||||||
https://github.com/homieiot/homie-esp8266/blob/develop/scripts/ota_updater
|
|
@ -1,174 +0,0 @@
|
|||||||
#!/usr/bin/env python
|
|
||||||
|
|
||||||
from __future__ import division, print_function
|
|
||||||
import paho.mqtt.client as mqtt
|
|
||||||
import base64, sys, math
|
|
||||||
from hashlib import md5
|
|
||||||
|
|
||||||
# The callback for when the client receives a CONNACK response from the server.
|
|
||||||
def on_connect(client, userdata, flags, rc):
|
|
||||||
if rc != 0:
|
|
||||||
print("Connection Failed with result code {}".format(rc))
|
|
||||||
client.disconnect()
|
|
||||||
else:
|
|
||||||
print("Connected with result code {}".format(rc))
|
|
||||||
|
|
||||||
client.subscribe("{base_topic}{device_id}/$state".format(**userdata)) # v3 / v4 devices
|
|
||||||
client.subscribe("{base_topic}{device_id}/$online".format(**userdata)) # v2 devices
|
|
||||||
|
|
||||||
|
|
||||||
print("Waiting for device to come online...")
|
|
||||||
|
|
||||||
|
|
||||||
# The callback for when a PUBLISH message is received from the server.
|
|
||||||
def on_message(client, userdata, msg):
|
|
||||||
# decode string for python2/3 compatiblity
|
|
||||||
msg.payload = msg.payload.decode()
|
|
||||||
|
|
||||||
if msg.topic.endswith('$implementation/ota/status'):
|
|
||||||
status = int(msg.payload.split()[0])
|
|
||||||
|
|
||||||
if userdata.get("published"):
|
|
||||||
if status == 206: # in progress
|
|
||||||
# state in progress, print progress bar
|
|
||||||
progress, total = [int(x) for x in msg.payload.split()[1].split('/')]
|
|
||||||
bar_width = 30
|
|
||||||
bar = int(bar_width*(progress/total))
|
|
||||||
print("\r[", '+'*bar, ' '*(bar_width-bar), "] ", msg.payload.split()[1], end='', sep='')
|
|
||||||
if (progress == total):
|
|
||||||
print()
|
|
||||||
sys.stdout.flush()
|
|
||||||
elif status == 304: # not modified
|
|
||||||
print("Device firmware already up to date with md5 checksum: {}".format(userdata.get('md5')))
|
|
||||||
client.disconnect()
|
|
||||||
elif status == 403: # forbidden
|
|
||||||
print("Device ota disabled, aborting...")
|
|
||||||
client.disconnect()
|
|
||||||
|
|
||||||
elif msg.topic.endswith('$fw/checksum'):
|
|
||||||
checksum = msg.payload
|
|
||||||
|
|
||||||
if userdata.get("published"):
|
|
||||||
if checksum == userdata.get('md5'):
|
|
||||||
print("Device back online. Update Successful!")
|
|
||||||
else:
|
|
||||||
print("Expecting checksum {}, got {}, update failed!".format(userdata.get('md5'), checksum))
|
|
||||||
client.disconnect()
|
|
||||||
else:
|
|
||||||
if checksum != userdata.get('md5'): # save old md5 for comparison with new firmware
|
|
||||||
userdata.update({'old_md5': checksum})
|
|
||||||
else:
|
|
||||||
print("Device firmware already up to date with md5 checksum: {}".format(checksum))
|
|
||||||
client.disconnect()
|
|
||||||
|
|
||||||
elif msg.topic.endswith('ota/enabled'):
|
|
||||||
if msg.payload == 'true':
|
|
||||||
userdata.update({'ota_enabled': True})
|
|
||||||
else:
|
|
||||||
print("Device ota disabled, aborting...")
|
|
||||||
client.disconnect()
|
|
||||||
|
|
||||||
elif msg.topic.endswith('$state') or msg.topic.endswith('$online'):
|
|
||||||
if (msg.topic.endswith('$state') and msg.payload != 'ready') or (msg.topic.endswith('$online') and msg.payload == 'false'):
|
|
||||||
return
|
|
||||||
|
|
||||||
# calcluate firmware md5
|
|
||||||
firmware_md5 = md5(userdata['firmware']).hexdigest()
|
|
||||||
userdata.update({'md5': firmware_md5})
|
|
||||||
|
|
||||||
# Subscribing in on_connect() means that if we lose the connection and
|
|
||||||
# reconnect then subscriptions will be renewed.
|
|
||||||
client.subscribe("{base_topic}{device_id}/$implementation/ota/status".format(**userdata))
|
|
||||||
client.subscribe("{base_topic}{device_id}/$implementation/ota/enabled".format(**userdata))
|
|
||||||
client.subscribe("{base_topic}{device_id}/$fw/#".format(**userdata))
|
|
||||||
|
|
||||||
# Wait for device info to come in and invoke the on_message callback where update will continue
|
|
||||||
print("Waiting for device info...")
|
|
||||||
|
|
||||||
if ( not userdata.get("published") ) and ( userdata.get('ota_enabled') ) and \
|
|
||||||
( 'old_md5' in userdata.keys() ) and ( userdata.get('md5') != userdata.get('old_md5') ):
|
|
||||||
# push the firmware binary
|
|
||||||
userdata.update({"published": True})
|
|
||||||
topic = "{base_topic}{device_id}/$implementation/ota/firmware/{md5}".format(**userdata)
|
|
||||||
print("Publishing new firmware with checksum {}".format(userdata.get('md5')))
|
|
||||||
client.publish(topic, userdata['firmware'])
|
|
||||||
|
|
||||||
|
|
||||||
def main(broker_host, broker_port, broker_username, broker_password, broker_ca_cert, base_topic, device_id, firmware):
|
|
||||||
# initialise mqtt client and register callbacks
|
|
||||||
client = mqtt.Client()
|
|
||||||
client.on_connect = on_connect
|
|
||||||
client.on_message = on_message
|
|
||||||
|
|
||||||
# set username and password if given
|
|
||||||
if broker_username and broker_password:
|
|
||||||
client.username_pw_set(broker_username, broker_password)
|
|
||||||
|
|
||||||
if broker_ca_cert is not None:
|
|
||||||
client.tls_set(
|
|
||||||
ca_certs=broker_ca_cert
|
|
||||||
)
|
|
||||||
|
|
||||||
# save data to be used in the callbacks
|
|
||||||
client.user_data_set({
|
|
||||||
"base_topic": base_topic,
|
|
||||||
"device_id": device_id,
|
|
||||||
"firmware": firmware
|
|
||||||
})
|
|
||||||
|
|
||||||
# start connection
|
|
||||||
print("Connecting to mqtt broker {} on port {}".format(broker_host, broker_port))
|
|
||||||
client.connect(broker_host, broker_port, 60)
|
|
||||||
|
|
||||||
# Blocking call that processes network traffic, dispatches callbacks and handles reconnecting.
|
|
||||||
client.loop_forever()
|
|
||||||
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
|
||||||
import argparse
|
|
||||||
|
|
||||||
parser = argparse.ArgumentParser(
|
|
||||||
description='ota firmware update scirpt for ESP8226 implemenation of the Homie mqtt IoT convention.')
|
|
||||||
|
|
||||||
# ensure base topic always ends with a '/'
|
|
||||||
def base_topic_arg(s):
|
|
||||||
s = str(s)
|
|
||||||
if not s.endswith('/'):
|
|
||||||
s = s + '/'
|
|
||||||
return s
|
|
||||||
|
|
||||||
# specify arguments
|
|
||||||
parser.add_argument('-l', '--broker-host', type=str, required=False,
|
|
||||||
help='host name or ip address of the mqtt broker', default="127.0.0.1")
|
|
||||||
parser.add_argument('-p', '--broker-port', type=int, required=False,
|
|
||||||
help='port of the mqtt broker', default=1883)
|
|
||||||
parser.add_argument('-u', '--broker-username', type=str, required=False,
|
|
||||||
help='username used to authenticate with the mqtt broker')
|
|
||||||
parser.add_argument('-d', '--broker-password', type=str, required=False,
|
|
||||||
help='password used to authenticate with the mqtt broker')
|
|
||||||
parser.add_argument('-t', '--base-topic', type=base_topic_arg, required=False,
|
|
||||||
help='base topic of the homie devices on the broker', default="homie/")
|
|
||||||
parser.add_argument('-i', '--device-id', type=str, required=True,
|
|
||||||
help='homie device id')
|
|
||||||
parser.add_argument('firmware', type=argparse.FileType('rb'),
|
|
||||||
help='path to the firmware to be sent to the device')
|
|
||||||
|
|
||||||
parser.add_argument("--broker-tls-cacert", default=None, required=False,
|
|
||||||
help="CA certificate bundle used to validate TLS connections. If set, TLS will be enabled on the broker conncetion"
|
|
||||||
)
|
|
||||||
|
|
||||||
# workaround for http://bugs.python.org/issue9694
|
|
||||||
parser._optionals.title = "arguments"
|
|
||||||
|
|
||||||
# get and validate arguments
|
|
||||||
args = parser.parse_args()
|
|
||||||
|
|
||||||
# read the contents of firmware into buffer
|
|
||||||
fw_buffer = args.firmware.read()
|
|
||||||
args.firmware.close()
|
|
||||||
firmware = bytearray()
|
|
||||||
firmware.extend(fw_buffer)
|
|
||||||
|
|
||||||
# Invoke the business logic
|
|
||||||
main(args.broker_host, args.broker_port, args.broker_username,
|
|
||||||
args.broker_password, args.broker_tls_cacert, args.base_topic, args.device_id, firmware)
|
|
@ -1,49 +0,0 @@
|
|||||||
{
|
|
||||||
"settings": {
|
|
||||||
"sleep":600,
|
|
||||||
"nightsleep": 1200,
|
|
||||||
"pumpsleep": 5,
|
|
||||||
"tankmax": 1000,
|
|
||||||
"tankmin": 100,
|
|
||||||
"tankwarn": 200,
|
|
||||||
"tankVolume": 100,
|
|
||||||
"lipoDSAddr": "abcdefghijklmnop",
|
|
||||||
"tankDSAddr": "abcdefghijklmnop",
|
|
||||||
"ntpServer":"pool.ntp.org",
|
|
||||||
"dry0":50,
|
|
||||||
"hourstart0":6,
|
|
||||||
"hourend0":20,
|
|
||||||
"lowLight0": false,
|
|
||||||
"delay0": 30,
|
|
||||||
"dry1":-1,
|
|
||||||
"hourstart1":6,
|
|
||||||
"hourend1":20,
|
|
||||||
"lowLight1": false,
|
|
||||||
"delay1": 30,
|
|
||||||
"dry2":-1,
|
|
||||||
"hourstart2":6,
|
|
||||||
"hourend2":20,
|
|
||||||
"lowLight2": false,
|
|
||||||
"delay2": 30,
|
|
||||||
"dry3":-1,
|
|
||||||
"hourstart3":6,
|
|
||||||
"hourend3":20,
|
|
||||||
"lowLight3": false,
|
|
||||||
"delay3": 30,
|
|
||||||
"dry4":-1,
|
|
||||||
"hourstart4":6,
|
|
||||||
"hourend4":20,
|
|
||||||
"lowLight4": false,
|
|
||||||
"delay4": 30,
|
|
||||||
"dry5":-1,
|
|
||||||
"hourstart5":6,
|
|
||||||
"hourend5":20,
|
|
||||||
"lowLight5": false,
|
|
||||||
"delay5": 30,
|
|
||||||
"dry6":-1,
|
|
||||||
"hourstart6":6,
|
|
||||||
"hourend6":20,
|
|
||||||
"lowLight6": false,
|
|
||||||
"delay6": 30
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,41 +0,0 @@
|
|||||||
#!//bin/bash
|
|
||||||
|
|
||||||
if [ $# -ne 3 ]; then
|
|
||||||
echo "Homie prefex and device index must be specified:"
|
|
||||||
echo "$0 <mqtt host> <prefix> <device index>"
|
|
||||||
echo "e.g."
|
|
||||||
echo "$0 192.168.0.2 test/ MyDeviceId"
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
mqttHost=$1
|
|
||||||
mqttPrefix=$2
|
|
||||||
homieId=$3
|
|
||||||
|
|
||||||
maxSteps=6
|
|
||||||
|
|
||||||
settingsFile=settings.json
|
|
||||||
if [ ! -f $settingsFile ]; then
|
|
||||||
echo "$settingsFile missing"
|
|
||||||
echo "check $settingsFile.example"
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
mosquitto_pub -h $mqttHost -t "${mqttPrefix}${homieId}/stay/alive/set" -m "1" -r
|
|
||||||
echo "(1 / $maxSteps) Waiting ..."
|
|
||||||
mosquitto_sub -h $mqttHost -t "${mqttPrefix}${homieId}/#" -R -C 1
|
|
||||||
set -e
|
|
||||||
echo "(2 / $maxSteps) Waiting 30 seconds ..."
|
|
||||||
sleep 30
|
|
||||||
mosquitto_pub -h $mqttHost -t "${mqttPrefix}${homieId}/\$implementation/config/set" -f $settingsFile
|
|
||||||
echo "(3 / $maxSteps) Waiting for reboot ..."
|
|
||||||
sleep 1
|
|
||||||
mosquitto_sub -h $mqttHost -t "${mqttPrefix}${homieId}/#" -R -C 1
|
|
||||||
echo "(4 / $maxSteps) Alive"
|
|
||||||
sleep 20
|
|
||||||
echo "(5 / $maxSteps) Create Backup ..."
|
|
||||||
mosquitto_pub -h $mqttHost -t "${mqttPrefix}${homieId}/config/backup/set" -m "true" -r
|
|
||||||
sleep 5
|
|
||||||
echo "(6 / $maxSteps) Shutdown ..."
|
|
||||||
mosquitto_pub -h $mqttHost -t "${mqttPrefix}${homieId}/stay/alive/set" -m "0" -r
|
|
||||||
exit 0
|
|
@ -1,28 +0,0 @@
|
|||||||
#!//bin/bash
|
|
||||||
|
|
||||||
if [ $# -ne 3 ]; then
|
|
||||||
echo "Homie prefex and device index must be specified:"
|
|
||||||
echo "$0 <mqtt host> <prefix> <device index>"
|
|
||||||
echo "e.g."
|
|
||||||
echo "$0 192.168.0.2 test/ MyDeviceId"
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
mqttHost=$1
|
|
||||||
mqttPrefix=$2
|
|
||||||
homieId=$3
|
|
||||||
firmwareFile=../.pio/build/esp32doit-devkit-v1/firmware.bin
|
|
||||||
|
|
||||||
if [ ! -f $firmwareFile ]; then
|
|
||||||
echo "the script $0 must be started in host/ sub directory"
|
|
||||||
exit 2
|
|
||||||
fi
|
|
||||||
|
|
||||||
mosquitto_pub -h $mqttHost -t "${mqttPrefix}${homieId}/stay/alive/set" -m "1" -r
|
|
||||||
echo "Waiting ..."
|
|
||||||
mosquitto_sub -h $mqttHost -t "${mqttPrefix}${homieId}/#" -R -C 1
|
|
||||||
set -e
|
|
||||||
python3 ota_updater.py -l $mqttHost -t "$mqttPrefix" -i "$homieId" $firmwareFile
|
|
||||||
|
|
||||||
mosquitto_pub -h $mqttHost -t "${mqttPrefix}${homieId}/stay/alive/set" -m "0" -r
|
|
||||||
exit 0
|
|
@ -1,13 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
echo "Homie device is in AP mode, then the configuration can be uploaded"
|
|
||||||
|
|
||||||
if [ ! -f config.json ]; then
|
|
||||||
echo "Create config file according to :"
|
|
||||||
echo "https://homieiot.github.io/homie-esp8266/docs/3.0.0/configuration/json-configuration-file/"
|
|
||||||
exit 2
|
|
||||||
fi
|
|
||||||
|
|
||||||
echo "Check connection to Plug in AP-mode"
|
|
||||||
ping -c 4 192.168.123.1
|
|
||||||
|
|
||||||
curl -X PUT http://192.168.123.1/config --header "Content-Type: application/json" -d @config.json
|
|
@ -1,136 +0,0 @@
|
|||||||
/**
|
|
||||||
* @file ControllerConfiguration.h
|
|
||||||
* @author your name (you@domain.com)
|
|
||||||
* @brief
|
|
||||||
* @version 0.1
|
|
||||||
* @date 2020-05-30
|
|
||||||
*
|
|
||||||
* @copyright Copyright (c) 2020
|
|
||||||
*
|
|
||||||
* \mainpage Configuration of the controller
|
|
||||||
* @{
|
|
||||||
* Describe the used PINs of the controller
|
|
||||||
*
|
|
||||||
* @subpage Controller
|
|
||||||
*
|
|
||||||
* @subpage Homie
|
|
||||||
*
|
|
||||||
* @subpage Configuration
|
|
||||||
*
|
|
||||||
* There are several modes in the controller
|
|
||||||
* \dot
|
|
||||||
* digraph Operationmode {
|
|
||||||
* ranksep=.75;
|
|
||||||
* poweroff [ label="off" ];
|
|
||||||
* mode1 [ label="Mode 1 - Sensor only", shape=box, width=2 ];
|
|
||||||
* mode2 [ label="Mode 2 - Wifi enabled", shape=box ];
|
|
||||||
* mode3 [ label="Mode 3 - Stay alive", shape=box ];
|
|
||||||
* mode1 -> mode2 [ label="wakeup reason", fontsize=10 ];
|
|
||||||
* mode1 -> mode2 [ label="Time duration", fontsize=10 ];
|
|
||||||
* mode2 -> mode3 [ label="Over the Air Update", fontsize=10 ];
|
|
||||||
* mode3 -> mode2 [ label="Over the Air Finished", fontsize=10 ];
|
|
||||||
* mode3 -> mode2 [ label="Mqtt Command", fontsize=10 ];
|
|
||||||
* mode2 -> mode3 [ label="Mqtt Command", fontsize=10 ];
|
|
||||||
* poweroff -> mode1 [ label="deep sleep wakeup", fontsize=10 ];
|
|
||||||
* mode1 -> poweroff [ label="enter deep sleep", fontsize=10 ];
|
|
||||||
* mode2 -> poweroff [ label="Mqtt queue empty", fontsize=10 ];
|
|
||||||
* }
|
|
||||||
* \enddot
|
|
||||||
*
|
|
||||||
* Before entering Deep sleep the controller is configured with an wakeup time.
|
|
||||||
*
|
|
||||||
* @}
|
|
||||||
*/
|
|
||||||
#ifndef CONTROLLER_CONFIG_H
|
|
||||||
#define CONTROLLER_CONFIG_H
|
|
||||||
/** \addtogroup GPIO Settings
|
|
||||||
* @{
|
|
||||||
*/
|
|
||||||
#define SENSOR_PLANT0 GPIO_NUM_32 /**< GPIO 32 (ADC1) */
|
|
||||||
#define SENSOR_PLANT1 GPIO_NUM_33 /**< GPIO 33 (ADC1) */
|
|
||||||
#define SENSOR_PLANT2 GPIO_NUM_25 /**< GPIO 25 (ADC2) */
|
|
||||||
#define SENSOR_PLANT3 GPIO_NUM_26 /**< GPIO 26 (ADC2) */
|
|
||||||
#define SENSOR_PLANT4 GPIO_NUM_27 /**< GPIO 27 (ADC2) */
|
|
||||||
#define SENSOR_PLANT5 GPIO_NUM_39 /**< SENSOR_VIN */
|
|
||||||
#define SENSOR_PLANT6 GPIO_NUM_36 /**< SENSOR_VP */
|
|
||||||
|
|
||||||
#define OUTPUT_PUMP0 GPIO_NUM_15 /**< GPIO 15 */
|
|
||||||
#define OUTPUT_PUMP1 GPIO_NUM_5 /**< GPIO 5 */
|
|
||||||
#define OUTPUT_PUMP2 GPIO_NUM_18 /**< GPIO 18 */
|
|
||||||
#define OUTPUT_PUMP3 GPIO_NUM_19 /**< GPIO 19 */
|
|
||||||
#define OUTPUT_PUMP4 GPIO_NUM_21 /**< GPIO 21 */
|
|
||||||
#define OUTPUT_PUMP5 GPIO_NUM_22 /**< GPIO 22 */
|
|
||||||
#define OUTPUT_PUMP6 GPIO_NUM_23 /**< GPIO 23 */
|
|
||||||
|
|
||||||
#define OUTPUT_ENABLE_SENSOR GPIO_NUM_14 /**< GPIO 14 - Enable Sensors */
|
|
||||||
#define OUTPUT_ENABLE_PUMP GPIO_NUM_13 /**< GPIO 13 - Enable Pumps */
|
|
||||||
|
|
||||||
#define SENSOR_ONEWIRE GPIO_NUM_4 /**< GPIO 12 - Temperatur sensor, Battery and other cool onewire stuff */
|
|
||||||
#define SENSOR_TANK_SDA GPIO_NUM_17 /**< GPIO 17 - water sensor SDA */
|
|
||||||
#define SENSOR_TANK_SCL GPIO_NUM_16 /**< GPIO 16 - water sensor SCL */
|
|
||||||
#define BUTTON GPIO_NUM_0 /**< GPIO 0 - Fix button of NodeMCU */
|
|
||||||
|
|
||||||
#define CUSTOM1_PIN1 GPIO_NUM_34 /** direct gpio */
|
|
||||||
#define CUSTOM1_PIN3 GPIO_NUM_35 /** direct gpio */
|
|
||||||
#define CUSTOM1_PIN5 GPIO_NUM_2 /** mosfet controlled */
|
|
||||||
#define CUSTOM1_PIN7 GPIO_NUM_12 /** mosfet controlled */
|
|
||||||
|
|
||||||
/* @} */
|
|
||||||
|
|
||||||
/** \addtogroup Configuration
|
|
||||||
* @{
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifdef FLOWMETER_PIN
|
|
||||||
#define FLOWMETER_PULSES_PER_ML 2.2
|
|
||||||
#define FIRMWARE_FEATURE1 "Flow"
|
|
||||||
#else
|
|
||||||
#define FIRMWARE_FEATURE1 ""
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef TIMED_LIGHT_PIN
|
|
||||||
#define FIRMWARE_FEATURE2 "Light"
|
|
||||||
#else
|
|
||||||
#define FIRMWARE_FEATURE2 ""
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#define FIRMWARE_BASENAME "PlantControl"
|
|
||||||
#define FIRMWARE_NAME FIRMWARE_BASENAME FIRMWARE_FEATURE1 FIRMWARE_FEATURE2
|
|
||||||
#define FIRMWARE_VERSION "3.01 HW0.10b"
|
|
||||||
|
|
||||||
#define MOIST_SENSOR_MAX_FRQ 5200 // 60kHz (500Hz margin)
|
|
||||||
#define MOIST_SENSOR_MIN_FRQ 500 // 0.5kHz (500Hz margin)
|
|
||||||
|
|
||||||
#define ANALOG_SENSOR_MAX_MV 1300 //successive approximation of good range
|
|
||||||
#define ANALOG_SENSOR_MIN_MV 100 //successive approximation of good range
|
|
||||||
|
|
||||||
#define SOLAR_VOLT_FACTOR 11
|
|
||||||
#define BATTSENSOR_INDEX_SOLAR 0
|
|
||||||
#define BATTSENSOR_INDEX_BATTERY 1
|
|
||||||
|
|
||||||
#define MQTT_TIMEOUT (1000 * 60) /**< After 10 seconds, MQTT is expected to be connected */
|
|
||||||
#define ESP_STALE_TIMEOUT (MQTT_TIMEOUT+(700*1000))
|
|
||||||
|
|
||||||
#define MAX_PLANTS 7
|
|
||||||
#define SOLAR_CHARGE_MIN_VOLTAGE 7 /**< Sun is rising (morning detected) */
|
|
||||||
#define SOLAR_CHARGE_MAX_VOLTAGE 9 /**< Sun is shining (noon) */
|
|
||||||
#define SOLAR_MAX_VOLTAGE_POSSIBLE 100 /**< higher values are treated as not connected sensor */
|
|
||||||
#define VOLT_MAX_BATT 4.2f
|
|
||||||
#define VOLT_MIN_BATT 3.0f /**< Minimum battery voltage for normal operation */
|
|
||||||
#define LOWVOLT_SLEEP_FACTOR 3 /**< Factor for nightsleep delay, if the battery drops below minimum (@see VOLT_MIN_BATT) */
|
|
||||||
#define LOWVOLT_SLEEP_MINIMUM 1800 /**< At low voltage sleep at least for 30 minutes */
|
|
||||||
|
|
||||||
#define MAX_CONFIG_SETTING_ITEMS 100 /**< Parameter, that can be configured in Homie */
|
|
||||||
#define MAX_JSON_CONFIG_FILE_SIZE_CUSTOM 2500
|
|
||||||
|
|
||||||
#define TEMPERATUR_TIMEOUT 3000 /**< 3 Seconds timeout for the temperatures sensors */
|
|
||||||
#define WATERSENSOR_TIMEOUT 3000 /**< 3 Seconds timeout for the water distance sensor */
|
|
||||||
#define WATERSENSOR_CYCLE 10 /**< 5 sensor measurement are performed */
|
|
||||||
#define DS18B20_RESOLUTION 9 /**< 9bit temperature resolution -> 0.5°C steps */
|
|
||||||
|
|
||||||
#define UTC_OFFSET_DE 3600 /* UTC offset in seconds for Germany */
|
|
||||||
#define UTF_OFFSET_DE_DST 3600 /* offset in seconds if daylight saving time is active */
|
|
||||||
|
|
||||||
/* @} */
|
|
||||||
|
|
||||||
#endif
|
|
@ -1,111 +0,0 @@
|
|||||||
/**
|
|
||||||
* @file DS2438.h
|
|
||||||
*
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef DS2438_h
|
|
||||||
#define DS2438_h
|
|
||||||
|
|
||||||
#include <Arduino.h>
|
|
||||||
#include <OneWire.h>
|
|
||||||
#include "RunningMedian.h"
|
|
||||||
|
|
||||||
#define DS2438_TEMPERATURE_CONVERSION_COMMAND 0x44
|
|
||||||
#define DS2438_VOLTAGE_CONVERSION_COMMAND 0xb4
|
|
||||||
#define DS2438_WRITE_SCRATCHPAD_COMMAND 0x4e
|
|
||||||
#define DS2438_COPY_SCRATCHPAD_COMMAND 0x48
|
|
||||||
#define DS2438_READ_SCRATCHPAD_COMMAND 0xbe
|
|
||||||
#define DS2438_RECALL_MEMORY_COMMAND 0xb8
|
|
||||||
|
|
||||||
#define PAGE_MIN 0
|
|
||||||
#define PAGE_MAX 7
|
|
||||||
|
|
||||||
#define DS2438_CHA 0
|
|
||||||
#define DS2438_CHB 1
|
|
||||||
|
|
||||||
#define DS2438_MODE_CHA 0x01
|
|
||||||
#define DS2438_MODE_CHB 0x02
|
|
||||||
#define DS2438_MODE_TEMPERATURE 0x04
|
|
||||||
|
|
||||||
#define DS2438_TEMPERATURE_DELAY 10
|
|
||||||
#define DS2438_VOLTAGE_CONVERSION_DELAY 8
|
|
||||||
|
|
||||||
#define DS2438_MEDIAN_COUNT 5
|
|
||||||
#define DS2438_MEDIAN_DELAY 50
|
|
||||||
|
|
||||||
#define DEFAULT_PAGE0(var) uint8_t var[8] { \
|
|
||||||
0b00001011 /* X, ADB=0, NVB=0, TB=0, AD=1, EE=0, CA=1, IAD=1 */, \
|
|
||||||
0, /* Temperatur */ \
|
|
||||||
0, /* Temperatur */ \
|
|
||||||
0, /* Voltage */ \
|
|
||||||
0, /* Voltage */ \
|
|
||||||
0, /* Current */ \
|
|
||||||
0, /* Current */ \
|
|
||||||
0b10000000 /* Threshold to 4LSB */ \
|
|
||||||
}
|
|
||||||
|
|
||||||
typedef struct PageOne {
|
|
||||||
uint8_t eleapsedTimerByte0; /**< LSB of timestamp */
|
|
||||||
uint8_t eleapsedTimerByte1;
|
|
||||||
uint8_t eleapsedTimerByte2;
|
|
||||||
uint8_t eleapsedTimerByte3; /**< MSB of timestamp */
|
|
||||||
uint8_t ICA; /**< Integrated Current Accumulator (current flowing into and out of the battery) */
|
|
||||||
uint8_t offsetRegisterByte0; /**< Offset for ADC calibdation */
|
|
||||||
uint8_t offsetRegisterByte1; /**< Offset for ADC calibdation */
|
|
||||||
uint8_t reserved;
|
|
||||||
} PageOne_t;
|
|
||||||
|
|
||||||
typedef struct PageSeven {
|
|
||||||
uint8_t userByte0;
|
|
||||||
uint8_t userByte1;
|
|
||||||
uint8_t userByte2;
|
|
||||||
uint8_t userByte3;
|
|
||||||
uint8_t CCA0; /**< Charging Current Accumulator (CCA) */
|
|
||||||
uint8_t CCA1; /**< Charging Current Accumulator (CCA) */
|
|
||||||
uint8_t DCA0; /**< Discharge Current Accumulator (DCA) */
|
|
||||||
uint8_t DCA1; /**< Discharge Current Accumulator (DCA) */
|
|
||||||
} PageSeven_t;
|
|
||||||
|
|
||||||
typedef uint8_t DeviceAddress[8];
|
|
||||||
|
|
||||||
class DS2438 {
|
|
||||||
public:
|
|
||||||
DS2438(OneWire *ow, float currentShunt, int retryOnCRCError);
|
|
||||||
|
|
||||||
void begin();
|
|
||||||
void updateMultiple();
|
|
||||||
double getTemperature();
|
|
||||||
float getVoltage(int channel=DS2438_CHA);
|
|
||||||
float getCurrent();
|
|
||||||
long getICA();
|
|
||||||
long getCCA();
|
|
||||||
long getDCA();
|
|
||||||
float getAh();
|
|
||||||
boolean isError();
|
|
||||||
boolean isFound();
|
|
||||||
private:
|
|
||||||
bool validAddress(const uint8_t*);
|
|
||||||
bool validFamily(const uint8_t* deviceAddress);
|
|
||||||
void update(bool firstIteration);
|
|
||||||
bool deviceFound = false;
|
|
||||||
OneWire *_ow;
|
|
||||||
DeviceAddress _address;
|
|
||||||
uint8_t _mode;
|
|
||||||
RunningMedian _temperature = RunningMedian(DS2438_MEDIAN_COUNT*2);
|
|
||||||
RunningMedian _voltageA = RunningMedian(DS2438_MEDIAN_COUNT);
|
|
||||||
RunningMedian _voltageB = RunningMedian(DS2438_MEDIAN_COUNT);
|
|
||||||
RunningMedian _current = RunningMedian(DS2438_MEDIAN_COUNT);
|
|
||||||
float _currentShunt;
|
|
||||||
int _retryOnCRCError;
|
|
||||||
long _CCA;
|
|
||||||
long _DCA;
|
|
||||||
long _ICA;
|
|
||||||
boolean _error;
|
|
||||||
boolean startConversion(int channel, boolean doTemperature);
|
|
||||||
boolean selectChannel(int channel);
|
|
||||||
void writePage(int page, uint8_t *data);
|
|
||||||
boolean readPage(int page, uint8_t *data);
|
|
||||||
};
|
|
||||||
|
|
||||||
#endif
|
|
@ -1,9 +0,0 @@
|
|||||||
#ifndef FILEUTILS_H
|
|
||||||
#define FILEUTILS_H
|
|
||||||
|
|
||||||
bool doesFileExist(const char *source);
|
|
||||||
bool copyFile(const char *source, const char *target);
|
|
||||||
bool deleteFile(const char *source);
|
|
||||||
void printFile(const char *source);
|
|
||||||
|
|
||||||
#endif
|
|
@ -1,135 +0,0 @@
|
|||||||
/** \addtogroup Homie
|
|
||||||
* @{
|
|
||||||
*
|
|
||||||
* @file HomieConfiguration.h
|
|
||||||
* @author your name (you@domain.com)
|
|
||||||
* @brief
|
|
||||||
* @version 0.1
|
|
||||||
* @date 2020-10-16
|
|
||||||
*
|
|
||||||
* @copyright Copyright (c) 2020
|
|
||||||
* All Settings, configurable in Homie
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
#ifndef HOMIE_PLANT_CONFIG_H
|
|
||||||
#define HOMIE_PLANT_CONFIG_H
|
|
||||||
|
|
||||||
#include "HomieTypes.h"
|
|
||||||
|
|
||||||
#define MAX_PLANTS 7
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @name Homie Attributes
|
|
||||||
* generated Information
|
|
||||||
* @{
|
|
||||||
**/
|
|
||||||
|
|
||||||
#define NUMBER_TYPE "Float" /**< numberic information, published or read in Homie */
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @}
|
|
||||||
*
|
|
||||||
* @name Temperatur Node
|
|
||||||
* @{
|
|
||||||
**/
|
|
||||||
|
|
||||||
#define TEMPERATURE_NAME "Temperature"
|
|
||||||
#define TEMPERATURE_UNIT "°C"
|
|
||||||
#define TEMPERATUR_SENSOR_LIPO "lipo" /**< Homie node: temperatur, setting: lipo temperatur (or close to it) */
|
|
||||||
#define TEMPERATUR_SENSOR_CHIP "chip" /**< Homie node: temperatur, setting: battery chip */
|
|
||||||
#define TEMPERATUR_SENSOR_WATER "water" /**< Homie node: temperatur, setting: water temperatur */
|
|
||||||
/** @}
|
|
||||||
*
|
|
||||||
* @name Plant Nodes
|
|
||||||
* @{
|
|
||||||
*/
|
|
||||||
|
|
||||||
HomieNode plant0("plant0", "Plant 0", "Plant"); /**< dynamic Homie information for first plant */
|
|
||||||
HomieNode plant1("plant1", "Plant 1", "Plant"); /**< dynamic Homie information for second plant */
|
|
||||||
HomieNode plant2("plant2", "Plant 2", "Plant"); /**< dynamic Homie information for third plant */
|
|
||||||
HomieNode plant3("plant3", "Plant 3", "Plant"); /**< dynamic Homie information for fourth plant */
|
|
||||||
HomieNode plant4("plant4", "Plant 4", "Plant"); /**< dynamic Homie information for fivth plant */
|
|
||||||
HomieNode plant5("plant5", "Plant 5", "Plant"); /**< dynamic Homie information for sixth plant */
|
|
||||||
HomieNode plant6("plant6", "Plant 6", "Plant"); /**< dynamic Homie information for seventh plant */
|
|
||||||
|
|
||||||
#if defined(TIMED_LIGHT_PIN)
|
|
||||||
HomieNode timedLightNode("timedLight", "TimedLight", "Status");
|
|
||||||
#endif // TIMED_LIGHT_PIN
|
|
||||||
|
|
||||||
|
|
||||||
HomieNode sensorLipo("lipo", "Battery Status", "Lipo");
|
|
||||||
HomieNode sensorSolar("solar", "Solar Status", "Solarpanel");
|
|
||||||
HomieNode sensorWater("water", "WaterSensor", "Water");
|
|
||||||
HomieNode sensorTemp("temperature", "Temperature", "temperature");
|
|
||||||
HomieNode stayAlive("stay", "alive", "alive"); /**< Necessary for Mqtt Active Command */
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @}
|
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @name Settings
|
|
||||||
* General settings for the controller
|
|
||||||
* @{
|
|
||||||
*/
|
|
||||||
HomieSetting<long> deepSleepTime("sleep", "time in seconds to sleep");
|
|
||||||
HomieSetting<long> deepSleepNightTime("nightsleep", "time in seconds to sleep (0 uses same setting: deepsleep at night, too)");
|
|
||||||
HomieSetting<long> pumpIneffectiveWarning("pumpConsecutiveWarn", "if the pump was triggered this amount directly after each cooldown, without resolving dryness, warn");
|
|
||||||
HomieSetting<long> waterLevelMax("tankmax", "distance (mm) at maximum water level");
|
|
||||||
HomieSetting<long> waterLevelMin("tankmin", "distance (mm) at minimum water level (pumps still covered)");
|
|
||||||
HomieSetting<long> waterLevelWarn("tankwarn", "warn (mm) if below this water level %");
|
|
||||||
HomieSetting<long> waterLevelVol("tankVolume", "(ml) between minimum and maximum");
|
|
||||||
HomieSetting<const char *> lipoSensorAddr("lipoDSAddr", "1wire address for lipo temperature sensor");
|
|
||||||
HomieSetting<const char *> waterSensorAddr("tankDSAddr", "1wire address for water temperature sensor");
|
|
||||||
HomieSetting<const char *> ntpServer("ntpServer", "NTP server (pool.ntp.org as default)");
|
|
||||||
|
|
||||||
#if defined(TIMED_LIGHT_PIN)
|
|
||||||
HomieSetting<double> timedLightVoltageCutoff("LightVoltageCutoff", "voltage at wich to disable light");
|
|
||||||
HomieSetting<long> timedLightStart("LightStart", "hour to start light");
|
|
||||||
HomieSetting<long> timedLightEnd("LightEnd", "hour to end light");
|
|
||||||
HomieSetting<bool> timedLightOnlyWhenDark("LightOnlyDark", "only enable light, if solar is low");
|
|
||||||
HomieSetting<long> timedLightPowerLevel("LightPowerLevel", "0-255 power level");
|
|
||||||
#endif // TIMED_LIGHT_PIN
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @}
|
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @name Plant specific ones
|
|
||||||
* Setting for one plant
|
|
||||||
* @{
|
|
||||||
**/
|
|
||||||
|
|
||||||
#define GENERATE_PLANT(plant, strplant) \
|
|
||||||
HomieSetting<double> mSensorDry##plant = HomieSetting<double>("dry" strplant, "Plant" strplant " - Moist sensor dry %"); \
|
|
||||||
HomieSetting<long> mPumpAllowedHourRangeStart##plant = HomieSetting<long>("hourstart" strplant, "Plant" strplant " - Range pump allowed hour start (0-23)"); \
|
|
||||||
HomieSetting<long> mPumpAllowedHourRangeEnd##plant = HomieSetting<long>("hourend" strplant, "Plant" strplant " - Range pump allowed hour end (0-23)"); \
|
|
||||||
HomieSetting<bool> mPumpOnlyWhenLowLight##plant = HomieSetting<bool>("lowLight" strplant, "Plant" strplant " - Enable the Pump only, when there is no sunlight"); \
|
|
||||||
HomieSetting<long> mPumpCooldownInSeconds##plant = HomieSetting<long>("delay" strplant, "Plant" strplant " - How long to wait until the pump is activated again (sec)"); \
|
|
||||||
HomieSetting<long> pPumpDuration##plant = HomieSetting<long>("pumpDuration" strplant, "Plant" strplant " - time seconds to water when pump is active"); \
|
|
||||||
HomieSetting<long> pPumpMl##plant = HomieSetting<long>("pumpAmount" strplant, "Plant" strplant " - ml (if using flowmeter) to water when pump is active"); \
|
|
||||||
HomieSetting<long> pPowerLevel##plant = HomieSetting<long>("powerLevel" strplant, "Plant" strplant " - pwm duty cycle in percent"); \
|
|
||||||
PlantSettings_t mSetting##plant = {&mSensorDry##plant, &mPumpAllowedHourRangeStart##plant, &mPumpAllowedHourRangeEnd##plant, &mPumpOnlyWhenLowLight##plant, &mPumpCooldownInSeconds##plant, &pPumpDuration##plant, &pPowerLevel##plant, &pPumpMl##plant}; \
|
|
||||||
/**< Generate all settings for one plant \
|
|
||||||
* \
|
|
||||||
* Feature to start pumping only at morning: @link{SOLAR_CHARGE_MIN_VOLTAGE} and @link{SOLAR_CHARGE_MAX_VOLTAGE} \
|
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @}
|
|
||||||
*/
|
|
||||||
|
|
||||||
GENERATE_PLANT(0, "0"); /**< Homie settings for first plant */
|
|
||||||
GENERATE_PLANT(1, "1"); /**< Homie settings for second Plant */
|
|
||||||
GENERATE_PLANT(2, "2"); /**< Homie settings for third plant */
|
|
||||||
GENERATE_PLANT(3, "3"); /**< Homie settings for fourth plant */
|
|
||||||
GENERATE_PLANT(4, "4"); /**< Homie settings for fifth plant */
|
|
||||||
GENERATE_PLANT(5, "5"); /**< Homie settings for sixth plant */
|
|
||||||
GENERATE_PLANT(6, "6"); /**< Homie settings for seventh plant */
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#endif /* HOMIE_PLANT_CONFIG_H @} */
|
|
||||||
|
|
@ -1,95 +0,0 @@
|
|||||||
/**
|
|
||||||
* @file HomieTypes.h
|
|
||||||
* @author your name (you@domain.com)
|
|
||||||
* @brief
|
|
||||||
* @version 0.1
|
|
||||||
* @date 2020-10-16
|
|
||||||
*
|
|
||||||
* @copyright Copyright (c) 2020
|
|
||||||
* All Settings, configurable in Homie
|
|
||||||
*/
|
|
||||||
#ifndef HOMIE_PLANT_CFG_CONFIG_H
|
|
||||||
#define HOMIE_PLANT_CFG_CONFIG_H
|
|
||||||
|
|
||||||
#include <Homie.h>
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @name Sensor types
|
|
||||||
* possible sensors:
|
|
||||||
* @{
|
|
||||||
**/
|
|
||||||
|
|
||||||
#define FOREACH_SENSOR(SENSOR) \
|
|
||||||
SENSOR(NONE) \
|
|
||||||
SENSOR(FREQUENCY_MOD_RESISTANCE_PROBE) \
|
|
||||||
SENSOR(ANALOG_RESISTANCE_PROBE)
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @}
|
|
||||||
*/
|
|
||||||
|
|
||||||
#define GENERATE_ENUM(ENUM) ENUM,
|
|
||||||
#define GENERATE_STRING(STRING) #STRING,
|
|
||||||
|
|
||||||
enum SENSOR_MODE {
|
|
||||||
FOREACH_SENSOR(GENERATE_ENUM)
|
|
||||||
};
|
|
||||||
|
|
||||||
static const char *SENSOR_STRING[] = {
|
|
||||||
FOREACH_SENSOR(GENERATE_STRING)
|
|
||||||
};
|
|
||||||
|
|
||||||
//plant pump is deactivated, but sensor values are still recorded and published
|
|
||||||
#define DEACTIVATED_PLANT -1
|
|
||||||
//special value to indicate a missing sensor when the plant is not deactivated but no valid sensor value was read
|
|
||||||
#define MISSING_SENSOR -2
|
|
||||||
//plant uses only cooldown and duration, moisture is measured but ignored, allowedHours is ignored (eg. make a 30min on 30min off cycle)
|
|
||||||
#define HYDROPONIC_MODE -3
|
|
||||||
//plant uses cooldown and duration and workhours, moisture is measured but ignored
|
|
||||||
#define TIMER_ONLY -4
|
|
||||||
//special value to indicate a shorted sensor when the plant is not deactivated but the sensor reads short circuit value
|
|
||||||
#define SHORT_CIRCUIT_MODE -5
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @brief State of plants
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
#define PLANTSTATE_NUM_DEACTIVATED -1
|
|
||||||
#define PLANTSTATE_NUM_NO_SENSOR -2
|
|
||||||
#define PLANTSTATE_NUM_WET 0x00
|
|
||||||
#define PLANTSTATE_NUM_SUNNY_ALARM 0x11
|
|
||||||
#define PLANTSTATE_NUM_ACTIVE_ALARM 0x41
|
|
||||||
#define PLANTSTATE_NUM_ACTIVE_SUPESSED -3
|
|
||||||
#define PLANTSTATE_NUM_ACTIVE 0x40
|
|
||||||
#define PLANTSTATE_NUM_SUNNY 0x10
|
|
||||||
#define PLANTSTATE_NUM_COOLDOWN_ALARM 0x21
|
|
||||||
#define PLANTSTATE_NUM_COOLDOWN 0x20
|
|
||||||
#define PLANTSTATE_NUM_AFTERWORK_ALARM 0x31
|
|
||||||
#define PLANTSTATE_NUM_AFTERWORK 0x30
|
|
||||||
|
|
||||||
#define PLANTSTATE_STR_DEACTIVATED "deactivated"
|
|
||||||
#define PLANTSTATE_STR_NO_SENSOR "nosensor"
|
|
||||||
#define PLANTSTATE_STR_WET "wet"
|
|
||||||
#define PLANTSTATE_STR_SUNNY_ALARM "sunny+alarm"
|
|
||||||
#define PLANTSTATE_STR_ACTIVE_ALARM "active+alarm"
|
|
||||||
#define PLANTSTATE_STR_ACTIVE_SUPESSED "active+supressed"
|
|
||||||
#define PLANTSTATE_STR_ACTIVE "active"
|
|
||||||
#define PLANTSTATE_STR_SUNNY "sunny"
|
|
||||||
#define PLANTSTATE_STR_COOLDOWN_ALARM "cooldown+alarm"
|
|
||||||
#define PLANTSTATE_STR_COOLDOWN "cooldown"
|
|
||||||
#define PLANTSTATE_STR_AFTERWORK_ALARM "after-work+alarm"
|
|
||||||
#define PLANTSTATE_STR_AFTERWORK "after-work"
|
|
||||||
|
|
||||||
typedef struct PlantSettings_t
|
|
||||||
{
|
|
||||||
HomieSetting<double> *pSensorDry;
|
|
||||||
HomieSetting<long> *pPumpAllowedHourRangeStart;
|
|
||||||
HomieSetting<long> *pPumpAllowedHourRangeEnd;
|
|
||||||
HomieSetting<bool> *pPumpOnlyWhenLowLight;
|
|
||||||
HomieSetting<long> *pPumpCooldownInSeconds;
|
|
||||||
HomieSetting<long> *pPumpDuration;
|
|
||||||
HomieSetting<long> *pPumpPowerLevel;
|
|
||||||
HomieSetting<long> *pPumpMl;
|
|
||||||
} PlantSettings_t;
|
|
||||||
|
|
||||||
#endif
|
|
@ -1,50 +0,0 @@
|
|||||||
#ifndef LOG_DEFINES_H
|
|
||||||
#define LOG_DEFINES_H
|
|
||||||
|
|
||||||
#define LOG_LEVEL_ERROR 0
|
|
||||||
#define LOG_LEVEL_WARN 1
|
|
||||||
#define LOG_LEVEL_INFO 2
|
|
||||||
#define LOG_LEVEL_DEBUG 3
|
|
||||||
|
|
||||||
|
|
||||||
#define LOG_TANKSENSOR_FAIL_DETECT "Failed to detect and initialize distance sensor!"
|
|
||||||
#define LOG_TANKSENSOR_FAIL_DETECT_CODE -1
|
|
||||||
|
|
||||||
#define LOG_BACKUP_SUCCESSFUL "Backup sucessful"
|
|
||||||
#define LOG_BACKUP_SUCCESSFUL_CODE 1
|
|
||||||
|
|
||||||
#define LOG_BACKUP_FAILED "Backup error"
|
|
||||||
#define LOG_BACKUP_FAILED_CODE -2
|
|
||||||
|
|
||||||
#define LOG_PUMP_BUTNOTANK_MESSAGE "Want to pump but no water"
|
|
||||||
#define LOG_PUMP_BUTNOTANK_CODE -3
|
|
||||||
|
|
||||||
#define LOG_HARDWARECOUNTER_ERROR_MESSAGE "PCNR returned error"
|
|
||||||
#define LOG_HARDWARECOUNTER_ERROR_CODE -4
|
|
||||||
|
|
||||||
#define LOG_SENSORMODE_UNKNOWN "Unknown sensor mode requested"
|
|
||||||
#define LOG_SENSORMODE_UNKNOWN_CODE -5
|
|
||||||
|
|
||||||
#define LOG_SENSOR_MISSING -6
|
|
||||||
|
|
||||||
#define LOG_PUMP_AND_DOWNLOADMODE "Download mode, ignoring pump request"
|
|
||||||
#define LOG_PUMP_AND_DOWNLOADMODE_CODE 2
|
|
||||||
|
|
||||||
#define LOG_VERY_COLD_WATER "Water potentially frozen, ignoring pump request"
|
|
||||||
#define LOG_VERY_COLD_WATER_CODE -7
|
|
||||||
|
|
||||||
#define LOG_PUMP_FULLTANK_MESSAGE "Water Sensor distance unrealistic"
|
|
||||||
#define LOG_PUMP_FULLTANK_CODE 3
|
|
||||||
|
|
||||||
//msg is dynamic defined
|
|
||||||
#define LOG_PUMP_INEFFECTIVE -4
|
|
||||||
#define LOG_PUMP_STARTED_CODE 10
|
|
||||||
#define LOG_DEBUG_CODE 1001
|
|
||||||
#define LOG_SLEEP_NIGHT 100
|
|
||||||
#define LOG_SLEEP_DAY 101
|
|
||||||
#define LOG_SLEEP_LOWVOLTAGE 502
|
|
||||||
#define LOG_SLEEP_CYCLE 102
|
|
||||||
#define LOG_MISSING_PUMP -4
|
|
||||||
#define LOG_BOOT_ERROR_DETECTION 10000
|
|
||||||
#define LOG_SOLAR_CHARGER_MISSING 300
|
|
||||||
#endif
|
|
@ -1,28 +0,0 @@
|
|||||||
#ifndef MQTTUtils_h
|
|
||||||
#define MQTTUtils_h
|
|
||||||
|
|
||||||
#include <Homie.h>
|
|
||||||
|
|
||||||
#define LOG_TOPIC "log\0"
|
|
||||||
#define TEST_TOPIC "roundtrip\0"
|
|
||||||
#define BACKUP_TOPIC "$implementation/config/backup/set\0"
|
|
||||||
|
|
||||||
#define CONFIG_FILE "/homie/config.json"
|
|
||||||
#define CONFIG_FILE_BACKUP "/homie/config.json.bak"
|
|
||||||
|
|
||||||
#define getTopic(test, topic) \
|
|
||||||
char *topic = new char[strlen(Homie.getConfiguration().mqtt.baseTopic) + strlen(Homie.getConfiguration().deviceId) + 1 + strlen(test) + 1]; \
|
|
||||||
strcpy(topic, Homie.getConfiguration().mqtt.baseTopic); \
|
|
||||||
strcat(topic, Homie.getConfiguration().deviceId); \
|
|
||||||
strcat(topic, "/"); \
|
|
||||||
strcat(topic, test);
|
|
||||||
|
|
||||||
bool aliveWasRead();
|
|
||||||
bool mqttReady();
|
|
||||||
void startMQTTRoundtripTest();
|
|
||||||
|
|
||||||
void log(int level, String message, int code);
|
|
||||||
void mqttWrite(HomieNode* target,const char* key, String value);
|
|
||||||
void mqttWrite(HomieNode* target,String key, String value);
|
|
||||||
|
|
||||||
#endif
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user