From 8ab1890d0368070f3182e318cfe88ffb050c3fe3 Mon Sep 17 00:00:00 2001 From: Youen Toupin Date: Sun, 13 Feb 2022 13:05:18 +0100 Subject: [PATCH] moved kicad project to MCU_board, and added power_switches kicad project --- .gitignore | 8 +- .../MCU_board-cache.lib} | 0 .../MCU_board.kicad_pcb} | 0 .../MCU_board.kicad_prl} | 2 +- .../MCU_board.kicad_pro} | 2 +- .../MCU_board.kicad_sch} | 155 +----- .../MCU_board.sch} | 0 .../sym-lib-table | 6 +- schema/library/vehicle-monitor.kicad_sym | 89 ++++ .../power_switches/power_switches.kicad_pcb | 2 + .../power_switches/power_switches.kicad_prl | 75 +++ .../power_switches/power_switches.kicad_pro | 326 ++++++++++++ .../power_switches/power_switches.kicad_sch | 489 ++++++++++++++++++ schema/power_switches/sym-lib-table | 3 + 14 files changed, 994 insertions(+), 163 deletions(-) rename schema/{vehicle-monitor/vehicle-monitor-cache.lib => MCU_board/MCU_board-cache.lib} (100%) rename schema/{vehicle-monitor/vehicle-monitor.kicad_pcb => MCU_board/MCU_board.kicad_pcb} (100%) rename schema/{vehicle-monitor/vehicle-monitor.kicad_prl => MCU_board/MCU_board.kicad_prl} (96%) rename schema/{vehicle-monitor/vehicle-monitor.kicad_pro => MCU_board/MCU_board.kicad_pro} (99%) rename schema/{vehicle-monitor/vehicle-monitor.kicad_sch => MCU_board/MCU_board.kicad_sch} (89%) rename schema/{vehicle-monitor/vehicle-monitor.sch => MCU_board/MCU_board.sch} (100%) rename schema/{vehicle-monitor => MCU_board}/sym-lib-table (97%) create mode 100644 schema/power_switches/power_switches.kicad_pcb create mode 100644 schema/power_switches/power_switches.kicad_prl create mode 100644 schema/power_switches/power_switches.kicad_pro create mode 100644 schema/power_switches/power_switches.kicad_sch create mode 100644 schema/power_switches/sym-lib-table diff --git a/.gitignore b/.gitignore index de1174e..4282769 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,4 @@ -/schema/vehicle-monitor/vehicle-monitor.bak -/schema/library/*.bak -/schema/vehicle-monitor/_autosave-vehicle-monitor.sch -/schema/vehicle-monitor/vehicle-monitor-backups +/schema/*/*.bak +/schema/*/_autosave-*.sch +/schema/*/*-backups + diff --git a/schema/vehicle-monitor/vehicle-monitor-cache.lib b/schema/MCU_board/MCU_board-cache.lib similarity index 100% rename from schema/vehicle-monitor/vehicle-monitor-cache.lib rename to schema/MCU_board/MCU_board-cache.lib diff --git a/schema/vehicle-monitor/vehicle-monitor.kicad_pcb b/schema/MCU_board/MCU_board.kicad_pcb similarity index 100% rename from schema/vehicle-monitor/vehicle-monitor.kicad_pcb rename to schema/MCU_board/MCU_board.kicad_pcb diff --git a/schema/vehicle-monitor/vehicle-monitor.kicad_prl b/schema/MCU_board/MCU_board.kicad_prl similarity index 96% rename from schema/vehicle-monitor/vehicle-monitor.kicad_prl rename to schema/MCU_board/MCU_board.kicad_prl index 0a281b9..18ca28e 100644 --- a/schema/vehicle-monitor/vehicle-monitor.kicad_prl +++ b/schema/MCU_board/MCU_board.kicad_prl @@ -66,7 +66,7 @@ "zone_display_mode": 0 }, "meta": { - "filename": "vehicle-monitor.kicad_prl", + "filename": "MCU_board.kicad_prl", "version": 3 }, "project": { diff --git a/schema/vehicle-monitor/vehicle-monitor.kicad_pro b/schema/MCU_board/MCU_board.kicad_pro similarity index 99% rename from schema/vehicle-monitor/vehicle-monitor.kicad_pro rename to schema/MCU_board/MCU_board.kicad_pro index 0fa619e..558b532 100644 --- a/schema/vehicle-monitor/vehicle-monitor.kicad_pro +++ b/schema/MCU_board/MCU_board.kicad_pro @@ -238,7 +238,7 @@ "pinned_symbol_libs": [] }, "meta": { - "filename": "vehicle-monitor.kicad_pro", + "filename": "MCU_board.kicad_pro", "version": 1 }, "net_settings": { diff --git a/schema/vehicle-monitor/vehicle-monitor.kicad_sch b/schema/MCU_board/MCU_board.kicad_sch similarity index 89% rename from schema/vehicle-monitor/vehicle-monitor.kicad_sch rename to schema/MCU_board/MCU_board.kicad_sch index b82758d..e0838e4 100644 --- a/schema/vehicle-monitor/vehicle-monitor.kicad_sch +++ b/schema/MCU_board/MCU_board.kicad_sch @@ -5,71 +5,6 @@ (paper "A4") (lib_symbols - (symbol "Device:D_Schottky" (pin_numbers hide) (pin_names (offset 1.016) hide) (in_bom yes) (on_board yes) - (property "Reference" "D" (id 0) (at 0 2.54 0) - (effects (font (size 1.27 1.27))) - ) - (property "Value" "D_Schottky" (id 1) (at 0 -2.54 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" "diode Schottky" (id 4) (at 0 0 0) - (effects (font (size 1.27 1.27)) hide) - ) - (property "ki_description" "Schottky diode" (id 5) (at 0 0 0) - (effects (font (size 1.27 1.27)) hide) - ) - (property "ki_fp_filters" "TO-???* *_Diode_* *SingleDiode* D_*" (id 6) (at 0 0 0) - (effects (font (size 1.27 1.27)) hide) - ) - (symbol "D_Schottky_0_1" - (polyline - (pts - (xy 1.27 0) - (xy -1.27 0) - ) - (stroke (width 0) (type default) (color 0 0 0 0)) - (fill (type none)) - ) - (polyline - (pts - (xy 1.27 1.27) - (xy 1.27 -1.27) - (xy -1.27 0) - (xy 1.27 1.27) - ) - (stroke (width 0.254) (type default) (color 0 0 0 0)) - (fill (type none)) - ) - (polyline - (pts - (xy -1.905 0.635) - (xy -1.905 1.27) - (xy -1.27 1.27) - (xy -1.27 -1.27) - (xy -0.635 -1.27) - (xy -0.635 -0.635) - ) - (stroke (width 0.254) (type default) (color 0 0 0 0)) - (fill (type none)) - ) - ) - (symbol "D_Schottky_1_1" - (pin passive line (at -3.81 0 0) (length 2.54) - (name "K" (effects (font (size 1.27 1.27)))) - (number "1" (effects (font (size 1.27 1.27)))) - ) - (pin passive line (at 3.81 0 180) (length 2.54) - (name "A" (effects (font (size 1.27 1.27)))) - (number "2" (effects (font (size 1.27 1.27)))) - ) - ) - ) (symbol "Device:LED" (pin_numbers hide) (pin_names (offset 1.016) hide) (in_bom yes) (on_board yes) (property "Reference" "D" (id 0) (at 0 2.54 0) (effects (font (size 1.27 1.27))) @@ -192,46 +127,6 @@ ) ) ) - (symbol "power:PWR_FLAG" (power) (pin_numbers hide) (pin_names (offset 0) hide) (in_bom yes) (on_board yes) - (property "Reference" "#FLG" (id 0) (at 0 1.905 0) - (effects (font (size 1.27 1.27)) hide) - ) - (property "Value" "PWR_FLAG" (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" "Special symbol for telling ERC where power comes from" (id 5) (at 0 0 0) - (effects (font (size 1.27 1.27)) hide) - ) - (symbol "PWR_FLAG_0_0" - (pin power_out line (at 0 0 90) (length 0) - (name "pwr" (effects (font (size 1.27 1.27)))) - (number "1" (effects (font (size 1.27 1.27)))) - ) - ) - (symbol "PWR_FLAG_0_1" - (polyline - (pts - (xy 0 0) - (xy 0 1.27) - (xy -1.016 1.905) - (xy 0 2.54) - (xy 1.016 1.905) - (xy 0 1.27) - ) - (stroke (width 0) (type default) (color 0 0 0 0)) - (fill (type none)) - ) - ) - ) (symbol "vehicle-monitor:Conn_HSTS016L" (pin_names (offset 1.5)) (in_bom yes) (on_board yes) (property "Reference" "J" (id 0) (at 0 5.08 0) (effects (font (size 1.27 1.27))) @@ -741,9 +636,6 @@ ) ) - (junction (at 38.1 114.3) (diameter 0) (color 0 0 0 0) - (uuid 17c2725f-9658-4fb4-b7ca-c275b3a5c755) - ) (junction (at 53.34 102.87) (diameter 0) (color 0 0 0 0) (uuid 27517674-3899-406c-8c40-e091b6e4ffd3) ) @@ -900,14 +792,6 @@ (stroke (width 0) (type default) (color 0 0 0 0)) (uuid 8af84ad1-b0f2-4b48-bd1f-50524a5971c4) ) - (wire (pts (xy 38.1 114.3) (xy 44.45 114.3)) - (stroke (width 0) (type default) (color 0 0 0 0)) - (uuid 9225788f-dc25-426b-b356-6cb8e457b2b3) - ) - (wire (pts (xy 36.83 114.3) (xy 38.1 114.3)) - (stroke (width 0) (type default) (color 0 0 0 0)) - (uuid 9296b831-a402-4378-8522-6a630e2927d2) - ) (wire (pts (xy 125.73 73.66) (xy 125.73 76.2)) (stroke (width 0) (type default) (color 0 0 0 0)) (uuid a0e43822-d3bd-423d-8a16-3f26ff6c056b) @@ -920,7 +804,7 @@ (stroke (width 0) (type default) (color 0 0 0 0)) (uuid b298d1d9-3ccf-473b-b040-44a5d6ab2791) ) - (wire (pts (xy 27.94 114.3) (xy 29.21 114.3)) + (wire (pts (xy 27.94 114.3) (xy 44.45 114.3)) (stroke (width 0) (type default) (color 0 0 0 0)) (uuid b54d57a7-95c9-46b9-bf84-99ca3de4bc2a) ) @@ -1150,37 +1034,6 @@ (pin "9" (uuid b993e9dc-2262-4c7a-82d2-25b627d983e0)) ) - (symbol (lib_id "power:PWR_FLAG") (at 38.1 114.3 180) (unit 1) - (in_bom yes) (on_board yes) (fields_autoplaced) - (uuid bb19e933-492f-4c9e-8175-5a4360dd6af6) - (property "Reference" "#FLG0101" (id 0) (at 38.1 116.205 0) - (effects (font (size 1.27 1.27)) hide) - ) - (property "Value" "PWR_FLAG" (id 1) (at 38.1 119.38 0)) - (property "Footprint" "" (id 2) (at 38.1 114.3 0) - (effects (font (size 1.27 1.27)) hide) - ) - (property "Datasheet" "~" (id 3) (at 38.1 114.3 0) - (effects (font (size 1.27 1.27)) hide) - ) - (pin "1" (uuid 656f43bd-a03e-460c-ba1b-9715dbec95bc)) - ) - - (symbol (lib_id "Device:D_Schottky") (at 33.02 114.3 180) (unit 1) - (in_bom yes) (on_board yes) (fields_autoplaced) - (uuid c283e912-89ed-4bd9-afb6-b5b3225c6e72) - (property "Reference" "D1" (id 0) (at 33.3375 107.95 0)) - (property "Value" "D_Schottky" (id 1) (at 33.3375 110.49 0)) - (property "Footprint" "" (id 2) (at 33.02 114.3 0) - (effects (font (size 1.27 1.27)) hide) - ) - (property "Datasheet" "~" (id 3) (at 33.02 114.3 0) - (effects (font (size 1.27 1.27)) hide) - ) - (pin "1" (uuid dbc92f0f-24ce-4a2c-8f68-a801ac8723c5)) - (pin "2" (uuid d1eaafe3-1bf1-44ca-8c70-9b474929f4c0)) - ) - (symbol (lib_id "Device:R") (at 125.73 67.31 0) (unit 1) (in_bom yes) (on_board yes) (uuid c41a6d44-f99d-4f53-b51c-3b7668c1e7af) @@ -1239,12 +1092,6 @@ ) (symbol_instances - (path "/bb19e933-492f-4c9e-8175-5a4360dd6af6" - (reference "#FLG0101") (unit 1) (value "PWR_FLAG") (footprint "") - ) - (path "/c283e912-89ed-4bd9-afb6-b5b3225c6e72" - (reference "D1") (unit 1) (value "D_Schottky") (footprint "") - ) (path "/afca7eb0-1036-4ed8-9797-55c1cd7b5cb5" (reference "D2") (unit 1) (value "LED") (footprint "") ) diff --git a/schema/vehicle-monitor/vehicle-monitor.sch b/schema/MCU_board/MCU_board.sch similarity index 100% rename from schema/vehicle-monitor/vehicle-monitor.sch rename to schema/MCU_board/MCU_board.sch diff --git a/schema/vehicle-monitor/sym-lib-table b/schema/MCU_board/sym-lib-table similarity index 97% rename from schema/vehicle-monitor/sym-lib-table rename to schema/MCU_board/sym-lib-table index ab21107..0be422e 100644 --- a/schema/vehicle-monitor/sym-lib-table +++ b/schema/MCU_board/sym-lib-table @@ -1,3 +1,3 @@ -(sym_lib_table - (lib (name "vehicle-monitor")(type "KiCad")(uri "${KIPRJMOD}/../library/vehicle-monitor.kicad_sym")(options "")(descr "")) -) +(sym_lib_table + (lib (name "vehicle-monitor")(type "KiCad")(uri "${KIPRJMOD}/../library/vehicle-monitor.kicad_sym")(options "")(descr "")) +) diff --git a/schema/library/vehicle-monitor.kicad_sym b/schema/library/vehicle-monitor.kicad_sym index c954442..54cbb6c 100644 --- a/schema/library/vehicle-monitor.kicad_sym +++ b/schema/library/vehicle-monitor.kicad_sym @@ -506,4 +506,93 @@ ) ) ) + (symbol "OZO_DCDC_converter_5V" (in_bom yes) (on_board yes) + (property "Reference" "A" (id 0) (at -7.62 6.35 0) + (effects (font (size 1.27 1.27)) (justify left)) + ) + (property "Value" "OZO_DCDC_converter_5V" (id 1) (at 1.27 6.35 0) + (effects (font (size 1.27 1.27)) (justify left)) + ) + (property "Footprint" "" (id 2) (at -26.67 -6.35 0) + (effects (font (size 1.27 1.27)) (justify left) hide) + ) + (property "Datasheet" "" (id 3) (at 26.67 -7.62 0) + (effects (font (size 1.27 1.27)) (justify left) hide) + ) + (property "ki_description" "ozo-electric DCDC converter 10-60V input to 5V 2A output" (id 4) (at 0 0 0) + (effects (font (size 1.27 1.27)) hide) + ) + (symbol "OZO_DCDC_converter_5V_0_0" + (pin power_in line (at -10.16 -2.54 0) (length 2.54) + (name "GND" (effects (font (size 1.27 1.27)))) + (number "1" (effects (font (size 1.27 1.27)))) + ) + (pin power_in line (at -10.16 2.54 0) (length 2.54) + (name "Vin" (effects (font (size 1.27 1.27)))) + (number "2" (effects (font (size 1.27 1.27)))) + ) + (pin power_out line (at 10.16 2.54 180) (length 2.54) + (name "Vout" (effects (font (size 1.27 1.27)))) + (number "6" (effects (font (size 1.27 1.27)))) + ) + (pin power_out line (at 10.16 -2.54 180) (length 2.54) + (name "GND" (effects (font (size 1.27 1.27)))) + (number "7" (effects (font (size 1.27 1.27)))) + ) + ) + (symbol "OZO_DCDC_converter_5V_0_1" + (rectangle (start -7.62 5.08) (end 7.62 -5.08) + (stroke (width 0.254) (type default) (color 0 0 0 0)) + (fill (type background)) + ) + (polyline + (pts + (xy -6.35 -2.54) + (xy -5.08 -2.54) + ) + (stroke (width 0) (type default) (color 0 0 0 0)) + (fill (type none)) + ) + (polyline + (pts + (xy -3.81 -2.54) + (xy -2.54 -2.54) + ) + (stroke (width 0) (type default) (color 0 0 0 0)) + (fill (type none)) + ) + (polyline + (pts + (xy -1.27 -2.54) + (xy 0 -2.54) + ) + (stroke (width 0) (type default) (color 0 0 0 0)) + (fill (type none)) + ) + (polyline + (pts + (xy 1.27 -2.54) + (xy 2.54 -2.54) + ) + (stroke (width 0) (type default) (color 0 0 0 0)) + (fill (type none)) + ) + (polyline + (pts + (xy 3.81 -2.54) + (xy 5.08 -2.54) + ) + (stroke (width 0) (type default) (color 0 0 0 0)) + (fill (type none)) + ) + (polyline + (pts + (xy 6.35 -2.54) + (xy 7.62 -2.54) + ) + (stroke (width 0) (type default) (color 0 0 0 0)) + (fill (type none)) + ) + ) + ) ) diff --git a/schema/power_switches/power_switches.kicad_pcb b/schema/power_switches/power_switches.kicad_pcb new file mode 100644 index 0000000..28b47a1 --- /dev/null +++ b/schema/power_switches/power_switches.kicad_pcb @@ -0,0 +1,2 @@ +(kicad_pcb (version 20211014) (generator pcbnew) +) \ No newline at end of file diff --git a/schema/power_switches/power_switches.kicad_prl b/schema/power_switches/power_switches.kicad_prl new file mode 100644 index 0000000..d4d6878 --- /dev/null +++ b/schema/power_switches/power_switches.kicad_prl @@ -0,0 +1,75 @@ +{ + "board": { + "active_layer": 0, + "active_layer_preset": "", + "auto_track_width": true, + "hidden_nets": [], + "high_contrast_mode": 0, + "net_color_mode": 1, + "opacity": { + "pads": 1.0, + "tracks": 1.0, + "vias": 1.0, + "zones": 0.6 + }, + "ratsnest_display_mode": 0, + "selection_filter": { + "dimensions": true, + "footprints": true, + "graphics": true, + "keepouts": true, + "lockedItems": true, + "otherItems": true, + "pads": true, + "text": true, + "tracks": true, + "vias": true, + "zones": true + }, + "visible_items": [ + 0, + 1, + 2, + 3, + 4, + 5, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25, + 26, + 27, + 28, + 29, + 30, + 32, + 33, + 34, + 35, + 36 + ], + "visible_layers": "fffffff_ffffffff", + "zone_display_mode": 0 + }, + "meta": { + "filename": "power_switches.kicad_prl", + "version": 3 + }, + "project": { + "files": [] + } +} diff --git a/schema/power_switches/power_switches.kicad_pro b/schema/power_switches/power_switches.kicad_pro new file mode 100644 index 0000000..c02a9dc --- /dev/null +++ b/schema/power_switches/power_switches.kicad_pro @@ -0,0 +1,326 @@ +{ + "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": "power_switches.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": [ + [ + "e63e39d7-6ac0-4ffd-8aa3-1841a4541b55", + "" + ] + ], + "text_variables": {} +} diff --git a/schema/power_switches/power_switches.kicad_sch b/schema/power_switches/power_switches.kicad_sch new file mode 100644 index 0000000..fe11d66 --- /dev/null +++ b/schema/power_switches/power_switches.kicad_sch @@ -0,0 +1,489 @@ +(kicad_sch (version 20211123) (generator eeschema) + + (uuid e63e39d7-6ac0-4ffd-8aa3-1841a4541b55) + + (paper "A4") + + (lib_symbols + (symbol "Device:D" (pin_numbers hide) (pin_names (offset 1.016) hide) (in_bom yes) (on_board yes) + (property "Reference" "D" (id 0) (at 0 2.54 0) + (effects (font (size 1.27 1.27))) + ) + (property "Value" "D" (id 1) (at 0 -2.54 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" "diode" (id 4) (at 0 0 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "ki_description" "Diode" (id 5) (at 0 0 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "ki_fp_filters" "TO-???* *_Diode_* *SingleDiode* D_*" (id 6) (at 0 0 0) + (effects (font (size 1.27 1.27)) hide) + ) + (symbol "D_0_1" + (polyline + (pts + (xy -1.27 1.27) + (xy -1.27 -1.27) + ) + (stroke (width 0.254) (type default) (color 0 0 0 0)) + (fill (type none)) + ) + (polyline + (pts + (xy 1.27 0) + (xy -1.27 0) + ) + (stroke (width 0) (type default) (color 0 0 0 0)) + (fill (type none)) + ) + (polyline + (pts + (xy 1.27 1.27) + (xy 1.27 -1.27) + (xy -1.27 0) + (xy 1.27 1.27) + ) + (stroke (width 0.254) (type default) (color 0 0 0 0)) + (fill (type none)) + ) + ) + (symbol "D_1_1" + (pin passive line (at -3.81 0 0) (length 2.54) + (name "K" (effects (font (size 1.27 1.27)))) + (number "1" (effects (font (size 1.27 1.27)))) + ) + (pin passive line (at 3.81 0 180) (length 2.54) + (name "A" (effects (font (size 1.27 1.27)))) + (number "2" (effects (font (size 1.27 1.27)))) + ) + ) + ) + (symbol "Switch:SW_DPDT_x2" (pin_names (offset 0) hide) (in_bom yes) (on_board yes) + (property "Reference" "SW" (id 0) (at 0 4.318 0) + (effects (font (size 1.27 1.27))) + ) + (property "Value" "SW_DPDT_x2" (id 1) (at 0 -5.08 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" "switch dual-pole double-throw DPDT spdt ON-ON" (id 4) (at 0 0 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "ki_description" "Switch, dual pole double throw, separate symbols" (id 5) (at 0 0 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "ki_fp_filters" "SW*DPDT*" (id 6) (at 0 0 0) + (effects (font (size 1.27 1.27)) hide) + ) + (symbol "SW_DPDT_x2_0_0" + (circle (center -2.032 0) (radius 0.508) + (stroke (width 0) (type default) (color 0 0 0 0)) + (fill (type none)) + ) + (circle (center 2.032 -2.54) (radius 0.508) + (stroke (width 0) (type default) (color 0 0 0 0)) + (fill (type none)) + ) + ) + (symbol "SW_DPDT_x2_0_1" + (polyline + (pts + (xy -1.524 0.254) + (xy 1.651 2.286) + ) + (stroke (width 0) (type default) (color 0 0 0 0)) + (fill (type none)) + ) + (circle (center 2.032 2.54) (radius 0.508) + (stroke (width 0) (type default) (color 0 0 0 0)) + (fill (type none)) + ) + ) + (symbol "SW_DPDT_x2_1_1" + (pin passive line (at 5.08 2.54 180) (length 2.54) + (name "A" (effects (font (size 1.27 1.27)))) + (number "1" (effects (font (size 1.27 1.27)))) + ) + (pin passive line (at -5.08 0 0) (length 2.54) + (name "B" (effects (font (size 1.27 1.27)))) + (number "2" (effects (font (size 1.27 1.27)))) + ) + (pin passive line (at 5.08 -2.54 180) (length 2.54) + (name "C" (effects (font (size 1.27 1.27)))) + (number "3" (effects (font (size 1.27 1.27)))) + ) + ) + (symbol "SW_DPDT_x2_2_1" + (pin passive line (at 5.08 2.54 180) (length 2.54) + (name "A" (effects (font (size 1.27 1.27)))) + (number "4" (effects (font (size 1.27 1.27)))) + ) + (pin passive line (at -5.08 0 0) (length 2.54) + (name "B" (effects (font (size 1.27 1.27)))) + (number "5" (effects (font (size 1.27 1.27)))) + ) + (pin passive line (at 5.08 -2.54 180) (length 2.54) + (name "C" (effects (font (size 1.27 1.27)))) + (number "6" (effects (font (size 1.27 1.27)))) + ) + ) + ) + (symbol "vehicle-monitor:OZO_DCDC_converter_5V" (in_bom yes) (on_board yes) + (property "Reference" "A" (id 0) (at -7.62 6.35 0) + (effects (font (size 1.27 1.27)) (justify left)) + ) + (property "Value" "OZO_DCDC_converter_5V" (id 1) (at 1.27 6.35 0) + (effects (font (size 1.27 1.27)) (justify left)) + ) + (property "Footprint" "" (id 2) (at -26.67 -6.35 0) + (effects (font (size 1.27 1.27)) (justify left) hide) + ) + (property "Datasheet" "" (id 3) (at 26.67 -7.62 0) + (effects (font (size 1.27 1.27)) (justify left) hide) + ) + (property "ki_description" "ozo-electric DCDC converter 10-60V input to 5V 2A output" (id 4) (at 0 0 0) + (effects (font (size 1.27 1.27)) hide) + ) + (symbol "OZO_DCDC_converter_5V_0_0" + (pin power_in line (at -10.16 -2.54 0) (length 2.54) + (name "GND" (effects (font (size 1.27 1.27)))) + (number "1" (effects (font (size 1.27 1.27)))) + ) + (pin power_in line (at -10.16 2.54 0) (length 2.54) + (name "Vin" (effects (font (size 1.27 1.27)))) + (number "2" (effects (font (size 1.27 1.27)))) + ) + (pin power_out line (at 10.16 2.54 180) (length 2.54) + (name "Vout" (effects (font (size 1.27 1.27)))) + (number "6" (effects (font (size 1.27 1.27)))) + ) + (pin power_out line (at 10.16 -2.54 180) (length 2.54) + (name "GND" (effects (font (size 1.27 1.27)))) + (number "7" (effects (font (size 1.27 1.27)))) + ) + ) + (symbol "OZO_DCDC_converter_5V_0_1" + (rectangle (start -7.62 5.08) (end 7.62 -5.08) + (stroke (width 0.254) (type default) (color 0 0 0 0)) + (fill (type background)) + ) + (polyline + (pts + (xy -6.35 -2.54) + (xy -5.08 -2.54) + ) + (stroke (width 0) (type default) (color 0 0 0 0)) + (fill (type none)) + ) + (polyline + (pts + (xy -3.81 -2.54) + (xy -2.54 -2.54) + ) + (stroke (width 0) (type default) (color 0 0 0 0)) + (fill (type none)) + ) + (polyline + (pts + (xy -1.27 -2.54) + (xy 0 -2.54) + ) + (stroke (width 0) (type default) (color 0 0 0 0)) + (fill (type none)) + ) + (polyline + (pts + (xy 1.27 -2.54) + (xy 2.54 -2.54) + ) + (stroke (width 0) (type default) (color 0 0 0 0)) + (fill (type none)) + ) + (polyline + (pts + (xy 3.81 -2.54) + (xy 5.08 -2.54) + ) + (stroke (width 0) (type default) (color 0 0 0 0)) + (fill (type none)) + ) + (polyline + (pts + (xy 6.35 -2.54) + (xy 7.62 -2.54) + ) + (stroke (width 0) (type default) (color 0 0 0 0)) + (fill (type none)) + ) + ) + ) + ) + + (junction (at 53.34 66.04) (diameter 0) (color 0 0 0 0) + (uuid 049a82e9-6bf2-4d35-8f25-9f6aa9ae2dea) + ) + (junction (at 31.75 41.91) (diameter 0) (color 0 0 0 0) + (uuid 0503e475-2e50-4a15-91f4-e4e04f100616) + ) + (junction (at 59.69 50.8) (diameter 0) (color 0 0 0 0) + (uuid 08d6ed6b-83d0-422a-901a-ee867601b833) + ) + (junction (at 87.63 48.26) (diameter 0) (color 0 0 0 0) + (uuid 577e0aeb-a266-4b46-9579-4fa321d07333) + ) + + (wire (pts (xy 95.25 67.31) (xy 100.33 67.31)) + (stroke (width 0) (type default) (color 0 0 0 0)) + (uuid 0cff9f4b-de24-4f7f-87cf-a99f632ba638) + ) + (wire (pts (xy 21.59 41.91) (xy 22.86 41.91)) + (stroke (width 0) (type default) (color 0 0 0 0)) + (uuid 2ed4d635-58a6-4d95-937a-a13d12eab682) + ) + (wire (pts (xy 59.69 50.8) (xy 59.69 41.91)) + (stroke (width 0) (type default) (color 0 0 0 0)) + (uuid 3345a7b3-e5ec-4377-a070-c0005112a2e8) + ) + (wire (pts (xy 31.75 41.91) (xy 31.75 63.5)) + (stroke (width 0) (type default) (color 0 0 0 0)) + (uuid 341f00ef-edab-46fe-96a2-f471cdbfaf88) + ) + (wire (pts (xy 31.75 41.91) (xy 38.1 41.91)) + (stroke (width 0) (type default) (color 0 0 0 0)) + (uuid 3c0e1984-4011-4979-8e12-ebe07cc1ce09) + ) + (wire (pts (xy 87.63 48.26) (xy 82.55 48.26)) + (stroke (width 0) (type default) (color 0 0 0 0)) + (uuid 4805ae78-5882-4e92-ba3d-8e4c70d0927e) + ) + (wire (pts (xy 127 72.39) (xy 127 48.26)) + (stroke (width 0) (type default) (color 0 0 0 0)) + (uuid 4bd167a6-76f6-478f-983d-e85d7c5f5274) + ) + (wire (pts (xy 53.34 69.85) (xy 95.25 69.85)) + (stroke (width 0) (type default) (color 0 0 0 0)) + (uuid 4c726e0f-1585-43bc-ab71-e97533286e72) + ) + (wire (pts (xy 87.63 33.02) (xy 87.63 48.26)) + (stroke (width 0) (type default) (color 0 0 0 0)) + (uuid 530ba506-b453-47ed-bf55-7eeb13948cb7) + ) + (wire (pts (xy 124.46 67.31) (xy 124.46 50.8)) + (stroke (width 0) (type default) (color 0 0 0 0)) + (uuid 65719625-2743-4c90-b51c-17da9c6c2922) + ) + (wire (pts (xy 53.34 44.45) (xy 53.34 66.04)) + (stroke (width 0) (type default) (color 0 0 0 0)) + (uuid 6cf80a51-777d-42b1-8366-f4340fbb67fc) + ) + (wire (pts (xy 48.26 44.45) (xy 53.34 44.45)) + (stroke (width 0) (type default) (color 0 0 0 0)) + (uuid 839030c4-e869-45c6-95cf-9e2a490f8454) + ) + (wire (pts (xy 69.85 66.04) (xy 85.09 66.04)) + (stroke (width 0) (type default) (color 0 0 0 0)) + (uuid 86ca22d0-76f8-443e-99f2-6e0638ba1fa9) + ) + (wire (pts (xy 120.65 72.39) (xy 127 72.39)) + (stroke (width 0) (type default) (color 0 0 0 0)) + (uuid 8e3f073f-af7a-488c-bd9a-5d0c797679fa) + ) + (wire (pts (xy 31.75 63.5) (xy 38.1 63.5)) + (stroke (width 0) (type default) (color 0 0 0 0)) + (uuid 9083f655-5a58-4b7a-9ae9-5736a88fdadc) + ) + (wire (pts (xy 124.46 50.8) (xy 59.69 50.8)) + (stroke (width 0) (type default) (color 0 0 0 0)) + (uuid 9261d3b7-1fe2-400c-af59-99a5e6d07262) + ) + (wire (pts (xy 53.34 66.04) (xy 53.34 69.85)) + (stroke (width 0) (type default) (color 0 0 0 0)) + (uuid 9b229dce-e01f-436d-aa19-067b1fc2c250) + ) + (wire (pts (xy 27.94 72.39) (xy 27.94 44.45)) + (stroke (width 0) (type default) (color 0 0 0 0)) + (uuid b36baf84-1cea-4352-ad02-0db2036436d2) + ) + (wire (pts (xy 30.48 41.91) (xy 31.75 41.91)) + (stroke (width 0) (type default) (color 0 0 0 0)) + (uuid b816767d-94a6-4307-ae0f-9ba9c3b7509f) + ) + (wire (pts (xy 21.59 44.45) (xy 27.94 44.45)) + (stroke (width 0) (type default) (color 0 0 0 0)) + (uuid b896eaa0-6162-4cac-915a-e135561e862a) + ) + (wire (pts (xy 85.09 33.02) (xy 85.09 66.04)) + (stroke (width 0) (type default) (color 0 0 0 0)) + (uuid b9be3909-0f30-435c-b7d7-d1a834d6cf4e) + ) + (wire (pts (xy 95.25 69.85) (xy 95.25 67.31)) + (stroke (width 0) (type default) (color 0 0 0 0)) + (uuid c6bdee0c-d42a-4e4d-a6aa-1b36cc996724) + ) + (wire (pts (xy 100.33 72.39) (xy 27.94 72.39)) + (stroke (width 0) (type default) (color 0 0 0 0)) + (uuid da167ad0-83e8-440a-a12a-70db82e3c6f7) + ) + (wire (pts (xy 127 48.26) (xy 87.63 48.26)) + (stroke (width 0) (type default) (color 0 0 0 0)) + (uuid deb5f39b-278d-4ee7-9135-43200ee3eb52) + ) + (wire (pts (xy 59.69 50.8) (xy 59.69 63.5)) + (stroke (width 0) (type default) (color 0 0 0 0)) + (uuid dfd80ab4-a65f-4c13-ab69-b7a57a38de5a) + ) + (wire (pts (xy 120.65 67.31) (xy 124.46 67.31)) + (stroke (width 0) (type default) (color 0 0 0 0)) + (uuid e0cb25b5-696f-419b-8205-fe5404377d4f) + ) + (wire (pts (xy 48.26 66.04) (xy 53.34 66.04)) + (stroke (width 0) (type default) (color 0 0 0 0)) + (uuid e8ec8399-83f4-429c-afa7-c48f48b8e972) + ) + (wire (pts (xy 82.55 33.02) (xy 82.55 48.26)) + (stroke (width 0) (type default) (color 0 0 0 0)) + (uuid f39caa2e-1a97-4060-9ebd-2bcfecdd4514) + ) + (wire (pts (xy 80.01 33.02) (xy 80.01 44.45)) + (stroke (width 0) (type default) (color 0 0 0 0)) + (uuid fb253794-3239-4883-ae3b-918fbf69e509) + ) + (wire (pts (xy 69.85 44.45) (xy 80.01 44.45)) + (stroke (width 0) (type default) (color 0 0 0 0)) + (uuid fbe4d753-833c-49cf-8c57-f94b8bc3d317) + ) + + (symbol (lib_id "Switch:SW_DPDT_x2") (at 64.77 63.5 0) (unit 2) + (in_bom yes) (on_board yes) (fields_autoplaced) + (uuid 07d6040e-ebb3-496e-bd65-8cc6a12742e1) + (property "Reference" "SW?" (id 0) (at 64.77 55.88 0)) + (property "Value" "SW_DPDT_USB" (id 1) (at 64.77 58.42 0)) + (property "Footprint" "" (id 2) (at 64.77 63.5 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Datasheet" "~" (id 3) (at 64.77 63.5 0) + (effects (font (size 1.27 1.27)) hide) + ) + (pin "4" (uuid 6c5a2f83-12ae-4558-8c58-f0a1ad06db77)) + (pin "5" (uuid 25c62efb-d822-4acd-812d-fc22fcf4eeca)) + (pin "6" (uuid 64cb038d-ffb2-4efe-878c-b62e1431d9b3)) + ) + + (symbol (lib_id "Switch:SW_DPDT_x2") (at 43.18 41.91 0) (unit 1) + (in_bom yes) (on_board yes) (fields_autoplaced) + (uuid a06bd114-6488-4d22-b31a-c3a8f70a2574) + (property "Reference" "SW?" (id 0) (at 43.18 34.29 0)) + (property "Value" "SW_DPDT_MCU" (id 1) (at 43.18 36.83 0)) + (property "Footprint" "" (id 2) (at 43.18 41.91 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Datasheet" "~" (id 3) (at 43.18 41.91 0) + (effects (font (size 1.27 1.27)) hide) + ) + (pin "1" (uuid 60fc0348-15d2-462c-9b87-dbb507b8717b)) + (pin "2" (uuid 9efb25aa-d11e-4d2f-96a9-326a2f75dcc1)) + (pin "3" (uuid d09d8e7f-f203-4b36-92ba-f9f29b6e7d13)) + ) + + (symbol (lib_id "Device:D") (at 26.67 41.91 180) (unit 1) + (in_bom yes) (on_board yes) (fields_autoplaced) + (uuid b1f818c3-6e86-4e26-a811-411d31d31cc5) + (property "Reference" "D?" (id 0) (at 26.67 35.56 0)) + (property "Value" "D" (id 1) (at 26.67 38.1 0)) + (property "Footprint" "" (id 2) (at 26.67 41.91 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Datasheet" "~" (id 3) (at 26.67 41.91 0) + (effects (font (size 1.27 1.27)) hide) + ) + (pin "1" (uuid cc329b05-d83d-40dd-a655-7d2cb1f4ee65)) + (pin "2" (uuid 8ff11011-f664-44da-b4e9-3fc5a4389a8c)) + ) + + (symbol (lib_id "Switch:SW_DPDT_x2") (at 43.18 63.5 0) (unit 1) + (in_bom yes) (on_board yes) (fields_autoplaced) + (uuid b5e90aa2-b4c4-48fe-b486-64e22a6faa8c) + (property "Reference" "SW?" (id 0) (at 43.18 55.88 0)) + (property "Value" "SW_DPDT_USB" (id 1) (at 43.18 58.42 0)) + (property "Footprint" "" (id 2) (at 43.18 63.5 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Datasheet" "~" (id 3) (at 43.18 63.5 0) + (effects (font (size 1.27 1.27)) hide) + ) + (pin "1" (uuid 68baab26-1b39-4921-b628-7419535628be)) + (pin "2" (uuid bd824a2e-3bde-4608-9e14-b8d622dea8e8)) + (pin "3" (uuid 70a98d56-9286-4223-991e-59c0b3c9ea47)) + ) + + (symbol (lib_id "Switch:SW_DPDT_x2") (at 64.77 41.91 0) (unit 2) + (in_bom yes) (on_board yes) (fields_autoplaced) + (uuid bea900fb-1901-40d8-8d69-306ff0f3a285) + (property "Reference" "SW?" (id 0) (at 64.77 34.29 0)) + (property "Value" "SW_DPDT_MCU" (id 1) (at 64.77 36.83 0)) + (property "Footprint" "" (id 2) (at 64.77 41.91 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Datasheet" "~" (id 3) (at 64.77 41.91 0) + (effects (font (size 1.27 1.27)) hide) + ) + (pin "4" (uuid b91188b5-8fc5-4c73-b77f-e64c2593c5ac)) + (pin "5" (uuid befd6b19-7e70-4952-9928-d359e6b0cbf0)) + (pin "6" (uuid f45039dd-4bdc-4dd9-a9c9-5ee154cf7ec4)) + ) + + (symbol (lib_id "vehicle-monitor:OZO_DCDC_converter_5V") (at 110.49 69.85 0) (unit 1) + (in_bom yes) (on_board yes) (fields_autoplaced) + (uuid c1d83899-e380-49f9-a87d-8e78bc089ebf) + (property "Reference" "A?" (id 0) (at 110.49 59.69 0)) + (property "Value" "OZO_DCDC_converter_5V" (id 1) (at 110.49 62.23 0)) + (property "Footprint" "" (id 2) (at 83.82 76.2 0) + (effects (font (size 1.27 1.27)) (justify left) hide) + ) + (property "Datasheet" "" (id 3) (at 137.16 77.47 0) + (effects (font (size 1.27 1.27)) (justify left) hide) + ) + (pin "1" (uuid 6a955fc7-39d9-4c75-9a69-676ca8c0b9b2)) + (pin "2" (uuid e8314017-7be6-4011-9179-37449a29b311)) + (pin "6" (uuid e10b5627-3247-4c86-b9f6-ef474ca11543)) + (pin "7" (uuid 746ba970-8279-4e7b-aed3-f28687777c21)) + ) + + (sheet_instances + (path "/" (page "1")) + ) + + (symbol_instances + (path "/c1d83899-e380-49f9-a87d-8e78bc089ebf" + (reference "A?") (unit 1) (value "OZO_DCDC_converter_5V") (footprint "") + ) + (path "/b1f818c3-6e86-4e26-a811-411d31d31cc5" + (reference "D?") (unit 1) (value "D") (footprint "") + ) + (path "/a06bd114-6488-4d22-b31a-c3a8f70a2574" + (reference "SW?") (unit 1) (value "SW_DPDT_MCU") (footprint "") + ) + (path "/b5e90aa2-b4c4-48fe-b486-64e22a6faa8c" + (reference "SW?") (unit 1) (value "SW_DPDT_USB") (footprint "") + ) + (path "/07d6040e-ebb3-496e-bd65-8cc6a12742e1" + (reference "SW?") (unit 2) (value "SW_DPDT_USB") (footprint "") + ) + (path "/bea900fb-1901-40d8-8d69-306ff0f3a285" + (reference "SW?") (unit 2) (value "SW_DPDT_MCU") (footprint "") + ) + ) +) diff --git a/schema/power_switches/sym-lib-table b/schema/power_switches/sym-lib-table new file mode 100644 index 0000000..0be422e --- /dev/null +++ b/schema/power_switches/sym-lib-table @@ -0,0 +1,3 @@ +(sym_lib_table + (lib (name "vehicle-monitor")(type "KiCad")(uri "${KIPRJMOD}/../library/vehicle-monitor.kicad_sym")(options "")(descr "")) +)