first draft schematics

This commit is contained in:
andreika-git 2022-03-04 19:23:35 +02:00
parent 2dec020a55
commit c50954a535
14 changed files with 111635 additions and 0 deletions

9
.gitmodules vendored Normal file
View File

@ -0,0 +1,9 @@
[submodule "hellen-one"]
path = hellen-one
url = https://github.com/andreika-git/hellen-one
[submodule "kicad6-libraries"]
path = kicad6-libraries
url = https://github.com/rusefi/kicad6-libraries
[submodule "alphax-2chan"]
path = alphax-2chan
url = https://github.com/rusefi/alphax-2chan/

1
alphax-2chan Submodule

@ -0,0 +1 @@
Subproject commit c13f87956207cdcbeb68e226c86245a8a3c24051

75
alphax_4ch.kicad_prl Normal file
View File

@ -0,0 +1,75 @@
{
"board": {
"active_layer": 37,
"active_layer_preset": "All Layers",
"auto_track_width": true,
"hidden_nets": [],
"high_contrast_mode": 0,
"net_color_mode": 1,
"opacity": {
"pads": 1.0,
"tracks": 1.0,
"vias": 0.8700000047683716,
"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": "alphax_4ch.kicad_prl",
"version": 3
},
"project": {
"files": []
}
}

519
alphax_4ch.kicad_pro Normal file
View File

@ -0,0 +1,519 @@
{
"board": {
"design_settings": {
"defaults": {
"board_outline_line_width": 0.19999999999999998,
"copper_line_width": 0.19999999999999998,
"copper_text_italic": false,
"copper_text_size_h": 1.5,
"copper_text_size_v": 1.5,
"copper_text_thickness": 0.3,
"copper_text_upright": false,
"courtyard_line_width": 0.049999999999999996,
"dimension_precision": 4,
"dimension_units": 3,
"dimensions": {
"arrow_length": 1270000,
"extension_offset": 500000,
"keep_text_aligned": true,
"suppress_zeroes": false,
"text_position": 0,
"units_format": 1
},
"fab_line_width": 0.09999999999999999,
"fab_text_italic": false,
"fab_text_size_h": 1.0,
"fab_text_size_v": 1.0,
"fab_text_thickness": 0.15,
"fab_text_upright": false,
"other_line_width": 0.09999999999999999,
"other_text_italic": false,
"other_text_size_h": 1.0,
"other_text_size_v": 1.0,
"other_text_thickness": 0.15,
"other_text_upright": false,
"pads": {
"drill": 1.5,
"height": 2.3,
"width": 2.5
},
"silk_line_width": 0.25,
"silk_text_italic": false,
"silk_text_size_h": 0.75,
"silk_text_size_v": 0.75,
"silk_text_thickness": 0.13,
"silk_text_upright": false,
"zones": {
"45_degree_only": false,
"min_clearance": 0.0
}
},
"diff_pair_dimensions": [
{
"gap": 0.0,
"via_gap": 0.0,
"width": 0.0
},
{
"gap": 0.2,
"via_gap": 0.2,
"width": 0.2
}
],
"drc_exclusions": [
"courtyards_overlap|30299999|119630001|44b853a4-620e-45a2-9211-899f46761644|99cc7708-ea73-4d45-b9c0-127e10ae8f69",
"courtyards_overlap|30299999|122380001|44b853a4-620e-45a2-9211-899f46761644|9c84f79b-9e84-426d-abbc-aea8c7faadf8",
"courtyards_overlap|31299999|123419999|9c84f79b-9e84-426d-abbc-aea8c7faadf8|a0172379-1afc-40b2-85f2-09207f2a99ec",
"courtyards_overlap|33799999|119580001|8e62e53a-50cb-4606-a861-ac07ad9b29ee|a0172379-1afc-40b2-85f2-09207f2a99ec",
"courtyards_overlap|33799999|122480001|4e7f077b-b549-4a6c-88a8-b7e8876537d4|a0172379-1afc-40b2-85f2-09207f2a99ec"
],
"meta": {
"filename": "board_design_settings.json",
"version": 2
},
"rule_severities": {
"annular_width": "error",
"clearance": "error",
"copper_edge_clearance": "error",
"courtyards_overlap": "error",
"diff_pair_gap_out_of_range": "error",
"diff_pair_uncoupled_length_too_long": "error",
"drill_out_of_range": "error",
"duplicate_footprints": "warning",
"extra_footprint": "warning",
"footprint_type_mismatch": "error",
"hole_clearance": "error",
"hole_near_hole": "error",
"invalid_outline": "error",
"item_on_disabled_layer": "error",
"items_not_allowed": "error",
"length_out_of_range": "error",
"malformed_courtyard": "error",
"microvia_drill_out_of_range": "error",
"missing_courtyard": "ignore",
"missing_footprint": "warning",
"net_conflict": "warning",
"npth_inside_courtyard": "ignore",
"padstack": "error",
"pth_inside_courtyard": "ignore",
"shorting_items": "error",
"silk_over_copper": "ignore",
"silk_overlap": "warning",
"skew_out_of_range": "error",
"through_hole_pad_without_hole": "error",
"too_many_vias": "error",
"track_dangling": "error",
"track_width": "error",
"tracks_crossing": "error",
"unconnected_items": "error",
"unresolved_variable": "error",
"via_dangling": "error",
"zone_has_empty_net": "error",
"zones_intersect": "error"
},
"rule_severitieslegacy_courtyards_overlap": true,
"rule_severitieslegacy_no_courtyard_defined": false,
"rules": {
"allow_blind_buried_vias": false,
"allow_microvias": false,
"max_error": 0.005,
"min_clearance": 0.15,
"min_copper_edge_clearance": 0.09999999999999999,
"min_hole_clearance": 0.25,
"min_hole_to_hole": 0.25,
"min_microvia_diameter": 0.508,
"min_microvia_drill": 0.127,
"min_silk_clearance": 0.0,
"min_through_hole_diameter": 0.29999,
"min_track_width": 0.15,
"min_via_annular_width": 0.15,
"min_via_diameter": 0.3,
"use_height_for_length_calcs": true
},
"track_widths": [
0.0,
0.2,
0.254,
0.3,
0.4,
0.508,
0.6,
0.8,
1.0,
1.5,
2.0,
2.5,
3.0
],
"via_dimensions": [
{
"diameter": 0.0,
"drill": 0.0
},
{
"diameter": 0.6,
"drill": 0.3
},
{
"diameter": 0.78994,
"drill": 0.43434
},
{
"diameter": 1.0,
"drill": 0.5
},
{
"diameter": 1.54178,
"drill": 1.18618
}
],
"zones_allow_external_fillets": false,
"zones_use_no_outline": true
},
"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": "ignore",
"no_connect_connected": "warning",
"no_connect_dangling": "warning",
"pin_not_connected": "error",
"pin_not_driven": "error",
"pin_to_pin": "warning",
"power_pin_not_driven": "ignore",
"similar_labels": "warning",
"unannotated": "error",
"unit_value_mismatch": "error",
"unresolved_variable": "error",
"wire_dangling": "error"
}
},
"libraries": {
"pinned_footprint_libs": [],
"pinned_symbol_libs": []
},
"meta": {
"filename": "alphax_4ch.kicad_pro",
"version": 1
},
"net_settings": {
"classes": [
{
"bus_width": 12.0,
"clearance": 0.2,
"diff_pair_gap": 0.2,
"diff_pair_via_gap": 0.25,
"diff_pair_width": 0.2032,
"line_style": 0,
"microvia_diameter": 0.508,
"microvia_drill": 0.127,
"name": "Default",
"pcb_color": "rgba(0, 0, 0, 0.000)",
"schematic_color": "rgba(0, 0, 0, 0.000)",
"track_width": 0.2,
"via_diameter": 0.6,
"via_drill": 0.3,
"wire_width": 6.0
},
{
"bus_width": 12.0,
"clearance": 0.2,
"diff_pair_gap": 0.254,
"diff_pair_via_gap": 0.25,
"diff_pair_width": 0.2032,
"line_style": 0,
"microvia_diameter": 0.508,
"microvia_drill": 0.127,
"name": "GND",
"nets": [
"GND"
],
"pcb_color": "rgba(0, 0, 0, 0.000)",
"schematic_color": "rgba(0, 0, 0, 0.000)",
"track_width": 0.2,
"via_diameter": 0.6,
"via_drill": 0.3,
"wire_width": 6.0
},
{
"bus_width": 12.0,
"clearance": 0.6,
"diff_pair_gap": 0.2,
"diff_pair_via_gap": 0.25,
"diff_pair_width": 0.2032,
"line_style": 0,
"microvia_diameter": 0.508,
"microvia_drill": 0.127,
"name": "IN_CRANK",
"nets": [
"/C2",
"/C3",
"/IN_CRANK+",
"/IN_CRANK-"
],
"pcb_color": "rgba(0, 0, 0, 0.000)",
"schematic_color": "rgba(0, 0, 0, 0.000)",
"track_width": 0.2,
"via_diameter": 0.6,
"via_drill": 0.3,
"wire_width": 6.0
}
],
"meta": {
"version": 2
},
"net_colors": null
},
"pcbnew": {
"last_paths": {
"gencad": "",
"idf": "",
"netlist": "hw48na.net",
"specctra_dsn": "",
"step": "",
"vrml": "gerber/alphax_4ch.wrl"
},
"page_layout_descr_file": "kicad6-libraries/Border.kicad_wks"
},
"schematic": {
"annotate_start_num": 0,
"drawing": {
"default_bus_thickness": 12.0,
"default_junction_size": 40.0,
"default_line_thickness": 6.0,
"default_text_size": 50.0,
"default_wire_thickness": 6.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.3,
"pin_symbol_size": 25.0,
"text_offset_ratio": 0.3
},
"legacy_lib_dir": "",
"legacy_lib_list": [],
"meta": {
"version": 1
},
"net_format_name": "Pcbnew",
"ngspice": {
"fix_include_paths": true,
"fix_passive_vals": false,
"meta": {
"version": 0
},
"model_mode": 0,
"workbook_filename": ""
},
"page_layout_descr_file": "kicad6-libraries/Border.kicad_wks",
"plot_directory": "gerber/",
"spice_adjust_passive_values": false,
"spice_external_command": "spice \"%I\"",
"subpart_first_id": 65,
"subpart_id_separator": 0
},
"sheets": [
[
"63d2dd9f-d5ff-4811-a88d-0ba932475460",
""
]
],
"text_variables": {}
}

