interface-board: Move relays, Optimize for milling, Add pcb2gcode config

This commit is contained in:
jonny 2024-11-14 13:24:58 +01:00
parent ffc3829ca3
commit caf302322b
7 changed files with 24948 additions and 23466 deletions

View File

@ -2617,7 +2617,7 @@
) )
(uuid "f28aefc7-66d4-4eef-8b5f-3f6b17b7bb72") (uuid "f28aefc7-66d4-4eef-8b5f-3f6b17b7bb72")
) )
(hierarchical_label "Digital-IN 0V, 3.3V (GPIO)" (hierarchical_label "Digital-OUT 0V, 3.3V (GPIO)"
(shape output) (shape output)
(at 212.09 88.9 0) (at 212.09 88.9 0)
(fields_autoplaced yes) (fields_autoplaced yes)

View File

@ -1,4 +1,4 @@
24202781203177898 24204512932646993
Audio_Module Audio_Module
Reverb_BTDR-1H Reverb_BTDR-1H
Digital Reverberation Unit, http://www.belton.co.kr/inc/downfile.php?seq=17&file=pdf (footprint from http://www.uk-electronic.de/PDF/BTDR-1.pdf) Digital Reverberation Unit, http://www.belton.co.kr/inc/downfile.php?seq=17&file=pdf (footprint from http://www.uk-electronic.de/PDF/BTDR-1.pdf)
@ -97976,7 +97976,14 @@ MountingHole_2.2mm_NPTH-with-pad
Mounting Hole 2.2mm, M2, ISO14580 Mounting Hole 2.2mm, M2, ISO14580
mounting hole 2.2mm m2 iso14580 mounting hole 2.2mm m2 iso14580
0 0
2
1 1
custom-footprints1
MountingHole_2.2mm_NPTH-with-pad_ring-del
Mounting Hole 2.2mm, M2, ISO14580
mounting hole 2.2mm m2 iso14580
0
2
1 1
custom-footprints1 custom-footprints1
WAGO 231-533 Print-Stiftleiste, Midi, RM 5,08, gewinkelt, 3-polig WAGO 231-533 Print-Stiftleiste, Midi, RM 5,08, gewinkelt, 3-polig

View File

@ -0,0 +1,81 @@
# === USAGE ===
# simply run pcb2gcode in terminal while being in this folder.
# pcb2gcode will use "millproject" in current folder for parameters by default
#
# === Notes ===
# web based gcode viewer:
# https://ncviewer.com/
# === CONFIG ===
# Configuration file generated by pcb2gcodeGUI version 0.1 on Wed Apr 6 15:40:16 2022
# stopped using gui and customized parameters manually since then...
back=../export/pi-interface-board_v1.0-B_Cu.gbr
front=../export/pi-interface-board_v1.0-F_Cu.gbr
outline=../export/pi-interface-board_v1.0-Edge_Cuts.gbr
#note: running for each drill file separately and merging the gcode manually (4 mounting holes are in a separate gerber file)
drill=../export/pi-interface-board_v1.0-PTH.drl
#drill=../export/pi-interface-board_v1.0-NPTH.drl
output-dir=./out
# Common options
metric=true
metricoutput=true
nog64=false
#set optimized to default value, because when it was set to 0 (disable) it caused crash (runs till ram full) for some reason, since adding text to center of pcb ==> set to default
optimise=0.00000254 #default
backtrack=0 #if default/undefined caused unwanted moves in copper without retracting, especially at letters (seen in gcode viewer) - thus disabled this feature
tile-x=1
tile-y=1
tolerance=0.0500
zchange=30.0000
zchange-absolute=false
zero-start=true
zsafe=2.6000 #head mounting screw=1.8 #3mm to be able to cross mounting screws
# Mill options
extra-passes=0
mill-feed=400 #default 600mm/min
mill-speed=20000
offset=0.400 #intentional bigger offset than necessary, using 0.4 there were almost no small strips beeing left over between insolation lines.
voronoi=false
zwork=-0.2000 #usin 60degree cutter resulted in ~0.42mm line
# Drill options
drill-feed=200
drill-side=back
drill-speed=20000
milldrill=false
#@#milldrill-diameter=3.0000
nog81=false
nog91-1=true
onedrill=false
zdrill=-1.900 #1.75 slightly too short
drills-available=0.8, 1, 1.2, 1.5, 2, 3
# Outline options
bridges=1.0000
bridgesnum=2
cut-feed=200
cut-infeed=0.5000
cut-side=back
cut-speed=10000
cut-vertfeed=60
cutter-diameter=1.0000
fill-outline=true
zbridges=-0.6000
zcut=-1.9000 #actual: 1.7
# Autoleveller options
al-back=false
al-front=false
al-probecode=G31
al-probefeed=100
al-probevar=2002
al-setzzero=G92 Z0
al-x=15.0000
al-y=15.0000
software=custom

File diff suppressed because it is too large Load Diff

View File

@ -12,19 +12,19 @@
"pads": 1.0, "pads": 1.0,
"tracks": 1.0, "tracks": 1.0,
"vias": 1.0, "vias": 1.0,
"zones": 0.41999998688697815 "zones": 0.3499999940395355
}, },
"selection_filter": { "selection_filter": {
"dimensions": true, "dimensions": false,
"footprints": true, "footprints": false,
"graphics": true, "graphics": false,
"keepouts": true, "keepouts": false,
"lockedItems": false, "lockedItems": false,
"otherItems": true, "otherItems": false,
"pads": true, "pads": false,
"text": true, "text": false,
"tracks": true, "tracks": true,
"vias": true, "vias": false,
"zones": true "zones": true
}, },
"visible_items": [ "visible_items": [
@ -56,6 +56,7 @@
29, 29,
30, 30,
32, 32,
33,
34, 34,
35, 35,
36, 36,

View File

@ -48,7 +48,7 @@
"silk_text_thickness": 0.1, "silk_text_thickness": 0.1,
"silk_text_upright": false, "silk_text_upright": false,
"zones": { "zones": {
"min_clearance": 0.4 "min_clearance": 0.5
} }
}, },
"diff_pair_dimensions": [ "diff_pair_dimensions": [
@ -59,34 +59,26 @@
} }
], ],
"drc_exclusions": [ "drc_exclusions": [
"courtyards_overlap|102272599|84392851|034953f1-9ed8-4a93-b4e6-44df2b8a9b0f|adbd167e-c7f5-4052-a645-f3695d68b438", "shorting_items|141986000|78232000|34212d91-f6e2-41a0-90fe-ed5069dc28a1|b37e8588-c408-4786-aed5-8c9f06b5fcac",
"courtyards_overlap|113931199|84392851|37632791-e514-490e-b223-425bf76246fc|adbd167e-c7f5-4052-a645-f3695d68b438", "shorting_items|141986000|78232000|34212d91-f6e2-41a0-90fe-ed5069dc28a1|d5c8844d-8502-4011-9b4d-f09038711110",
"courtyards_overlap|114756599|102096451|4d5fb772-38d8-439d-9bba-967be5e8a826|5a0ae888-337f-44ce-a075-c830ef6076a7", "shorting_items|151638000|54229000|81e6c525-04e5-47f3-ba41-6efa611fb11a|5da87509-b677-486e-b846-6b60ca3db852",
"courtyards_overlap|131926999|102223451|4c13f9ab-509d-4790-806b-ce49052d6a70|ee346683-bdcf-4dfd-9137-906fb72caf3e", "shorting_items|151638000|54229000|81e6c525-04e5-47f3-ba41-6efa611fb11a|6499de44-6715-41a2-aea1-28b122e0abe1",
"courtyards_overlap|172969001|81811001|3f5c0970-a4f9-4007-baa4-abb5cf7e50c4|7d6cddba-e567-44b5-ae05-e44a3a8fc971", "shorting_items|179197000|30250000|43585433-d903-47e2-811a-47b8fae53ecc|662b0355-a3c8-4042-b52f-260cf365490c",
"shorting_items|137795000|126750000|ddaf1ad8-8c2b-4dc1-92cf-acfdca95fe4f|e64dc567-ee47-410f-80ac-bb7562f5b1fd", "shorting_items|179197000|30250000|43585433-d903-47e2-811a-47b8fae53ecc|be0beb19-c178-4b0c-adc1-7a1359675ae3",
"shorting_items|137795000|126750000|ddaf1ad8-8c2b-4dc1-92cf-acfdca95fe4f|f69df111-31b8-413c-bee5-239227439cba", "shorting_items|183261000|125857000|ec51132a-f989-4e2f-85bc-f17ab3ea190c|50bf2bc3-7580-43e1-9d2c-52305214de86",
"shorting_items|141224000|78359000|23563236-e7ae-4507-862f-ec2a27e7d521|16e80f2d-0cf0-490e-b85a-3c826bbe2b56", "shorting_items|183261000|125857000|ec51132a-f989-4e2f-85bc-f17ab3ea190c|52a565c8-bbb3-4fdc-a52c-b49658bab063",
"shorting_items|141224000|78359000|23563236-e7ae-4507-862f-ec2a27e7d521|852dfa38-f986-4b70-bf85-3c333b210c29", "shorting_items|195072000|98408500|2da15e7f-9918-44ac-af6d-0720a37ef5ec|50c50a50-b88e-4e23-9645-e1b10fcce976",
"shorting_items|150749000|53750000|0a3d4c7e-23e8-4a08-babd-18ececf99ff9|68628882-9565-43dd-8f21-b1fab2c3608a", "shorting_items|195072000|98408500|2da15e7f-9918-44ac-af6d-0720a37ef5ec|fb9d176d-7972-44e3-b331-63d9ace650bf",
"shorting_items|150749000|53750000|0a3d4c7e-23e8-4a08-babd-18ececf99ff9|7671099d-6481-471f-862e-7462e7cf2f5e", "shorting_items|39500000|30250000|68e1faf6-57da-41ee-986f-cdb36d8a5b6a|3c2f0f44-04ad-4fd1-9a1c-b631b59109eb",
"shorting_items|179197000|30250000|6ab003f4-86cf-425f-a1ce-c20bf0cee0d8|5bf0345a-a36e-48a7-9401-3cdce8f3c56f", "shorting_items|39500000|30250000|68e1faf6-57da-41ee-986f-cdb36d8a5b6a|ad0bcd1d-2a84-4ff9-acff-db192fe5aa33",
"shorting_items|179197000|30250000|6ab003f4-86cf-425f-a1ce-c20bf0cee0d8|a228df52-57ff-4287-a751-2ed457496df9", "shorting_items|71755000|111125000|4c1c2459-4336-4e93-b0da-08e396661095|818d9092-5c10-44cc-ae22-fa29cb434b9e",
"shorting_items|195500000|105500000|08802955-52ca-434f-a482-8c4c2d65b5eb|07dc229c-de36-496e-9c13-1faf63868cf7", "shorting_items|71755000|111125000|4c1c2459-4336-4e93-b0da-08e396661095|e0de1ce6-f765-44ae-b784-cb377179a913",
"shorting_items|195500000|105500000|08802955-52ca-434f-a482-8c4c2d65b5eb|8b5fd798-31be-425a-8715-b0a5a83635b9", "shorting_items|74041000|125984000|bd4da448-fa0f-4283-8c66-0a216991b5a1|2b5360b9-546d-42e3-aa29-322c7dca2c03",
"shorting_items|39500000|30250000|185831ff-216e-496f-8bb4-cebc8336ad3a|bbc21b4d-0e2b-4906-b304-670bc4552f86", "shorting_items|74041000|125984000|bd4da448-fa0f-4283-8c66-0a216991b5a1|fccfa676-859f-4df0-a5d8-0e2fe56352e3",
"shorting_items|39500000|30250000|185831ff-216e-496f-8bb4-cebc8336ad3a|e3f8725a-0b28-46d2-8a5a-031a0c079b30", "shorting_items|89500000|69723000|a27a3829-f533-45b8-89f8-5f7c782be77b|5b058d13-5e55-4eae-879a-ab8b8b2f0fb5",
"shorting_items|71500000|110750000|7bdb20cd-d512-47f4-91a2-c841d474debd|4ca8c623-c650-41ad-b85d-e3d6d182d390", "shorting_items|89500000|69723000|a27a3829-f533-45b8-89f8-5f7c782be77b|cae70777-307e-4a0a-88f8-24c13e69f628",
"shorting_items|71500000|110750000|7bdb20cd-d512-47f4-91a2-c841d474debd|b36b9ac7-9308-4d56-91c2-6b34a67baf93", "shorting_items|90424000|30250000|05c57605-15a0-4549-bbc5-b2289634289b|7664ba8b-0d02-453b-98cb-95f182d6e7bc",
"shorting_items|74041000|126746000|099fce22-4f66-4a1a-8d6a-d76c6d3aedd0|9b857c3b-3025-458b-977d-5d0b229d1f19", "shorting_items|90424000|30250000|05c57605-15a0-4549-bbc5-b2289634289b|84fc189f-a72f-4f61-b5e8-dd86f3f2f8d9"
"shorting_items|74041000|126746000|099fce22-4f66-4a1a-8d6a-d76c6d3aedd0|b1013103-d1a0-471e-8f4c-3bc80a37571e",
"shorting_items|89500000|69500000|e89ffe8e-1fd1-4dbd-ac17-6f3a9722aa6e|78ec0206-f9de-4823-8328-baf62142464f",
"shorting_items|89500000|69500000|e89ffe8e-1fd1-4dbd-ac17-6f3a9722aa6e|bb62cd10-5e7a-4653-8085-c52a71f8ad03",
"shorting_items|90043000|30250000|66532787-16d3-413e-93da-721389474490|15eeedf7-d21c-40a3-85dd-a2ad77f483ec",
"shorting_items|90043000|30250000|66532787-16d3-413e-93da-721389474490|e7913f58-f2ca-4c85-b5af-23ad35477448",
"solder_mask_bridge|74041000|126746000|099fce22-4f66-4a1a-8d6a-d76c6d3aedd0|9b857c3b-3025-458b-977d-5d0b229d1f19",
"solder_mask_bridge|74041000|126746000|099fce22-4f66-4a1a-8d6a-d76c6d3aedd0|b1013103-d1a0-471e-8f4c-3bc80a37571e",
"solder_mask_bridge|74041000|126746000|b1013103-d1a0-471e-8f4c-3bc80a37571e|099fce22-4f66-4a1a-8d6a-d76c6d3aedd0"
], ],
"meta": { "meta": {
"version": 2 "version": 2
@ -520,7 +512,7 @@
"gencad": "", "gencad": "",
"idf": "", "idf": "",
"netlist": "", "netlist": "",
"plot": "", "plot": "export/",
"pos_files": "", "pos_files": "",
"specctra_dsn": "freerouting.dsn", "specctra_dsn": "freerouting.dsn",
"step": "export/main.step", "step": "export/main.step",

View File

@ -21003,9 +21003,9 @@
) )
(uuid "6b6bc919-a0f5-4bac-bc02-726a6b81d2e3") (uuid "6b6bc919-a0f5-4bac-bc02-726a6b81d2e3")
) )
(text "TODO: ADC optimize lowpass filter\nTODO: Use Darlington mosfet array for Digital input leds\n\nTODO: UART: RX TX leds\n\nTODO next version: Digital inputs: Isolate GND (separate GND terminal for opamp diodes) " (text "TODO: ADC optimize lowpass filter\nTODO: Use Darlington mosfet array for Digital input leds\n\nTODO: UART: RX TX leds\n\nTODO next version: Digital inputs: Isolate GND (separate GND terminal for opamp diodes) \nTODO next version: Fixed voltage digital inputs (24V) with voltage divider + protection diode,\n since 24V sensor consider 5V as low"
(exclude_from_sim no) (exclude_from_sim no)
(at 212.09 32.766 0) (at 170.688 40.64 0)
(effects (effects
(font (font
(size 2.54 2.54) (size 2.54 2.54)
@ -21351,16 +21351,6 @@
) )
(uuid "ecc3b2b9-af5c-4a70-9a7b-7484eb98074c") (uuid "ecc3b2b9-af5c-4a70-9a7b-7484eb98074c")
) )
(text "TODO larger / additional terminal for COM, GND 3v 5v..."
(exclude_from_sim no)
(at 226.568 293.878 0)
(effects
(font
(size 1.27 1.27)
)
)
(uuid "f1370637-44c5-42b3-a963-517be65c552f")
)
(text "8x Analog Input (different Voltage/Current ranges)" (text "8x Analog Input (different Voltage/Current ranges)"
(exclude_from_sim no) (exclude_from_sim no)
(at 449.58 107.188 0) (at 449.58 107.188 0)
@ -21912,7 +21902,7 @@
(uuid "471b565a-57ea-4b58-b98e-4a06d9d0cad5") (uuid "471b565a-57ea-4b58-b98e-4a06d9d0cad5")
) )
(label "LED_PWM-2" (label "LED_PWM-2"
(at 176.53 240.03 0) (at 176.53 242.57 0)
(fields_autoplaced yes) (fields_autoplaced yes)
(effects (effects
(font (font
@ -22528,7 +22518,7 @@
(uuid "ac15a19a-4d3e-4ba6-83f5-87c737bd2ca4") (uuid "ac15a19a-4d3e-4ba6-83f5-87c737bd2ca4")
) )
(label "LED_PWM-1" (label "LED_PWM-1"
(at 176.53 242.57 0) (at 176.53 240.03 0)
(fields_autoplaced yes) (fields_autoplaced yes)
(effects (effects
(font (font