Initial commit.

Signed-off-by: Yilin Sun <imi415@imi.moe>
This commit is contained in:
Yilin Sun 2023-02-15 14:48:27 +08:00
commit 0dc93ba3f7
Signed by: imi415
GPG Key ID: 885EC2B5A8A6F8A7
10 changed files with 2847 additions and 0 deletions

33
.gitignore vendored Normal file
View File

@ -0,0 +1,33 @@
# For PCBs designed using KiCad: https://www.kicad.org/
# Format documentation: https://kicad.org/help/file-formats/
# Temporary files
*.000
*.bak
*.bck
*.kicad_pcb-bak
*.kicad_sch-bak
*-backups
*.kicad_prl
*.sch-bak
*~
_autosave-*
*.tmp
*-save.pro
*-save.kicad_pcb
\#auto_saved_files\#
fp-info-cache
# Netlist files (exported from Eeschema)
*.net
# Autorouter files (exported from Pcbnew)
*.dsn
*.ses
# Exported BOM files
*.xml
*.csv
# Zipped archives
*.zip

3
.gitmodules vendored Normal file
View File

@ -0,0 +1,3 @@
[submodule "libraries"]
path = libraries
url = https://git.minori.work/Pudding_Industries/Pudding_Libraries.git

BIN
Datasheets/bq76925.pdf Normal file

Binary file not shown.

BIN
Datasheets/slua707.pdf Normal file

Binary file not shown.

2
Pudding_BMS.kicad_pcb Normal file
View File

@ -0,0 +1,2 @@
(kicad_pcb (version 20211014) (generator pcbnew)
)

330
Pudding_BMS.kicad_pro Normal file
View File

@ -0,0 +1,330 @@
{
"board": {
"design_settings": {
"defaults": {
"board_outline_line_width": 0.1,
"copper_line_width": 0.2,
"copper_text_size_h": 1.5,
"copper_text_size_v": 1.5,
"copper_text_thickness": 0.3,
"other_line_width": 0.15,
"silk_line_width": 0.15,
"silk_text_size_h": 1.0,
"silk_text_size_v": 1.0,
"silk_text_thickness": 0.15
},
"diff_pair_dimensions": [],
"drc_exclusions": [],
"rules": {
"min_copper_edge_clearance": 0.0,
"solder_mask_clearance": 0.0,
"solder_mask_min_width": 0.0
},
"track_widths": [],
"via_dimensions": []
},
"layer_presets": []
},
"boards": [],
"cvpcb": {
"equivalence_files": []
},
"erc": {
"erc_exclusions": [],
"meta": {
"version": 0
},
"pin_map": [
[
0,
0,
0,
0,
0,
0,
1,
0,
0,
0,
0,
2
],
[
0,
2,
0,
1,
0,
0,
1,
0,
2,
2,
2,
2
],
[
0,
0,
0,
0,
0,
0,
1,
0,
1,
0,
1,
2
],
[
0,
1,
0,
0,
0,
0,
1,
1,
2,
1,
1,
2
],
[
0,
0,
0,
0,
0,
0,
1,
0,
0,
0,
0,
2
],
[
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
2
],
[
1,
1,
1,
1,
1,
0,
1,
1,
1,
1,
1,
2
],
[
0,
0,
0,
1,
0,
0,
1,
0,
0,
0,
0,
2
],
[
0,
2,
1,
2,
0,
0,
1,
0,
2,
2,
2,
2
],
[
0,
2,
0,
1,
0,
0,
1,
0,
2,
0,
0,
2
],
[
0,
2,
1,
1,
0,
0,
1,
0,
2,
0,
0,
2
],
[
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2
]
],
"rule_severities": {
"bus_definition_conflict": "error",
"bus_entry_needed": "error",
"bus_label_syntax": "error",
"bus_to_bus_conflict": "error",
"bus_to_net_conflict": "error",
"different_unit_footprint": "error",
"different_unit_net": "error",
"duplicate_reference": "error",
"duplicate_sheet_names": "error",
"extra_units": "error",
"global_label_dangling": "warning",
"hier_label_mismatch": "error",
"label_dangling": "error",
"lib_symbol_issues": "warning",
"multiple_net_names": "warning",
"net_not_bus_member": "warning",
"no_connect_connected": "warning",
"no_connect_dangling": "warning",
"pin_not_connected": "error",
"pin_not_driven": "error",
"pin_to_pin": "warning",
"power_pin_not_driven": "error",
"similar_labels": "warning",
"unannotated": "error",
"unit_value_mismatch": "error",
"unresolved_variable": "error",
"wire_dangling": "error"
}
},
"libraries": {
"pinned_footprint_libs": [],
"pinned_symbol_libs": []
},
"meta": {
"filename": "Pudding_BMS.kicad_pro",
"version": 1
},
"net_settings": {
"classes": [
{
"bus_width": 12.0,
"clearance": 0.2,
"diff_pair_gap": 0.25,
"diff_pair_via_gap": 0.25,
"diff_pair_width": 0.2,
"line_style": 0,
"microvia_diameter": 0.3,
"microvia_drill": 0.1,
"name": "Default",
"pcb_color": "rgba(0, 0, 0, 0.000)",
"schematic_color": "rgba(0, 0, 0, 0.000)",
"track_width": 0.25,
"via_diameter": 0.8,
"via_drill": 0.4,
"wire_width": 6.0
}
],
"meta": {
"version": 2
},
"net_colors": null
},
"pcbnew": {
"last_paths": {
"gencad": "",
"idf": "",
"netlist": "",
"specctra_dsn": "",
"step": "",
"vrml": ""
},
"page_layout_descr_file": ""
},
"schematic": {
"annotate_start_num": 0,
"drawing": {
"default_line_thickness": 6.0,
"default_text_size": 50.0,
"field_names": [],
"intersheets_ref_own_page": false,
"intersheets_ref_prefix": "",
"intersheets_ref_short": false,
"intersheets_ref_show": false,
"intersheets_ref_suffix": "",
"junction_size_choice": 3,
"label_size_ratio": 0.375,
"pin_symbol_size": 25.0,
"text_offset_ratio": 0.15
},
"legacy_lib_dir": "",
"legacy_lib_list": [],
"meta": {
"version": 1
},
"net_format_name": "",
"ngspice": {
"fix_include_paths": true,
"fix_passive_vals": false,
"meta": {
"version": 0
},
"model_mode": 0,
"workbook_filename": ""
},
"page_layout_descr_file": "",
"plot_directory": "",
"spice_adjust_passive_values": false,
"spice_external_command": "spice \"%I\"",
"subpart_first_id": 65,
"subpart_id_separator": 0
},
"sheets": [
[
"06a7a852-ae3f-46e2-a52f-0834e6217f61",
""
],
[
"8609e239-0667-4eaf-9d2e-29d9daa82380",
"Battery Packs"
]
],
"text_variables": {}
}

