diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md new file mode 100644 index 0000000..c100d17 --- /dev/null +++ b/.github/pull_request_template.md @@ -0,0 +1,26 @@ + + +## User Story or task linked to this change + + +## Description + + +## Types of changes + +- [ ] New feature (non-breaking change which adds functionality) +- [ ] Bug fix (non-breaking change which fixes an issue) +- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected) +- [ ] Test (changes that are introduced for testing purposes, such as a unit test or other) + +## How has this been tested? + + + + +## Checklist: + + +- [ ] My code follows the code style of this project. +- [ ] My change requires a change to the documentation. +- [ ] If necessary, I have updated the documentation accordingly. diff --git a/FixedWing.bak b/FixedWing.bak new file mode 100644 index 0000000..168672f --- /dev/null +++ b/FixedWing.bak @@ -0,0 +1,225 @@ +(kicad_symbol_lib (version 20220914) (generator kicad_symbol_editor) + (symbol "LTC6804-2" (in_bom yes) (on_board yes) + (property "Reference" "U" (at -10.16 34.29 0) + (effects (font (size 1.27 1.27)) (justify left)) + ) + (property "Value" "LTC6804-2" (at -16.51 -34.29 0) + (effects (font (size 1.27 1.27)) (justify left)) + ) + (property "Footprint" "Package_SO:SSOP-48_5.3x12.8mm_P0.5mm" (at 0 -36.83 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Datasheet" "https://www.analog.com/media/en/technical-documentation/data-sheets/680412fc.pdf" (at 13.97 34.29 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "ki_keywords" "battery balance afe" (at 0 0 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "ki_description" "Multicell Battery Stack Monitor, 12-cell max, multi-chemistry, integrated balancing, stackable, serial interface, SSOP-48" (at 0 0 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "ki_fp_filters" "SSOP*5.3x12.8mm*P0.5mm*" (at 0 0 0) + (effects (font (size 1.27 1.27)) hide) + ) + (symbol "LTC6804-2_0_1" + (rectangle (start 10.16 -33.02) (end -10.16 33.02) + (stroke (width 0.254) (type default)) + (fill (type background)) + ) + ) + (symbol "LTC6804-2_1_1" + (pin power_in line (at 0 35.56 270) (length 2.54) + (name "V+" (effects (font (size 1.27 1.27)))) + (number "1" (effects (font (size 1.27 1.27)))) + ) + (pin input line (at 12.7 10.16 180) (length 2.54) + (name "C8" (effects (font (size 1.27 1.27)))) + (number "10" (effects (font (size 1.27 1.27)))) + ) + (pin bidirectional line (at 12.7 7.62 180) (length 2.54) + (name "S8" (effects (font (size 1.27 1.27)))) + (number "11" (effects (font (size 1.27 1.27)))) + ) + (pin input line (at 12.7 5.08 180) (length 2.54) + (name "C7" (effects (font (size 1.27 1.27)))) + (number "12" (effects (font (size 1.27 1.27)))) + ) + (pin bidirectional line (at 12.7 2.54 180) (length 2.54) + (name "S7" (effects (font (size 1.27 1.27)))) + (number "13" (effects (font (size 1.27 1.27)))) + ) + (pin input line (at 12.7 0 180) (length 2.54) + (name "C6" (effects (font (size 1.27 1.27)))) + (number "14" (effects (font (size 1.27 1.27)))) + ) + (pin bidirectional line (at 12.7 -2.54 180) (length 2.54) + (name "S6" (effects (font (size 1.27 1.27)))) + (number "15" (effects (font (size 1.27 1.27)))) + ) + (pin input line (at 12.7 -5.08 180) (length 2.54) + (name "C5" (effects (font (size 1.27 1.27)))) + (number "16" (effects (font (size 1.27 1.27)))) + ) + (pin bidirectional line (at 12.7 -7.62 180) (length 2.54) + (name "S5" (effects (font (size 1.27 1.27)))) + (number "17" (effects (font (size 1.27 1.27)))) + ) + (pin input line (at 12.7 -10.16 180) (length 2.54) + (name "C4" (effects (font (size 1.27 1.27)))) + (number "18" (effects (font (size 1.27 1.27)))) + ) + (pin bidirectional line (at 12.7 -12.7 180) (length 2.54) + (name "S4" (effects (font (size 1.27 1.27)))) + (number "19" (effects (font (size 1.27 1.27)))) + ) + (pin input line (at 12.7 30.48 180) (length 2.54) + (name "C12" (effects (font (size 1.27 1.27)))) + (number "2" (effects (font (size 1.27 1.27)))) + ) + (pin input line (at 12.7 -15.24 180) (length 2.54) + (name "C3" (effects (font (size 1.27 1.27)))) + (number "20" (effects (font (size 1.27 1.27)))) + ) + (pin bidirectional line (at 12.7 -17.78 180) (length 2.54) + (name "S3" (effects (font (size 1.27 1.27)))) + (number "21" (effects (font (size 1.27 1.27)))) + ) + (pin input line (at 12.7 -20.32 180) (length 2.54) + (name "C2" (effects (font (size 1.27 1.27)))) + (number "22" (effects (font (size 1.27 1.27)))) + ) + (pin bidirectional line (at 12.7 -22.86 180) (length 2.54) + (name "S2" (effects (font (size 1.27 1.27)))) + (number "23" (effects (font (size 1.27 1.27)))) + ) + (pin input line (at 12.7 -25.4 180) (length 2.54) + (name "C1" (effects (font (size 1.27 1.27)))) + (number "24" (effects (font (size 1.27 1.27)))) + ) + (pin bidirectional line (at 12.7 -27.94 180) (length 2.54) + (name "S1" (effects (font (size 1.27 1.27)))) + (number "25" (effects (font (size 1.27 1.27)))) + ) + (pin input line (at 12.7 -30.48 180) (length 2.54) + (name "C0" (effects (font (size 1.27 1.27)))) + (number "26" (effects (font (size 1.27 1.27)))) + ) + (pin bidirectional line (at -12.7 -20.32 0) (length 2.54) + (name "GPIO1" (effects (font (size 1.27 1.27)))) + (number "27" (effects (font (size 1.27 1.27)))) + ) + (pin bidirectional line (at -12.7 -22.86 0) (length 2.54) + (name "GPIO2" (effects (font (size 1.27 1.27)))) + (number "28" (effects (font (size 1.27 1.27)))) + ) + (pin bidirectional line (at -12.7 -25.4 0) (length 2.54) + (name "GPIO3" (effects (font (size 1.27 1.27)))) + (number "29" (effects (font (size 1.27 1.27)))) + ) + (pin bidirectional line (at 12.7 27.94 180) (length 2.54) + (name "S12" (effects (font (size 1.27 1.27)))) + (number "3" (effects (font (size 1.27 1.27)))) + ) + (pin passive line (at 0 -35.56 90) (length 2.54) hide + (name "V-" (effects (font (size 1.27 1.27)))) + (number "30" (effects (font (size 1.27 1.27)))) + ) + (pin passive line (at 0 -35.56 90) (length 2.54) + (name "V-" (effects (font (size 1.27 1.27)))) + (number "31" (effects (font (size 1.27 1.27)))) + ) + (pin bidirectional line (at -12.7 -27.94 0) (length 2.54) + (name "GPIO4" (effects (font (size 1.27 1.27)))) + (number "32" (effects (font (size 1.27 1.27)))) + ) + (pin bidirectional line (at -12.7 -30.48 0) (length 2.54) + (name "GPIO5" (effects (font (size 1.27 1.27)))) + (number "33" (effects (font (size 1.27 1.27)))) + ) + (pin output line (at -12.7 10.16 0) (length 2.54) + (name "VREF2" (effects (font (size 1.27 1.27)))) + (number "34" (effects (font (size 1.27 1.27)))) + ) + (pin output line (at -12.7 15.24 0) (length 2.54) + (name "VREF1" (effects (font (size 1.27 1.27)))) + (number "35" (effects (font (size 1.27 1.27)))) + ) + (pin input line (at -12.7 22.86 0) (length 2.54) + (name "SWTEN" (effects (font (size 1.27 1.27)))) + (number "36" (effects (font (size 1.27 1.27)))) + ) + (pin input line (at -12.7 27.94 0) (length 2.54) + (name "VREG" (effects (font (size 1.27 1.27)))) + (number "37" (effects (font (size 1.27 1.27)))) + ) + (pin output line (at -12.7 30.48 0) (length 2.54) + (name "DRIVE" (effects (font (size 1.27 1.27)))) + (number "38" (effects (font (size 1.27 1.27)))) + ) + (pin output line (at -12.7 20.32 0) (length 2.54) + (name "WDT" (effects (font (size 1.27 1.27)))) + (number "39" (effects (font (size 1.27 1.27)))) + ) + (pin input line (at 12.7 25.4 180) (length 2.54) + (name "C11" (effects (font (size 1.27 1.27)))) + (number "4" (effects (font (size 1.27 1.27)))) + ) + (pin input line (at -12.7 25.4 0) (length 2.54) + (name "ISOMD" (effects (font (size 1.27 1.27)))) + (number "40" (effects (font (size 1.27 1.27)))) + ) + (pin bidirectional line (at -12.7 -7.62 0) (length 2.54) + (name "CSB(IMA)" (effects (font (size 1.27 1.27)))) + (number "41" (effects (font (size 1.27 1.27)))) + ) + (pin bidirectional line (at -12.7 -10.16 0) (length 2.54) + (name "SCK(IPA)" (effects (font (size 1.27 1.27)))) + (number "42" (effects (font (size 1.27 1.27)))) + ) + (pin input line (at -12.7 -12.7 0) (length 2.54) + (name "SDI(ICMP)" (effects (font (size 1.27 1.27)))) + (number "43" (effects (font (size 1.27 1.27)))) + ) + (pin open_collector line (at -12.7 -15.24 0) (length 2.54) + (name "SDO(IBIAS)" (effects (font (size 1.27 1.27)))) + (number "44" (effects (font (size 1.27 1.27)))) + ) + (pin passive line (at -12.7 5.08 0) (length 2.54) + (name "A0" (effects (font (size 1.27 1.27)))) + (number "45" (effects (font (size 1.27 1.27)))) + ) + (pin passive line (at -12.7 2.54 0) (length 2.54) + (name "A1" (effects (font (size 1.27 1.27)))) + (number "46" (effects (font (size 1.27 1.27)))) + ) + (pin bidirectional line (at -12.7 0 0) (length 2.54) + (name "A2" (effects (font (size 1.27 1.27)))) + (number "47" (effects (font (size 1.27 1.27)))) + ) + (pin bidirectional line (at -12.7 -2.54 0) (length 2.54) + (name "A3" (effects (font (size 1.27 1.27)))) + (number "48" (effects (font (size 1.27 1.27)))) + ) + (pin bidirectional line (at 12.7 22.86 180) (length 2.54) + (name "S11" (effects (font (size 1.27 1.27)))) + (number "5" (effects (font (size 1.27 1.27)))) + ) + (pin input line (at 12.7 20.32 180) (length 2.54) + (name "C10" (effects (font (size 1.27 1.27)))) + (number "6" (effects (font (size 1.27 1.27)))) + ) + (pin bidirectional line (at 12.7 17.78 180) (length 2.54) + (name "S10" (effects (font (size 1.27 1.27)))) + (number "7" (effects (font (size 1.27 1.27)))) + ) + (pin input line (at 12.7 15.24 180) (length 2.54) + (name "C9" (effects (font (size 1.27 1.27)))) + (number "8" (effects (font (size 1.27 1.27)))) + ) + (pin bidirectional line (at 12.7 12.7 180) (length 2.54) + (name "S9" (effects (font (size 1.27 1.27)))) + (number "9" (effects (font (size 1.27 1.27)))) + ) + ) + ) +) diff --git a/FixedWing.kicad_sym b/FixedWing.kicad_sym new file mode 100644 index 0000000..168672f --- /dev/null +++ b/FixedWing.kicad_sym @@ -0,0 +1,225 @@ +(kicad_symbol_lib (version 20220914) (generator kicad_symbol_editor) + (symbol "LTC6804-2" (in_bom yes) (on_board yes) + (property "Reference" "U" (at -10.16 34.29 0) + (effects (font (size 1.27 1.27)) (justify left)) + ) + (property "Value" "LTC6804-2" (at -16.51 -34.29 0) + (effects (font (size 1.27 1.27)) (justify left)) + ) + (property "Footprint" "Package_SO:SSOP-48_5.3x12.8mm_P0.5mm" (at 0 -36.83 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Datasheet" "https://www.analog.com/media/en/technical-documentation/data-sheets/680412fc.pdf" (at 13.97 34.29 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "ki_keywords" "battery balance afe" (at 0 0 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "ki_description" "Multicell Battery Stack Monitor, 12-cell max, multi-chemistry, integrated balancing, stackable, serial interface, SSOP-48" (at 0 0 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "ki_fp_filters" "SSOP*5.3x12.8mm*P0.5mm*" (at 0 0 0) + (effects (font (size 1.27 1.27)) hide) + ) + (symbol "LTC6804-2_0_1" + (rectangle (start 10.16 -33.02) (end -10.16 33.02) + (stroke (width 0.254) (type default)) + (fill (type background)) + ) + ) + (symbol "LTC6804-2_1_1" + (pin power_in line (at 0 35.56 270) (length 2.54) + (name "V+" (effects (font (size 1.27 1.27)))) + (number "1" (effects (font (size 1.27 1.27)))) + ) + (pin input line (at 12.7 10.16 180) (length 2.54) + (name "C8" (effects (font (size 1.27 1.27)))) + (number "10" (effects (font (size 1.27 1.27)))) + ) + (pin bidirectional line (at 12.7 7.62 180) (length 2.54) + (name "S8" (effects (font (size 1.27 1.27)))) + (number "11" (effects (font (size 1.27 1.27)))) + ) + (pin input line (at 12.7 5.08 180) (length 2.54) + (name "C7" (effects (font (size 1.27 1.27)))) + (number "12" (effects (font (size 1.27 1.27)))) + ) + (pin bidirectional line (at 12.7 2.54 180) (length 2.54) + (name "S7" (effects (font (size 1.27 1.27)))) + (number "13" (effects (font (size 1.27 1.27)))) + ) + (pin input line (at 12.7 0 180) (length 2.54) + (name "C6" (effects (font (size 1.27 1.27)))) + (number "14" (effects (font (size 1.27 1.27)))) + ) + (pin bidirectional line (at 12.7 -2.54 180) (length 2.54) + (name "S6" (effects (font (size 1.27 1.27)))) + (number "15" (effects (font (size 1.27 1.27)))) + ) + (pin input line (at 12.7 -5.08 180) (length 2.54) + (name "C5" (effects (font (size 1.27 1.27)))) + (number "16" (effects (font (size 1.27 1.27)))) + ) + (pin bidirectional line (at 12.7 -7.62 180) (length 2.54) + (name "S5" (effects (font (size 1.27 1.27)))) + (number "17" (effects (font (size 1.27 1.27)))) + ) + (pin input line (at 12.7 -10.16 180) (length 2.54) + (name "C4" (effects (font (size 1.27 1.27)))) + (number "18" (effects (font (size 1.27 1.27)))) + ) + (pin bidirectional line (at 12.7 -12.7 180) (length 2.54) + (name "S4" (effects (font (size 1.27 1.27)))) + (number "19" (effects (font (size 1.27 1.27)))) + ) + (pin input line (at 12.7 30.48 180) (length 2.54) + (name "C12" (effects (font (size 1.27 1.27)))) + (number "2" (effects (font (size 1.27 1.27)))) + ) + (pin input line (at 12.7 -15.24 180) (length 2.54) + (name "C3" (effects (font (size 1.27 1.27)))) + (number "20" (effects (font (size 1.27 1.27)))) + ) + (pin bidirectional line (at 12.7 -17.78 180) (length 2.54) + (name "S3" (effects (font (size 1.27 1.27)))) + (number "21" (effects (font (size 1.27 1.27)))) + ) + (pin input line (at 12.7 -20.32 180) (length 2.54) + (name "C2" (effects (font (size 1.27 1.27)))) + (number "22" (effects (font (size 1.27 1.27)))) + ) + (pin bidirectional line (at 12.7 -22.86 180) (length 2.54) + (name "S2" (effects (font (size 1.27 1.27)))) + (number "23" (effects (font (size 1.27 1.27)))) + ) + (pin input line (at 12.7 -25.4 180) (length 2.54) + (name "C1" (effects (font (size 1.27 1.27)))) + (number "24" (effects (font (size 1.27 1.27)))) + ) + (pin bidirectional line (at 12.7 -27.94 180) (length 2.54) + (name "S1" (effects (font (size 1.27 1.27)))) + (number "25" (effects (font (size 1.27 1.27)))) + ) + (pin input line (at 12.7 -30.48 180) (length 2.54) + (name "C0" (effects (font (size 1.27 1.27)))) + (number "26" (effects (font (size 1.27 1.27)))) + ) + (pin bidirectional line (at -12.7 -20.32 0) (length 2.54) + (name "GPIO1" (effects (font (size 1.27 1.27)))) + (number "27" (effects (font (size 1.27 1.27)))) + ) + (pin bidirectional line (at -12.7 -22.86 0) (length 2.54) + (name "GPIO2" (effects (font (size 1.27 1.27)))) + (number "28" (effects (font (size 1.27 1.27)))) + ) + (pin bidirectional line (at -12.7 -25.4 0) (length 2.54) + (name "GPIO3" (effects (font (size 1.27 1.27)))) + (number "29" (effects (font (size 1.27 1.27)))) + ) + (pin bidirectional line (at 12.7 27.94 180) (length 2.54) + (name "S12" (effects (font (size 1.27 1.27)))) + (number "3" (effects (font (size 1.27 1.27)))) + ) + (pin passive line (at 0 -35.56 90) (length 2.54) hide + (name "V-" (effects (font (size 1.27 1.27)))) + (number "30" (effects (font (size 1.27 1.27)))) + ) + (pin passive line (at 0 -35.56 90) (length 2.54) + (name "V-" (effects (font (size 1.27 1.27)))) + (number "31" (effects (font (size 1.27 1.27)))) + ) + (pin bidirectional line (at -12.7 -27.94 0) (length 2.54) + (name "GPIO4" (effects (font (size 1.27 1.27)))) + (number "32" (effects (font (size 1.27 1.27)))) + ) + (pin bidirectional line (at -12.7 -30.48 0) (length 2.54) + (name "GPIO5" (effects (font (size 1.27 1.27)))) + (number "33" (effects (font (size 1.27 1.27)))) + ) + (pin output line (at -12.7 10.16 0) (length 2.54) + (name "VREF2" (effects (font (size 1.27 1.27)))) + (number "34" (effects (font (size 1.27 1.27)))) + ) + (pin output line (at -12.7 15.24 0) (length 2.54) + (name "VREF1" (effects (font (size 1.27 1.27)))) + (number "35" (effects (font (size 1.27 1.27)))) + ) + (pin input line (at -12.7 22.86 0) (length 2.54) + (name "SWTEN" (effects (font (size 1.27 1.27)))) + (number "36" (effects (font (size 1.27 1.27)))) + ) + (pin input line (at -12.7 27.94 0) (length 2.54) + (name "VREG" (effects (font (size 1.27 1.27)))) + (number "37" (effects (font (size 1.27 1.27)))) + ) + (pin output line (at -12.7 30.48 0) (length 2.54) + (name "DRIVE" (effects (font (size 1.27 1.27)))) + (number "38" (effects (font (size 1.27 1.27)))) + ) + (pin output line (at -12.7 20.32 0) (length 2.54) + (name "WDT" (effects (font (size 1.27 1.27)))) + (number "39" (effects (font (size 1.27 1.27)))) + ) + (pin input line (at 12.7 25.4 180) (length 2.54) + (name "C11" (effects (font (size 1.27 1.27)))) + (number "4" (effects (font (size 1.27 1.27)))) + ) + (pin input line (at -12.7 25.4 0) (length 2.54) + (name "ISOMD" (effects (font (size 1.27 1.27)))) + (number "40" (effects (font (size 1.27 1.27)))) + ) + (pin bidirectional line (at -12.7 -7.62 0) (length 2.54) + (name "CSB(IMA)" (effects (font (size 1.27 1.27)))) + (number "41" (effects (font (size 1.27 1.27)))) + ) + (pin bidirectional line (at -12.7 -10.16 0) (length 2.54) + (name "SCK(IPA)" (effects (font (size 1.27 1.27)))) + (number "42" (effects (font (size 1.27 1.27)))) + ) + (pin input line (at -12.7 -12.7 0) (length 2.54) + (name "SDI(ICMP)" (effects (font (size 1.27 1.27)))) + (number "43" (effects (font (size 1.27 1.27)))) + ) + (pin open_collector line (at -12.7 -15.24 0) (length 2.54) + (name "SDO(IBIAS)" (effects (font (size 1.27 1.27)))) + (number "44" (effects (font (size 1.27 1.27)))) + ) + (pin passive line (at -12.7 5.08 0) (length 2.54) + (name "A0" (effects (font (size 1.27 1.27)))) + (number "45" (effects (font (size 1.27 1.27)))) + ) + (pin passive line (at -12.7 2.54 0) (length 2.54) + (name "A1" (effects (font (size 1.27 1.27)))) + (number "46" (effects (font (size 1.27 1.27)))) + ) + (pin bidirectional line (at -12.7 0 0) (length 2.54) + (name "A2" (effects (font (size 1.27 1.27)))) + (number "47" (effects (font (size 1.27 1.27)))) + ) + (pin bidirectional line (at -12.7 -2.54 0) (length 2.54) + (name "A3" (effects (font (size 1.27 1.27)))) + (number "48" (effects (font (size 1.27 1.27)))) + ) + (pin bidirectional line (at 12.7 22.86 180) (length 2.54) + (name "S11" (effects (font (size 1.27 1.27)))) + (number "5" (effects (font (size 1.27 1.27)))) + ) + (pin input line (at 12.7 20.32 180) (length 2.54) + (name "C10" (effects (font (size 1.27 1.27)))) + (number "6" (effects (font (size 1.27 1.27)))) + ) + (pin bidirectional line (at 12.7 17.78 180) (length 2.54) + (name "S10" (effects (font (size 1.27 1.27)))) + (number "7" (effects (font (size 1.27 1.27)))) + ) + (pin input line (at 12.7 15.24 180) (length 2.54) + (name "C9" (effects (font (size 1.27 1.27)))) + (number "8" (effects (font (size 1.27 1.27)))) + ) + (pin bidirectional line (at 12.7 12.7 180) (length 2.54) + (name "S9" (effects (font (size 1.27 1.27)))) + (number "9" (effects (font (size 1.27 1.27)))) + ) + ) + ) +) diff --git a/bin/setup.sh b/bin/setup.sh new file mode 100755 index 0000000..b3d8ba9 --- /dev/null +++ b/bin/setup.sh @@ -0,0 +1,10 @@ +#!/usr/bin/env bash + +# download develop branch from remote repository +git checkout develop + +# initialize git flow +git flow init -d + +# override stuff or whatever +git config gitflow.prefix.feature "" \ No newline at end of file diff --git a/bms-board-backups/bms-board-2024-02-20_185802.zip b/bms-board-backups/bms-board-2024-02-20_185802.zip new file mode 100644 index 0000000..1d557ae Binary files /dev/null and b/bms-board-backups/bms-board-2024-02-20_185802.zip differ diff --git a/bms-board-backups/bms-board-2024-02-20_191228.zip b/bms-board-backups/bms-board-2024-02-20_191228.zip new file mode 100644 index 0000000..8fedb32 Binary files /dev/null and b/bms-board-backups/bms-board-2024-02-20_191228.zip differ diff --git a/bms-board-backups/bms-board-2024-02-20_192123.zip b/bms-board-backups/bms-board-2024-02-20_192123.zip new file mode 100644 index 0000000..f438568 Binary files /dev/null and b/bms-board-backups/bms-board-2024-02-20_192123.zip differ diff --git a/bms-board-backups/bms-board-2024-02-22_010727.zip b/bms-board-backups/bms-board-2024-02-22_010727.zip new file mode 100644 index 0000000..70ee3da Binary files /dev/null and b/bms-board-backups/bms-board-2024-02-22_010727.zip differ diff --git a/bms-board-backups/bms-board-2024-02-22_184047.zip b/bms-board-backups/bms-board-2024-02-22_184047.zip new file mode 100644 index 0000000..d2e0460 Binary files /dev/null and b/bms-board-backups/bms-board-2024-02-22_184047.zip differ diff --git a/bms-board.kicad_sch b/bms-board.kicad_sch index b77f17e..ac0e3e8 100644 --- a/bms-board.kicad_sch +++ b/bms-board.kicad_sch @@ -5,7 +5,230 @@ (paper "A4") (lib_symbols - (symbol "Battery_Management:LTC6804-2" (in_bom yes) (on_board yes) + (symbol "LTC6804-2_1" (in_bom yes) (on_board yes) + (property "Reference" "U" (at -10.16 34.29 0) + (effects (font (size 1.27 1.27)) (justify left)) + ) + (property "Value" "LTC6804-2" (at -16.51 -34.29 0) + (effects (font (size 1.27 1.27)) (justify left)) + ) + (property "Footprint" "Package_SO:SSOP-48_5.3x12.8mm_P0.5mm" (at 0 -36.83 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Datasheet" "https://www.analog.com/media/en/technical-documentation/data-sheets/680412fc.pdf" (at 13.97 34.29 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "ki_keywords" "battery balance afe" (at 0 0 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "ki_description" "Multicell Battery Stack Monitor, 12-cell max, multi-chemistry, integrated balancing, stackable, serial interface, SSOP-48" (at 0 0 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "ki_fp_filters" "SSOP*5.3x12.8mm*P0.5mm*" (at 0 0 0) + (effects (font (size 1.27 1.27)) hide) + ) + (symbol "LTC6804-2_1_0_1" + (rectangle (start 10.16 -33.02) (end -10.16 33.02) + (stroke (width 0.254) (type default)) + (fill (type background)) + ) + ) + (symbol "LTC6804-2_1_1_1" + (pin power_in line (at 0 35.56 270) (length 2.54) + (name "V+" (effects (font (size 1.27 1.27)))) + (number "1" (effects (font (size 1.27 1.27)))) + ) + (pin input line (at 12.7 10.16 180) (length 2.54) + (name "C8" (effects (font (size 1.27 1.27)))) + (number "10" (effects (font (size 1.27 1.27)))) + ) + (pin bidirectional line (at 12.7 7.62 180) (length 2.54) + (name "S8" (effects (font (size 1.27 1.27)))) + (number "11" (effects (font (size 1.27 1.27)))) + ) + (pin input line (at 12.7 5.08 180) (length 2.54) + (name "C7" (effects (font (size 1.27 1.27)))) + (number "12" (effects (font (size 1.27 1.27)))) + ) + (pin bidirectional line (at 12.7 2.54 180) (length 2.54) + (name "S7" (effects (font (size 1.27 1.27)))) + (number "13" (effects (font (size 1.27 1.27)))) + ) + (pin input line (at 12.7 0 180) (length 2.54) + (name "C6" (effects (font (size 1.27 1.27)))) + (number "14" (effects (font (size 1.27 1.27)))) + ) + (pin bidirectional line (at 12.7 -2.54 180) (length 2.54) + (name "S6" (effects (font (size 1.27 1.27)))) + (number "15" (effects (font (size 1.27 1.27)))) + ) + (pin input line (at 12.7 -5.08 180) (length 2.54) + (name "C5" (effects (font (size 1.27 1.27)))) + (number "16" (effects (font (size 1.27 1.27)))) + ) + (pin bidirectional line (at 12.7 -7.62 180) (length 2.54) + (name "S5" (effects (font (size 1.27 1.27)))) + (number "17" (effects (font (size 1.27 1.27)))) + ) + (pin input line (at 12.7 -10.16 180) (length 2.54) + (name "C4" (effects (font (size 1.27 1.27)))) + (number "18" (effects (font (size 1.27 1.27)))) + ) + (pin bidirectional line (at 12.7 -12.7 180) (length 2.54) + (name "S4" (effects (font (size 1.27 1.27)))) + (number "19" (effects (font (size 1.27 1.27)))) + ) + (pin input line (at 12.7 30.48 180) (length 2.54) + (name "C12" (effects (font (size 1.27 1.27)))) + (number "2" (effects (font (size 1.27 1.27)))) + ) + (pin input line (at 12.7 -15.24 180) (length 2.54) + (name "C3" (effects (font (size 1.27 1.27)))) + (number "20" (effects (font (size 1.27 1.27)))) + ) + (pin bidirectional line (at 12.7 -17.78 180) (length 2.54) + (name "S3" (effects (font (size 1.27 1.27)))) + (number "21" (effects (font (size 1.27 1.27)))) + ) + (pin input line (at 12.7 -20.32 180) (length 2.54) + (name "C2" (effects (font (size 1.27 1.27)))) + (number "22" (effects (font (size 1.27 1.27)))) + ) + (pin bidirectional line (at 12.7 -22.86 180) (length 2.54) + (name "S2" (effects (font (size 1.27 1.27)))) + (number "23" (effects (font (size 1.27 1.27)))) + ) + (pin input line (at 12.7 -25.4 180) (length 2.54) + (name "C1" (effects (font (size 1.27 1.27)))) + (number "24" (effects (font (size 1.27 1.27)))) + ) + (pin bidirectional line (at 12.7 -27.94 180) (length 2.54) + (name "S1" (effects (font (size 1.27 1.27)))) + (number "25" (effects (font (size 1.27 1.27)))) + ) + (pin input line (at 12.7 -30.48 180) (length 2.54) + (name "C0" (effects (font (size 1.27 1.27)))) + (number "26" (effects (font (size 1.27 1.27)))) + ) + (pin bidirectional line (at -12.7 -20.32 0) (length 2.54) + (name "GPIO1" (effects (font (size 1.27 1.27)))) + (number "27" (effects (font (size 1.27 1.27)))) + ) + (pin bidirectional line (at -12.7 -22.86 0) (length 2.54) + (name "GPIO2" (effects (font (size 1.27 1.27)))) + (number "28" (effects (font (size 1.27 1.27)))) + ) + (pin bidirectional line (at -12.7 -25.4 0) (length 2.54) + (name "GPIO3" (effects (font (size 1.27 1.27)))) + (number "29" (effects (font (size 1.27 1.27)))) + ) + (pin bidirectional line (at 12.7 27.94 180) (length 2.54) + (name "S12" (effects (font (size 1.27 1.27)))) + (number "3" (effects (font (size 1.27 1.27)))) + ) + (pin passive line (at 0 -35.56 90) (length 2.54) hide + (name "V-" (effects (font (size 1.27 1.27)))) + (number "30" (effects (font (size 1.27 1.27)))) + ) + (pin passive line (at 0 -35.56 90) (length 2.54) + (name "V-" (effects (font (size 1.27 1.27)))) + (number "31" (effects (font (size 1.27 1.27)))) + ) + (pin bidirectional line (at -12.7 -27.94 0) (length 2.54) + (name "GPIO4" (effects (font (size 1.27 1.27)))) + (number "32" (effects (font (size 1.27 1.27)))) + ) + (pin bidirectional line (at -12.7 -30.48 0) (length 2.54) + (name "GPIO5" (effects (font (size 1.27 1.27)))) + (number "33" (effects (font (size 1.27 1.27)))) + ) + (pin output line (at -12.7 10.16 0) (length 2.54) + (name "VREF2" (effects (font (size 1.27 1.27)))) + (number "34" (effects (font (size 1.27 1.27)))) + ) + (pin output line (at -12.7 15.24 0) (length 2.54) + (name "VREF1" (effects (font (size 1.27 1.27)))) + (number "35" (effects (font (size 1.27 1.27)))) + ) + (pin input line (at -12.7 22.86 0) (length 2.54) + (name "SWTEN" (effects (font (size 1.27 1.27)))) + (number "36" (effects (font (size 1.27 1.27)))) + ) + (pin input line (at -12.7 27.94 0) (length 2.54) + (name "VREG" (effects (font (size 1.27 1.27)))) + (number "37" (effects (font (size 1.27 1.27)))) + ) + (pin output line (at -12.7 30.48 0) (length 2.54) + (name "DRIVE" (effects (font (size 1.27 1.27)))) + (number "38" (effects (font (size 1.27 1.27)))) + ) + (pin output line (at -12.7 20.32 0) (length 2.54) + (name "WDT" (effects (font (size 1.27 1.27)))) + (number "39" (effects (font (size 1.27 1.27)))) + ) + (pin input line (at 12.7 25.4 180) (length 2.54) + (name "C11" (effects (font (size 1.27 1.27)))) + (number "4" (effects (font (size 1.27 1.27)))) + ) + (pin input line (at -12.7 25.4 0) (length 2.54) + (name "ISOMD" (effects (font (size 1.27 1.27)))) + (number "40" (effects (font (size 1.27 1.27)))) + ) + (pin bidirectional line (at -12.7 -7.62 0) (length 2.54) + (name "CSB(IMA)" (effects (font (size 1.27 1.27)))) + (number "41" (effects (font (size 1.27 1.27)))) + ) + (pin bidirectional line (at -12.7 -10.16 0) (length 2.54) + (name "SCK(IPA)" (effects (font (size 1.27 1.27)))) + (number "42" (effects (font (size 1.27 1.27)))) + ) + (pin input line (at -12.7 -12.7 0) (length 2.54) + (name "SDI(ICMP)" (effects (font (size 1.27 1.27)))) + (number "43" (effects (font (size 1.27 1.27)))) + ) + (pin open_collector line (at -12.7 -15.24 0) (length 2.54) + (name "SDO(IBIAS)" (effects (font (size 1.27 1.27)))) + (number "44" (effects (font (size 1.27 1.27)))) + ) + (pin passive line (at -12.7 5.08 0) (length 2.54) + (name "A0" (effects (font (size 1.27 1.27)))) + (number "45" (effects (font (size 1.27 1.27)))) + ) + (pin passive line (at -12.7 2.54 0) (length 2.54) + (name "A1" (effects (font (size 1.27 1.27)))) + (number "46" (effects (font (size 1.27 1.27)))) + ) + (pin bidirectional line (at -12.7 0 0) (length 2.54) + (name "A2" (effects (font (size 1.27 1.27)))) + (number "47" (effects (font (size 1.27 1.27)))) + ) + (pin bidirectional line (at -12.7 -2.54 0) (length 2.54) + (name "A3" (effects (font (size 1.27 1.27)))) + (number "48" (effects (font (size 1.27 1.27)))) + ) + (pin bidirectional line (at 12.7 22.86 180) (length 2.54) + (name "S11" (effects (font (size 1.27 1.27)))) + (number "5" (effects (font (size 1.27 1.27)))) + ) + (pin input line (at 12.7 20.32 180) (length 2.54) + (name "C10" (effects (font (size 1.27 1.27)))) + (number "6" (effects (font (size 1.27 1.27)))) + ) + (pin bidirectional line (at 12.7 17.78 180) (length 2.54) + (name "S10" (effects (font (size 1.27 1.27)))) + (number "7" (effects (font (size 1.27 1.27)))) + ) + (pin input line (at 12.7 15.24 180) (length 2.54) + (name "C9" (effects (font (size 1.27 1.27)))) + (number "8" (effects (font (size 1.27 1.27)))) + ) + (pin bidirectional line (at 12.7 12.7 180) (length 2.54) + (name "S9" (effects (font (size 1.27 1.27)))) + (number "9" (effects (font (size 1.27 1.27)))) + ) + ) + ) + (symbol "FixedWing:LTC6804-2" (in_bom yes) (on_board yes) (property "Reference" "U" (at -10.16 34.29 0) (effects (font (size 1.27 1.27)) (justify left)) ) @@ -231,73 +454,73 @@ ) - (symbol (lib_id "Battery_Management:LTC6804-2") (at 148.59 92.71 0) (unit 1) + (symbol (lib_name "LTC6804-2_1") (lib_id "FixedWing:LTC6804-2") (at 133.35 96.52 0) (unit 1) (in_bom yes) (on_board yes) (dnp no) (fields_autoplaced) - (uuid e24e6122-3c71-427a-ad30-b1e877ad26b5) - (property "Reference" "U1" (at 148.59 54.61 0) - (effects (font (size 1.27 1.27))) + (uuid 6257595b-078e-4089-836d-4602cc27cf25) + (property "Reference" "U3" (at 135.5441 58.42 0) + (effects (font (size 1.27 1.27)) (justify left)) ) - (property "Value" "LTC6804-2" (at 148.59 57.15 0) - (effects (font (size 1.27 1.27))) + (property "Value" "LTC6804-2" (at 135.5441 60.96 0) + (effects (font (size 1.27 1.27)) (justify left)) ) - (property "Footprint" "Package_SO:SSOP-48_5.3x12.8mm_P0.5mm" (at 148.59 130.81 0) + (property "Footprint" "Package_SO:SSOP-48_5.3x12.8mm_P0.5mm" (at 133.35 133.35 0) (effects (font (size 1.27 1.27)) hide) ) - (property "Datasheet" "https://www.analog.com/media/en/technical-documentation/data-sheets/680412fc.pdf" (at 151.13 55.88 0) + (property "Datasheet" "https://www.analog.com/media/en/technical-documentation/data-sheets/680412fc.pdf" (at 147.32 62.23 0) (effects (font (size 1.27 1.27)) hide) ) - (pin "19" (uuid f6276571-ab6c-43d9-a45a-50a06ee77921)) - (pin "20" (uuid bd334b6d-9b91-4e46-81fd-7f59e17dd183)) - (pin "17" (uuid 7616c5d3-2db0-4b58-89b2-6161f428ddd5)) - (pin "21" (uuid 672a2ab6-a758-4cda-8f2d-5143c1e66241)) - (pin "39" (uuid b63176d3-cbad-4325-b971-4181029f6620)) - (pin "40" (uuid 110d45ea-7aa5-479e-b76a-e44b1a446d7c)) - (pin "16" (uuid 382f043c-b583-4686-99f2-d707a1e1e570)) - (pin "15" (uuid 96692421-158b-4414-bb61-d73a353497f0)) - (pin "22" (uuid ccf52e1e-15bb-4fab-9518-35452d3bd232)) - (pin "12" (uuid c14e5914-8bc3-4e7f-b502-7e4bc986423e)) - (pin "44" (uuid 1acd0ee3-7c6a-419c-a736-4b282e92ce20)) - (pin "45" (uuid 6ce0f46d-66f8-45b2-abbd-3d07ec4680e4)) - (pin "46" (uuid 66acb11f-efda-4b0f-abf7-5b4f446c4b5b)) - (pin "47" (uuid 92ac878c-f18f-4660-a320-8b08ad38fc01)) - (pin "48" (uuid 8b662025-3236-4c35-8b70-e6a46207923f)) - (pin "23" (uuid 899756c1-ac4f-46da-978b-ec8d50f177f7)) - (pin "4" (uuid d365a3b2-4cd3-4bd9-9015-42fbbab770b5)) - (pin "11" (uuid 7ab5d0fe-6d34-4d92-bc1d-9ecd1dfe98c0)) - (pin "10" (uuid e7cbd4b8-0d47-42dc-9d24-f31b47c5b356)) - (pin "5" (uuid 2ff98cb0-ebe4-4e0a-8925-7233e07cae59)) - (pin "6" (uuid 20665d5e-6907-4212-8c8c-9555ad117a77)) - (pin "7" (uuid 8cd28762-0b23-456e-b103-a7f13ba9b2ba)) - (pin "8" (uuid 9d57bd07-286a-4acc-b37d-f84302b6134d)) - (pin "9" (uuid 1861f1ba-7c0e-448e-a112-52061bd0fb47)) - (pin "1" (uuid 89e5459e-436a-4b0b-a2b4-eb35188c5cb5)) - (pin "24" (uuid 2841f054-a4f9-4164-9680-96f55f069ad2)) - (pin "25" (uuid 7a38afc7-17f4-449b-b365-ff9dd748f4dd)) - (pin "26" (uuid 5dd8ccdb-e881-449a-ac27-11582515cb34)) - (pin "27" (uuid 4dfd7221-9799-4b75-8b7c-a397230a307f)) - (pin "28" (uuid 394c6a69-4de4-4d65-a195-9ef5ef6b7d3c)) - (pin "29" (uuid 342c8ae9-c561-4865-8e8f-78c5d38abe02)) - (pin "3" (uuid 4c139c3c-3569-4cd7-8b1c-ff80d395ee0a)) - (pin "30" (uuid 19205227-71f3-4342-8840-d751a85b36d8)) - (pin "31" (uuid f6e20155-e8bd-4390-8303-d9a10e3aaa1f)) - (pin "32" (uuid fe69a1ca-bb69-4247-9968-d862a3b71432)) - (pin "33" (uuid 939a556f-38a1-40b4-8d39-b573689aa5c7)) - (pin "34" (uuid 0e8160fd-8af3-439c-b576-16218bf0610c)) - (pin "35" (uuid c032500a-3ab3-45e3-9bac-189ac80ec9ef)) - (pin "36" (uuid d7e2851a-09af-4c1d-b0f9-a4880778da2f)) - (pin "37" (uuid 1b508344-db46-4e69-babb-44b00e44da5f)) - (pin "38" (uuid a85fdcfe-68db-4d32-8c61-99578e529924)) - (pin "13" (uuid 70505751-ab25-425f-bba9-576b6da22f77)) - (pin "18" (uuid bdbe8e0c-733d-4ad6-ba58-30fa2e5cb81d)) - (pin "2" (uuid 0593d1de-d5b4-4675-b16c-35b38a1cc1e2)) - (pin "14" (uuid ddebaf18-5700-4327-a305-3c472cbf1a29)) - (pin "41" (uuid 7ff2c7f6-e987-4348-b97f-6ae7e6c8acaa)) - (pin "42" (uuid 0c4b8b55-6761-4c2b-b96a-d00cbc4d9c90)) - (pin "43" (uuid d485dbad-d9a6-4b72-acbb-0d8d050981cc)) + (pin "37" (uuid 4aee1dd4-3283-4767-9306-3f5bdca63910)) + (pin "2" (uuid 49de789c-b47e-47e0-8a28-e0592d774447)) + (pin "39" (uuid c7446c1b-9250-4620-b456-4e4abbaa51a0)) + (pin "32" (uuid afb18212-8495-405a-a27f-20d6d71a7ac8)) + (pin "36" (uuid 337ac7d0-824b-4b17-a2f2-4b69d11a72a2)) + (pin "4" (uuid 9d75a6c9-689b-4d27-aeb2-3a524900beac)) + (pin "41" (uuid 81c9bc9d-4b58-4fa2-a80f-c70eaef4ccb8)) + (pin "11" (uuid ce704b66-c93a-4fea-96dc-c78e5328e1c3)) + (pin "20" (uuid d6de0f30-2211-4cb6-a9e9-a9ec8b026e2c)) + (pin "12" (uuid 2b9da3ab-3000-42af-9e6f-f62138acffb2)) + (pin "21" (uuid cd9289ba-d3a3-4822-9227-f17d5319f02d)) + (pin "30" (uuid 62300b50-1c1a-43b0-929e-ce8a7181df47)) + (pin "33" (uuid 643ba65f-a5d7-495e-9340-0a35071bc5a7)) + (pin "16" (uuid b4f9b248-642b-447c-88d6-3a42c3dd123f)) + (pin "19" (uuid 5cd6273c-2153-4d34-90bd-a5dacfd5c38b)) + (pin "34" (uuid b134d9fd-da7e-49cb-ad6a-17c60dd22b87)) + (pin "40" (uuid 650e4315-58b4-4531-b403-db05b7495ec5)) + (pin "1" (uuid 30ff1897-ccb0-433a-b870-2caccf9ff365)) + (pin "13" (uuid 78c9ec3e-97f3-4cea-8a8e-0b12c60468c8)) + (pin "17" (uuid 87e13268-e9dd-4a41-98bb-a14bef1f67bb)) + (pin "10" (uuid 5300946c-f063-4837-a843-8226c75716a3)) + (pin "18" (uuid 77f8c935-e8ac-42b2-bfb3-52c36da217db)) + (pin "22" (uuid eb75b36b-abd5-46f5-a06f-871dc4dd799b)) + (pin "26" (uuid 4da65bf9-7b9f-478d-a574-417c8ab9a203)) + (pin "23" (uuid 0be2cdf6-9e4f-4828-b7e8-8d9e7148fcef)) + (pin "24" (uuid 08e31257-68e5-4fe8-a8dc-8b249ccf9d44)) + (pin "28" (uuid 9cea9ea0-04d3-4ad5-8181-25ef7891083e)) + (pin "15" (uuid 2731480e-a091-44fc-a7fc-b16c32f52f0b)) + (pin "14" (uuid b70382be-8695-4282-95c6-9d1731163b84)) + (pin "27" (uuid ed7e3fd3-60d7-4f04-8cbb-4315ba21c06f)) + (pin "25" (uuid 50fc589b-d8e9-4032-8835-774ca4326d32)) + (pin "29" (uuid 67446e8f-b87b-4f09-85ec-4188a9ec0838)) + (pin "3" (uuid 1b3b567c-1378-47cc-8b17-c4b878ea47d0)) + (pin "35" (uuid a772283d-73fe-4b79-8c20-a84d5c94d5d6)) + (pin "31" (uuid b763c556-1c4c-440e-8ca1-a4121d093a7b)) + (pin "38" (uuid 5ae2fe29-33f9-4e9f-8b24-c8c638c00e5c)) + (pin "5" (uuid f6b12514-0b66-43f5-81a6-38ce86efb015)) + (pin "42" (uuid 82646b6b-0eba-4d48-a42c-175c178f28db)) + (pin "43" (uuid 9d74fb37-79d1-4788-b714-b5e283f49e88)) + (pin "48" (uuid 11ee1234-5530-4687-8abd-90e1795f9ebf)) + (pin "6" (uuid 7356c1bf-6731-4ec7-a10e-56f151269172)) + (pin "7" (uuid bda69776-d3ea-4b0e-a5de-e2ffbe98f17c)) + (pin "45" (uuid 6ffb3f86-6a87-42d3-aa0c-17f58cfe2c2d)) + (pin "8" (uuid 9769dacd-342c-4f8a-97fa-f23fb1a10855)) + (pin "9" (uuid c2fe0cf2-5a7b-4ccc-a649-4c583c6cfc02)) + (pin "46" (uuid f6908074-3ce6-4df0-9458-98029457278e)) + (pin "47" (uuid 0eead821-ddbd-46b8-ad48-7225a58f26be)) + (pin "44" (uuid c325e092-6abc-4a45-91fc-9bf07b711253)) (instances (project "bms-board" (path "/8a7831d1-a913-4f04-8780-225d2234b41d" - (reference "U1") (unit 1) + (reference "U3") (unit 1) ) ) ) diff --git a/sym-lib-table b/sym-lib-table new file mode 100644 index 0000000..9135d41 --- /dev/null +++ b/sym-lib-table @@ -0,0 +1,4 @@ +(sym_lib_table + (version 7) + (lib (name "FixedWing")(type "KiCad")(uri "${KIPRJMOD}/FixedWing.kicad_sym")(options "")(descr "")) +) diff --git a/~bms-board.kicad_sch.lck b/~bms-board.kicad_sch.lck deleted file mode 100644 index 6495583..0000000 --- a/~bms-board.kicad_sch.lck +++ /dev/null @@ -1 +0,0 @@ -{"hostname":"Ephrams-MacBook-Pro-2","username":"ephramcj"} \ No newline at end of file