25571
alphax_4ch.kicad_sch Normal file

File diff suppressed because it is too large Load Diff

3
board_id_alpha4ch-a.csv Normal file
View File

@ -0,0 +1,3 @@
# resistor | value | footprint | part_number
"R133","510","R0603","C23193"
"R134","1200","R0603","C22765"
Can't render this file because it has a wrong number of fields in line 2.

View File

@ -0,0 +1,59 @@
# remove the jumper connection from VCC_PP1 to +5V: we need +12v power supply for push-pull outputs.
R309,
# remove +5V pull-ups from SPI1, because we use it with +3.3v accelerometer
R103,
R105,
# remove jumper resistor connecting BOOT1 with A22 input line, because we use STM32F4
R131,
# STM32
U105,"STM32F407ZGT7","LQFP144","C1337111"
# Alpha2Ch: We don't use SENS1-SENS4 and AUX1-AUX4, so we don't need these OpAmps
U102,
U109,
#Alpha2Ch: We don't use VREF1 & VREF2, so we don't need these resistors
R212,
R213,
# DC-DC Inductor
L421,"MWSA0503S-100MT","MWSA0503","C408412"
L420,"LBC3225T2R2MR","L1210","C223413"
# LMR14020->LMR14030 (more power, no problem)
U420,"LMR14030","SOP8","C182078"
#fuses
F410,"nSMD050-24V","SMD1206","C70076"
F300,"nSMD050-24V","SMD1206","C70076"
F1,"Fuse-5A-1206","SMD1206","C553924"
F2,"Fuse-5A-1206","SMD1206","C553924"
F3,"Fuse-5A-1206","SMD1206","C553924"
#power distribution
U103,"AP2331W-7","SOT-23","C460346"
U480,"AP2331W-7","SOT-23","C460346"
# JLC-BOM stock shortages...
U420,"LMR14020SDDAR","SOP8","C187824"
S1,"TS-1088R-02026","SMD-2_2.9x3.9x1.7","C455280"
S2,"TS-1088R-02026","SMD-2_2.9x3.9x1.7","C455280"
F5,"0437005.WR","PAD-1206-PAD","C99541"
L420,"NLV32T-2R2J-PF","L1210","C89016"
R4,"4D03WGF1001T5E","R0603-4","C425239"
# no TLS115
U1,"TLS115","PG-DSO-8-43",""
# no Cortex 5x2 header
J2,"Cortex_Debug","PinHeader_2x05_P1.27mm_Vertical_SMD",""
# no MAP sensor
U3,"MPXH6400A","MPXH6400A-SSOP8",""
# no smart MOSFETs
Q6,"VND14NV04-E","DPAK",""
Q7,"VND14NV04-E","DPAK",""
Q8,"VND14NV04-E","DPAK",""
Q9,"VND14NV04-E","DPAK",""
#include board_id_alpha4ch-a.csv
Can't render this file because it has a wrong number of fields in line 2.

