diff --git a/.gitignore b/.gitignore index b09bf24..30f49f8 100644 --- a/.gitignore +++ b/.gitignore @@ -1,15 +1,2 @@ About_me.md -modules/Communication/comm-backups/comm-2021-09-02_204206.zip -modules/Communication/comm-backups/comm-2021-09-02_205039.zip -modules/Communication/comm-backups/comm-2021-09-02_210753.zip -modules/Communication/comm-backups/comm-2021-09-04_210257.zip -modules/Communication/comm-backups/comm-2021-09-04_211801.zip -modules/Communication/comm-backups/comm-2021-09-04_212304.zip -modules/Communication/comm-backups/comm-2021-09-04_212942.zip -modules/Communication/comm-backups/comm-2021-09-04_221648.zip -modules/Communication/comm-backups/comm-2021-09-05_123151.zip -modules/Communication/comm-backups/comm-2021-09-05_212516.zip -modules/Communication/comm-backups/comm-2021-09-05_213852.zip -modules/Communication/comm-backups/comm-2021-09-05_214615.zip -modules/Communication/comm-backups/comm-2021-09-05_215124.zip -modules/Communication/comm-backups/comm-2021-09-05_220926.zip +modules/Communication/comm-backups \ No newline at end of file diff --git a/modules/Communication/Stack_connector.kicad_sch b/modules/Communication/Stack_connector.kicad_sch index 4e29649..80343e0 100644 --- a/modules/Communication/Stack_connector.kicad_sch +++ b/modules/Communication/Stack_connector.kicad_sch @@ -371,13 +371,11 @@ (no_connect (at 139.7 95.25) (uuid 1b31ae78-7a8a-494c-8f2b-d3e09f16f068)) (no_connect (at 139.7 113.03) (uuid 90ba890b-d7c9-4aff-9a91-7b391800a555)) (no_connect (at 152.4 69.85) (uuid c873c7a6-bfb4-4b90-86b9-fb24c8bb8243)) - (no_connect (at 152.4 74.93) (uuid c873c7a6-bfb4-4b90-86b9-fb24c8bb8243)) (no_connect (at 152.4 80.01) (uuid 03115a87-8ca9-4ecc-af3b-103da6746441)) (no_connect (at 152.4 82.55) (uuid 1b31ae78-7a8a-494c-8f2b-d3e09f16f068)) (no_connect (at 152.4 85.09) (uuid 1b31ae78-7a8a-494c-8f2b-d3e09f16f068)) (no_connect (at 152.4 87.63) (uuid 1b31ae78-7a8a-494c-8f2b-d3e09f16f068)) (no_connect (at 152.4 95.25) (uuid 1b31ae78-7a8a-494c-8f2b-d3e09f16f068)) - (no_connect (at 152.4 107.95) (uuid 90ba890b-d7c9-4aff-9a91-7b391800a555)) (no_connect (at 152.4 113.03) (uuid 90ba890b-d7c9-4aff-9a91-7b391800a555)) (wire (pts (xy 138.43 66.04) (xy 138.43 67.31)) @@ -469,6 +467,10 @@ (effects (font (size 1.27 1.27)) (justify left)) (uuid cce0bba4-ccf5-471d-a86c-58e72d415edc) ) + (hierarchical_label "ESP#1_CHARGE" (shape input) (at 152.4 74.93 0) + (effects (font (size 1.27 1.27)) (justify left)) + (uuid bdcba61c-28e5-4c93-ad80-c203cffb9716) + ) (hierarchical_label "CAN_H" (shape input) (at 152.4 90.17 0) (effects (font (size 1.27 1.27)) (justify left)) (uuid 5935d64f-6aa0-4624-8144-368cd9d6275f) @@ -489,6 +491,10 @@ (effects (font (size 1.27 1.27)) (justify left)) (uuid d78e7107-96be-4d00-9b69-7be0091a72fb) ) + (hierarchical_label "ESP#2_CHARGE" (shape input) (at 152.4 107.95 0) + (effects (font (size 1.27 1.27)) (justify left)) + (uuid 78d4c077-ee5e-495b-aeb6-e333cef8dfe6) + ) (hierarchical_label "EPS#2_1V8" (shape input) (at 152.4 110.49 0) (effects (font (size 1.27 1.27)) (justify left)) (uuid a1b815ab-314f-4c61-b96c-1e19f75525a3) diff --git a/modules/Communication/battSwitch.kicad_sch b/modules/Communication/battSwitch.kicad_sch new file mode 100644 index 0000000..be7ce0e --- /dev/null +++ b/modules/Communication/battSwitch.kicad_sch @@ -0,0 +1,457 @@ +(kicad_sch (version 20210621) (generator eeschema) + + (uuid a4613bd3-102e-4456-ab4f-5adcc36942d4) + + (paper "A4") + + (lib_symbols + (symbol "Amplifier_Operational:TLV172IDCK" (pin_names (offset 0.127)) (in_bom yes) (on_board yes) + (property "Reference" "U" (id 0) (at 7.62 2.54 0) + (effects (font (size 1.27 1.27))) + ) + (property "Value" "TLV172IDCK" (id 1) (at 11.43 -2.54 0) + (effects (font (size 1.27 1.27))) + ) + (property "Footprint" "Package_TO_SOT_SMD:SOT-353_SC-70-5" (id 2) (at 5.08 0 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Datasheet" "http://www.ti.com/lit/ds/symlink/tlv172.pdf" (id 3) (at 0 0 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "ki_keywords" "op amp operational amplifier" (id 4) (at 0 0 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "ki_description" "Low-power Operational Amplifier, SOT-353" (id 5) (at 0 0 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "ki_fp_filters" "SOT*353*SC*70*" (id 6) (at 0 0 0) + (effects (font (size 1.27 1.27)) hide) + ) + (symbol "TLV172IDCK_0_1" + (polyline + (pts + (xy -2.54 5.08) + (xy -2.54 -5.08) + (xy 7.62 0) + (xy -2.54 5.08) + ) + (stroke (width 0.254)) (fill (type background)) + ) + ) + (symbol "TLV172IDCK_1_1" + (pin input line (at -5.08 2.54 0) (length 2.54) + (name "+" (effects (font (size 1.27 1.27)))) + (number "1" (effects (font (size 1.27 1.27)))) + ) + (pin power_in line (at 0 -7.62 90) (length 3.81) + (name "V-" (effects (font (size 1.27 1.27)))) + (number "2" (effects (font (size 1.27 1.27)))) + ) + (pin input line (at -5.08 -2.54 0) (length 2.54) + (name "-" (effects (font (size 1.27 1.27)))) + (number "3" (effects (font (size 1.27 1.27)))) + ) + (pin output line (at 10.16 0 180) (length 2.54) + (name "~" (effects (font (size 1.27 1.27)))) + (number "4" (effects (font (size 1.27 1.27)))) + ) + (pin power_in line (at 0 7.62 270) (length 3.81) + (name "V+" (effects (font (size 1.27 1.27)))) + (number "5" (effects (font (size 1.27 1.27)))) + ) + ) + ) + (symbol "Device:R" (pin_numbers hide) (pin_names (offset 0)) (in_bom yes) (on_board yes) + (property "Reference" "R" (id 0) (at 2.032 0 90) + (effects (font (size 1.27 1.27))) + ) + (property "Value" "R" (id 1) (at 0 0 90) + (effects (font (size 1.27 1.27))) + ) + (property "Footprint" "" (id 2) (at -1.778 0 90) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Datasheet" "~" (id 3) (at 0 0 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "ki_keywords" "R res resistor" (id 4) (at 0 0 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "ki_description" "Resistor" (id 5) (at 0 0 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "ki_fp_filters" "R_*" (id 6) (at 0 0 0) + (effects (font (size 1.27 1.27)) hide) + ) + (symbol "R_0_1" + (rectangle (start -1.016 -2.54) (end 1.016 2.54) + (stroke (width 0.254)) (fill (type none)) + ) + ) + (symbol "R_1_1" + (pin passive line (at 0 3.81 270) (length 1.27) + (name "~" (effects (font (size 1.27 1.27)))) + (number "1" (effects (font (size 1.27 1.27)))) + ) + (pin passive line (at 0 -3.81 90) (length 1.27) + (name "~" (effects (font (size 1.27 1.27)))) + (number "2" (effects (font (size 1.27 1.27)))) + ) + ) + ) + (symbol "comm:TPS2116" (in_bom yes) (on_board yes) + (property "Reference" "U" (id 0) (at 3.81 12.7 0) + (effects (font (size 1.27 1.27))) + ) + (property "Value" "TPS2116" (id 1) (at 3.81 -8.89 0) + (effects (font (size 1.27 1.27))) + ) + (property "Footprint" "" (id 2) (at 3.81 12.7 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Datasheet" "" (id 3) (at 3.81 12.7 0) + (effects (font (size 1.27 1.27)) hide) + ) + (symbol "TPS2116_0_1" + (rectangle (start -2.54 11.43) (end 10.16 -6.35) + (stroke (width 0.1524)) (fill (type background)) + ) + ) + (symbol "TPS2116_1_1" + (pin input line (at -5.08 7.62 0) (length 2.54) + (name "GND" (effects (font (size 1.27 1.27)))) + (number "1" (effects (font (size 1.27 1.27)))) + ) + (pin output line (at -5.08 3.81 0) (length 2.54) + (name "VOUT" (effects (font (size 1.27 1.27)))) + (number "2" (effects (font (size 1.27 1.27)))) + ) + (pin input line (at -5.08 0 0) (length 2.54) + (name "VIN1" (effects (font (size 1.27 1.27)))) + (number "3" (effects (font (size 1.27 1.27)))) + ) + (pin input line (at -5.08 -3.81 0) (length 2.54) + (name "PR1" (effects (font (size 1.27 1.27)))) + (number "4" (effects (font (size 1.27 1.27)))) + ) + (pin input line (at 12.7 7.62 180) (length 2.54) + (name "MODE" (effects (font (size 1.27 1.27)))) + (number "5" (effects (font (size 1.27 1.27)))) + ) + (pin input line (at 12.7 3.81 180) (length 2.54) + (name "VIN2" (effects (font (size 1.27 1.27)))) + (number "6" (effects (font (size 1.27 1.27)))) + ) + (pin output line (at 12.7 0 180) (length 2.54) + (name "VOUT" (effects (font (size 1.27 1.27)))) + (number "7" (effects (font (size 1.27 1.27)))) + ) + (pin output line (at 12.7 -3.81 180) (length 2.54) + (name "ST" (effects (font (size 1.27 1.27)))) + (number "8" (effects (font (size 1.27 1.27)))) + ) + ) + ) + (symbol "power:GND" (power) (pin_names (offset 0)) (in_bom yes) (on_board yes) + (property "Reference" "#PWR" (id 0) (at 0 -6.35 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Value" "GND" (id 1) (at 0 -3.81 0) + (effects (font (size 1.27 1.27))) + ) + (property "Footprint" "" (id 2) (at 0 0 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Datasheet" "" (id 3) (at 0 0 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "ki_keywords" "power-flag" (id 4) (at 0 0 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "ki_description" "Power symbol creates a global label with name \"GND\" , ground" (id 5) (at 0 0 0) + (effects (font (size 1.27 1.27)) hide) + ) + (symbol "GND_0_1" + (polyline + (pts + (xy 0 0) + (xy 0 -1.27) + (xy 1.27 -1.27) + (xy 0 -2.54) + (xy -1.27 -1.27) + (xy 0 -1.27) + ) + (stroke (width 0)) (fill (type none)) + ) + ) + (symbol "GND_1_1" + (pin power_in line (at 0 0 270) (length 0) hide + (name "GND" (effects (font (size 1.27 1.27)))) + (number "1" (effects (font (size 1.27 1.27)))) + ) + ) + ) + ) + + (junction (at 53.975 45.72) (diameter 1.016) (color 0 0 0 0)) + (junction (at 76.2 43.18) (diameter 1.016) (color 0 0 0 0)) + (junction (at 159.385 28.575) (diameter 1.016) (color 0 0 0 0)) + (junction (at 159.385 37.465) (diameter 1.016) (color 0 0 0 0)) + + (no_connect (at 155.575 48.895) (uuid c24f505b-456f-4846-8d33-a597265249b8)) + + (wire (pts (xy 38.1 40.64) (xy 56.515 40.64)) + (stroke (width 0) (type solid) (color 0 0 0 0)) + (uuid 16b5aa6c-c8e2-49ff-a304-14a89587509d) + ) + (wire (pts (xy 38.1 45.72) (xy 43.18 45.72)) + (stroke (width 0) (type solid) (color 0 0 0 0)) + (uuid 9f0c9976-92ac-4498-8dde-db1b54af2356) + ) + (wire (pts (xy 50.8 45.72) (xy 53.975 45.72)) + (stroke (width 0) (type solid) (color 0 0 0 0)) + (uuid 75cde9da-4b19-410c-b6ea-06b7f7e69c82) + ) + (wire (pts (xy 53.975 45.72) (xy 53.975 59.69)) + (stroke (width 0) (type solid) (color 0 0 0 0)) + (uuid b1a4491e-534f-45d9-af0f-7db6c1511585) + ) + (wire (pts (xy 53.975 45.72) (xy 56.515 45.72)) + (stroke (width 0) (type solid) (color 0 0 0 0)) + (uuid 75cde9da-4b19-410c-b6ea-06b7f7e69c82) + ) + (wire (pts (xy 53.975 59.69) (xy 57.785 59.69)) + (stroke (width 0) (type solid) (color 0 0 0 0)) + (uuid b1a4491e-534f-45d9-af0f-7db6c1511585) + ) + (wire (pts (xy 65.405 59.69) (xy 76.2 59.69)) + (stroke (width 0) (type solid) (color 0 0 0 0)) + (uuid d0ce3f74-1908-46ae-8000-e825050ede44) + ) + (wire (pts (xy 71.755 43.18) (xy 76.2 43.18)) + (stroke (width 0) (type solid) (color 0 0 0 0)) + (uuid eaa65d44-0f39-46d5-9944-a46be4fef848) + ) + (wire (pts (xy 76.2 43.18) (xy 82.55 43.18)) + (stroke (width 0) (type solid) (color 0 0 0 0)) + (uuid eaa65d44-0f39-46d5-9944-a46be4fef848) + ) + (wire (pts (xy 76.2 59.69) (xy 76.2 43.18)) + (stroke (width 0) (type solid) (color 0 0 0 0)) + (uuid d0ce3f74-1908-46ae-8000-e825050ede44) + ) + (wire (pts (xy 123.825 48.895) (xy 137.795 48.895)) + (stroke (width 0) (type solid) (color 0 0 0 0)) + (uuid ff9ef336-e3e8-43e6-b08b-f3c15ec90314) + ) + (wire (pts (xy 127.635 45.085) (xy 137.795 45.085)) + (stroke (width 0) (type solid) (color 0 0 0 0)) + (uuid dbf9cd3e-d08c-4e67-87e5-0a07ab2c3991) + ) + (wire (pts (xy 129.54 37.465) (xy 137.795 37.465)) + (stroke (width 0) (type solid) (color 0 0 0 0)) + (uuid a82c397d-b95b-4808-adce-9fdf1485c1e5) + ) + (wire (pts (xy 133.985 28.575) (xy 159.385 28.575)) + (stroke (width 0) (type solid) (color 0 0 0 0)) + (uuid 40864c19-b2db-4a8b-88e5-9aafd4fd4e0f) + ) + (wire (pts (xy 133.985 41.275) (xy 133.985 28.575)) + (stroke (width 0) (type solid) (color 0 0 0 0)) + (uuid 40864c19-b2db-4a8b-88e5-9aafd4fd4e0f) + ) + (wire (pts (xy 137.795 41.275) (xy 133.985 41.275)) + (stroke (width 0) (type solid) (color 0 0 0 0)) + (uuid 40864c19-b2db-4a8b-88e5-9aafd4fd4e0f) + ) + (wire (pts (xy 155.575 37.465) (xy 159.385 37.465)) + (stroke (width 0) (type solid) (color 0 0 0 0)) + (uuid 11188102-d03d-4701-82f4-1f45ac8c7462) + ) + (wire (pts (xy 155.575 41.275) (xy 167.005 41.275)) + (stroke (width 0) (type solid) (color 0 0 0 0)) + (uuid 6dc47ff4-d2a8-4e71-ac5f-5904fb503387) + ) + (wire (pts (xy 155.575 45.085) (xy 159.385 45.085)) + (stroke (width 0) (type solid) (color 0 0 0 0)) + (uuid 6eae0638-29dd-4cd3-ad61-b791af1ade47) + ) + (wire (pts (xy 159.385 28.575) (xy 164.465 28.575)) + (stroke (width 0) (type solid) (color 0 0 0 0)) + (uuid 6eae0638-29dd-4cd3-ad61-b791af1ade47) + ) + (wire (pts (xy 159.385 37.465) (xy 159.385 28.575)) + (stroke (width 0) (type solid) (color 0 0 0 0)) + (uuid 6eae0638-29dd-4cd3-ad61-b791af1ade47) + ) + (wire (pts (xy 159.385 45.085) (xy 159.385 37.465)) + (stroke (width 0) (type solid) (color 0 0 0 0)) + (uuid 6eae0638-29dd-4cd3-ad61-b791af1ade47) + ) + (polyline (pts (xy 12.065 65.405) (xy 105.41 65.405)) + (stroke (width 0) (type dash) (color 0 0 0 0)) + (uuid 1ef6de27-519b-4a9d-9648-654dbcb0a22a) + ) + (polyline (pts (xy 105.41 12.065) (xy 105.41 65.405)) + (stroke (width 0) (type dash) (color 0 0 0 0)) + (uuid 1ef6de27-519b-4a9d-9648-654dbcb0a22a) + ) + (polyline (pts (xy 105.41 65.405) (xy 187.96 65.405)) + (stroke (width 0) (type dash) (color 0 0 0 0)) + (uuid 0eafff8b-d05f-42b2-a4fb-13c491eaa212) + ) + (polyline (pts (xy 187.96 12.065) (xy 187.96 65.405)) + (stroke (width 0) (type dash) (color 0 0 0 0)) + (uuid 0eafff8b-d05f-42b2-a4fb-13c491eaa212) + ) + + (text "Possible use batery voltage\nfor compare" (at 13.335 51.435 0) + (effects (font (size 1.27 1.27)) (justify left bottom)) + (uuid 1472e447-3c62-4c0b-958b-d86740274593) + ) + (text "Battery comparator" (at 31.115 22.225 0) + (effects (font (size 2.3 2.3) (thickness 0.46) bold) (justify left bottom)) + (uuid f857b600-8b72-4e62-a40e-4361c9df94e8) + ) + (text "3V3 battery switch\n" (at 133.985 20.32 0) + (effects (font (size 2 2) (thickness 0.4) bold) (justify left bottom)) + (uuid cd1caefe-3491-4f5a-9e1c-7e609ce7ddf4) + ) + + (label "BATT_SWITCH" (at 82.55 43.18 0) + (effects (font (size 1.27 1.27)) (justify left bottom)) + (uuid cb1dd9ed-7bb2-4860-901d-f6016105e549) + ) + (label "BATT_SWITCH" (at 123.825 48.895 0) + (effects (font (size 1.27 1.27)) (justify left bottom)) + (uuid fec3e4fc-35e8-4d6d-9e2e-6d596959cf8e) + ) + + (hierarchical_label "ESP#1_CHARGE" (shape input) (at 38.1 40.64 180) + (effects (font (size 1.27 1.27)) (justify right)) + (uuid 44720cfa-1b91-4015-bec1-621c5f5abe1d) + ) + (hierarchical_label "ESP#2_CHARGE" (shape input) (at 38.1 45.72 180) + (effects (font (size 1.27 1.27)) (justify right)) + (uuid 2d563b7e-c2c3-408b-8cf6-68a6c2c5ef27) + ) + (hierarchical_label "ESP#1_3V3" (shape input) (at 61.595 35.56 90) + (effects (font (size 1.27 1.27)) (justify left)) + (uuid 90c6d253-d308-437a-88bb-38959f8353cc) + ) + (hierarchical_label "ESP#1_3V3" (shape input) (at 127.635 45.085 180) + (effects (font (size 1.27 1.27)) (justify right)) + (uuid 403a0901-34d9-448a-a9c3-87b8581b532c) + ) + (hierarchical_label "+3V3 out" (shape input) (at 164.465 28.575 0) + (effects (font (size 1.27 1.27)) (justify left)) + (uuid e700ccf9-9e68-4746-8674-aecc9ef5e00c) + ) + (hierarchical_label "ESP#2_3V3" (shape input) (at 167.005 41.275 0) + (effects (font (size 1.27 1.27)) (justify left)) + (uuid 2288efee-212e-4da5-afe3-7a8faa873321) + ) + + (symbol (lib_id "power:GND") (at 61.595 50.8 0) (unit 1) + (in_bom yes) (on_board yes) (fields_autoplaced) + (uuid 5edab2b6-9ffb-4ae1-b1f0-54ddc7ce5659) + (property "Reference" "#PWR?" (id 0) (at 61.595 57.15 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Value" "GND" (id 1) (at 61.595 54.61 0)) + (property "Footprint" "" (id 2) (at 61.595 50.8 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Datasheet" "" (id 3) (at 61.595 50.8 0) + (effects (font (size 1.27 1.27)) hide) + ) + (pin "1" (uuid 95cec886-9830-453d-9e51-7ddedc63035c)) + ) + + (symbol (lib_id "power:GND") (at 129.54 37.465 270) (unit 1) + (in_bom yes) (on_board yes) (fields_autoplaced) + (uuid 8f2e9cba-6539-40c4-8553-4b1e6f27056f) + (property "Reference" "#PWR?" (id 0) (at 123.19 37.465 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Value" "GND" (id 1) (at 125.73 37.465 0)) + (property "Footprint" "" (id 2) (at 129.54 37.465 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Datasheet" "" (id 3) (at 129.54 37.465 0) + (effects (font (size 1.27 1.27)) hide) + ) + (pin "1" (uuid 79a5317a-fa86-417e-b6e6-4519b2e9c826)) + ) + + (symbol (lib_id "Device:R") (at 46.99 45.72 90) (unit 1) + (in_bom yes) (on_board yes) + (uuid fa1153a5-a5fa-4a23-beb6-5d04d6d9feea) + (property "Reference" "R?" (id 0) (at 46.99 43.18 90)) + (property "Value" "50k" (id 1) (at 46.99 45.72 90)) + (property "Footprint" "" (id 2) (at 46.99 47.498 90) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Datasheet" "~" (id 3) (at 46.99 45.72 0) + (effects (font (size 1.27 1.27)) hide) + ) + (pin "1" (uuid fbe092c6-03f8-4069-9908-723738a3ee28)) + (pin "2" (uuid e0c4f070-f0fc-4800-8b29-af4c816ecb34)) + ) + + (symbol (lib_id "Device:R") (at 61.595 59.69 90) (unit 1) + (in_bom yes) (on_board yes) + (uuid a9384195-1737-4983-9989-a78383bb8645) + (property "Reference" "R?" (id 0) (at 61.595 62.23 90)) + (property "Value" "330k" (id 1) (at 61.595 59.69 90)) + (property "Footprint" "" (id 2) (at 61.595 61.468 90) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Datasheet" "~" (id 3) (at 61.595 59.69 0) + (effects (font (size 1.27 1.27)) hide) + ) + (pin "1" (uuid 13b29974-fb2d-4a28-9e0a-71d64eb99eb7)) + (pin "2" (uuid 3618f472-99b2-4afe-b4cb-c95f464ffbef)) + ) + + (symbol (lib_id "Amplifier_Operational:TLV172IDCK") (at 61.595 43.18 0) (unit 1) + (in_bom yes) (on_board yes) + (uuid 3ed63a54-f90b-486a-a926-491ab3eac668) + (property "Reference" "U?" (id 0) (at 67.945 38.7349 0) + (effects (font (size 1.27 1.27)) (justify left)) + ) + (property "Value" "TVL3691" (id 1) (at 69.215 47.625 0)) + (property "Footprint" "" (id 2) (at 66.675 43.18 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Datasheet" "http://www.ti.com/lit/ds/symlink/tlv172.pdf" (id 3) (at 61.595 43.18 0) + (effects (font (size 1.27 1.27)) hide) + ) + (pin "1" (uuid 56a61932-57e1-439f-ad6d-cf091833e1a8)) + (pin "2" (uuid 2d0b9ae3-4f80-4bf4-83b5-139041ff3c75)) + (pin "3" (uuid ad735793-57c5-4a99-9497-c46549993381)) + (pin "4" (uuid 2ef7eed5-6f3c-4a37-bcc3-37b27d0c1669)) + (pin "5" (uuid 0d6ad70c-7f30-41cd-a454-8accfbdd302d)) + ) + + (symbol (lib_id "comm:TPS2116") (at 142.875 45.085 0) (unit 1) + (in_bom yes) (on_board yes) (fields_autoplaced) + (uuid dfe84c23-724a-48a4-ab09-8dd0b9b44ba3) + (property "Reference" "U?" (id 0) (at 146.685 30.48 0)) + (property "Value" "TPS2116" (id 1) (at 146.685 53.975 0)) + (property "Footprint" "" (id 2) (at 146.685 32.385 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Datasheet" "" (id 3) (at 146.685 32.385 0) + (effects (font (size 1.27 1.27)) hide) + ) + (pin "1" (uuid edb307b3-669b-4378-9af1-4d4dbb07ae99)) + (pin "2" (uuid 22ccc698-7673-436c-8b3f-992c979a6174)) + (pin "3" (uuid 981aaddb-b607-450a-8d3b-53cfae1e9bab)) + (pin "4" (uuid 1f82853d-25b0-4938-baa8-c25f76301b16)) + (pin "5" (uuid cc0c9fae-2fb6-4388-bd46-be4268fdb332)) + (pin "6" (uuid 4b006ece-4c29-45dd-9260-773e82b081de)) + (pin "7" (uuid 4a2b52a2-3a72-419c-89ad-c68003d79962)) + (pin "8" (uuid ae694c39-8cbd-4b8c-a084-b28fa4124a50)) + ) +) diff --git a/modules/Communication/calc.ipynb b/modules/Communication/calc.ipynb new file mode 100644 index 0000000..0f7b301 --- /dev/null +++ b/modules/Communication/calc.ipynb @@ -0,0 +1,66 @@ +{ + "metadata": { + "language_info": { + "codemirror_mode": { + "name": "ipython", + "version": 3 + }, + "file_extension": ".py", + "mimetype": "text/x-python", + "name": "python", + "nbconvert_exporter": "python", + "pygments_lexer": "ipython3", + "version": "3.9.7" + }, + "orig_nbformat": 4, + "kernelspec": { + "name": "python3", + "display_name": "Python 3.9.7 64-bit" + }, + "interpreter": { + "hash": "c7df07ecfb874d96581378ee2edfb0abd56d9de008e1391e0ed3612e4e80d4b7" + } + }, + "nbformat": 4, + "nbformat_minor": 2, + "cells": [ + { + "cell_type": "code", + "execution_count": 11, + "source": [ + "# Battery voltage comparator with histerezes\r\n", + "\r\n", + "\r\n", + "supply_voltage = 3.3\r\n", + "reference_voltage = 3\r\n", + "\r\n", + "R1 = 50000\r\n", + "R2 = 330000\r\n", + "\r\n", + "Vin_High = R1 * (reference_voltage / R2) + reference_voltage \r\n", + "\r\n", + "print(\"Voltage switch to high: {}V\".format(round(Vin_High,2)))\r\n", + "\r\n", + "Vin_Low = (reference_voltage*(R1+R2) - supply_voltage * R1) / R2\r\n", + "\r\n", + "print(\"Voltage switch to low: {}V\".format(round(Vin_Low,2)))\r\n", + "\r\n", + "Vin_delta = supply_voltage * (R1/R2)\r\n", + "\r\n", + "print(\"Voltage delta: {}V\".format(round(Vin_delta,2)))\r\n" + ], + "outputs": [ + { + "output_type": "stream", + "name": "stdout", + "text": [ + "Voltage switch to high: 3.45V\n", + "Voltage switch to low: 2.95V\n", + "Voltage delta: 0.5V\n" + ] + } + ], + "metadata": {} + } + ] +} \ No newline at end of file diff --git a/modules/Communication/comm.bak b/modules/Communication/comm.bak new file mode 100644 index 0000000..9d02ff2 --- /dev/null +++ b/modules/Communication/comm.bak @@ -0,0 +1,225 @@ +(kicad_symbol_lib (version 20210619) (generator kicad_symbol_editor) + (symbol "comm:NEO-8Q" (in_bom yes) (on_board yes) + (property "Reference" "U" (id 0) (at 0 13.97 0) + (effects (font (size 1.27 1.27))) + ) + (property "Value" "NEO-8Q" (id 1) (at 0 -27.94 0) + (effects (font (size 1.27 1.27))) + ) + (property "Footprint" "" (id 2) (at 0 0 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Datasheet" "" (id 3) (at 0 0 0) + (effects (font (size 1.27 1.27)) hide) + ) + (symbol "NEO-8Q_0_1" + (rectangle (start -12.7 11.43) (end 13.97 -24.13) + (stroke (width 0.1524)) (fill (type background)) + ) + ) + (symbol "NEO-8Q_1_1" + (pin input line (at 16.51 -21.59 180) (length 2.54) + (name "SAFEBOOT_N" (effects (font (size 1.27 1.27)))) + (number "1" (effects (font (size 1.27 1.27)))) + ) + (pin input line (at 16.51 3.81 180) (length 2.54) + (name "GND" (effects (font (size 1.27 1.27)))) + (number "10" (effects (font (size 1.27 1.27)))) + ) + (pin input line (at 16.51 6.35 180) (length 2.54) + (name "RF_IN" (effects (font (size 1.27 1.27)))) + (number "11" (effects (font (size 1.27 1.27)))) + ) + (pin input line (at 16.51 8.89 180) (length 2.54) + (name "GND" (effects (font (size 1.27 1.27)))) + (number "12" (effects (font (size 1.27 1.27)))) + ) + (pin input line (at -15.24 8.89 0) (length 2.54) + (name "GND" (effects (font (size 1.27 1.27)))) + (number "13" (effects (font (size 1.27 1.27)))) + ) + (pin output line (at -15.24 6.35 0) (length 2.54) + (name "LNA_EN" (effects (font (size 1.27 1.27)))) + (number "14" (effects (font (size 1.27 1.27)))) + ) + (pin free line (at -15.24 3.81 0) (length 2.54) + (name "Reserved" (effects (font (size 1.27 1.27)))) + (number "15" (effects (font (size 1.27 1.27)))) + ) + (pin free line (at -15.24 1.27 0) (length 2.54) + (name "Reserved" (effects (font (size 1.27 1.27)))) + (number "16" (effects (font (size 1.27 1.27)))) + ) + (pin free line (at -15.24 -1.27 0) (length 2.54) + (name "Reserved" (effects (font (size 1.27 1.27)))) + (number "17" (effects (font (size 1.27 1.27)))) + ) + (pin bidirectional line (at -15.24 -6.35 0) (length 2.54) + (name "SDA/SPICS_N" (effects (font (size 1.27 1.27)))) + (number "18" (effects (font (size 1.27 1.27)))) + ) + (pin bidirectional line (at -15.24 -8.89 0) (length 2.54) + (name "SCL/SPICLK" (effects (font (size 1.27 1.27)))) + (number "19" (effects (font (size 1.27 1.27)))) + ) + (pin input line (at 16.51 -19.05 180) (length 2.54) + (name "D_SEL" (effects (font (size 1.27 1.27)))) + (number "2" (effects (font (size 1.27 1.27)))) + ) + (pin output line (at -15.24 -11.43 0) (length 2.54) + (name "TDX/SPIMISO" (effects (font (size 1.27 1.27)))) + (number "20" (effects (font (size 1.27 1.27)))) + ) + (pin input line (at -15.24 -13.97 0) (length 2.54) + (name "RDX/SPIMOSI" (effects (font (size 1.27 1.27)))) + (number "21" (effects (font (size 1.27 1.27)))) + ) + (pin input line (at -15.24 -16.51 0) (length 2.54) + (name "V_BCKP" (effects (font (size 1.27 1.27)))) + (number "22" (effects (font (size 1.27 1.27)))) + ) + (pin input line (at -15.24 -19.05 0) (length 2.54) + (name "VCC" (effects (font (size 1.27 1.27)))) + (number "23" (effects (font (size 1.27 1.27)))) + ) + (pin input line (at -15.24 -21.59 0) (length 2.54) + (name "GND" (effects (font (size 1.27 1.27)))) + (number "24" (effects (font (size 1.27 1.27)))) + ) + (pin output line (at 16.51 -16.51 180) (length 2.54) + (name "TIMEPULSE" (effects (font (size 1.27 1.27)))) + (number "3" (effects (font (size 1.27 1.27)))) + ) + (pin input line (at 16.51 -13.97 180) (length 2.54) + (name "EXTINT" (effects (font (size 1.27 1.27)))) + (number "4" (effects (font (size 1.27 1.27)))) + ) + (pin bidirectional line (at 16.51 -11.43 180) (length 2.54) + (name "USB_DM" (effects (font (size 1.27 1.27)))) + (number "5" (effects (font (size 1.27 1.27)))) + ) + (pin bidirectional line (at 16.51 -8.89 180) (length 2.54) + (name "USB_DP" (effects (font (size 1.27 1.27)))) + (number "6" (effects (font (size 1.27 1.27)))) + ) + (pin input line (at 16.51 -6.35 180) (length 2.54) + (name "VDD_USB" (effects (font (size 1.27 1.27)))) + (number "7" (effects (font (size 1.27 1.27)))) + ) + (pin input line (at 16.51 -1.27 180) (length 2.54) + (name "RESET_N" (effects (font (size 1.27 1.27)))) + (number "8" (effects (font (size 1.27 1.27)))) + ) + (pin output line (at 16.51 1.27 180) (length 2.54) + (name "VCC_RF" (effects (font (size 1.27 1.27)))) + (number "9" (effects (font (size 1.27 1.27)))) + ) + ) + ) + (symbol "comm:TPS2116" (in_bom yes) (on_board yes) + (property "Reference" "U" (id 0) (at 3.81 12.7 0) + (effects (font (size 1.27 1.27))) + ) + (property "Value" "TPS2116" (id 1) (at 3.81 -8.89 0) + (effects (font (size 1.27 1.27))) + ) + (property "Footprint" "" (id 2) (at 3.81 12.7 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Datasheet" "" (id 3) (at 3.81 12.7 0) + (effects (font (size 1.27 1.27)) hide) + ) + (symbol "TPS2116_0_1" + (rectangle (start -2.54 11.43) (end 10.16 -6.35) + (stroke (width 0.1524)) (fill (type background)) + ) + ) + (symbol "TPS2116_1_1" + (pin input line (at -5.08 7.62 0) (length 2.54) + (name "GND" (effects (font (size 1.27 1.27)))) + (number "1" (effects (font (size 1.27 1.27)))) + ) + (pin output line (at -5.08 3.81 0) (length 2.54) + (name "VOUT" (effects (font (size 1.27 1.27)))) + (number "2" (effects (font (size 1.27 1.27)))) + ) + (pin input line (at -5.08 0 0) (length 2.54) + (name "VIN1" (effects (font (size 1.27 1.27)))) + (number "3" (effects (font (size 1.27 1.27)))) + ) + (pin input line (at -5.08 -3.81 0) (length 2.54) + (name "PR1" (effects (font (size 1.27 1.27)))) + (number "4" (effects (font (size 1.27 1.27)))) + ) + (pin input line (at 12.7 7.62 180) (length 2.54) + (name "MODE" (effects (font (size 1.27 1.27)))) + (number "5" (effects (font (size 1.27 1.27)))) + ) + (pin input line (at 12.7 3.81 180) (length 2.54) + (name "VIN2" (effects (font (size 1.27 1.27)))) + (number "6" (effects (font (size 1.27 1.27)))) + ) + (pin output line (at 12.7 0 180) (length 2.54) + (name "VOUT" (effects (font (size 1.27 1.27)))) + (number "7" (effects (font (size 1.27 1.27)))) + ) + (pin output line (at 12.7 -3.81 180) (length 2.54) + (name "ST" (effects (font (size 1.27 1.27)))) + (number "8" (effects (font (size 1.27 1.27)))) + ) + ) + ) + (symbol "comm:TSP2116" (in_bom yes) (on_board yes) + (property "Reference" "U" (id 0) (at 3.81 12.7 0) + (effects (font (size 1.27 1.27))) + ) + (property "Value" "TSP2116" (id 1) (at 3.81 -8.89 0) + (effects (font (size 1.27 1.27))) + ) + (property "Footprint" "" (id 2) (at 3.81 12.7 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Datasheet" "" (id 3) (at 3.81 12.7 0) + (effects (font (size 1.27 1.27)) hide) + ) + (symbol "TSP2116_0_1" + (rectangle (start -2.54 11.43) (end 10.16 -6.35) + (stroke (width 0.1524)) (fill (type background)) + ) + ) + (symbol "TSP2116_1_1" + (pin input line (at -5.08 7.62 0) (length 2.54) + (name "GND" (effects (font (size 1.27 1.27)))) + (number "1" (effects (font (size 1.27 1.27)))) + ) + (pin output line (at -5.08 3.81 0) (length 2.54) + (name "VOUT" (effects (font (size 1.27 1.27)))) + (number "2" (effects (font (size 1.27 1.27)))) + ) + (pin input line (at -5.08 0 0) (length 2.54) + (name "VIN1" (effects (font (size 1.27 1.27)))) + (number "3" (effects (font (size 1.27 1.27)))) + ) + (pin input line (at -5.08 -3.81 0) (length 2.54) + (name "PR1" (effects (font (size 1.27 1.27)))) + (number "4" (effects (font (size 1.27 1.27)))) + ) + (pin input line (at 12.7 7.62 180) (length 2.54) + (name "MODE" (effects (font (size 1.27 1.27)))) + (number "5" (effects (font (size 1.27 1.27)))) + ) + (pin input line (at 12.7 3.81 180) (length 2.54) + (name "VIN2" (effects (font (size 1.27 1.27)))) + (number "6" (effects (font (size 1.27 1.27)))) + ) + (pin output line (at 12.7 0 180) (length 2.54) + (name "VOUT" (effects (font (size 1.27 1.27)))) + (number "7" (effects (font (size 1.27 1.27)))) + ) + (pin output line (at 12.7 -3.81 180) (length 2.54) + (name "ST" (effects (font (size 1.27 1.27)))) + (number "8" (effects (font (size 1.27 1.27)))) + ) + ) + ) +) diff --git a/modules/Communication/comm.kicad_pro b/modules/Communication/comm.kicad_pro index cf3f1c8..f445685 100644 --- a/modules/Communication/comm.kicad_pro +++ b/modules/Communication/comm.kicad_pro @@ -343,6 +343,10 @@ [ "81a5172c-b171-400d-8856-41d6e486bdd1", "MCU" + ], + [ + "0335b19b-f69a-4698-b41d-d454ea335718", + "Battery switch" ] ], "text_variables": {} diff --git a/modules/Communication/comm.kicad_sch b/modules/Communication/comm.kicad_sch index f04a6bc..bcbaf46 100644 --- a/modules/Communication/comm.kicad_sch +++ b/modules/Communication/comm.kicad_sch @@ -7,15 +7,130 @@ (lib_symbols ) + (junction (at 116.205 62.23) (diameter 1.016) (color 0 0 0 0)) + (junction (at 251.46 69.85) (diameter 1.016) (color 0 0 0 0)) + + (wire (pts (xy 116.205 43.18) (xy 116.205 62.23)) + (stroke (width 0) (type solid) (color 0 0 0 0)) + (uuid c360cf0f-16e8-4a11-8b4e-d9225f3eb017) + ) + (wire (pts (xy 116.205 62.23) (xy 116.205 99.06)) + (stroke (width 0) (type solid) (color 0 0 0 0)) + (uuid c360cf0f-16e8-4a11-8b4e-d9225f3eb017) + ) + (wire (pts (xy 116.205 62.23) (xy 125.73 62.23)) + (stroke (width 0) (type solid) (color 0 0 0 0)) + (uuid 3ba201ae-f1a1-4d5a-909f-894815b63556) + ) + (wire (pts (xy 116.205 99.06) (xy 127.635 99.06)) + (stroke (width 0) (type solid) (color 0 0 0 0)) + (uuid c360cf0f-16e8-4a11-8b4e-d9225f3eb017) + ) + (wire (pts (xy 176.53 43.18) (xy 116.205 43.18)) + (stroke (width 0) (type solid) (color 0 0 0 0)) + (uuid c360cf0f-16e8-4a11-8b4e-d9225f3eb017) + ) + (wire (pts (xy 176.53 56.515) (xy 176.53 43.18)) + (stroke (width 0) (type solid) (color 0 0 0 0)) + (uuid c360cf0f-16e8-4a11-8b4e-d9225f3eb017) + ) + (wire (pts (xy 179.705 56.515) (xy 176.53 56.515)) + (stroke (width 0) (type solid) (color 0 0 0 0)) + (uuid c360cf0f-16e8-4a11-8b4e-d9225f3eb017) + ) + (wire (pts (xy 209.55 57.785) (xy 230.505 57.785)) + (stroke (width 0) (type solid) (color 0 0 0 0)) + (uuid 6127fa5b-bd42-46e2-893f-40557fadf666) + ) + (wire (pts (xy 209.55 72.39) (xy 230.505 72.39)) + (stroke (width 0) (type solid) (color 0 0 0 0)) + (uuid b3e0b959-4139-4fec-adef-745609e7b9db) + ) + (wire (pts (xy 222.25 63.5) (xy 222.25 69.215)) + (stroke (width 0) (type solid) (color 0 0 0 0)) + (uuid 7a8e26d3-e367-476d-8a1e-eed84c5b62d5) + ) + (wire (pts (xy 222.25 69.215) (xy 209.55 69.215)) + (stroke (width 0) (type solid) (color 0 0 0 0)) + (uuid 7a8e26d3-e367-476d-8a1e-eed84c5b62d5) + ) + (wire (pts (xy 230.505 57.785) (xy 230.505 69.85)) + (stroke (width 0) (type solid) (color 0 0 0 0)) + (uuid 6127fa5b-bd42-46e2-893f-40557fadf666) + ) + (wire (pts (xy 230.505 69.85) (xy 251.46 69.85)) + (stroke (width 0) (type solid) (color 0 0 0 0)) + (uuid 6127fa5b-bd42-46e2-893f-40557fadf666) + ) + (wire (pts (xy 230.505 72.39) (xy 230.505 74.93)) + (stroke (width 0) (type solid) (color 0 0 0 0)) + (uuid b3e0b959-4139-4fec-adef-745609e7b9db) + ) + (wire (pts (xy 230.505 74.93) (xy 251.46 74.93)) + (stroke (width 0) (type solid) (color 0 0 0 0)) + (uuid b3e0b959-4139-4fec-adef-745609e7b9db) + ) + (wire (pts (xy 232.41 54.61) (xy 209.55 54.61)) + (stroke (width 0) (type solid) (color 0 0 0 0)) + (uuid c566d666-4fa1-4465-9686-c252afadf3a0) + ) + (wire (pts (xy 232.41 58.42) (xy 232.41 54.61)) + (stroke (width 0) (type solid) (color 0 0 0 0)) + (uuid c566d666-4fa1-4465-9686-c252afadf3a0) + ) + (wire (pts (xy 251.46 58.42) (xy 232.41 58.42)) + (stroke (width 0) (type solid) (color 0 0 0 0)) + (uuid c566d666-4fa1-4465-9686-c252afadf3a0) + ) + (wire (pts (xy 251.46 63.5) (xy 222.25 63.5)) + (stroke (width 0) (type solid) (color 0 0 0 0)) + (uuid 7a8e26d3-e367-476d-8a1e-eed84c5b62d5) + ) + (wire (pts (xy 251.46 69.85) (xy 252.095 69.85)) + (stroke (width 0) (type solid) (color 0 0 0 0)) + (uuid 6127fa5b-bd42-46e2-893f-40557fadf666) + ) + + (sheet (at 179.705 52.07) (size 29.845 22.225) (fields_autoplaced) + (stroke (width 0.1524) (type solid) (color 0 0 0 0)) + (fill (color 0 0 0 0.0000)) + (uuid 0335b19b-f69a-4698-b41d-d454ea335718) + (property "Název listu" "Battery switch" (id 0) (at 179.705 51.3584 0) + (effects (font (size 1.27 1.27)) (justify left bottom)) + ) + (property "Soubor listu" "battSwitch.kicad_sch" (id 1) (at 179.705 74.8796 0) + (effects (font (size 1.27 1.27)) (justify left top)) + ) + (pin "ESP#1_3V3" input (at 209.55 54.61 0) + (effects (font (size 1.27 1.27)) (justify right)) + (uuid d9645b65-4068-4c22-8fdf-affa35634fc0) + ) + (pin "ESP#2_CHARGE" input (at 209.55 72.39 0) + (effects (font (size 1.27 1.27)) (justify right)) + (uuid f46edcda-da5c-4e5b-a4ce-baecdd6e42b0) + ) + (pin "ESP#1_CHARGE" input (at 209.55 69.215 0) + (effects (font (size 1.27 1.27)) (justify right)) + (uuid ba727413-47ff-4bf2-9e2a-2e8c5103bfd4) + ) + (pin "+3V3 out" input (at 179.705 56.515 180) + (effects (font (size 1.27 1.27)) (justify left)) + (uuid 638c389d-0668-4b9b-8289-6c4a5b6d6066) + ) + (pin "ESP#2_3V3" input (at 209.55 57.785 0) + (effects (font (size 1.27 1.27)) (justify right)) + (uuid 2202b3c6-3c7b-4288-b551-6752a27fbd0e) + ) + ) (sheet (at 127.635 93.345) (size 24.765 15.24) (fields_autoplaced) (stroke (width 0.1524) (type solid) (color 0 0 0 0)) (fill (color 0 0 0 0.0000)) (uuid 135894dc-6710-4561-8073-567533e9f424) - (property "Sheet name" "GPS Module" (id 0) (at 127.635 92.6334 0) + (property "Název listu" "GPS Module" (id 0) (at 127.635 92.6334 0) (effects (font (size 1.27 1.27)) (justify left bottom)) ) - (property "Sheet file" "gps_module.kicad_sch" (id 1) (at 127.635 109.1696 0) + (property "Soubor listu" "gps_module.kicad_sch" (id 1) (at 127.635 109.1696 0) (effects (font (size 1.27 1.27)) (justify left top)) ) (pin "3V3" input (at 127.635 99.06 180) @@ -44,22 +159,22 @@ (stroke (width 0.1524) (type solid) (color 0 0 0 0)) (fill (color 0 0 0 0.0000)) (uuid a345038c-0e2c-4410-9183-a80a047c8766) - (property "Sheet name" "HF Transmitter" (id 0) (at 125.73 126.9234 0) + (property "Název listu" "HF Transmitter" (id 0) (at 125.73 126.9234 0) (effects (font (size 1.27 1.27)) (justify left bottom)) ) - (property "Sheet file" "hf_transmitter.kicad_sch" (id 1) (at 125.73 144.0946 0) + (property "Soubor listu" "hf_transmitter.kicad_sch" (id 1) (at 125.73 144.0946 0) (effects (font (size 1.27 1.27)) (justify left top)) ) ) - (sheet (at 166.37 83.82) (size 33.02 34.29) (fields_autoplaced) + (sheet (at 180.34 97.79) (size 33.02 34.29) (fields_autoplaced) (stroke (width 0.1524) (type solid) (color 0 0 0 0)) (fill (color 0 0 0 0.0000)) (uuid 81a5172c-b171-400d-8856-41d6e486bdd1) - (property "Sheet name" "MCU" (id 0) (at 166.37 83.1084 0) + (property "Název listu" "MCU" (id 0) (at 180.34 97.0784 0) (effects (font (size 1.27 1.27)) (justify left bottom)) ) - (property "Sheet file" "mcu_comm.kicad_sch" (id 1) (at 166.37 118.6946 0) + (property "Soubor listu" "mcu_comm.kicad_sch" (id 1) (at 180.34 132.6646 0) (effects (font (size 1.27 1.27)) (justify left top)) ) ) @@ -68,10 +183,10 @@ (stroke (width 0.1524) (type solid) (color 0 0 0 0)) (fill (color 0 0 0 0.0000)) (uuid 829b2795-9702-4633-a078-e2998d6d9402) - (property "Sheet name" "OpenLST (Beacon)" (id 0) (at 125.73 52.6284 0) + (property "Název listu" "OpenLST (Beacon)" (id 0) (at 125.73 52.6284 0) (effects (font (size 1.27 1.27)) (justify left bottom)) ) - (property "Sheet file" "OpenLST.kicad_sch" (id 1) (at 125.73 77.4196 0) + (property "Soubor listu" "OpenLST.kicad_sch" (id 1) (at 125.73 77.4196 0) (effects (font (size 1.27 1.27)) (justify left top)) ) (pin "5V" input (at 125.73 66.675 180) @@ -116,80 +231,88 @@ ) ) - (sheet (at 228.6 75.565) (size 16.51 55.88) (fields_autoplaced) + (sheet (at 251.46 53.34) (size 16.51 55.88) (fields_autoplaced) (stroke (width 0.1524) (type solid) (color 0 0 0 0)) (fill (color 0 0 0 0.0000)) (uuid 3006f49f-d72b-4219-8dea-bda42cf88e84) - (property "Sheet name" "Stack Connector" (id 0) (at 228.6 74.8534 0) + (property "Název listu" "Stack Connector" (id 0) (at 251.46 52.6284 0) (effects (font (size 1.27 1.27)) (justify left bottom)) ) - (property "Sheet file" "Stack_connector.kicad_sch" (id 1) (at 228.6 132.0296 0) + (property "Soubor listu" "Stack_connector.kicad_sch" (id 1) (at 251.46 109.8046 0) (effects (font (size 1.27 1.27)) (justify left top)) ) - (pin "CAN_H" input (at 228.6 99.695 180) + (pin "CAN_H" input (at 251.46 81.28 180) (effects (font (size 1.27 1.27)) (justify left)) (uuid 40b88aca-f462-4f2f-a0bf-d01ccc8111c5) ) - (pin "RS_485_A" input (at 228.6 106.68 180) + (pin "RS_485_A" input (at 251.46 84.455 180) (effects (font (size 1.27 1.27)) (justify left)) (uuid 300bdf4c-b7cf-4ea2-af04-063b3c8157a2) ) - (pin "EPS#1_5V" input (at 228.6 78.74 180) + (pin "EPS#1_5V" input (at 251.46 55.88 180) (effects (font (size 1.27 1.27)) (justify left)) (uuid deb0a69f-01cc-40ea-bfb5-d5abe6178447) ) - (pin "EPS#1_3V3" input (at 228.6 81.28 180) + (pin "EPS#1_3V3" input (at 251.46 58.42 180) (effects (font (size 1.27 1.27)) (justify left)) (uuid 8f350fe4-cfe6-45ee-8c29-71ccfca1b82b) ) - (pin "EPS#1_1V8" input (at 228.6 83.82 180) + (pin "EPS#1_1V8" input (at 251.46 60.96 180) (effects (font (size 1.27 1.27)) (justify left)) (uuid faa7de87-d22a-4ad8-9482-a0f4a8d6793d) ) - (pin "CAN_L" input (at 228.6 97.155 180) + (pin "CAN_L" input (at 251.46 78.74 180) (effects (font (size 1.27 1.27)) (justify left)) (uuid ad3344f8-871b-4951-ae39-e2ccb0cbb099) ) - (pin "RS_485_~{B}" input (at 228.6 109.22 180) + (pin "RS_485_~{B}" input (at 251.46 86.995 180) (effects (font (size 1.27 1.27)) (justify left)) (uuid 1e054749-d55d-4fa9-92e4-fedd8b3be27f) ) - (pin "QSPI_D1" input (at 228.6 115.57 180) + (pin "QSPI_D1" input (at 251.46 93.345 180) (effects (font (size 1.27 1.27)) (justify left)) (uuid aba7969b-cdb5-4ef0-ba0c-400112733e6c) ) - (pin "QSPI_SCK" input (at 228.6 127 180) + (pin "QSPI_SCK" input (at 251.46 104.775 180) (effects (font (size 1.27 1.27)) (justify left)) (uuid cc033afd-5e7c-454e-815a-d4ca057c4abf) ) - (pin "EPS#2_3V3" input (at 228.6 90.805 180) + (pin "EPS#2_3V3" input (at 251.46 69.85 180) (effects (font (size 1.27 1.27)) (justify left)) (uuid bc57d857-eb3c-4468-833f-449ae0fb617b) ) - (pin "EPS#2_5V" input (at 228.6 88.265 180) + (pin "EPS#2_5V" input (at 251.46 67.31 180) (effects (font (size 1.27 1.27)) (justify left)) (uuid ac8e3b83-abb2-46af-9c45-678c0ef8180d) ) - (pin "QSPI_CS" input (at 228.6 129.54 180) + (pin "QSPI_CS" input (at 251.46 107.315 180) (effects (font (size 1.27 1.27)) (justify left)) (uuid 80b1ce93-afff-4793-b748-45fd77f50d88) ) - (pin "EPS#2_1V8" input (at 228.6 93.345 180) + (pin "EPS#2_1V8" input (at 251.46 72.39 180) (effects (font (size 1.27 1.27)) (justify left)) (uuid a2142d81-09a8-408f-80e3-1bf7de4dfc15) ) - (pin "QSPI_D2" input (at 228.6 118.11 180) + (pin "QSPI_D2" input (at 251.46 95.885 180) (effects (font (size 1.27 1.27)) (justify left)) (uuid 8b2acdf9-30b1-4886-91b3-11589dafc045) ) - (pin "QSPI_D3" input (at 228.6 120.65 180) + (pin "QSPI_D3" input (at 251.46 98.425 180) (effects (font (size 1.27 1.27)) (justify left)) (uuid d8c6c93d-972d-4f67-985d-20054ce88555) ) - (pin "QSPI_D4" input (at 228.6 123.19 180) + (pin "QSPI_D4" input (at 251.46 100.965 180) (effects (font (size 1.27 1.27)) (justify left)) (uuid d447a6bb-2cf3-4940-94a7-326bb0cc98b0) ) + (pin "ESP#2_CHARGE" input (at 251.46 74.93 180) + (effects (font (size 1.27 1.27)) (justify left)) + (uuid 15d1c2b5-77c6-4122-a3d5-3b7ea6ebd290) + ) + (pin "ESP#1_CHARGE" input (at 251.46 63.5 180) + (effects (font (size 1.27 1.27)) (justify left)) + (uuid c2662652-3c8b-4086-b517-5fdea53f5242) + ) ) (sheet_instances @@ -199,6 +322,7 @@ (path "/135894dc-6710-4561-8073-567533e9f424" (page "4")) (path "/a345038c-0e2c-4410-9183-a80a047c8766" (page "5")) (path "/81a5172c-b171-400d-8856-41d6e486bdd1" (page "6")) + (path "/0335b19b-f69a-4698-b41d-d454ea335718" (page "7")) ) (symbol_instances @@ -382,6 +506,9 @@ (path "/81a5172c-b171-400d-8856-41d6e486bdd1/4a039799-f170-4b8b-9904-82da89c16c1c" (reference "#PWR?") (unit 1) (value "GND") (footprint "") ) + (path "/0335b19b-f69a-4698-b41d-d454ea335718/5edab2b6-9ffb-4ae1-b1f0-54ddc7ce5659" + (reference "#PWR?") (unit 1) (value "GND") (footprint "") + ) (path "/81a5172c-b171-400d-8856-41d6e486bdd1/654d2648-5b73-46d2-b3a8-f89598775795" (reference "#PWR?") (unit 1) (value "GND") (footprint "") ) @@ -391,6 +518,9 @@ (path "/81a5172c-b171-400d-8856-41d6e486bdd1/854d9771-d53c-47e5-9cb7-e940c58bc2ba" (reference "#PWR?") (unit 1) (value "GND") (footprint "") ) + (path "/0335b19b-f69a-4698-b41d-d454ea335718/8f2e9cba-6539-40c4-8553-4b1e6f27056f" + (reference "#PWR?") (unit 1) (value "GND") (footprint "") + ) (path "/81a5172c-b171-400d-8856-41d6e486bdd1/91cd8b7e-ad12-4411-bee1-ec36e8521bcf" (reference "#PWR?") (unit 1) (value "GND") (footprint "") ) @@ -640,9 +770,15 @@ (path "/81a5172c-b171-400d-8856-41d6e486bdd1/9547ef01-077b-4438-a172-64c2125251f1" (reference "R?") (unit 1) (value "1M") (footprint "TCY_passives:R_0603_1608Metric") ) + (path "/0335b19b-f69a-4698-b41d-d454ea335718/a9384195-1737-4983-9989-a78383bb8645" + (reference "R?") (unit 1) (value "330k") (footprint "") + ) (path "/81a5172c-b171-400d-8856-41d6e486bdd1/eb6b642d-cd23-4c17-a594-aa495930eca6" (reference "R?") (unit 1) (value "100k") (footprint "TCY_passives:R_0603_1608Metric") ) + (path "/0335b19b-f69a-4698-b41d-d454ea335718/fa1153a5-a5fa-4a23-beb6-5d04d6d9feea" + (reference "R?") (unit 1) (value "50k") (footprint "") + ) (path "/81a5172c-b171-400d-8856-41d6e486bdd1/fa9e67a5-5f23-49fe-b2f2-a895fb5395c1" (reference "SW?") (unit 1) (value "RST_BTN") (footprint "TCY_buttons_switches:KMT031NGJLHS") ) @@ -676,12 +812,18 @@ (path "/81a5172c-b171-400d-8856-41d6e486bdd1/087f685b-381e-416e-877f-21ddb167ba88" (reference "U?") (unit 1) (value "STM6822") (footprint "Package_TO_SOT_SMD:SOT-23-5") ) + (path "/0335b19b-f69a-4698-b41d-d454ea335718/3ed63a54-f90b-486a-a926-491ab3eac668" + (reference "U?") (unit 1) (value "TVL3691") (footprint "") + ) (path "/81a5172c-b171-400d-8856-41d6e486bdd1/5197f871-6b30-4ae1-9277-13230d2bc5be" (reference "U?") (unit 1) (value "STM32L432KCUx") (footprint "Package_DFN_QFN:QFN-32-1EP_5x5mm_P0.5mm_EP3.45x3.45mm") ) (path "/135894dc-6710-4561-8073-567533e9f424/a9077745-053e-4b42-8a30-760f9487663f" (reference "U?") (unit 1) (value "NEO-8Q") (footprint "RF_GPS:ublox_NEO") ) + (path "/0335b19b-f69a-4698-b41d-d454ea335718/dfe84c23-724a-48a4-ab09-8dd0b9b44ba3" + (reference "U?") (unit 1) (value "TPS2116") (footprint "") + ) (path "/81a5172c-b171-400d-8856-41d6e486bdd1/e9289751-ca4e-4aca-b320-8a1ce3eeef5a" (reference "U?") (unit 1) (value "STM6822") (footprint "Package_TO_SOT_SMD:SOT-23-5") ) diff --git a/modules/Communication/comm.kicad_sym b/modules/Communication/comm.kicad_sym index d97c6b9..443c26f 100644 --- a/modules/Communication/comm.kicad_sym +++ b/modules/Communication/comm.kicad_sym @@ -116,4 +116,57 @@ ) ) ) + (symbol "comm:TPS2116" (in_bom yes) (on_board yes) + (property "Reference" "U" (id 0) (at 3.81 12.7 0) + (effects (font (size 1.27 1.27))) + ) + (property "Value" "TPS2116" (id 1) (at 3.81 -8.89 0) + (effects (font (size 1.27 1.27))) + ) + (property "Footprint" "" (id 2) (at 3.81 12.7 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Datasheet" "" (id 3) (at 3.81 12.7 0) + (effects (font (size 1.27 1.27)) hide) + ) + (symbol "TPS2116_0_1" + (rectangle (start -2.54 11.43) (end 10.16 -6.35) + (stroke (width 0.1524)) (fill (type background)) + ) + ) + (symbol "TPS2116_1_1" + (pin input line (at -5.08 7.62 0) (length 2.54) + (name "GND" (effects (font (size 1.27 1.27)))) + (number "1" (effects (font (size 1.27 1.27)))) + ) + (pin output line (at -5.08 3.81 0) (length 2.54) + (name "VOUT" (effects (font (size 1.27 1.27)))) + (number "2" (effects (font (size 1.27 1.27)))) + ) + (pin input line (at -5.08 0 0) (length 2.54) + (name "VIN1" (effects (font (size 1.27 1.27)))) + (number "3" (effects (font (size 1.27 1.27)))) + ) + (pin input line (at -5.08 -3.81 0) (length 2.54) + (name "PR1" (effects (font (size 1.27 1.27)))) + (number "4" (effects (font (size 1.27 1.27)))) + ) + (pin input line (at 12.7 7.62 180) (length 2.54) + (name "MODE" (effects (font (size 1.27 1.27)))) + (number "5" (effects (font (size 1.27 1.27)))) + ) + (pin input line (at 12.7 3.81 180) (length 2.54) + (name "VIN2" (effects (font (size 1.27 1.27)))) + (number "6" (effects (font (size 1.27 1.27)))) + ) + (pin output line (at 12.7 0 180) (length 2.54) + (name "VOUT" (effects (font (size 1.27 1.27)))) + (number "7" (effects (font (size 1.27 1.27)))) + ) + (pin output line (at 12.7 -3.81 180) (length 2.54) + (name "ST" (effects (font (size 1.27 1.27)))) + (number "8" (effects (font (size 1.27 1.27)))) + ) + ) + ) ) diff --git a/modules/Communication/sym-lib-table b/modules/Communication/sym-lib-table new file mode 100644 index 0000000..fede9fa --- /dev/null +++ b/modules/Communication/sym-lib-table @@ -0,0 +1,3 @@ +(sym_lib_table + (lib (name "comm")(type "KiCad")(uri "${KIPRJMOD}/comm.kicad_sym")(options "")(descr "")) +)