Mini CNC Plotter

by jonah marrs in Workshop > CNC

39906 Views, 427 Favorites, 0 Comments

Mini CNC Plotter

IMG_0453.jpg
IMG_0489.jpg
IMG_0527.jpg
IMG_0465.jpg
Mini CNC Plotter
IMG_0455.jpg
IMG_0445.jpg
IMG_0456.jpg

This is a miniature desktop vector plotter made from a compact photo printer and a DVD drive.

Here is the Bill of Materials:

Hardware:

-Rotring Rapidograph Pen (or any other pen)

-DVD Drive

-Compact Photo Printer like the Canon Selphy (http://www.amazon.com/Canon-Wireless-Portable-Disc...

-Card Stock

-x3 Easy Stepper Motor Drivers (https://www.sparkfun.com/products/12779)

-Arduino Uno

Software:

-Grbl firmware uploaded on the Uno (https://github.com/grbl/grbl)

-A universal G-Code sender such as this (https://github.com/zapmaker/GrblHoming/releases)

Extract DVD Laser Focusing Mechanism

FHNUSI0IDH7SNR8.MEDIUM.jpg
FOVRC2WIDH7SNT6.LARGE.jpg
F4M07M4IDH7SNT7.LARGE.jpg
F7Z9GKXIDH7SNUQ.LARGE.jpg
FTESR7LIDH7SNX4.LARGE.jpg
FISCHIEIDH7SNYQ.LARGE.jpg
FAFS4TCIDH7SO0L.LARGE.jpg
FTRW7HTIDH7SO20.LARGE.jpg

Isolating the laser focusing mechanism has been documented in other instrutables very well already:

https://www.instructables.com/id/Mini-Arduino-CNC/

https://www.instructables.com/id/Poor-Mans-3D-Print...

The main challenge here is to find a CD/DVD drive with stepper motors instead of DC motors. I usually do this by trial and error though I do find that most DVD drives are stepper controlled.

Extract Paper Reeling Mechanism

FRE1IBZIDED2IH1.LARGE.jpg
FVKCF0RIDED25NX.LARGE.jpg
FJ4G995IDED25OY.LARGE.jpg
F3G4G8BIDED25QW.LARGE.jpg
F6EZEBVIDED2I2S.LARGE.jpg
FSN2WV0IDED2HI8.LARGE.jpg
FECK4GKIDED25L3.LARGE.jpg

You will need a compact photo printer which uses stepper motors to take apart. I lucked out and found an Canon Selphy CP720 Compact Photo Printer (http://www.amazon.ca/Canon-Compact-Photo-Printer-Selphy/dp/B000I9UT68) for $5 which has a sleek reeling mechanism and was stepper controlled. I have also had luck with Epson compact photo printers. I needed to remove a bunch of rollers and idlers in order to expose the stepper controlled roller (so that it could push the piece of foam through). Everyone's printer will be different so this will require a bit of improvisation.

I recommend finding a place which has lots of junk and will let you look around and take things apart before purchasing. If this is not possible, I would try and buy defective compact photo printers from ebay and trying your luck at finding one that is stepper controlled.

Make sure to keep the extra parts around as they can be useful for the next step (setting up the Z-axis) as well as making any desired modifications.Try not to pull out too many parts of the printer out as some can be useful for setting up a built-in Z axis.

Z Axis

IMG_0480.jpg
IMG_0508.jpg
FECK4GKIDED25L3.LARGE.jpg
IMG_0483.jpg
IMG_0486.jpg
IMG_0504.jpg
IMG_0506.jpg
IMG_0522.jpg
IMG_0523.jpg
IMG_0515.jpg

Because every DVD mechanism and compact photo printer reeling system is slightly different, coming up with a plan for the Z axis might involve some improvisation. For this version of the machine I used a scrap stepper motor (harvested from a Silhouette Cameo paper cutting machine) and reused some other scrap parts from the photo printer to mount it. For the lever arm I used a standard servo adapter and drilled a hole to allow for a set screw to hold the arm in place. I also used a dremel to made a flat edge from the stepper axle to allow for the set screw to find purchase.

In previous versions of this machine I have used the stepper motor mechanism already built into the compact photo printer and adapted it so that it can just lift the hinged DVD mechanism. This is a far more elegant solution and keeps the size of the printer down as well.

Breadboarding the Electronics

FJCI33OIDUR0HQH.MEDIUM.jpg
F49QLDEIDFWA846.MEDIUM.jpg

I am using three easy stepper motor drivers and an arduino and using the Grbl pinout connections (which I will get to in the next step).

One thing to remember is that keeping everything here neat and tidy (i.e. short wires) will avoid making a machine that is extra sensitive to noise. Noise is very frustrating for CNC builds because it causes your machine to behave in strange unpredictable ways that are infuriating to debug. I use torroidal magnets (harvested from some old computer monitor wires) on each side of the set of motor wires and wirewrap with zipties to keep everything tidy.

Hardwiring the Electronics

IMG_0351.JPG
IMG_0357.JPG
IMG_0362.JPG
IMG_0363.JPG
IMG_0500.jpg
IMG_0517.jpg
IMG_0518.jpg

I discovered that stacking three Easy Stepper Motor Drivers on top of the Uno can be an efficient way to save some space. Wiring was done with braided wire and some patience. I used a small amount of electrical tape on the USB female connector on the Uno to avoid shorting any circuit traces on the underside of the third Easy Stepper Motor Driver.

I added four bolts to the bottom of the compact photo printer to allow for the Uno/Stepper Drivers to fit underneath. I positioned the USB and power jack close to the outer edge for easy access.

I used double sided tape to attach the Uno to the bottom of the printer. Make sure to not short any of the arduino leads against the metal surface. To avoid this try using double sided tape which has volume (foamy double sided tape) or first sticking a piece of non conductive material to the metal underside and then attaching the Uno to this.

Wire Management

F6TA97FIDH7SPM5.MEDIUM.jpg
IMG_0509.jpg
IMG_0507.jpg
IMG_0520.jpg

I try to use whatever connectors are left over from the consumer devices to make plugging and unplugging motors easier.

Because noise is a serious concern for CNC machines, taking the time to use heat shrink tubing, toroidal magnets, wire wrap or zip ties is worth it. It also makes your life easier when debugging.

Adding the Plotter Pen

IMG_0502.jpg
IMG_0503.jpg
IMG_0494.jpg
IMG_0497.jpg

If you buy a rotring rapidograph pen in a set like this one,

http://www.amazon.com/Rotring-Rapidograph-Technica...

you also receive a threaded mounting piece which can be useful for attaching the plotter pen to the DVD mechanism.

Finding a nice place to mount the pen can take some time. I ended up using a dremel to flatten out an area of plastic to help keep things flat. The way the mounting piece is currently installed it's possible to easily unscrew the pen when you have finished with a drawing.

Making a Drawing Surface

FECK4GKIDED25L3.LARGE.jpg
IMG_0492.jpg
IMG_0493.jpg
IMG_0491.jpg

By adding a piece of scrap metal taken from the compact photo printer it is possible to create a nice drawing surface for the plotter pen. This piece of metal lifts up the paper that is passing through so that it is always at a nice height for the pen.

Software Toolchain

FNPF6VHIDUR0B4U.LARGE.jpg
FME2RS7IDUR0BBH.LARGE.jpg

This Desktop CNC machine works with G-Code, the standard for CNC machine interfacing. To start drawing you will need to first generate some drawing instructions for the machine.

CamBam is a great piece of software for producing G-Code:

http://www.cambam.info/

You get 40 uses and if you keep the program open all the time you can stretch that to last quite a while. I use the Engrave command to draw vectors and change the liftoff to whatever works for my Z-axis solution. Once you have output G-Code instructions there are various software options to send this to the Arduino.

Grbl is a great open source firmware which you may choose to upload to the Arduino: https://github.com/grbl/grbl . This program listens to the serial port for G-Code instructions. You may also want to use this G-Code sending program to relay your G-code file to the Arduino: https://github.com/zapmaker/GrblHoming/releases

To get the Grbl G-Code Sender working you will need to set the port to whatever port the Arduino is plugged in to, unlock the machine, set the feedrate, and calibrate the number of steps per mm for each axis. I set my Y-axis DVD rom to: 50 steps / mm and my X-axis compact photo printer to: 345 steps / mm. I use a feedrate of anywhere between 10 and 400 depending on the kind of pen I am using and the quality of print I am looking for.

Start Drawing!

11187136_10153297391354808_3407601213978369194_o.jpg
1495259_10152705847444808_1924515843223387333_o.jpg
11187391_10153297391504808_2863097726383501451_o.jpg
1654501_10152705847414808_5139041328349455007_o.jpg
10454961_10152705847269808_2035601528119217847_o.jpg
10506756_10152705847054808_7649171685270520401_o.jpg

If this machine is calibrated correctly it can make nice miniature plots and paintings too.

I find the set-up works well for making a small run of slender business cards.

Thank you for checking out this Instructable!