85345
fp-info-cache Normal file

File diff suppressed because it is too large Load Diff

20
fp-lib-table Normal file
View File

@ -0,0 +1,20 @@
(fp_lib_table
(lib (name "rusefi_lib")(type "KiCad")(uri "${KIPRJMOD}/kicad6-libraries")(options "")(descr ""))
(lib (name "hellen-one-input-0.1")(type "KiCad")(uri "${KIPRJMOD}/hellen-one/modules/input/0.1")(options "")(descr "Hellen-One Analog/Digital Inputs Module"))
(lib (name "hellen-one-output-0.3")(type "KiCad")(uri "${KIPRJMOD}/hellen-one/modules/output/0.3")(options "")(descr "Hellen-One Outputs Module"))
(lib (name "hellen-one-mcu-0.6")(type "KiCad")(uri "${KIPRJMOD}/hellen-one/modules/mcu/0.6")(options "")(descr "Hellen One MCU Module"))
(lib (name "hellen-one-can-0.1")(type "KiCad")(uri "${KIPRJMOD}/hellen-one/modules/can/0.1")(options "")(descr "Hellen-One CAN Module"))
(lib (name "hellen-one-lin-0.1")(type "KiCad")(uri "${KIPRJMOD}/hellen-one/modules/lin/0.1")(options "")(descr "Hellen-One K-LINE (LIN) Module"))
(lib (name "hellen-one-sd-0.1")(type "KiCad")(uri "${KIPRJMOD}/hellen-one/modules/sd/0.1")(options "")(descr "Hellen-One microSD Card Module"))
(lib (name "hellen-one-power5-0.2")(type "KiCad")(uri "${KIPRJMOD}/hellen-one/modules/power5/0.2")(options "")(descr "Hellen-One Power-5V Module"))
(lib (name "hellen-one-power12-0.2")(type "KiCad")(uri "${KIPRJMOD}/hellen-one/modules/power12/0.2")(options "")(descr "Hellen-One Power-12V Module"))
(lib (name "hellen-one-ign8-0.1")(type "KiCad")(uri "${KIPRJMOD}/hellen-one/modules/ign8/0.1")(options "")(descr "Hellen-One 8-ch Ignition Module"))
(lib (name "hellen-one-knock-0.1")(type "KiCad")(uri "${KIPRJMOD}/hellen-one/modules/knock/0.1")(options "")(descr "Hellen-One Knock Pre-amplifier Module"))
(lib (name "hellen-one-stlink-0.1")(type "KiCad")(uri "${KIPRJMOD}/hellen-one/modules/stlink/0.1")(options "")(descr "Hellen-One ST/Link Module"))
(lib (name "hellen-one-common")(type "KiCad")(uri "${KIPRJMOD}/hellen-one/kicad/footprints")(options "")(descr "Hellen-One common library"))
(lib (name "hellen-one-wbo-0.3")(type "KiCad")(uri "${KIPRJMOD}/hellen-one/modules/wbo/0.3")(options "")(descr "Hellen-One WBO Module"))
(lib (name "hellen-one-dinput4-0.1")(type "KiCad")(uri "${KIPRJMOD}/hellen-one/modules/dinput4/0.1")(options "")(descr "Hellen-One Digital Inputs Module"))
(lib (name "hellen-one-vr-discrete-0.1")(type "KiCad")(uri "${KIPRJMOD}/hellen-one/modules/vr-discrete/0.1")(options "")(descr "Hellen-One VR discrete Module"))
(lib (name "alphax-2ch")(type "KiCad")(uri "${KIPRJMOD}/alphax-2chan")(options "")(descr "AlphaX 2-channel"))
(lib (name "alphax-4ch")(type "KiCad")(uri "${KIPRJMOD}")(options "")(descr "AlphaX 4-channel"))
)

