Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| equipment:cnc:pcbmill [2023/01/22 13:26] – fraserh | equipment:cnc:pcbmill [2025/08/08 18:21] (current) – removed kit | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== PCB Mill - Bungard CCD/MTC CNC ====== | ||
| - | |||
| - | <callout title=" | ||
| - | |||
| - | <callout title=" | ||
| - | {{ : | ||
| - | |||
| - | ====PCB Milling==== | ||
| - | |||
| - | Printed circuit board milling (also: isolation milling) is the process of removing areas of copper from a sheet of printed circuit board material to recreate the pads, signal traces and structures according to patterns from a digital circuit board plan known as a layout file. Similar to the more common and well known chemical PCB etch process, the PCB milling process is subtractive: | ||
| - | |||
| - | The main advantage of PCB milling is the quick turn around time, hence milling is best used for rapid PCB prototyping. | ||
| - | |||
| - | ====Considerations when designing a PCB for milling ==== | ||
| - | When designing a PCB for milling it is recommended to increase your trace width and clearances compared to what you would use if the board was being manufactured by a professional fabricator. a minimum trace width of 0.5mm and a minimum clearance of 0.4mm works well. Also some PCB design programs desing the PCB as if looking from the top down whereas the PCB mill mills the PCB from the bottom up so you may have to mirror your design before exporting it from your chosen PCB design software. | ||
| - | |||
| - | ==== Controlling the CNC ==== | ||
| - | The CNC takes GCode. The program we use to send this from the PC is Candle. This is installed on the PC with a shortcut on the desktop. A benifit of using Candle is it allows you to use a probe input to create a " | ||
| - | |||
| - | ====Generating the GCode==== | ||
| - | To generate the GCode from the PCB design we use a software called FlatCAM. A version of this is installed on the CNC PC as well as the PC in the back of the main room. You will be shown the basics of FlatCAM during the induction but you can also find a helpful tutorial here https:// | ||
| - | |||
| - | ====Bit recommendations==== | ||
| - | For the isolation milling, milling out the board pads and traces, it is recommended to use an engraving V bit that has a 30 degree 0.2mm tip and a 3.175mm(1/ | ||
| - | For milling out the board outline a 1.6mm endmill is recommended. | ||
| - | |||
| - | ====Speeds and Feeds==== | ||
| - | Bellow is a list of Feeds and Speeds that have proven to produce good results. If you find a better combination then do please add it to the list | ||
| - | |||
| - | ^ Milling Operation | ||
| - | | Isolation Milling | ||
| - | | Component hole drilling | 120 | 150 | 30, | ||
| - | | Board outline Milling | ||
| - | |||
| - | ===== Page Archive===== | ||
| - | Below is the page archive | ||
| - | ==== 2.5D vs 3D mode==== | ||
| - | There are two separate ways of setting up the CNC. One is to have full control over the three axis as you would expect in a CNC. This is '3D mode'. It works well, but for PCBs, it can be quite unforgiving as the PCBs aren't generally perfectly flat. Especially if they' | ||
| - | |||
| - | The skirt has two metal parts. Twisting these adjusts the height of the skirt, but it is very stiff. | ||
| - | |||
| - | You still have to set the Z-height, but it's very forgiving. Just make sure the tool is resting of the surface when you zero the Z height. | ||
| - | |||
| - | You might want to make sure that you increase the height of your travels to avoid it dragging the tool | ||
| - | |||
| - | There' | ||
| - | |||
| - | {{: | ||
| - | The CNC parts: | ||
| - | 1) the z-axis locking bolt | ||
| - | 2) the '2.5 axis' sock | ||
| - | 3) the spindle release bolt | ||
| - | |||
| - | The position shown in the above image is the ' | ||
| - | |||
| - | ====The new controller==== | ||
| - | In October 2020 a [[botlab: | ||
| - | |||
| - | Here are some useful docs for the new controller: | ||
| - | * {{: | ||
| - | * {{: | ||
| - | |||
| - | ==== Controlling the CNC ==== | ||
| - | The CNC takes GCode. You can send this via either Universal GCode Sender or bCNC. These are both installed on the CNC PC, and should take the same gcode. The choice is yours. There are probably other options, but these are both tested and work. | ||
| - | |||
| - | Whichever you use, you'll need to connect to the CNC via the com port. This seems to usually come up as either COM5 or COM6. The speed is 115200. | ||
| - | |||
| - | ====Starting the mill==== | ||
| - | When you first turn on the mill, it will be in an ' | ||
| - | |||
| - | '' | ||
| - | |||
| - | You can enter this is Universal Gcode Sender, or bCNC (using the command text box in the bottom left | ||
| - | |||
| - | ====Milling a single sided surface mount PCB==== | ||
| - | You can generate GCode in a huge number of ways. This method is just the one that works for me | ||
| - | |||
| - | * first design your PCB in whatever EDA tool you like. A few key considerations are: | ||
| - | * * track width -- I've used 1mm tracks. This is overkill, but thick tracks makes your chances of success much higher. | ||
| - | * * number of sides: It's not impossible to do 2-sided PCBs on the mill, but it may be challenging (I've not tried it). | ||
| - | * * holes -- The mill can drill holes. again, this is untested by me (ben) | ||
| - | * Generate a gerber file. You might end up with a zip, or you might end up with a directory full of files depending on your EDA tool. If you get a ZIP, you'll need to extract it. | ||
| - | * Install FlatCAM (if you haven' | ||
| - | * Flatcam has a pretty good guide for generating GCode from a Gerber http:// | ||
| - | * First make sure that your design is near the origin. This will help later on. I try to put the bottom left corner next to the origin. You use the offset vector here. Make sure you know what offset vector you use as you'll want to use the same offset on every part of the gerber file (e.g. board outline, top layer). | ||
| - | * * When generating geometery, I've used two pass with combine passes checked. | ||
| - | * * When generating the CNC job, Feedrate -- I've experimented a bit and found that 10mm/s works well. | ||
| - | * * Export the GCode and save it to a file. | ||
| - | * You should now have a GCode file that you can transfer to the CNC machine. | ||
| - | |||
| - | |||
| - | |||
| - | |||
| - | Set up the CNC | ||
| - | * Make sure you've got the green '2.5 axis' sock | ||
| - | * Make sure the z-axis locking bolt is removed | ||
| - | * Insert V-bit for milling. This should be protruding very slightly below the green collar. Think about half a mm or so. I've done this by removing the spindle, loosening the collet (push down the black knob on the top and twist), and let the bit fall with gravity. Place the spindle on a flat surface with the green collar down and tilt it slightly so one half of the green collar lifts up about a mm or so, then while holding this in place, tighten the collet. | ||
| - | |||
| - | Set up the PC | ||
| - | * Turn on the PC and the mill. | ||
| - | * Open bCNC (There is also UCS installed if you'd rather use this). | ||
| - | * Use the file tab to connect to the CNC (it seems to like connecting on com 5, but this could change) at 115200 bps. | ||
| - | * When it connects, it will be in an alarm state because it hasn't been homed. Enter ' | ||
| - | * If all has gone to plan, you should now be able to move the milling head in the control tab. | ||
| - | * Load your GCode file. You should now see an image of the tool path in the main pane. | ||
| - | * use the jogging controls in the control tab to move the toolhead to where you want the origin to be (e.g. if you've created your gcode with the origin in the bottom left corner, you can now position the toolhead where you want the bottom left corner to be and press XY=0 on the control tab to set the origin to this point. | ||
| - | * Once you're happy with everything, switch back to the control tab. Use the slider to ramp the spindle up to full speed (or whatever speed you like) and you might need to click the spindle button to start it spinning. | ||
| - | * Press the play arrow to start your toolpath. | ||
| - | * It all goes well, you should now have the traces routed on your PCB | ||
| - | |||
| - | Milling the board outline | ||
| - | * Settings I've used. This seems a bit rough-and-ready, | ||
| - | * * cut Z: -0.08 (in inches) | ||
| - | * feed rate: 10 | ||
| - | * depth/pass: 0.02 | ||
| - | * tab size = 0.05 | ||
| - | * There is a tool for making a basic square outline in flatcam. You can also do custom outlines -- see here for details: https:// | ||
| - | * You can also import SVG files directly into flatcam. This might be a better option if you have a fancy board outline. | ||
| - | |||
| - | Drilling the holes | ||
| - | * If using EasyEDA, then flatcam seems to have a problem with units. Instead of importing the drill file in mm, it imports it in 1/10th of an inch. To correct this, go to the selected tab (with the drill file selected) and scale by 0.3937008 That seems to do the trick. It will still have the hole size wrong, but that doesn' | ||
| - | * if the drill' | ||
| - | |||
| - | |||
| - | ==== Milling two sided PCBS ==== | ||
| - | |||
| - | * I've been following the guide on the flatCAM website: [[http:// | ||
| - | * There' | ||
| - | * DO NOT PUT AN ALIGHMENT HOLE AT 0,0 IT WILL CRASH THE TOOL HEAD WHEN YOU TRY TO MILL THE SECOND LAYER | ||
| - | * I've been drilling holes 5mm through a 2.5(ish)mm PCB. This seems to work ok. Deeper holes might give more accuracy? | ||
| - | * with the drill pushed all the way in, drilling into the bed for the alightment holes will cause the Z axis to go too deep. Don't put the drill bit all the way in. | ||
| - | * If you want to use the 2.5Dsetup for milling the second side, you need to place the pins far enough away for the skirt not to hit them | ||
| - | * putting the pins in 2mm holes is a tight fit. You'll need to hit them with a hammer. DO NOT DO THIS ON THE MILLING BED. Take the PCB out and then tap the pins in | ||
| - | * I've been getting alright accuracy. OK for standard 2.54mm pitch holes. If you need to go much lower, then you might struggle. It might be possible to nail this down a bit futher. Maybe with deeper holes? More of them? | ||
| - | |||
| - | ==== Picking your milling bit ==== | ||
| - | |||
| - | You can mill with either an engraving v-bit or an end mill. I'm having better success with an end mill (the v bit does work, but I'm getting messy results. Might just need more practice. I'm currently using a 0.7mm end mill to reasonable success. [[https:// | ||