CNC USB dual layer PCB milling



Similar documents
5. Tutorial. Starting FlashCut CNC

The Basics of a Rotary Table with Cross Slide mounted on a Mill Table, Version 2

Milling Tools These are the tools currently available for use with the milling machine

PCB Prototyping Machine. Auto Lab. Tutorial MITS Electronics

Complete. PCB Design Using. NI Multisim, NI Ultiboard, LPKF CircuitCAM and BoardMaster. pg. 1. Wei Siang Pee

CNC Milling Engraving machine G4030A Instruction manual

CNC-STEP. "LaserProbe4500" 3D laser scanning system Instruction manual

Guide to Designing and Fabricating Printed Circuit Boards

FTDI VCP DRIVER (free) (WIN/MAC/LINUX)

Table of Contents Getting Started... 3 The Motors... 4 The Control Board... 5 Setting up the Computer with Mach Starting up the Equipment...

Making Soft Jaws for a Bison 3 Jaw Lathe Chuck

Easy Machining Center Setup

Mastercam Instructions. KTH School of Architecture Digital Fabrication Lab - CNC Router Version

Steps to PCB design using Orcad.

SYSTEM 4C. C R H Electronics Design

Executive Summary. Table of Contents

Creator Start-up Guide

CNC USB Controller. User manual

BENCHMAN -XT Machining Center

User Manual V

CNC Turning Training CNC MILLING / ROUTING TRAINING GUIDE. Page 1

SYSTEM 45. C R H Electronics Design

1. Introduction... 3 Introduction Deal command... 13

CHEAP, CHEAP, EASY ACCURATE CNC FOAM CUTTER! THE CNC CONSISTS OF 4 MAJOR PARTS

CNC Milling/ Routing Training

User Guide LUXXOR VIDEO MICROSCOPE. 2 Luxxor Video Microscope Set Up

220V CNC 3020T-DJ upgrade from 3020T 3020 Router with 230W 11000RPM spindle

Project Instruction Booklet. CNC Milling Machine Project

MET 306 Activity 6. Using Pro/MFG Milling Operations Creo 2.0. Machining a Mast Step

SE05: Getting Started with Cognex DataMan Bar Code Readers - Hands On Lab Werner Solution Expo April 8 & 9

Overnight Sensations Speaker Kit

Triac Printed Circuit Board Replacement

Equipment Manual. for. Operation of Automatic Polishing Plate Control on the PM5 Precision Lapping & Polishing Machine.

CNC MILLING. University for Applied Arts, Vienna Studio Prof. Lynn Compiled by Nathalie Rinne With special thanks to David Erdman

Alfa Romeo 147 On board instruments installation guide

Wetroom Panel (Concealed Fix)

Be careful not to scratch or hit front edge of the side viewing micro prisms onto hard objects!

Alarm Security Kit - NVR

UB1 AIR CONDITIONING UNIT INSTALLATION INSTRUCTIONS

CNC Applications. Tool Radius Compensation for Machining Centers

Protocol for Microscope Calibration

What software do I need to run a CNC mill?

Summary Of GCODE Commands By Category (HTT0196)

Folding Bath Screen Instruction Manual

tidesmarine Smart Seal Temperature Alarm System Generation II Installation Instructions Starboard side cable

1. Single sided PCB: conductors on only one surface of a dielectric base.

Fabrication of Printed Circuit Boards Using a Table Top CNC Mill

KiCad Step by Step Tutorial

Table of Contents. What to Expect with. Preparation. Tools Needed. Wiring. Hanging the Fan. Blades. Motor Housing.

Tutorials Drawing a 555 timer circuit

Good Boards = Results

WIND ALARM. Wind Speed Alarm. Wind Speed. Set Point 2. Set Point 1 NEW BEDFORD, MA USA

Zenbot CNC User s guide

Wall Mount Installation and Use

KiCad Step by Step Tutorial

Best Practices in PCB Design: Exporting Gerber Files

Total Indicated Runout, Version 2

WINDOWS 7/8 instruction guide for your Printrbot printer and computer software

Win 7 - STIMA CLS / CMP Driver Installation Quick Guide

Cooktop Low-Profile Ventilation Hoods

HC4300 Portable Flame/Plasma Cutting Machine Control System User Manual

