PCB CNC: Unterschied zwischen den Versionen
Reox (Diskussion | Beiträge) |
Reox (Diskussion | Beiträge) |
||
Zeile 84: | Zeile 84: | ||
First of all you will create a PCB in a program called pcb. Then you will export gerber files from the pcb and generate ngc files with pcb2gcode. These ngc files can be read by linuxcnc. | First of all you will create a PCB in a program called pcb. Then you will export gerber files from the pcb and generate ngc files with pcb2gcode. These ngc files can be read by linuxcnc. | ||
For a Single Layer PCB you will run Steps 1,2,3,4 and 6 for a dual Layer you will run 1 to 6. | |||
=== Create the PCB === | === Create the PCB === | ||
[[Datei:Pcb layer groups.png|thumb|400px|grouping of layers in pcb]] | |||
gEDA's pcb is a complex tool to work with. It might not be as easy to use as other tools in the first place, but can do everything another tool can do. | gEDA's pcb is a complex tool to work with. It might not be as easy to use as other tools in the first place, but can do everything another tool can do. | ||
Normaly you will design the PCB as you would do normaly, just remember that you need some extra clearance because of the cutter diameter. | Normaly you will design the PCB as you would do normaly, just remember that you need some extra clearance because of the cutter diameter. | ||
Zeile 93: | Zeile 96: | ||
* All Top Layers go to one group | * All Top Layers go to one group | ||
* Outline is one group | * Outline is one group | ||
=== pcb2metalab.sh === | === pcb2metalab.sh === | ||
Zeile 104: | Zeile 104: | ||
git clone pcb2metalab from here: https://github.com/reox/pcb2metalab | git clone pcb2metalab from here: https://github.com/reox/pcb2metalab | ||
If you modify the Makefile and run make, it will build all necassary files for you. You can check the output of the gerber files with a tool called gerbv and there are also some png files for debugging. | |||
=== Milling of Bottom Side === | |||
Now its time to go to the CNC and put in the PCB. Load the backside ngc file. Now you need to touch off the workpiece. | |||
Remember now two things: The coordinates in the pcb2metalab generated files are in inch and the PCB is not super flat! | |||
=== Drilling the Bottom Side === | |||
The Next step would be to drill. Because the workpiece is already touched-off, it should go smoothly. | |||
=== Switch Sides === | |||
[[Datei:G10command.jpg|thumb|400px|The math behind the G10 L2 command]] | |||
This step is now crucial for the quality of the dual layer PCB. | |||
== Usage == | == Usage == |