PCB CNC: Unterschied zwischen den Versionen
Zeile 48: | Zeile 48: | ||
* 0805 SMD resistors work fine, although the solder locations are not visible any more. However, SMD chips are probably to small | * 0805 SMD resistors work fine, although the solder locations are not visible any more. However, SMD chips are probably to small | ||
== Metaboard.sh == | == Metaboard*.sh == | ||
Metaboard | Metaboard are some bash shell scripts, that will automatically create cnc-paths in the form of gcode files. The starting point is the eagle .brd file. | ||
It will be published, if it is working a little bit more reliable... | It will be published, if it is working a little bit more reliable... | ||
Zeile 55: | Zeile 55: | ||
* [http://www.cadsoft.de/ Eagle]: to output the gerber files of the top and bottom layer | * [http://www.cadsoft.de/ Eagle]: to output the gerber files of the top and bottom layer | ||
* eagle: to call an ulp-program "drillbernhard.ulp" that outputs the drilling and cutting paths. | * eagle: to call an ulp-program "drillbernhard.ulp" that outputs the drilling and cutting paths. | ||
* [http://www.mit.edu/~vona/Visolate/Visolate-info.html Visolate]: To create the isolation paths. We use an unreleased version, that is scriptable. | * <del>[http://www.mit.edu/~vona/Visolate/Visolate-info.html Visolate]: To create the isolation paths. We use an unreleased version, that is scriptable.</del> | ||
* Meanwhile, [http://sourceforge.net/projects/pcb2gcode/ pcb2gcode] was adopted and is used. | |||
* [http://code.google.com/p/grecode/ grecode] To mirror the board for second side. (Grecode was created especially for metaboard.sh by --[[Benutzer:Bkubicek|Bkubicek]] 09:55, 26. Jul. 2010 (CEST)) | * [http://code.google.com/p/grecode/ grecode] To mirror the board for second side. (Grecode was created especially for metaboard.sh by --[[Benutzer:Bkubicek|Bkubicek]] 09:55, 26. Jul. 2010 (CEST)) | ||
While these are called, a couple of windows will pop up and hopefully disappear again. | While these are called, <del>a couple of windows will pop up and hopefully disappear again.</del> only shell output will be produced. you will get some debug images also in the current directory. | ||
<del> | |||
Possible issues: | Possible issues: | ||
* Eagle sometimes stays on top: just close the opened .brd, and load your .brd again using the menu. If have no clue why this happens. | * Eagle sometimes stays on top: just close the opened .brd, and load your .brd again using the menu. If have no clue why this happens. | ||
* It might be necessary to have a parent project file in the same directory? | * It might be necessary to have a parent project file in the same directory? | ||
</del> | |||
=== Usage === | === Usage === | ||
The workflow splits into the following points: | The workflow splits into the following points: | ||
* Preperation: create an eagle brd file, copy it | * Preperation: create an eagle brd file, copy it | ||
* Metaboard.sh: create the gcode files for the geilomat | * Metaboard*.sh: create the gcode files for the geilomat | ||
* Setup: mount the board in the geilomat, | ** For the most current worflow use metaboard0.6.sh . It will require a 0.6 mm mill head, which is the best, as small ic holes are possible, and the tool length is so small that little sidwards forces are created. Hence, mill speed is larger than for 0.8mm tools. | ||
* EMC-setup: home the machine, "touch off"/set coordinate system so milling will be on the actual board | ** If 0.6mm are once again not available, drop back to metaboard2.sh, which uses 0.8mm mill heads. | ||
* Setup: | |||
** mount the board in the geilomat using double sided tape. | |||
** On the flat milled wood area. | |||
**Which should be de-dusted first. | |||
**Double sided tape should not overlap, as this creates 0.1mm height difference. | |||
**Insert a suitable tool. Either a sharp gravierstichel or the 0.6/0.8mm millhead. | |||
* EMC-setup: home the machine "home all", "touch off"/set coordinate system so milling will be on the actual board | |||
* Bottom layer: | * Bottom layer: | ||
** Isolation-milling | |||
** drilling and cutting | ** drilling and cutting | ||
For single sided boards, the process stops here. | For single sided boards, the process stops here. | ||
* Flipping the board, mounting it. | * Flipping the board, mounting it. | ||
Zeile 84: | Zeile 93: | ||
Create yourself a directory in ~/gcodes/ and copy your .brd file there. | Create yourself a directory in ~/gcodes/ and copy your .brd file there. | ||
Then open up a shell window, move to the directory call | Then open up a shell window, move to the directory call | ||
metaboard0.6.sh yourboard.brd | |||
or | |||
metaboard2.sh yourboard.brd | |||
If all goes well, you will obtain a lot of *.ngc files, that contain [[http://en.wikipedia.org/wiki/G-code Gcode]] for the CNC process. Also, a tmp directory will be created, where there are even more files. | This is outdated | ||
<del> | |||
If all goes well, you will obtain a lot of *.ngc files + some PNGs, that contain [[http://en.wikipedia.org/wiki/G-code Gcode]] for the CNC process. Also, a tmp directory will be created, where there are even more files. | |||
The files in the original directoy are: | The files in the original directoy are: | ||
* | * xxx_??.ngc: The top layer isloation paths. | ||
* xxx_bottom.ngc: The bottom layer isloation paths. | * xxx_bottom.ngc: The bottom layer isloation paths. | ||
* xxx_drillcuttop.ngc: The top layer drilling and cutting. | * xxx_drillcuttop.ngc: The top layer drilling and cutting. | ||
* xxx_drillcutbottom.ngc: The bottom layer drilling and cutting. | * xxx_drillcutbottom.ngc: The bottom layer drilling and cutting. | ||
* xxx_debug.ngc: A file so you can view the content of all the other files at once, to check for errors, or measure coordinates.. | * xxx_debug.ngc: A file so you can view the content of all the other files at once, to check for errors, or measure coordinates.. | ||
</del> | |||
===Preperation=== | ===Preperation=== | ||
Zeile 113: | Zeile 127: | ||
Close the geilomat-latch. Turn the spindle on in EMC so that the Kress rotates. Press the play button and watch out for problems. Stop with the Stop button, or with F1. After an emergency off with F1, you maybe have to reposition the machine. Try not to be overwhelmed by all the noise and awesomeness. | Close the geilomat-latch. Turn the spindle on in EMC so that the Kress rotates. Press the play button and watch out for problems. Stop with the Stop button, or with F1. After an emergency off with F1, you maybe have to reposition the machine. Try not to be overwhelmed by all the noise and awesomeness. | ||
Load the xxx_bottom.ngc file. | |||
Change the mill-head to a 0.1mm-0.3mm 30°-45° "Gravierstichel". | |||
Aproach an intended pcb corner location of the copper surface with the tool, home x and y according to the absolut locations visible in emc. Then slowly, using the joypad analog controls, lower the z axis so its nearly nearly touching. but not touching. And home z to 0.2mm. if first tests fail due to too little copper removal, stop the isolation process while its at height z=0, and rehome with 0.13, so it gets deepper at the next try. | |||
Isolate the bottom. | |||
Then insert the 0.6/0.8mm millhead. | |||
Lower again very close to the copper, again using analog controls. set z=0, 0.4 mm deviation are no problem at all in this step. | |||
drill. | |||
cut. | |||
===Top layer=== | ===Top layer=== | ||
Zeile 126: | Zeile 147: | ||
Move the mill to the | Move the mill to the according locations in the flipped pcb, and write down the coordinates displayed in the 3d-window. | ||
Open a konsole, call with the inserted coordinates: | Open a konsole, call with the inserted coordinates: | ||
Zeile 135: | Zeile 156: | ||
---- | ---- | ||
==== Metaboard background info ==== | ==== Metaboard OUTDATED background info ==== | ||
This is the manual workflow, that is now obsolete as most steps are done by metaboard.sh. | This is the manual workflow, that is now obsolete as most steps are done by metaboard.sh. | ||
Zeile 147: | Zeile 168: | ||
* Prerequisites: | * Prerequisites: | ||
** download [http://www.mit.edu/~vona/Visolate/Visolate-info.html Visolate] | <del>** download [http://www.mit.edu/~vona/Visolate/Visolate-info.html Visolate]</del> | ||
** On Windows, that is | ** On Windows, that is | ||
** create a shortcut, respecting your paths, with the target ""C:\Program Files (x86)\Java\jre1.6.0_07\bin\java.exe" -Xmx1024000000 -jar C:\Users\bkubicek\Visolate.jar" and the working directory "C:/Users/bkubicek/Documents/eagle/LEDlampe/" | ** create a shortcut, respecting your paths, with the target ""C:\Program Files (x86)\Java\jre1.6.0_07\bin\java.exe" -Xmx1024000000 -jar C:\Users\bkubicek\Visolate.jar" and the working directory "C:/Users/bkubicek/Documents/eagle/LEDlampe/" |