Mach3 Tutorial Setting up a basic three axis milling machine. Based on Mach3 2.0


INVITATION FOR QUOTATION

Lathe Series Training Manual. Live Tool for Haas Lathe (including DS)

Installation Guide 2010 BMW S1000RR Full Exhaust System

SPECIAL FEATURES. Air- Electric Clutch Control. Extended Beds and Rams

CNC Applications. Introduction to Machining Centers

CNCTRAIN OVERVIEW CNC Simulation Systems

TABLE OF CONTENTS. I. TROUBLESHOOTING Section 1.01: Common Problems/Solutions... 2

By the way, do not get ticked off at me if your results are not fabulous. What you do with this information is up to you.

Detailed information about Gerber, NC Drill and NC Route.

RS232/DB9 An RS232 to TTL Level Converter

WPI Laser Cutter User Guide

WL-400 Milling Machine Operator s Manual

UPLIFT Height Adjustable Standing Desk (T-Frame) DIRECTIONS FOR ASSEMBLY AND USE - - ALSO - - Watch our assembly video

Laser cutter setup instructions:

Rooflight INSTALLATION INSTRUCTIONS

ShopBot User Guide. Copyright 2015 ShopBot Tools, Inc.

How to Build a Printed Circuit Board. Advanced Circuits Inc 2004

Six-servo Robot Arm. DAGU Hi-Tech Electronic Co., LTD Six-servo Robot Arm

EVOLUTION Complete CNC Machining in Compact Format. provides for complete machining on all 4 workpiece edges as well as the surface.

QSI Auto-Focus Mounting Bracket

SPRITE and BIGFOOT DESKTOP CNC MACHINE KIT ASSEMBLY INSTRUCTIONS

Arecont Vision H.264 Color or Day/Night SurroundVideo Series Installation Manual

The "DAVID" Steam Engine By Alan Marconett Hobbit Engineering

How To Install A Gel Doc Xr+ Camera On A Computer Or Mouse Or Tv (For A Powerbook) With A Zoom Lens (For An Ipa) With An Iphone Or Ipa (For Mac) With The Zoom Lens

EVOLUTION Complete CNC Machining in Compact Format. provides for complete machining on all 4 workpiece edges as well as the surface.

installation guide ACTIV-1

Printrbot Getting Started Guide. For models: Simple

Traditional Sonar and DSI Sonar Installation

Beautifully Traditional

Transducer Installation

User Guide Reflow Toaster Oven Controller

Please make sure you install GSU and after GKU software befor you plug the Glitch360Shark to your computer!

LDG DTS-4/4R Desktop Coaxial Switch / Remote

Beam Laser Pointer Service Manual

HOW TO MAKE A MOTOR BRACKET

FG MOISTURE MONITOR Installation & Operation Manual

SCREEN PRINTING INSTRUCTIONS

Transcription:

CNC USB dual layer PCB milling by tim23x I've recently built a CNC machine out of various pieces of high-quality salvage. With the money I saved in the construction of the system I bought a controller and software, the excellent MK2 CNC USB controller from Planet CNC. This forms the interface between the computer and stepper motor drivers and is controlled by a sophisticated program capable of importing Gerber files, DXF files and other useful formats. I'm using Pololu stepstick boards to drive my NEMA23 stepper motors but at the moment they are just sitting on a solderless breadboard; not the neatest of solutions. I decided that the first task I would use my CNC machine for would be making a PCB to tidy things up a bit. This is the story of how I used my system to make a completely different PCB. This instructable assumes that you have a CNC miller controlled by the Planet CNC CNC USB controller, properly aligned and calibrated.

Step 1: Camera setup I'm using a cheap ( 12) USB endoscope camera bought via ebay from China. It has a 10mm diameter metal body, very easy to mount. However the CCD on this cheap camera was 7 degrees off axis, so have plenty of adjustment room in your mounting bracket. The camera is mounted next to the spindle. To set up the camera: Drill a small hole into the spoil board. Then: Machine->Camera->Set offset->mark /4801 Now start the camera: Machine->Camera->Show Camera... /480 Centre the camera crosshairs over the hole, at lowest possible Z height.