204
Pudding_BMS.kicad_sch Normal file
View File

@ -0,0 +1,204 @@
(kicad_sch (version 20211123) (generator eeschema)
(uuid 06a7a852-ae3f-46e2-a52f-0834e6217f61)
(paper "A4")
(lib_symbols
)
(sheet (at 100.33 88.9) (size 36.83 29.21) (fields_autoplaced)
(stroke (width 0.1524) (type solid) (color 0 0 0 0))
(fill (color 0 0 0 0.0000))
(uuid 8609e239-0667-4eaf-9d2e-29d9daa82380)
(property "Sheet name" "Battery Packs" (id 0) (at 100.33 88.1884 0)
(effects (font (size 1.27 1.27)) (justify left bottom))
)
(property "Sheet file" "battery_packs.kicad_sch" (id 1) (at 100.33 118.6946 0)
(effects (font (size 1.27 1.27)) (justify left top))
)
)
(sheet_instances
(path "/" (page "1"))
(path "/8609e239-0667-4eaf-9d2e-29d9daa82380" (page "2"))
)
(symbol_instances
(path "/8609e239-0667-4eaf-9d2e-29d9daa82380/34b57d69-bc76-4129-adad-60001c2cf941"
(reference "#PWR?") (unit 1) (value "+BATT") (footprint "")
)
(path "/8609e239-0667-4eaf-9d2e-29d9daa82380/4297fc1b-9eee-46af-a50e-b683be7b0a39"
(reference "#PWR?") (unit 1) (value "GND") (footprint "")
)
(path "/8609e239-0667-4eaf-9d2e-29d9daa82380/7a73e58c-bf61-41e4-bbb4-11d7e40ab4fd"
(reference "#PWR?") (unit 1) (value "GND") (footprint "")
)
(path "/8609e239-0667-4eaf-9d2e-29d9daa82380/b872b8f4-86b4-4f3a-a057-9de2b5487618"
(reference "#PWR?") (unit 1) (value "+BATT") (footprint "")
)
(path "/8609e239-0667-4eaf-9d2e-29d9daa82380/ef378196-612a-448b-9a0e-49189f9c1bd1"
(reference "#PWR?") (unit 1) (value "GND") (footprint "")
)
(path "/8609e239-0667-4eaf-9d2e-29d9daa82380/efb31b16-9e64-4d1d-8137-1f612e348083"
(reference "#PWR?") (unit 1) (value "GND") (footprint "")
)
(path "/8609e239-0667-4eaf-9d2e-29d9daa82380/fa7f78f0-8051-45e1-a195-258d8fb97b71"
(reference "#PWR?") (unit 1) (value "Earth") (footprint "")
)
(path "/8609e239-0667-4eaf-9d2e-29d9daa82380/fe0b14a0-0e1d-4ccd-9eb8-4baccc0c0c39"
(reference "#PWR?") (unit 1) (value "Earth") (footprint "")
)
(path "/8609e239-0667-4eaf-9d2e-29d9daa82380/04fb6e28-a50f-4099-aca2-fad2af9924be"
(reference "BT?") (unit 1) (value "Battery_Cell") (footprint "")
)
(path "/8609e239-0667-4eaf-9d2e-29d9daa82380/303e2920-e617-49c3-8a34-dfee9d9dc549"
(reference "BT?") (unit 1) (value "Battery_Cell") (footprint "")
)
(path "/8609e239-0667-4eaf-9d2e-29d9daa82380/3e76ec1c-eeff-4525-a407-721099f6e030"
(reference "BT?") (unit 1) (value "Battery_Cell") (footprint "")
)
(path "/8609e239-0667-4eaf-9d2e-29d9daa82380/4118d035-d096-4821-851f-d333cc736d94"
(reference "BT?") (unit 1) (value "Battery_Cell") (footprint "")
)
(path "/8609e239-0667-4eaf-9d2e-29d9daa82380/43ee90cf-da31-4f1a-adaf-7109178d4376"
(reference "BT?") (unit 1) (value "Battery_Cell") (footprint "")
)
(path "/8609e239-0667-4eaf-9d2e-29d9daa82380/496f87b7-dc74-4c08-b1a0-e583e8d827cf"
(reference "BT?") (unit 1) (value "Battery_Cell") (footprint "")
)
(path "/8609e239-0667-4eaf-9d2e-29d9daa82380/876bdb85-0530-4194-b448-f86b78564181"
(reference "BT?") (unit 1) (value "Battery_Cell") (footprint "")
)
(path "/8609e239-0667-4eaf-9d2e-29d9daa82380/89edd4ea-5270-4532-b102-7a3d088bcb80"
(reference "BT?") (unit 1) (value "Battery_Cell") (footprint "")
)
(path "/8609e239-0667-4eaf-9d2e-29d9daa82380/9cc4faf4-b8e1-4b5e-86de-168f79fddb6b"
(reference "BT?") (unit 1) (value "Battery_Cell") (footprint "")
)
(path "/8609e239-0667-4eaf-9d2e-29d9daa82380/b5222f67-5be9-4026-b824-b8c6c1fa9191"
(reference "BT?") (unit 1) (value "Battery_Cell") (footprint "")
)
(path "/8609e239-0667-4eaf-9d2e-29d9daa82380/f9e6d660-0e6a-4509-bff7-e9ce7fa63bcb"
(reference "BT?") (unit 1) (value "Battery_Cell") (footprint "")
)
(path "/8609e239-0667-4eaf-9d2e-29d9daa82380/fbc959b0-e2d3-4fa4-84ed-6164dd30ea46"
(reference "BT?") (unit 1) (value "Battery_Cell") (footprint "")
)
(path "/8609e239-0667-4eaf-9d2e-29d9daa82380/0682c586-522d-4c11-8a12-1880fa9ed780"
(reference "C?") (unit 1) (value "C") (footprint "")
)
(path "/8609e239-0667-4eaf-9d2e-29d9daa82380/0ef5c704-4818-4773-b491-7b0d61977a3d"
(reference "C?") (unit 1) (value "C") (footprint "")
)
(path "/8609e239-0667-4eaf-9d2e-29d9daa82380/23e8e458-1549-4341-888b-6534feae22c6"
(reference "C?") (unit 1) (value "C") (footprint "")
)
(path "/8609e239-0667-4eaf-9d2e-29d9daa82380/42f2a63b-28ab-4a1b-a395-d4e939b11a43"
(reference "C?") (unit 1) (value "C") (footprint "")
)
(path "/8609e239-0667-4eaf-9d2e-29d9daa82380/449fd48b-82bf-4892-a92c-43d9f49a32dd"
(reference "C?") (unit 1) (value "C") (footprint "")
)
(path "/8609e239-0667-4eaf-9d2e-29d9daa82380/48e6f13c-72f5-4f17-8df0-73b9f7857cee"
(reference "C?") (unit 1) (value "C") (footprint "")
)
(path "/8609e239-0667-4eaf-9d2e-29d9daa82380/587cf335-d8c2-4d31-aa2b-853a632b85d4"
(reference "C?") (unit 1) (value "C") (footprint "")
)
(path "/8609e239-0667-4eaf-9d2e-29d9daa82380/64b903ae-d6bd-4311-bc38-d2f71e67ae34"
(reference "C?") (unit 1) (value "C") (footprint "")
)
(path "/8609e239-0667-4eaf-9d2e-29d9daa82380/68ab2e18-964d-4f72-a70e-156a530cc6c4"
(reference "C?") (unit 1) (value "C") (footprint "")
)
(path "/8609e239-0667-4eaf-9d2e-29d9daa82380/87253ee7-4266-4739-9e64-92ceeb21c7bf"
(reference "C?") (unit 1) (value "C") (footprint "")
)
(path "/8609e239-0667-4eaf-9d2e-29d9daa82380/88e33159-ec85-470b-a578-676cf7db0354"
(reference "C?") (unit 1) (value "C") (footprint "")
)
(path "/8609e239-0667-4eaf-9d2e-29d9daa82380/a5010529-192f-41d4-a81a-23152af086a3"
(reference "C?") (unit 1) (value "C") (footprint "")
)
(path "/8609e239-0667-4eaf-9d2e-29d9daa82380/b244aa28-06cf-4d97-931c-0e3350cc3a22"
(reference "C?") (unit 1) (value "C") (footprint "")
)
(path "/8609e239-0667-4eaf-9d2e-29d9daa82380/b28e0da5-53b4-4566-b466-716183d29621"
(reference "C?") (unit 1) (value "C") (footprint "")
)
(path "/8609e239-0667-4eaf-9d2e-29d9daa82380/cde936b5-2239-42ae-b6f8-e65c8f9ac60c"
(reference "C?") (unit 1) (value "C") (footprint "")
)
(path "/8609e239-0667-4eaf-9d2e-29d9daa82380/ed51ce96-f64c-40ba-9d34-ad7de0c255a9"
(reference "C?") (unit 1) (value "C") (footprint "")
)
(path "/8609e239-0667-4eaf-9d2e-29d9daa82380/0c9a386f-7567-47d0-8efc-4e9e52e7896c"
(reference "R?") (unit 1) (value "R") (footprint "")
)
(path "/8609e239-0667-4eaf-9d2e-29d9daa82380/163b3caa-d742-4a1a-9295-c4208c02c701"
(reference "R?") (unit 1) (value "R") (footprint "")
)
(path "/8609e239-0667-4eaf-9d2e-29d9daa82380/2430e97f-c9af-45c1-a753-d4bcccd6251b"
(reference "R?") (unit 1) (value "R") (footprint "")
)
(path "/8609e239-0667-4eaf-9d2e-29d9daa82380/26fe9e03-7c95-44bc-b036-10d5f7f89196"
(reference "R?") (unit 1) (value "R") (footprint "")
)
(path "/8609e239-0667-4eaf-9d2e-29d9daa82380/28335645-25f9-4112-a448-866d599e9fd0"
(reference "R?") (unit 1) (value "R") (footprint "")
)
(path "/8609e239-0667-4eaf-9d2e-29d9daa82380/2ddd4373-678a-497d-a648-1f47f447a321"
(reference "R?") (unit 1) (value "R") (footprint "")
)
(path "/8609e239-0667-4eaf-9d2e-29d9daa82380/5620f35a-3aeb-4ed1-86b1-c9af3027f1d0"
(reference "R?") (unit 1) (value "R") (footprint "")
)
(path "/8609e239-0667-4eaf-9d2e-29d9daa82380/616dbab6-8ed3-49b0-adfc-8c8a8cca2588"
(reference "R?") (unit 1) (value "R") (footprint "")
)
(path "/8609e239-0667-4eaf-9d2e-29d9daa82380/63bbe51c-7e55-40ac-945a-fd1281432b67"
(reference "R?") (unit 1) (value "R") (footprint "")
)
(path "/8609e239-0667-4eaf-9d2e-29d9daa82380/65f99acf-7ceb-47d5-b464-d75b3af107b0"
(reference "R?") (unit 1) (value "R") (footprint "")
)
(path "/8609e239-0667-4eaf-9d2e-29d9daa82380/678710c5-ffbb-45ff-96e0-5e7544fcd184"
(reference "R?") (unit 1) (value "R") (footprint "")
)
(path "/8609e239-0667-4eaf-9d2e-29d9daa82380/7a07314c-a6e7-4fe4-8bc0-49c559f8b1ef"
(reference "R?") (unit 1) (value "R") (footprint "")
)
(path "/8609e239-0667-4eaf-9d2e-29d9daa82380/94c2b0cd-db77-4f1e-8be0-65a5614ef562"
(reference "R?") (unit 1) (value "R") (footprint "")
)
(path "/8609e239-0667-4eaf-9d2e-29d9daa82380/9ca50438-b701-4286-87e7-219ad2459ed2"
(reference "R?") (unit 1) (value "R") (footprint "")
)
(path "/8609e239-0667-4eaf-9d2e-29d9daa82380/bdf6f15c-ca9a-45bb-a22c-4cb8c078884b"
(reference "R?") (unit 1) (value "R") (footprint "")
)
(path "/8609e239-0667-4eaf-9d2e-29d9daa82380/c65cef64-6e9c-40a4-8871-95cf5355a986"
(reference "R?") (unit 1) (value "R") (footprint "")
)
(path "/8609e239-0667-4eaf-9d2e-29d9daa82380/cb207413-960a-43e1-a91f-4b6e21e7bf9d"
(reference "R?") (unit 1) (value "R") (footprint "")
)
(path "/8609e239-0667-4eaf-9d2e-29d9daa82380/f2f8487d-8167-4f09-97f7-137905f7ae0f"
(reference "R?") (unit 1) (value "R") (footprint "")
)
(path "/8609e239-0667-4eaf-9d2e-29d9daa82380/f51633be-98d3-4dc7-9064-b5b861dba355"
(reference "R?") (unit 1) (value "R") (footprint "")
)
(path "/8609e239-0667-4eaf-9d2e-29d9daa82380/f75db880-808a-437e-9a2a-b63b3ea4793a"
(reference "R?") (unit 1) (value "R") (footprint "")
)
(path "/8609e239-0667-4eaf-9d2e-29d9daa82380/5959ff96-939a-46ac-a632-c839c50bedd2"
(reference "U?") (unit 1) (value "BQ76925RGE") (footprint "Package_DFN_QFN:HVQFN-24-1EP_4x4mm_P0.5mm_EP2.5x2.5mm_ThermalVias")
)
(path "/8609e239-0667-4eaf-9d2e-29d9daa82380/ae823cca-016c-417b-a170-683f9451d7dc"
(reference "U?") (unit 1) (value "BQ76925RGE") (footprint "Package_DFN_QFN:HVQFN-24-1EP_4x4mm_P0.5mm_EP2.5x2.5mm_ThermalVias")
)
)
)

2270
battery_packs.kicad_sch Normal file

File diff suppressed because it is too large Load Diff

1
libraries Submodule

@ -0,0 +1 @@
Subproject commit 6887ca6f4ab80fa026c15a3881b77e0b798ab670

4
sym-lib-table Normal file
View File

@ -0,0 +1,4 @@
(sym_lib_table
(lib (name "MCU_NXP_LPC_Local")(type "KiCad")(uri "${KIPRJMOD}/libraries/Symbols/MCU_NXP_LPC_Local.kicad_sym")(options "")(descr ""))
(lib (name "Battery_Management_Local")(type "KiCad")(uri "${KIPRJMOD}/libraries/Symbols/Battery_Management_Local.kicad_sym")(options "")(descr ""))
)