mini cnc machine arduino based & adafruit driver motor l293d v1 & 2*mini stepper cd/dvd player #1
Arduino Mini CNC drawing machine!
For the x-axis and y-axis, we will use the stepping motor and guide rail in two dvd/disc!
Printing area of up to 4x4 cm.
For this project you need :-
Beginner parts list :-Arduino uno (or Mega )Breadboard-
Shield Drive Motor L293D adafruit v1-
9g-mini servo motor
2 x DVD/CD drive system for Adafruit Shield drive motor v1: in the first image above, you will see the y axis of our CNC machine.
You need some screws and nuts in this part.
In the second picture you will see the X and Y axis.
The x-axis is attached to the two plastic parts I removed from the remaining \"junk\" material.
I cut it off to match the construction.
This is a simple program.
Just make sure that the y-axis is placed vertically on the CNC base and on the x-axis (90 degrees)
This is the most difficult part of our construction.
You need something to fix it on the x-axis, a flat surface.
On this surface, you will connect the servo motor (Z axis)
And the pen holder. Pen (or pencil)
Must be able to move up and down with the help of the servo motor.
Watch the picture above to find out what you need to do with the duild Z axis. Tip!
Play your imagination)
Below is the main CNC code embedded with codebender!
In this section you will see your pen rising.
If not, change the penUp and penDown variables that control the servo motor.
Press the \"run on Arduino\" button to program your motherboard from your browser!
To make gcode files that are compatible with this cnc machine, you must use Inkscape.
Inkscape is a professional quality vector graphics software running on Windows, Mac OS X and Linux.
It is used by design professionals and enthusiasts around the world to create a wide variety of graphics such as illustrations, icons, logos, charts, maps and web graphics.
Inkscape uses the W3C open standard SVG (
Scalable Vector Graphics
Open for free as its native format-SOURCE Software.
Download and install Inkscape from :(
Important: Download 0. 48. 5 version)
Now you need to install an add-on
Enable exporting images to a gcode file.
This add-on can be found here with instructions for installation.
First open Inkscape with Inkscape, go to the File menu, and then click document properties \".
See the 1st images above and make changes to make sure to change to \"cm\" first \".
Close this window now.
We will use the area in the range of 4 to 8 cm.
See 2nd pictures above.
How to print text into text, change the font to new Roman times, change the size to 22.
Now click on the cursor icon to center the text like the 3rd image above.
Select the path from the menu and from object to path.
This is harder to print images than text.
The picture must have a transparent background.
Drag and drop the arduino logo image (
Download from file)in Inkscape.
Click OK for the next window \".
Now you have to re-
Resize the image to fit our print area, see the fourth image above.
Click the path and track bitmap in the menu \".
Follow the fifth picture above to make changes.
Click OK and close the window.
Now, move the grayscale image and delete the color image behind it.
Move the gray image to the correct location again, and then click path in the object to path menu \".
The sixth picture above shows how to delete the image outline.
Export as gcode Final, go to the File menu, click save as and select. gcode.
Click OK in the next window \". That\'s it! Ready to go! Use the gctrl.
The partial differential equation application prints the gcode file on the new Arduino CNC drawing machine!
I\'m going to make a video about the program in the next few days as it\'s a bit complicated.
It took me a lot of time to understand how it worked. . .
Now we are ready to print our first picture!
For this we will use gctrl.
This program sends the \"gcode\" image to the cnc draftsman. What is gcode?
Gcode is a file with X, Y, Z coordinates.
The title of this file is set to: M300 s30. 00 (Servo down)G1 X10. 00 Y10. 00 F2500. 00 G1 X20. 00 Y10. 00 F2500. 00 M300 S50. 00 (Servo up)
Click the play icon/button to start the program.
Download gctrl for Windows: Select the port number of Arduino from the first time to \"p\" and click \"g\" to select the Gcode file. . .