8 Commits

18 changed files with 41186 additions and 38192 deletions

4
.gitignore vendored
View File

@@ -16,8 +16,6 @@ Hardware/*/*.tmp
Hardware/*/*-save.pro Hardware/*/*-save.pro
Hardware/*/*-save.kicad_pcb Hardware/*/*-save.kicad_pcb
Hardware/*/fp-info-cache Hardware/*/fp-info-cache
Hardware/*/*.kicad_*.lck
Hardware/*/#auto_saved_files#
# Netlist files (exported from Eeschema) # Netlist files (exported from Eeschema)
Hardware/*/*.net Hardware/*/*.net
@@ -32,4 +30,4 @@ Hardware/*/*.csv
__pycache__/ __pycache__/
temp/ temp/

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -10,17 +10,28 @@
"via_dimensions": [] "via_dimensions": []
}, },
"ipc2581": { "ipc2581": {
"bom_rev": "",
"dist": "", "dist": "",
"distpn": "", "distpn": "",
"internal_id": "", "internal_id": "",
"mfg": "", "mfg": "",
"mpn": "" "mpn": "",
"sch_revision": ""
}, },
"layer_pairs": [], "layer_pairs": [],
"layer_presets": [], "layer_presets": [],
"viewports": [] "viewports": []
}, },
"boards": [], "boards": [],
"component_class_settings": {
"assignments": [],
"meta": {
"version": 0
},
"sheet_component_classes": {
"enabled": false
}
},
"cvpcb": { "cvpcb": {
"equivalence_files": [] "equivalence_files": []
}, },
@@ -210,11 +221,14 @@
"duplicate_sheet_names": "error", "duplicate_sheet_names": "error",
"endpoint_off_grid": "warning", "endpoint_off_grid": "warning",
"extra_units": "error", "extra_units": "error",
"field_name_whitespace": "warning",
"footprint_filter": "ignore", "footprint_filter": "ignore",
"footprint_link_issues": "warning", "footprint_link_issues": "warning",
"four_way_junction": "ignore", "four_way_junction": "ignore",
"global_label_dangling": "warning", "global_label_dangling": "warning",
"ground_pin_not_ground": "warning",
"hier_label_mismatch": "error", "hier_label_mismatch": "error",
"isolated_pin_label": "warning",
"label_dangling": "error", "label_dangling": "error",
"label_multiple_wires": "warning", "label_multiple_wires": "warning",
"lib_symbol_issues": "warning", "lib_symbol_issues": "warning",
@@ -237,6 +251,7 @@
"similar_power": "warning", "similar_power": "warning",
"simulation_model_issue": "ignore", "simulation_model_issue": "ignore",
"single_global_label": "ignore", "single_global_label": "ignore",
"stacked_pin_name": "warning",
"unannotated": "error", "unannotated": "error",
"unconnected_wire_endpoint": "warning", "unconnected_wire_endpoint": "warning",
"undefined_netclass": "error", "undefined_netclass": "error",
@@ -269,13 +284,14 @@
"priority": 2147483647, "priority": 2147483647,
"schematic_color": "rgba(0, 0, 0, 0.000)", "schematic_color": "rgba(0, 0, 0, 0.000)",
"track_width": 0.2, "track_width": 0.2,
"tuning_profile": "",
"via_diameter": 0.6, "via_diameter": 0.6,
"via_drill": 0.3, "via_drill": 0.3,
"wire_width": 6 "wire_width": 6
} }
], ],
"meta": { "meta": {
"version": 4 "version": 5
}, },
"net_colors": null, "net_colors": null,
"netclass_assignments": null, "netclass_assignments": null,
@@ -297,6 +313,10 @@
}, },
"schematic": { "schematic": {
"annotate_start_num": 0, "annotate_start_num": 0,
"annotation": {
"method": 0,
"sort_order": 0
},
"bom_export_filename": "${PROJECTNAME}.csv", "bom_export_filename": "${PROJECTNAME}.csv",
"bom_fmt_presets": [], "bom_fmt_presets": [],
"bom_fmt_settings": { "bom_fmt_settings": {
@@ -320,7 +340,7 @@
}, },
{ {
"group_by": false, "group_by": false,
"label": "Quantity", "label": "Qty",
"name": "${QUANTITY}", "name": "${QUANTITY}",
"show": true "show": true
}, },
@@ -331,22 +351,22 @@
"show": true "show": true
}, },
{ {
"group_by": false, "group_by": true,
"label": "DNP", "label": "DNP",
"name": "${DNP}", "name": "${DNP}",
"show": false "show": true
}, },
{ {
"group_by": false, "group_by": true,
"label": "Exclude from BOM", "label": "Exclude from BOM",
"name": "${EXCLUDE_FROM_BOM}", "name": "${EXCLUDE_FROM_BOM}",
"show": false "show": true
}, },
{ {
"group_by": false, "group_by": true,
"label": "Exclude from Board", "label": "Exclude from Board",
"name": "${EXCLUDE_FROM_BOARD}", "name": "${EXCLUDE_FROM_BOARD}",
"show": false "show": true
}, },
{ {
"group_by": true, "group_by": true,
@@ -354,110 +374,21 @@
"name": "Footprint", "name": "Footprint",
"show": true "show": true
}, },
{
"group_by": false,
"label": "Max DC Bias",
"name": "Max DC Bias",
"show": false
},
{ {
"group_by": false, "group_by": false,
"label": "Datasheet", "label": "Datasheet",
"name": "Datasheet", "name": "Datasheet",
"show": false
},
{
"group_by": false,
"label": "Manufacturer",
"name": "Manufacturer",
"show": true "show": true
},
{
"group_by": false,
"label": "Manufacturer PN",
"name": "Manufacturer PN",
"show": true
},
{
"group_by": false,
"label": "Notes",
"name": "Notes",
"show": false
},
{
"group_by": false,
"label": "PN",
"name": "PN",
"show": false
},
{
"group_by": false,
"label": "Sim.Device",
"name": "Sim.Device",
"show": false
},
{
"group_by": false,
"label": "Sim.Pins",
"name": "Sim.Pins",
"show": false
},
{
"group_by": false,
"label": "Sim.Type",
"name": "Sim.Type",
"show": false
},
{
"group_by": false,
"label": "Supplier",
"name": "Supplier",
"show": true
},
{
"group_by": false,
"label": "Supplier PN",
"name": "Supplier PN",
"show": true
},
{
"group_by": false,
"label": "Supplier Link",
"name": "Supplier Link",
"show": true
},
{
"group_by": false,
"label": "Description",
"name": "Description",
"show": false
},
{
"group_by": false,
"label": "#",
"name": "${ITEM_NUMBER}",
"show": false
},
{
"group_by": false,
"label": "Sim.Name",
"name": "Sim.Name",
"show": false
},
{
"group_by": false,
"label": "Sim.Library",
"name": "Sim.Library",
"show": false
} }
], ],
"filter_string": "", "filter_string": "",
"group_symbols": true, "group_symbols": true,
"include_excluded_from_bom": false, "include_excluded_from_bom": true,
"name": "", "name": "Default Editing",
"sort_asc": true, "sort_asc": true,
"sort_field": "Value" "sort_field": "Reference"
}, },
"bus_aliases": {},
"connection_grid_size": 50.0, "connection_grid_size": 50.0,
"drawing": { "drawing": {
"dashed_lines_dash_length_ratio": 12.0, "dashed_lines_dash_length_ratio": 12.0,
@@ -465,6 +396,7 @@
"default_line_thickness": 6.0, "default_line_thickness": 6.0,
"default_text_size": 50.0, "default_text_size": 50.0,
"field_names": [], "field_names": [],
"hop_over_size_choice": 0,
"intersheets_ref_own_page": false, "intersheets_ref_own_page": false,
"intersheets_ref_prefix": "", "intersheets_ref_prefix": "",
"intersheets_ref_short": false, "intersheets_ref_short": false,
@@ -488,6 +420,7 @@
"net_format_name": "", "net_format_name": "",
"page_layout_descr_file": "", "page_layout_descr_file": "",
"plot_directory": "", "plot_directory": "",
"reuse_designators": true,
"space_save_all_events": true, "space_save_all_events": true,
"spice_current_sheet_as_root": false, "spice_current_sheet_as_root": false,
"spice_external_command": "spice \"%I\"", "spice_external_command": "spice \"%I\"",
@@ -496,12 +429,21 @@
"spice_save_all_dissipations": false, "spice_save_all_dissipations": false,
"spice_save_all_voltages": false, "spice_save_all_voltages": false,
"subpart_first_id": 65, "subpart_first_id": 65,
"subpart_id_separator": 0 "subpart_id_separator": 0,
"top_level_sheets": [
{
"filename": "keyboard_controller.kicad_sch",
"name": "keyboard_controller",
"uuid": "b230ff6d-d62b-4e9b-b4a9-a03792e35fdd"
}
],
"used_designators": "SW4,D15-22,C5,C45-49,C52,C67-68,#PWR26,#PWR28,#PWR56,#PWR73-77,#PWR109,#PWR113,#PWR218-227,R3-4,R60-61,R95,R97,R99,R105-112",
"variants": []
}, },
"sheets": [ "sheets": [
[ [
"b230ff6d-d62b-4e9b-b4a9-a03792e35fdd", "b230ff6d-d62b-4e9b-b4a9-a03792e35fdd",
"Root" "keyboard_controller"
], ],
[ [
"3e008f42-c8a7-4e04-b8be-bf15bd9f122f", "3e008f42-c8a7-4e04-b8be-bf15bd9f122f",
@@ -525,16 +467,14 @@
], ],
[ [
"596f4890-a5ff-4776-a61d-272e3bcbcdd5", "596f4890-a5ff-4776-a61d-272e3bcbcdd5",
"Battery" "POWER"
],
[
"efdabaa1-4e6c-4b02-8574-dea8c0bb89ea",
"Ideal diode"
],
[
"14e475fc-3ffe-44c4-b9c9-539e1b0d41cb",
"Ideal diode"
] ]
], ],
"text_variables": {} "text_variables": {},
"tuning_profiles": {
"meta": {
"version": 0
},
"tuning_profiles_impedance_geometric": []
}
} }

