loading

this a mini CNC 2D plotter made from old DVD drive and L293D motor shield very cheap but intresting

let see how to make

It is very easy to make all the step by step procedure is mention in this instructable

Step 1: Video of CNC machine working

Lets see the video this video also cover step by step procedure how to assemble the machine

Step 2: Material need for this project

1) 2 X SCRAP DVD DRIVE

2) 1 X ARDUINO UNO R3 / ARDUINO MEGA

3) 1 X L293D MOTOR SHIELD

4) 1 X SERVO MOTOR (TOWER PRO 9G)

5) JUMPER WIRES

6) SOME HARDWARE NUT BOTS ETC

7) DOUBLE SIDE 3M TAPE

Librairy For Adafruit Shield Driver Motors extract the file and past them to arduino/libraries

Step 3: Assembling the machine

Open the scrap DVD Drive and remove internal moving tray..

This tray having stepper mechanism on it this will act as our X-axis & Y-axis.

Go through the attached pictures for understanding how to assemble your machine.

make hole on empty DVD drive case mount our X-axis and Y-axis on respective DVD case with the help of nut bolts.

Now place them perpendicular

Step 4: Wiring details

watch the picture carefully and wire components accordingly

Step 5: CNC Code for arduino

upload the code to arduino using arduino IDE

Step 6: G code

To make gcode files that are compatible with this cnc machine you have to use the Inkscape.

Inkscape is professional quality vector graphics software which runs on Windows, Mac OS X and Linux.

It is used by design professionals and hobbyists worldwide,

for creating a wide variety of graphics such as illustrations, icons, logos, diagrams, maps and web graphics. Inkscape uses the W3C open standard SVG (Scalable Vector Graphics) as its native format,

and is free and open-source software. Download and install Inkscape from https://inkscape.org/en/download/windows/ (Important: download 0.48.5 version)

Now you need to install an Add-on that enables the export images to gcode files. This add on can be found here with installation notes.
https://github.com/martymcguire/inkscape-unicorn

please follow the video on you tube how to create G-code file

some ready made G-code files

Step 7: Processing IDE program (GCTRL)

Upload the gctrl file to processing IDE

and click on PLAY button in processing window.

first press 'p' to select you com port if you want

you can set jog speed by pressing 1,2, or 3 button

from keyboard press 'g' to load G-code file your machine is ready to plot

as soon as you hit enter by selecting g code file now you have done

your plotter is ready

thanks for your attention