Machine->Camera->Set offset->read 1 /4802 Increase Z as far as possible while still being able to see the hole, and re-centre the crosshairs. Machine->Camera->Set offset->read 2 /4803 This sets up the camera so that you can accurately place your spindle over a job or read off co-ordinates for transformation of tool paths (used later). It uses two points to compensate for possible mis-alignment of the camera, which would shift its apparent position when Z height is altered. Step 2: PCB design and Gerber import I use DesignSpark PCB to create my circuit board designs. It's free, and there is no limit to the size of board you can create (well, I think it goes up to 1mx1m... should be enough for most purposes). I've altered the design rules to make them more suitable for home milling, using this instructable for EagleCAD as a guide. I'm using through hole PCBs, which means that I can use the drilled holes to work out co-ordinates for transformation and alignment of the bottom layer. If you are using surface mount, you might want to add a few drilled pads for alignment. Don't forget when positioning these holes that your camera will not travel as far as your drill due to its offset. Export your artwork to Gerber once you've finished.

Clamp PCB onto spoil board, ensuring that the camera can reach the holes which will be used for the transform matrix. I use short wood screws and cup washers. You can attach a crocodile clip to one of these later when measuring your tool offset. Notice on the left side I've marked the limit of travel of my camera... my machine in it's current incarnation only moves 100mm in each axis, which means with my camera -35mm away in Y it can only move to +65mm in the Y axis. Put the hole drill into the spindle, leaving the spindle at a safe height. Move the drill to the XY position where the milling will start (bottom left of PCB). Set the XY offset to this position: Machine->Offset->Current XY /45251 Import the top copper Gerber file: File->Import Gerber /115

Step 3: Gerber import window (units are mm) I use a drill depth of 0.01mm (10um) with my 60 degree PCB milling bit, and a drill depth (for pad holes) of 3mm.

Step 4: Positioning the Gerber file Move the origin of the file to the drill position: Program->Shift->Extents to zero XY /336 WARNING! Do not use Extents to zero. This will alter Z height and therefore drilling/cutting depth. Check that the board Z matches the origin by viewing from the side: View->Front View F2 /223 Return to top view: View->Top View F1 /221 Measure the tool offset: wires should be attached to MK2 INPUT connector, one attached to GND, the other to INPUT 5 as in the picture from the USB CNC manual.

Step 5: Tool offset measurement Attach the GND wire to your PCB. I use a crocodile clip attached to the screw which is clamping the PCB to the spoilboard. With the spindle at the highest Z, check that the electrical connection has been made by running a dummy test: Machine->Tools->Measure Tool Offset Here /463 As the spindle lowers, touch the other wire to the PCB.The spindle should instantaneously stop and retract. If not, be ready to use the E-stop. If the tool sensor works correctly, clip the other wire to the drilling bit (it may not be electrically connected to the spindle body). If your bit is connected to your drill body, there may be electrical continuity between your spindle and your circuit board already if it is clamped to your machine bed. Use a non-conductive spoil board and insulate the clamps from the PCB in this case. Make the electrical connection to the PCB by holding the ground wire against it or something. Repeat the tool offset measurement: Machine->Tools->Measure Tool Offset Here /463 NOTE: Andrej of PlanetCNC tells me that this is more correctly done by measuring Z offset: Machine->Offset->Measure Offset Z /459 And he should know, having designed the board and written the software.

I'll try this method next time I mill a circuit board. Remove the wire from the drill bit! You are now ready to begin drilling holes. Start your spindle and press PLAY. Step 6: Top copper isolation Once the hole drilling has finished the program will pause. However, as the spindle needs to be moved manually you must stop the program here, using the STOP button next to PLAY. Stop the spindle and move to a convenient position for changing the drilling bit to the PCB etching bit. Change the bit to one such as pictured above, then move the tool back to zero XY. Re-attach the tool sensor wire to the bit. Make sure that the copper that you are going to use to measure the tool offset is still electrically connected to the GND wire (i.e. hasn t been isolated during milling). Measure the tool offset: Machine->Tools->Measure Tool Offset Here /463 Detach the wire from the bit. You are now ready to begin isolation of your tracks. In the G-code editor on the right of the CNC interface find the line which says: M00 You can do this from: Program->Lines->Select Next Pause /313 This is the HALT code. Right click the line after and Start from Selected Line. Resume program from selected line; isolation will start. I like to spray WD-40 onto my board during this process, so I also like to put a lens cap onto my

