IEEE 802.15.4 subsystem
Sign in or create your account | Project List | Help
IEEE 802.15.4 subsystem Commit Details
Date: | 2010-12-16 20:35:06 (13 years 3 months ago) |
---|---|
Author: | Werner Almesberger |
Commit: | ba310a8ce4b33e1cf70bd2150155a907ec0a81ae |
Message: | atusb: updated and improved CAM script - atusb/cam2/mkmk: updated for new board - atusb/cam2/mkmk: further increased board to board spacing, to reduce board deflection - atusb/cam2/mkmk: decreased nominal mill diameter to 20 mil to compensate for board/tool deflection - atusb/cam2/mkmk: added target "dplot" to visualize the sequence in which holes are drilled |
Files: |
atusb/cam2/mkmk (3 diffs) |
Change Details
atusb/cam2/mkmk | ||
---|---|---|
6 | 6 | mm |
7 | 7 | |
8 | 8 | gerber 35mil ../atusb-PCB_Edges.gbr |
9 | align 1 8.1mm 11.2mm # align relative to board corner | |
10 | translate 25mm 2mm # move to PCB zone assigned to project | |
11 | translate 2mm 21mm # move a bit further | |
12 | array 19mm 36mm 3 0 # skip over previous boards | |
13 | z 0 -56.1mm # board surface | |
9 | align 1 4.6mm 9.0mm # align relative to board corner | |
10 | translate 3mm 3mm # move to PCB zone assigned to project | |
11 | array 20mm 37mm 3 0 # skip over previous boards | |
12 | z 0 -58.9mm # board surface (tool fully retracted) | |
13 | z 1.5mm # slack for extending the tool | |
14 | 14 | z -0.8mm # board thickness |
15 | 15 | z -0.5mm # tool extra depth |
16 | 16 | clear |
17 | 17 | |
18 | 18 | excellon ../atusb.drl |
19 | 19 | drill 7mil 15mil # 12.5-13.5 mil drill |
20 | optimize | |
20 | 21 | write drill.gp |
21 | 22 | |
22 | 23 | remainder |
23 | mill 32mil 0.01mm # 35 mil endmill; pretend it is a little smaller | |
24 | mill 20mil 0.01mm # 35 mil endmill; pretend it is a little smaller, | |
25 | # to compensate for tool/board deflections | |
24 | 26 | write mill.gp |
25 | 27 | |
26 | 28 | remainder |
... | ... | |
40 | 42 | SPOOL=/home/moko/svn.openmoko.org/developers/werner/cncmap/spool/spool |
41 | 43 | CNGT=/home/qi/cae-tools/cngt/cngt |
42 | 44 | |
43 | .PHONY: mill drill cng plot | |
45 | .PHONY: mill drill cng plot dplot | |
44 | 46 | |
45 | 47 | mill: |
46 | 48 | PORT=/dev/ttyUSB0 \$(SPOOL) mill.rml |
... | ... | |
49 | 51 | PORT=/dev/ttyUSB0 \$(SPOOL) drill.rml |
50 | 52 | |
51 | 53 | cng: |
52 | \$(CNGT) -56.1 20 mill.gp | |
54 | \$(CNGT) -57.4 20 mill.gp | |
53 | 55 | |
54 | 56 | plot: |
55 | 57 | echo 'plot "drill.gp" with points, "mill.gp" with lines' | \ |
56 | 58 | gnuplot -persist |
59 | ||
60 | dplot: | |
61 | echo 'plot "< sed /^\$\$/d drill.gp" with linespoints' | \ | |
62 | gnuplot -persist | |
57 | 63 | EOF |