<p>Have fun!</p>
<p>I can not acces the .mov file... Y get a access denied page</p>
I have the same. Right click and 'save link as'
<p>Cannot... &quot;Failded - Forbidden&quot;</p>
<p>yeah, bummer! me the same :-(</p>
Hi Bert..Ur idea +18 to -18 works great...Thank you..<br>How to find boundaries of my machine?
Draw a box of 38x38 mm in Inkscape and print it. Adjust the plot table so that the pen is exactly in the middle and make sure the box isplotted correctly.<br>Have fun<br>
<p>hi Bert,</p><p>i tried all tips and tweaked code..</p><p>still same result.</p><p>check image and please tell me where i done mistake.</p><p>image shows what my machine draws repeatedly.</p><p>one more query how to find boundaries of my machine?</p><p>tweaks done:</p><p>changed speed to 400</p><p>limit boundaries to X:30 Y:30</p><p>100steps : 150mm</p>
<p>That looks if there is something wrong! Did you make the gcode with Inkscape? Version 0.48? What do you mean with &quot;YouTube gcode&quot;. Can you post the code?</p><p>With your code, have a look what it does in CAMotics.</p><p>Maybe the motor shield contacts on the backside of the shield are touching something on the Arduino? I had one of the contacts touching the USB connector and that causes strange effects (obviously) After putting some tape on the USB connector the problem was gone.</p><p>About the boundaries: I would set the limits not at x=30 and y=30 but x= -18 to +18 and y= -18 to +18 because the inkscape generated gcode starts at x= 0 and y= 0 which is the exact middle of the plotting area. At least in my case. </p>
<p>checking code with CAMotics...got to know that this code is for &quot;hello&quot;..</p><p>thank you Bert...</p>
<p>thank you bert..</p><p>gcode i am uploading is Youtube logo.</p><p>i got from some place around in instructable....this is the code that my machine drawing weird images.</p><p>trying with +18 to -18 trick.will get back soon with results...</p>
<p>thank you bert..</p><p>gcode i am uploading is Youtube logo.</p><p>i got from some place around in instructable....this is the code that my machine drawing weird images.</p><p>trying with +18 to -18 trick.will get back soon with results...</p>
<p>the image drawn when youtube G code uploaded</p>
<p>Hello guys, i need help.<br>I have two dvd but this was different. it can be seen more clearly in the picture.<br>Can you tell which part is similar to the image A1, A2, B1, B2. so I can start to solder it.</p><p>its make me confuse all the video I saw nothing like this. i hope anyone will answer my question thank you and sry if my english so bad. i hope you answer with picture.</p>
I have made cnc plotter but its making wrong and hazy things
<p>Every things was ok but while printing any thing its not properly. I check every thing 10 times but same its not create any thing.... its only dots and some lines......plz help me........n srry for bad english.....plz help me..</p>
<p>super project. Thank you</p>
<p>Hi everybody.. Thanks for this amazing project.</p><p>I've been playing arround with AquaManiac version of both Arduino code and OSX app (thanks dude. wonderful job). </p><p>Now I have this weird problem which is that when it is printing, suddently it stops<br>with the a very hight pitch moise coming from the stepper motor. Been touching delay paramenters, but cant find the reason.. </p><p>Using AquaManiac (thanks again :)) app, when this happens, the box with the port connection resets (gets blank).</p><p>Using proccesing code, also happens.. </p><p>Any ideas what could be happenig?</p><p>Thanks</p>
<p>Hello There,<br><br>I attempted your project with one main difference : I used old scanners' stepper motors instead of DVD drivers' since they are bigger and also easier to connect the wires to since I find soldering to these small ribbon cables of the DVD drivers extremely painful. Anyway I checked all the connections, hardware seems fine so is software but when I attempt to move any of the axes (X &amp; Y) it produces some whistle noise and that's it !!! I suspected the power outlet so I changed the phone charger from your block diagram above and replaced it with a PSU and still no moves and only whistles ! Any suggestions or thoughts on what went wrong &amp; how to fix it ? Thanks in advance</p>
I made same with this instructable...<br>But the machine drawing some symbols when I inserted YouTube gcode.<br>Please help me.Tried 10 times.but same results.
<p>Hi,</p><p>it is a very interesting project.</p><p>Can one uses CD Drive instead of DVD Drive in this project?</p>
<p>probeblly yes</p>
<p>So I start to make it from 2 CD drives to give it a try.</p><p>I just don't know how to solder the four wires to the stepper motor, because here on CD Drive there is not four but five outlets on the stepper motor. Two of them is for + and - of the stepper motor. With a 5V DC I can start the motor in one direction or in another if I change + and -. But what is the other three outlets of stepper motor for?</p>
<p>From the other side this motor tray looks like on this image bellow.</p><p>So I really do not know where to solder four wires to this stepper motor?</p>
<p>I think you can</p>
I have a avr duide errer uploding the code.
It is very nice and cool..
<p>how to fig it... it not move....</p>
<p>wrong com port selected</p>
<p>u have to close other Arduino window or gctrl window and add yr Arduino drive also select the right port ... then upload yr program.. </p>
<p>Try this G code ...</p>
<p>please help .... my X axis stepper is not working .... :(</p>
<p>Made this over Christmas. And have it working nicely! Thanks CNC World.</p><p>Have written an OSX app to feed the GCode rather than using processing (has other features too) and updated Arduino code for auto home. Will be making these publicly available shortly.</p><p>BTW - Agree 100% with BertR15 - you NEED a solid pen holder for good results.</p>
<p>nice job aquamaniac</p>
<p>Very nice!</p><p> I'm very interested in the Arduino code for auto home but also the OSX app.</p><p>Hope to see it soon.</p><p>Grtz</p><p>Bert</p>
<p>Both the Arduino changes and the OSX App are now available.</p><p>Check out: </p><p><a href="https://github.com/AndyQ/CNCPlotter-Arduino" rel="nofollow">https://github.com/AndyQ/CNCPlotter-Arduino </a> - Ardiono sketch</p><p><a href="https://github.com/AndyQ/CNCPlotter" rel="nofollow">https://github.com/AndyQ/CNCPlotter </a> - OSX App</p><p>Unfortunately at this time you will need to manually build the OSX App. I'l try to get a developer signed build out at some point.</p><p>Andy</p>
<p>Hi All,</p><p>First of all, this is not my 'instructable'! It is writen by <a href="http://www.instructables.com/member/CNC%20World" rel="nofollow">CNC World</a>. He did a great job because even I could make this nice machine!!</p><p> Now, a lot of people asked me how I did this or how I did that, but it all comes down to a few things:</p><p>1. Work precise. If you make a sloppy pen holder, your plot will come out sloppy!</p><p>2. If it is not working out of the box, fiddle around! Be creative! Change a few settings, one by one, and look what happens! </p><p>3. The plotting area is 38 x 38 mm. Try to make your drawing well within these limits. In Inkscape, don't go all the way to the edges.</p><p>4. Don't give up! The master has failed more times than the beginner has even tried.</p><p>I have added a few pictures to show the possibilities and precision. If you want the G-code, let me know. There is only one condition for that: you post <strong><em>your plot</em> </strong>of that G-code :-)</p><p>Grtz</p><p>Bert </p>
<p>Thanks for sharing your experience BertR15</p>
<p>Sir my dream is working .I have changed the pen holder then it's working properly..tnx sir... bt one think, some codes doesn't work properly .. why sir? </p>
<p>I don't know why some code is not working properly. Try to run it in CAMotics. Maybe the code itself is not okay.</p>
<p>I have also seen your second project which I would call 'next level'.</p><p>When assembling the hardware, I am stuck at a point where I wanted to test my motors for basic operation. My issue: What / which code + library do I need to use if I have a 'sunfounder' shield instead of Adafruit?</p><p>An early response will be highly appreciated!</p>
<p>sorry for late replay </p><p>yes you can go with AFmotor library with sunfounder shield</p>
<p>Hi,I have a little problem...When it launch gctrl.exe it appears only the small,black windows and i cannot make nofingP.S I'm on windows 10(sorry for bad english)</p>
<p>may you need to update your java version or used processing 1.5.1</p>
<p>My servo motor keeps spinning even before i initiate the gcode drawings. I need help so bad :(</p>
<p>sounds wierd </p>
<p>I made it but it is doing any thing not making actuall photo uploded</p>
<p>Hi! So I have successfully uploaded the CNC Code and have processed the GTRL interface using Processor; however, when I attempt the jog the axes using the arrows keys of my PC, nothing moves. I hear a high-pitched hum (hums when I move up and right keys, but stops when I press the down and left keys) and I can feel the stepper motors trying to work, but the leadscrews won't budge! Also, when I try to move the x and y sleds by hand while this is happening, the leadscrews resist my hand. It's like the motors are preventing movement rather than creating it.... What do I do??? (stepper motors did work when I tested them)</p>
<p>Sir,help me plz.. my machine is not working properly.. I have used this code &amp; given output like pic .... plz sir </p>
<p>It looks like your pen is not stable, maybe improve the holder. Furthermore try to find the exact middle of the plotting area, as it seems your plot runs to the edge and is therefor missing a few steps from the stepper motors. Also try to dampen the drawing, maybe less speed, maybe some delay. Play with the settings, one by one</p>

About This Instructable

90,053views

911favorites

License:

More by CNC World:DIY Arduino based Mini CNC machine new Design How to Make Arduino Based Mini CNC Plotter Using DVD Drive  
Add instructable to: