Zum Inhalt springen

PCB CNC: Unterschied zwischen den Versionen

Bkubicek (Diskussion | Beiträge)
Bkubicek (Diskussion | Beiträge)
Zeile 69: Zeile 69:
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.
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:
* 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?
</del>




Zeile 81: Zeile 77:
* 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
** 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.
** For the most current worflow use metaboard3.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 sidewards forces are created. Hence, mill speed is larger than for 0.8mm tools.
** If 0.6mm are once again not available, drop back to metaboard2.sh, which uses 0.8mm mill heads.
* Setup:  
* Setup:  
** mount the board in the geilomat using double sided tape.  
** mount the board in the geilomat using double sided sticky tape.  
** On the flat milled wood area.  
** On the flat milled wood area.  
**Which should be de-dusted first.  
**Which should be de-dusted first.  
**Double sided tape should not overlap, as this creates 0.1mm height difference.  
**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.
**Insert a suitable tool. Either a sharp Gravierstichel .
[[Datei:gravierstichel.jpg]]
* EMC-setup: home the machine "home all", "touch off"/set coordinate system so milling will be on the actual board
* EMC-setup: home the machine "home all", "touch off"/set coordinate system so milling will be on the actual board
* Bottom layer:  
 
** Isolation-milling
Bottom layer:  
** drilling and cutting
** Isolation-milling: use the *back.ngc file created by metaboard3.sh
** drilling: use the *drill*.ngc file created by metaboard3.sh
** and cutting: use the *outline*.ngc file created by metaboard3.sh.
 
For single sided boards, the process stops here.
For single sided boards, the process stops here.
* Flipping the board, mounting it.
Double sided boards are more sophisticated:
* Flipp the board, mounting it in any usefull position.
* Top layer:
* Top layer:
** Loading the top layer debugging file.  
* note down two drill hole coordinates from the drill file, in mm units.
** Aligning: Rotate and shift the top layers using grecode, so that the new gocde matches the mounted board.
* navigate using the joypad  to the holes location on the flipped mounted PCB.  Write down the coordinates of the special holes.
** Isolate the top.
* call "grecode -align x1 y1 x2 y2  X1 Y1 X2 Y2 *front*.ngc > tmp.ngc" to rotate and shift. Maybe you have to change the signs of the x1 and x2, depending of the pcb2gcode version you use.
* Loading the tmp.ngc file just created
* check if the gcode is now aligned with the pcb.
* Isolate the top.
 
Removing the boards works best by using a twist motion around the z-axis. A brush should be nearby to clean the grooves.




Create yourself a directory in ~/gcodes/ and copy your .brd file there.
Then open up a shell window, move to the directory call
metaboard0.6.sh yourboard.brd
or
metaboard2.sh yourboard.brd




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:
* xxx_??.ngc: The top layer isloation paths.
* xxx_bottom.ngc: The bottom layer isloation paths.
* xxx_drillcuttop.ngc: The top 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..
</del>
===Preperation===
===Preperation===