View File

@@ -1,12 +1,12 @@
(kicad_sch (kicad_sch
(version 20250114) (version 20260306)
(generator "eeschema") (generator "eeschema")
(generator_version "9.0") (generator_version "10.0")
(uuid "b230ff6d-d62b-4e9b-b4a9-a03792e35fdd") (uuid "b230ff6d-d62b-4e9b-b4a9-a03792e35fdd")
(paper "A4") (paper "A4")
(lib_symbols (lib_symbols
(symbol "power:+5V" (symbol "power:+5V"
(power) (power global)
(pin_numbers (pin_numbers
(hide yes) (hide yes)
) )
@@ -17,17 +17,23 @@
(exclude_from_sim no) (exclude_from_sim no)
(in_bom yes) (in_bom yes)
(on_board yes) (on_board yes)
(in_pos_files yes)
(duplicate_pin_numbers_are_jumpers no)
(property "Reference" "#PWR" (property "Reference" "#PWR"
(at 0 -3.81 0) (at 0 -3.81 0)
(show_name no)
(do_not_autoplace no)
(hide yes)
(effects (effects
(font (font
(size 1.27 1.27) (size 1.27 1.27)
) )
(hide yes)
) )
) )
(property "Value" "+5V" (property "Value" "+5V"
(at 0 3.556 0) (at 0 3.556 0)
(show_name no)
(do_not_autoplace no)
(effects (effects
(font (font
(size 1.27 1.27) (size 1.27 1.27)
@@ -36,38 +42,46 @@
) )
(property "Footprint" "" (property "Footprint" ""
(at 0 0 0) (at 0 0 0)
(show_name no)
(do_not_autoplace no)
(hide yes)
(effects (effects
(font (font
(size 1.27 1.27) (size 1.27 1.27)
) )
(hide yes)
) )
) )
(property "Datasheet" "" (property "Datasheet" ""
(at 0 0 0) (at 0 0 0)
(show_name no)
(do_not_autoplace no)
(hide yes)
(effects (effects
(font (font
(size 1.27 1.27) (size 1.27 1.27)
) )
(hide yes)
) )
) )
(property "Description" "Power symbol creates a global label with name \"+5V\"" (property "Description" "Power symbol creates a global label with name \"+5V\""
(at 0 0 0) (at 0 0 0)
(show_name no)
(do_not_autoplace no)
(hide yes)
(effects (effects
(font (font
(size 1.27 1.27) (size 1.27 1.27)
) )
(hide yes)
) )
) )
(property "ki_keywords" "global power" (property "ki_keywords" "global power"
(at 0 0 0) (at 0 0 0)
(show_name no)
(do_not_autoplace no)
(hide yes)
(effects (effects
(font (font
(size 1.27 1.27) (size 1.27 1.27)
) )
(hide yes)
) )
) )
(symbol "+5V_0_1" (symbol "+5V_0_1"
@@ -112,7 +126,7 @@
(pin power_in line (pin power_in line
(at 0 0 90) (at 0 0 90)
(length 0) (length 0)
(name "~" (name ""
(effects (effects
(font (font
(size 1.27 1.27) (size 1.27 1.27)
@@ -131,9 +145,9 @@
(embedded_fonts no) (embedded_fonts no)
) )
) )
(text "NOTES:\n\nperipherals share an i2c bus with the usb hub and pd controller since\nsharing the I2C directly with the keyboard could create an security\nproblem with peripherals directly snooping on the keyboard presses\n\ncapacitor selection required at least 90% of design capacitance with DC bias derating (<10uF)\ncompromised on capacitors >10u to avoid upsizing package beyond 0805" (text "NOTES:\n\nperipherals share an i2c bus with the usb hub and pd controller since\nsharing the I2C directly with the keyboard could create an security\nproblem with peripherals directly snooping on the keyboard presses"
(exclude_from_sim no) (exclude_from_sim no)
(at 177.546 173.736 0) (at 177.546 171.704 0)
(effects (effects
(font (font
(size 1.27 1.27) (size 1.27 1.27)
@@ -154,12 +168,24 @@
(color 0 0 0 0) (color 0 0 0 0)
(uuid "134c1b32-2691-49f1-8c3e-3f89f2c92ded") (uuid "134c1b32-2691-49f1-8c3e-3f89f2c92ded")
) )
(junction
(at 119.38 95.25)
(diameter 0)
(color 0 0 0 0)
(uuid "3622ca53-673f-40f7-b57c-1ddffd2e865d")
)
(junction (junction
(at 119.38 40.64) (at 119.38 40.64)
(diameter 0) (diameter 0)
(color 0 0 0 0) (color 0 0 0 0)
(uuid "b5bb2435-e65f-48e0-968d-ab8aaa4b12c3") (uuid "b5bb2435-e65f-48e0-968d-ab8aaa4b12c3")
) )
(junction
(at 121.92 97.79)
(diameter 0)
(color 0 0 0 0)
(uuid "e22e6c2c-5305-44f7-987f-fe7ec7d9aaa8")
)
(junction (junction
(at 121.92 85.09) (at 121.92 85.09)
(diameter 0) (diameter 0)
@@ -206,6 +232,26 @@
) )
(uuid "12dfe020-b936-465c-883a-ec0410085d39") (uuid "12dfe020-b936-465c-883a-ec0410085d39")
) )
(wire
(pts
(xy 113.03 102.87) (xy 124.46 102.87)
)
(stroke
(width 0)
(type default)
)
(uuid "1b3401bd-5ae1-4d34-9e3b-d3db3ee4e6d4")
)
(wire
(pts
(xy 119.38 95.25) (xy 119.38 87.63)
)
(stroke
(width 0)
(type default)
)
(uuid "1d06ec66-4951-42c4-9e79-8f28ea3c6219")
)
(wire (wire
(pts (pts
(xy 152.4 128.27) (xy 152.4 139.7) (xy 152.4 128.27) (xy 152.4 139.7)
@@ -236,6 +282,16 @@
) )
(uuid "2f786809-61c4-4a44-85f0-30881f14094e") (uuid "2f786809-61c4-4a44-85f0-30881f14094e")
) )
(wire
(pts
(xy 113.03 95.25) (xy 119.38 95.25)
)
(stroke
(width 0)
(type default)
)
(uuid "303447c3-632a-4fd7-9736-f1ccebf0ec7b")
)
(wire (wire
(pts (pts
(xy 160.02 40.64) (xy 186.69 40.64) (xy 160.02 40.64) (xy 186.69 40.64)
@@ -256,6 +312,16 @@
) )
(uuid "327fa699-588f-4e10-87ac-6f756e7bd13b") (uuid "327fa699-588f-4e10-87ac-6f756e7bd13b")
) )
(wire
(pts
(xy 113.03 97.79) (xy 121.92 97.79)
)
(stroke
(width 0)
(type default)
)
(uuid "3358c229-05c1-4b0f-899c-51fab46fb684")
)
(wire (wire
(pts (pts
(xy 160.02 43.18) (xy 186.69 43.18) (xy 160.02 43.18) (xy 186.69 43.18)
@@ -306,6 +372,16 @@
) )
(uuid "54e60b55-b905-48d7-b9d9-f6391da4de8e") (uuid "54e60b55-b905-48d7-b9d9-f6391da4de8e")
) )
(wire
(pts
(xy 121.92 97.79) (xy 121.92 160.02)
)
(stroke
(width 0)
(type default)
)
(uuid "596d737c-9f2b-43f1-82c4-12eb4d0641bf")
)
(wire (wire
(pts (pts
(xy 175.26 100.33) (xy 194.31 100.33) (xy 175.26 100.33) (xy 194.31 100.33)
@@ -326,6 +402,16 @@
) )
(uuid "60d3ab8a-95df-46f3-bec6-2dc3a187f51f") (uuid "60d3ab8a-95df-46f3-bec6-2dc3a187f51f")
) )
(wire
(pts
(xy 113.03 107.95) (xy 124.46 107.95)
)
(stroke
(width 0)
(type default)
)
(uuid "65ffd1c9-2a4b-44b0-9306-186abe439bf5")
)
(wire (wire
(pts (pts
(xy 165.1 128.27) (xy 165.1 139.7) (xy 165.1 128.27) (xy 165.1 139.7)
@@ -398,7 +484,7 @@
) )
(wire (wire
(pts (pts
(xy 119.38 162.56) (xy 119.38 87.63) (xy 119.38 162.56) (xy 119.38 95.25)
) )
(stroke (stroke
(width 0) (width 0)
@@ -468,7 +554,7 @@
) )
(wire (wire
(pts (pts
(xy 121.92 85.09) (xy 121.92 160.02) (xy 121.92 85.09) (xy 121.92 97.79)
) )
(stroke (stroke
(width 0) (width 0)
@@ -556,6 +642,16 @@
) )
(uuid "c83111e5-dd8e-445b-8843-1c7a0bba7c97") (uuid "c83111e5-dd8e-445b-8843-1c7a0bba7c97")
) )
(wire
(pts
(xy 113.03 105.41) (xy 124.46 105.41)
)
(stroke
(width 0)
(type default)
)
(uuid "caa3485c-8a6f-4a95-8ea2-3a4e177aaebf")
)
(wire (wire
(pts (pts
(xy 160.02 33.02) (xy 186.69 33.02) (xy 160.02 33.02) (xy 186.69 33.02)
@@ -660,23 +756,29 @@
(lib_id "power:+5V") (lib_id "power:+5V")
(at 120.65 26.67 0) (at 120.65 26.67 0)
(unit 1) (unit 1)
(body_style 1)
(exclude_from_sim no) (exclude_from_sim no)
(in_bom yes) (in_bom yes)
(on_board yes) (on_board yes)
(in_pos_files yes)
(dnp no) (dnp no)
(fields_autoplaced yes) (fields_autoplaced yes)
(uuid "d42bc7ce-1b9c-4e5d-92ff-216019b5c201") (uuid "d42bc7ce-1b9c-4e5d-92ff-216019b5c201")
(property "Reference" "#PWR047" (property "Reference" "#PWR047"
(at 120.65 30.48 0) (at 120.65 30.48 0)
(hide yes)
(show_name no)
(do_not_autoplace no)
(effects (effects
(font (font
(size 1.27 1.27) (size 1.27 1.27)
) )
(hide yes)
) )
) )
(property "Value" "+5V" (property "Value" "+5V"
(at 120.65 21.59 0) (at 120.65 21.59 0)
(show_name no)
(do_not_autoplace no)
(effects (effects
(font (font
(size 1.27 1.27) (size 1.27 1.27)
@@ -685,36 +787,42 @@
) )
(property "Footprint" "" (property "Footprint" ""
(at 120.65 26.67 0) (at 120.65 26.67 0)
(hide yes)
(show_name no)
(do_not_autoplace no)
(effects (effects
(font (font
(size 1.27 1.27) (size 1.27 1.27)
) )
(hide yes)
) )
) )
(property "Datasheet" "" (property "Datasheet" ""
(at 120.65 26.67 0) (at 120.65 26.67 0)
(hide yes)
(show_name no)
(do_not_autoplace no)
(effects (effects
(font (font
(size 1.27 1.27) (size 1.27 1.27)
) )
(hide yes)
) )
) )
(property "Description" "Power symbol creates a global label with name \"+5V\"" (property "Description" "Power symbol creates a global label with name \"+5V\""
(at 120.65 26.67 0) (at 120.65 26.67 0)
(hide yes)
(show_name no)
(do_not_autoplace no)
(effects (effects
(font (font
(size 1.27 1.27) (size 1.27 1.27)
) )
(hide yes)
) )
) )
(pin "1" (pin "1"
(uuid "6b8898a7-06c7-44ed-b946-51e630f01a14") (uuid "6b8898a7-06c7-44ed-b946-51e630f01a14")
) )
(instances (instances
(project "" (project "keyboard_controller"
(path "/b230ff6d-d62b-4e9b-b4a9-a03792e35fdd" (path "/b230ff6d-d62b-4e9b-b4a9-a03792e35fdd"
(reference "#PWR047") (reference "#PWR047")
(unit 1) (unit 1)
@@ -735,11 +843,13 @@
(type solid) (type solid)
) )
(fill (fill
(color 0 0 0 0.0000) (color 0 0 0 0)
) )
(uuid "198a7a16-d719-45ee-9f17-7be8d234e902") (uuid "198a7a16-d719-45ee-9f17-7be8d234e902")
(property "Sheetname" "USB_hub" (property "Sheetname" "USB_hub"
(at 124.46 27.2284 0) (at 124.46 27.2284 0)
(show_name no)
(do_not_autoplace no)
(effects (effects
(font (font
(size 1.27 1.27) (size 1.27 1.27)
@@ -749,6 +859,8 @@
) )
(property "Sheetfile" "USB_interface.kicad_sch" (property "Sheetfile" "USB_interface.kicad_sch"
(at 124.46 72.9746 0) (at 124.46 72.9746 0)
(show_name no)
(do_not_autoplace no)
(effects (effects
(font (font
(size 1.27 1.27) (size 1.27 1.27)
@@ -826,6 +938,26 @@
(justify left) (justify left)
) )
) )
(pin "PWR_3V3" input
(at 124.46 55.88 180)
(uuid "09289b61-7bb2-427c-bb41-a5f3f73f2fcf")
(effects
(font
(size 1.27 1.27)
)
(justify left)
)
)
(pin "PWR_5V" input
(at 124.46 58.42 180)
(uuid "da438b0f-b34d-455d-bede-d760ebc67be5")
(effects
(font
(size 1.27 1.27)
)
(justify left)
)
)
(pin "PWR_USBD2" output (pin "PWR_USBD2" output
(at 160.02 30.48 0) (at 160.02 30.48 0)
(uuid "022ee30e-d7a7-4e0d-9525-243861daec14") (uuid "022ee30e-d7a7-4e0d-9525-243861daec14")
@@ -937,11 +1069,13 @@
(type solid) (type solid)
) )
(fill (fill
(color 0 0 0 0.0000) (color 0 0 0 0)
) )
(uuid "3e008f42-c8a7-4e04-b8be-bf15bd9f122f") (uuid "3e008f42-c8a7-4e04-b8be-bf15bd9f122f")
(property "Sheetname" "MCU" (property "Sheetname" "MCU"
(at 124.46 80.5684 0) (at 124.46 80.5684 0)
(show_name no)
(do_not_autoplace no)
(effects (effects
(font (font
(size 1.27 1.27) (size 1.27 1.27)
@@ -951,6 +1085,8 @@
) )
(property "Sheetfile" "MCU.kicad_sch" (property "Sheetfile" "MCU.kicad_sch"
(at 124.46 128.8546 0) (at 124.46 128.8546 0)
(show_name no)
(do_not_autoplace no)
(effects (effects
(font (font
(size 1.27 1.27) (size 1.27 1.27)
@@ -960,6 +1096,8 @@
) )
(property "Field2" "" (property "Field2" ""
(at 124.46 81.28 0) (at 124.46 81.28 0)
(show_name no)
(do_not_autoplace no)
(effects (effects
(font (font
(size 1.27 1.27) (size 1.27 1.27)
@@ -1166,6 +1304,36 @@
(justify left) (justify left)
) )
) )
(pin "BATTERY_CHARGER_EN" input
(at 124.46 107.95 180)
(uuid "29d831a5-07a8-4eb0-a73b-80cbbe0c1add")
(effects
(font
(size 1.27 1.27)
)
(justify left)
)
)
(pin "CHARGED" input
(at 124.46 105.41 180)
(uuid "151f7ab5-1ca4-4821-9713-f1845657a745")
(effects
(font
(size 1.27 1.27)
)
(justify left)
)
)
(pin "USB_POWER_ENABLE" input
(at 124.46 102.87 180)
(uuid "7ad3e63f-e2f8-4502-aef9-ff581cab46c5")
(effects
(font
(size 1.27 1.27)
)
(justify left)
)
)
(instances (instances
(project "keyboard_controller" (project "keyboard_controller"
(path "/b230ff6d-d62b-4e9b-b4a9-a03792e35fdd" (path "/b230ff6d-d62b-4e9b-b4a9-a03792e35fdd"
@@ -1175,7 +1343,7 @@
) )
) )
(sheet (sheet
(at 78.74 54.61) (at 78.74 92.71)
(size 34.29 17.78) (size 34.29 17.78)
(exclude_from_sim no) (exclude_from_sim no)
(in_bom yes) (in_bom yes)
@@ -1187,11 +1355,13 @@
(type solid) (type solid)
) )
(fill (fill
(color 0 0 0 0.0000) (color 0 0 0 0)
) )
(uuid "596f4890-a5ff-4776-a61d-272e3bcbcdd5") (uuid "596f4890-a5ff-4776-a61d-272e3bcbcdd5")
(property "Sheetname" "Battery" (property "Sheetname" "POWER"
(at 78.74 53.8984 0) (at 78.74 91.9984 0)
(show_name no)
(do_not_autoplace no)
(effects (effects
(font (font
(size 1.27 1.27) (size 1.27 1.27)
@@ -1199,8 +1369,10 @@
(justify left bottom) (justify left bottom)
) )
) )
(property "Sheetfile" "battery.kicad_sch" (property "Sheetfile" "POWER.kicad_sch"
(at 78.74 72.9746 0) (at 78.74 111.0746 0)
(show_name no)
(do_not_autoplace no)
(effects (effects
(font (font
(size 1.27 1.27) (size 1.27 1.27)
@@ -1208,6 +1380,56 @@
(justify left top) (justify left top)
) )
) )
(pin "BATTERY_CHARGER_EN" input
(at 113.03 107.95 0)
(uuid "cf0f9dfc-0d02-4265-82bc-aab9c2a8e0af")
(effects
(font
(size 1.27 1.27)
)
(justify right)
)
)
(pin "CHARGED" input
(at 113.03 105.41 0)
(uuid "7c2992db-27da-4041-95d1-129c9a38e71b")
(effects
(font
(size 1.27 1.27)
)
(justify right)
)
)
(pin "USB_POWER_ENABLE" input
(at 113.03 102.87 0)
(uuid "bc1104a2-2352-49ca-bfbf-d214314512ce")
(effects
(font
(size 1.27 1.27)
)
(justify right)
)
)
(pin "SCL" input
(at 113.03 97.79 0)
(uuid "e571ff41-592a-4c93-a004-14e6a8eca3f9")
(effects
(font
(size 1.27 1.27)
)
(justify right)
)
)
(pin "SDA" input
(at 113.03 95.25 0)
(uuid "c37bf666-6ec9-44cb-8749-712e53531a8c")
(effects
(font
(size 1.27 1.27)
)
(justify right)
)
)
(instances (instances
(project "keyboard_controller" (project "keyboard_controller"
(path "/b230ff6d-d62b-4e9b-b4a9-a03792e35fdd" (path "/b230ff6d-d62b-4e9b-b4a9-a03792e35fdd"
@@ -1229,11 +1451,13 @@
(type solid) (type solid)
) )
(fill (fill
(color 0 0 0 0.0000) (color 0 0 0 0)
) )
(uuid "597f86ca-912d-4f96-a6ed-f7d99a92319e") (uuid "597f86ca-912d-4f96-a6ed-f7d99a92319e")
(property "Sheetname" "keyboard_interface" (property "Sheetname" "keyboard_interface"
(at 124.46 138.9884 0) (at 124.46 138.9884 0)
(show_name no)
(do_not_autoplace no)
(effects (effects
(font (font
(size 1.27 1.27) (size 1.27 1.27)
@@ -1243,6 +1467,8 @@
) )
(property "Sheetfile" "keyboard_interface.kicad_sch" (property "Sheetfile" "keyboard_interface.kicad_sch"
(at 124.46 175.8446 0) (at 124.46 175.8446 0)
(show_name no)
(do_not_autoplace no)
(effects (effects
(font (font
(size 1.27 1.27) (size 1.27 1.27)
@@ -1401,11 +1627,13 @@
(type solid) (type solid)
) )
(fill (fill
(color 0 0 0 0.0000) (color 0 0 0 0)
) )
(uuid "81f7f138-c870-483b-b965-9895c9eb889f") (uuid "81f7f138-c870-483b-b965-9895c9eb889f")
(property "Sheetname" "USB_input" (property "Sheetname" "USB_input"
(at 78.74 27.2284 0) (at 78.74 27.2284 0)
(show_name no)
(do_not_autoplace no)
(effects (effects
(font (font
(size 1.27 1.27) (size 1.27 1.27)
@@ -1415,6 +1643,8 @@
) )
(property "Sheetfile" "PWR.kicad_sch" (property "Sheetfile" "PWR.kicad_sch"
(at 78.74 47.5746 0) (at 78.74 47.5746 0)
(show_name no)
(do_not_autoplace no)
(effects (effects
(font (font
(size 1.27 1.27) (size 1.27 1.27)
@@ -1493,11 +1723,13 @@
(type solid) (type solid)
) )
(fill (fill
(color 0 0 0 0.0000) (color 0 0 0 0)
) )
(uuid "f949d847-95e8-43ae-a947-73b7c5fb08a2") (uuid "f949d847-95e8-43ae-a947-73b7c5fb08a2")
(property "Sheetname" "USB_output_n_prog" (property "Sheetname" "USB_output_n_prog"
(at 186.69 27.2284 0) (at 186.69 27.2284 0)
(show_name no)
(do_not_autoplace no)
(effects (effects
(font (font
(size 1.27 1.27) (size 1.27 1.27)
@@ -1507,6 +1739,8 @@
) )
(property "Sheetfile" "programming_interface.kicad_sch" (property "Sheetfile" "programming_interface.kicad_sch"
(at 186.69 72.9746 0) (at 186.69 72.9746 0)
(show_name no)
(do_not_autoplace no)
(effects (effects
(font (font
(size 1.27 1.27) (size 1.27 1.27)

File diff suppressed because it is too large Load Diff

View File

@@ -1,41 +0,0 @@
* DIODES INCORPORATED AND ITS AFFILIATED COMPANIES AND SUBSIDIARIES (COLLECTIVELY, "DIODES")
* PROVIDE THESE SPICE MODELS AND DATA (COLLECTIVELY, THE "SM DATA") "AS IS" AND WITHOUT ANY
* REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED, INCLUDING ANY WARRANTY OF MERCHANTABILITY
* OR FITNESS FOR A PARTICULAR PURPOSE, ANY WARRANTY ARISING FROM COURSE OF DEALING OR COURSE OF
* PERFORMANCE, OR ANY WARRANTY THAT ACCESS TO OR OPERATION OF THE SM DATA WILL BE UNINTERRUPTED,
* OR THAT THE SM DATA OR ANY SIMULATION USING THE SM DATA WILL BE ERROR FREE. TO THE MAXIMUM
* EXTENT PERMITTED BY LAW, IN NO EVENT WILL DIODES BE LIABLE FOR ANY DIRECT OR INDIRECT,
* SPECIAL, INCIDENTAL, PUNITIVE OR CONSEQUENTIAL DAMAGES ARISING OUT OF OR IN CONNECTION WITH
* THE PRODUCTION OR USE OF SM DATA, HOWEVER CAUSED AND UNDER WHATEVER CAUSE OF ACTION OR THEORY
* OF LIABILITY BROUGHT (INCLUDING, WITHOUT LIMITATION, UNDER ANY CONTRACT, NEGLIGENCE OR OTHER
* TORT THEORY OF LIABILITY), EVEN IF DIODES HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES,
* AND DIODES' TOTAL LIABILITY (WHETHER IN CONTRACT, TORT OR OTHERWISE) WITH REGARD TO THE SM
* DATA WILL NOT, IN THE AGGREGATE, EXCEED ANY SUMS PAID BY YOU TO DIODES FOR THE SM DATA.
*---------- 2N7002 Spice Model ----------
.SUBCKT N7002 10 20 30
* TERMINALS: D G S
M1 1 2 3 3 NMOS L = 1E-006 W = 1E-006
RD 10 1 0.976
RS 30 3 0.001
RG 20 2 160.6
CGS 2 3 2E-011
EGD 12 0 2 1 1
VFB 14 0 0
FFB 2 1 VFB 1
CGD 13 14 5.9E-011
R1 13 0 1
D1 12 13 DLIM
DDG 15 14 DCGD
R2 12 15 1
D2 15 0 DLIM
DSD 3 10 DSUB
.MODEL NMOS NMOS LEVEL = 3 VMAX = 1E+006 ETA = 0 VTO = 2.154
+ TOX = 6E-008 NSUB = 1E+016 KP = 0.4654 KAPPA = 1E-015 U0 = 400
.MODEL DCGD D CJO = 1.2E-011 VJ = 0.6 M = 0.6
.MODEL DSUB D IS = 6.808E-010 N = 1.576 RS = 0.1408 BV = 72 CJO = 8E-012 VJ = 0.8 M = 0.6474
.MODEL DLIM D IS = 0.0001
.ENDS
*Diodes N7002 Spice Model v0 Last Revised 2017/2/9

View File

@@ -1,27 +0,0 @@
* DIODES INCORPORATED AND ITS AFFILIATED COMPANIES AND SUBSIDIARIES (COLLECTIVELY, "DIODES")
* PROVIDE THESE SPICE MODELS AND DATA (COLLECTIVELY, THE "SM DATA") "AS IS" AND WITHOUT ANY
* REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED, INCLUDING ANY WARRANTY OF MERCHANTABILITY
* OR FITNESS FOR A PARTICULAR PURPOSE, ANY WARRANTY ARISING FROM COURSE OF DEALING OR COURSE OF
* PERFORMANCE, OR ANY WARRANTY THAT ACCESS TO OR OPERATION OF THE SM DATA WILL BE UNINTERRUPTED,
* OR THAT THE SM DATA OR ANY SIMULATION USING THE SM DATA WILL BE ERROR FREE. TO THE MAXIMUM
* EXTENT PERMITTED BY LAW, IN NO EVENT WILL DIODES BE LIABLE FOR ANY DIRECT OR INDIRECT,
* SPECIAL, INCIDENTAL, PUNITIVE OR CONSEQUENTIAL DAMAGES ARISING OUT OF OR IN CONNECTION WITH
* THE PRODUCTION OR USE OF SM DATA, HOWEVER CAUSED AND UNDER WHATEVER CAUSE OF ACTION OR THEORY
* OF LIABILITY BROUGHT (INCLUDING, WITHOUT LIMITATION, UNDER ANY CONTRACT, NEGLIGENCE OR OTHER
* TORT THEORY OF LIABILITY), EVEN IF DIODES HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES,
* AND DIODES' TOTAL LIABILITY (WHETHER IN CONTRACT, TORT OR OTHERWISE) WITH REGARD TO THE SM
* DATA WILL NOT, IN THE AGGREGATE, EXCEED ANY SUMS PAID BY YOU TO DIODES FOR THE SM DATA.
*SRC=BC857BS;DI_BC857BS;BJTs PNP; Si; 45.0V 0.100A 250MHz Diodes Inc.
*BJTs - Single device of dual
.MODEL BC857 PNP (IS=10.2f NF=1.00 BF=650 VAF=121
+ IKF=42.5m ISE=2.25p NE=2.00 BR=4.00 NR=1.00
+ VAR=20.0 IKR=0.105 RE=0.715 RB=2.86 RC=0.286
+ XTB=1.5 CJE=13.3p VJE=1.10 MJE=0.500 CJC=7.80p VJC=0.300 MJC=0.300
+ TF=586p TR=95.9n EG=1.12 )
.SUBCKT BC857BS 1 2 3 4 5 6
Q_A 6 2 1 BC857
Q_B 3 5 4 BC857
.ENDS BC857BS

View File

@@ -1,34 +0,0 @@
* DIODES INCORPORATED AND ITS AFFILIATED COMPANIES AND SUBSIDIARIES (COLLECTIVELY, "DIODES")
* PROVIDE THESE SPICE MODELS AND DATA (COLLECTIVELY, THE "SM DATA") "AS IS" AND WITHOUT ANY
* REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED, INCLUDING ANY WARRANTY OF MERCHANTABILITY
* OR FITNESS FOR A PARTICULAR PURPOSE, ANY WARRANTY ARISING FROM COURSE OF DEALING OR COURSE OF
* PERFORMANCE, OR ANY WARRANTY THAT ACCESS TO OR OPERATION OF THE SM DATA WILL BE UNINTERRUPTED,
* OR THAT THE SM DATA OR ANY SIMULATION USING THE SM DATA WILL BE ERROR FREE. TO THE MAXIMUM
* EXTENT PERMITTED BY LAW, IN NO EVENT WILL DIODES BE LIABLE FOR ANY DIRECT OR INDIRECT,
* SPECIAL, INCIDENTAL, PUNITIVE OR CONSEQUENTIAL DAMAGES ARISING OUT OF OR IN CONNECTION WITH
* THE PRODUCTION OR USE OF SM DATA, HOWEVER CAUSED AND UNDER WHATEVER CAUSE OF ACTION OR THEORY
* OF LIABILITY BROUGHT (INCLUDING, WITHOUT LIMITATION, UNDER ANY CONTRACT, NEGLIGENCE OR OTHER
* TORT THEORY OF LIABILITY), EVEN IF DIODES HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES,
* AND DIODES' TOTAL LIABILITY (WHETHER IN CONTRACT, TORT OR OTHERWISE) WITH REGARD TO THE SM
* DATA WILL NOT, IN THE AGGREGATE, EXCEED ANY SUMS PAID BY YOU TO DIODES FOR THE SM DATA.
*ZETEX BSS84 Spice Model v1.1 Last Revised 3/5/00
*
.SUBCKT BSS84 3 4 5
* NODES: DRAIN GATE SOURCE
M1 3 2 5 5 MOD1
RG 4 2 167
RL 3 5 50E6
C1 2 5 26P
C2 3 2 4P
D1 3 5 DIODE1
*
.MODEL MOD1 PMOS VTO=-1.709 RS=3.091 RD=0.979 IS=1E-15 KP=0.146
+CBD=12P PB=1
.MODEL DIODE1 D IS=1.072E-13 RS=0.527 N=1.077
.ENDS BSS84
*
*$
*

File diff suppressed because it is too large Load Diff

View File

@@ -1,27 +0,0 @@
{
"last_sch_text_sim_command": "",
"tabs": [
{
"analysis": "TRAN",
"commands": [
".tran 10m 80m 0",
".kicad adjustpaths",
".save all",
".probe alli",
".probe allp"
],
"dottedSecondary": true,
"margins": {
"bottom": 45,
"left": 70,
"right": 70,
"top": 30
},
"measurements": [],
"showGrid": true,
"traces": []
}
],
"user_defined_signals": [],
"version": 6
}

File diff suppressed because it is too large Load Diff

View File

@@ -1,38 +0,0 @@
{
"last_sch_text_sim_command": "",
"tabs": [
{
"analysis": "TRAN",
"commands": [
".tran 100u 10m 0",
".kicad adjustpaths",
".save all",
".probe alli",
".probe allp"
],
"dottedSecondary": true,
"margins": {
"bottom": 45,
"left": 70,
"right": 70,
"top": 30
},
"measurements": [],
"showGrid": true,
"traces": [
{
"color": "rgb(152, 78, 163)",
"signal": "V(/Ideal_Diode_Testbench/BACKWARDS_IN)",
"trace_type": 257
},
{
"color": "rgb(255, 127, 0)",
"signal": "V(/Ideal_Diode_Testbench/BACKWARDS_OUT)",
"trace_type": 257
}
]
}
],
"user_defined_signals": [],
"version": 6
}