1
hellen-one Submodule

@ -0,0 +1 @@
Subproject commit bc570b1960731bfe2cba7a158fae68939e769004

1
kicad6-libraries Submodule

@ -0,0 +1 @@
Subproject commit 3dc5cf47e9212b67e7857c22eb3554719e18d569

6
step2_copy_alphax_4ch.sh Normal file
View File

@ -0,0 +1,6 @@
#!/bin/bash
cd hellen-one
python2.7 ./bin/copy_from_Kicad.py "frames:alphax_" ".." "../../gerber" "4ch" "a"
echo "Done!"

View File

@ -0,0 +1,4 @@
#!/bin/bash
cd hellen-one
sh bin/create_board_with_prefix.sh "alphax_" ".." "4ch" "a" "bom_replace_alphax-4ch-a.csv " "0,0"

21
sym-lib-table Normal file
View File

@ -0,0 +1,21 @@
(sym_lib_table
(lib (name "logo")(type "KiCad")(uri "${KIPRJMOD}/kicad6-libraries/rusefi_logo.kicad_sym")(options "")(descr ""))
(lib (name "hellen-one-input-0.1")(type "KiCad")(uri "${KIPRJMOD}/hellen-one/modules/input/0.1/input.kicad_sym")(options "")(descr "Hellen-One Analog/Digital Inputs Module"))
(lib (name "hellen-one-output-0.3")(type "KiCad")(uri "${KIPRJMOD}/hellen-one/modules/output/0.3/output.kicad_sym")(options "")(descr "Hellen-One Outputs Module"))
(lib (name "hellen-one-mcu-0.6")(type "KiCad")(uri "${KIPRJMOD}/hellen-one/modules/mcu/0.6/mcu.kicad_sym")(options "")(descr "Hellen One MCU Module"))
(lib (name "hellen-one-can-0.1")(type "KiCad")(uri "${KIPRJMOD}/hellen-one/modules/can/0.1/can.kicad_sym")(options "")(descr "Hellen-One CAN Module"))
(lib (name "hellen-one-lin-0.1")(type "KiCad")(uri "${KIPRJMOD}/hellen-one/modules/lin/0.1/lin.kicad_sym")(options "")(descr "Hellen-One K-LINE (LIN) Module"))
(lib (name "hellen-one-sd-0.1")(type "KiCad")(uri "${KIPRJMOD}/hellen-one/modules/sd/0.1/sd.kicad_sym")(options "")(descr "Hellen-One microSD Card Module"))
(lib (name "hellen-one-power5-0.2")(type "KiCad")(uri "${KIPRJMOD}/hellen-one/modules/power5/0.2/power5.kicad_sym")(options "")(descr "Hellen-One Power-5V Module"))
(lib (name "hellen-one-power12-0.2")(type "KiCad")(uri "${KIPRJMOD}/hellen-one/modules/power12/0.2/power12.kicad_sym")(options "")(descr "Hellen-One Power-12V Module"))
(lib (name "hellen-one-ign8-0.1")(type "KiCad")(uri "${KIPRJMOD}/hellen-one/modules/ign8/0.1/ign8.kicad_sym")(options "")(descr "Hellen-One 8-ch Ignition Module"))
(lib (name "hellen-one-knock-0.1")(type "KiCad")(uri "${KIPRJMOD}/hellen-one/modules/knock/0.1/knock.kicad_sym")(options "")(descr "Hellen-One Knock Pre-amplifier Module"))
(lib (name "hellen-one-stlink-0.1")(type "KiCad")(uri "${KIPRJMOD}/hellen-one/modules/stlink/0.1/stlink.kicad_sym")(options "")(descr "Hellen-One ST/Link Module"))
(lib (name "hellen-one-common")(type "KiCad")(uri "${KIPRJMOD}/hellen-one/kicad/hellen-one-common.kicad_sym")(options "")(descr "Hellen-One common library"))
(lib (name "hellen-one-wbo-0.3")(type "KiCad")(uri "${KIPRJMOD}/hellen-one/modules/wbo/0.3/wbo.kicad_sym")(options "")(descr "Hellen-One WBO Module"))
(lib (name "hellen-one-dinput4-0.1")(type "KiCad")(uri "${KIPRJMOD}/hellen-one/modules/dinput4/0.1/dinput4.kicad_sym")(options "")(descr "Hellen-One Digital Inputs Module"))
(lib (name "vr-discrete")(type "KiCad")(uri "${KIPRJMOD}/hellen-one/modules/vr-discrete/0.1/vr-discrete.kicad_sym")(options "")(descr "Hellen-One VR discrete Module"))
(lib (name "33311-24AW-2")(type "KiCad")(uri "${KIPRJMOD}/alphax-2chan/33311-24AW-2.kicad_sym")(options "")(descr ""))
(lib (name "alphax")(type "KiCad")(uri "${KIPRJMOD}/alphax-2chan/alphax.kicad_sym")(options "")(descr ""))
(lib (name "JDY-33")(type "KiCad")(uri "${KIPRJMOD}/alphax-2chan/JDY-33.kicad_sym")(options "")(descr ""))
)