camera; the silicone cap from an electronic cigarette fits perfectly :). WD-40 helps reduce the amount of dust sprayed around during milling, especially useful if you re using a fibre re-enforced board. Rumour is that it also improves the quality of your cut. Congratulations! You should now have a PCB with the top copper layer cut and holes drilled in appropriate places. Now for the tricky bit... Step 7: Selection of co-ordinates for transformation Turn the board over and screw it to your spoil board. Make sure that the edges of your design fall within the travel of your machine. Now you need to choose some holes from which the transform is calculated by measuring their positions with your camera. Choose holes which cover as much range in X and Y as possible, not forgetting that as your camera is offset from the spindle the camera may be limited in its movement if your circuit design takes up the whole of your machine working area. My camera is offset from the spindle by -35mm in the Y axis, which means I can t capture holes at the top edge of my circuit design (>65mm Y) due to the limited travel of my machine (100mm in Y). It s OK though, just choose other holes as close to the limits as possible. Three holes are the minimum for the transformation, but you can capture more if you like. Load the bottom copper Gerber file. Although holes have already been drilled into the PCB during the top copper milling, I like to still have the drill checkbox checked. This means that the drill path appears in your machine view window, allowing you to accurately choose hole centres. Don't do this if you're using

surface mount devices though... In the screenshot above, the red line at the centre of the screen shows the drill plunging to make a hole. If you select that line and double right click with the mouse, the section of the G-code (right panel) that describes the line is highlighted (line 195). You can see the co-ordinates of the line above (line 192). These are the co-ordinates of the centre of the drill hole you will enter into the points section of the transform matrix later. With your circuit board facing bottom copper up, match drilled holes to holes in the bottom copper file. Step 8: Transformation continued... The hole marked 1 in the above picture is the nearest hole to 0,0 on my machine. As the board has been flipped, this has the greatest X and Y values. Mark the co-ordinates from the G-code onto the board to avoid any confusion. Clear any offset from the machine: Machine->Offset->Zero /451 Now move the camera to the first point and centre the crosshairs in the hole. Capture the point: Machine->Transformation->Capture & Measure Points->Capture->Capture point (0)/48101

This captures the first point. Move the camera to the second point and repeat the process. Notice that the number of points captured so far appears on the right of the menu (zero for the first point, above). When you have captured all of the points, you need to calculate the transformation matrix: Machine->Transformation->Calculate Transformation Matrix From points... /483 Step 9: Transformation and bottom copper milling

The co-ordinates of the captured points appear in the To (X Y) columns on the right of the points table above. Select a line and enter the points you read off from the Gerber file in the Points From (X Y) text boxes. Press the Update (Updat) button; the From points appear in the table. Repeat for all of the captured points. Now you are ready to calculate the transformation matrix. Pressing the Calculate button on the dialogue box calculates and automatically enables (applies) the transformation matrix. WARNING!!! The transformation matrix applies to ALL machine co-ordinates... jog directions are changed, if the board is flipped then jogging X will move +X! If rotation is applied (and it usually is), moving in X will also involve travel in Y and vice-versa. LIMIT SWITCHES WILL NOT WORK!!! Do not home the machine with transform enabled!!!

Re-measure the tool offset and then check if the transformation has been accurate. Select a drill hole line as previously in the machine view, double right click to find the G-code, right click that line: Go To Selected Line XY The tool should move directly above the hole. If so, you are ready to start isolating the bottom copper. If not, clear the captured points: Machine->Transformation->Capture & Measure Points->Clear->Clear Points (3)/48201 and try repeating the points capture and transform procedure. Don t forget that you have G-code which includes hole drilling. Find the line which says: M00 again. Right click the line after and Start from Selected Line Bottom copper isolation should start. With a bit of luck you should have a two layer PCB when it has finished. Depending on your cut quality you might have some ragged edges which can be polished up with a bit of fine grit silicon carbide paper. Also, I found lots of little bits of copper swarf between my tracks, which could possibly cause short circuits. Once it was finished I put the circuit board into an ultrasonic bath with warm soapy water for ten minutes to clean these out. I hope this helps, happy milling! Tim