Mini Plotter Made From DVD Drive

DIY Mini Plotter Made From DVD Drive stepper motors.
This mini plotter is made from 2 stepper motors which came from two DVD drives. I did this project to get better insight into the Stepper motor control which will help me in creating a 3D CNC Router in future. The plotter consists of 3 rectangular boxes made from 6mm plywood. The plywood boxes fit one inside other and slide on a 3mm steel rod. I have polished the steel rods so that the cradle can slide easily.
For drawing i am using a 0.2mm microtip pen. Lead screws on the stepper motors are very small so printing size is limited to about 1.5" X 1.5".
I was not able to make perfect bushing for the sliding mechanism due to this there is fair amount of play resulting in not so accurate printing.
To control the stepper motors and the servo from Arduino i am using Adafruit motor shield clone which is based on two L293D chip. This shield can power 2 stepper motors or 4 dc motors and 2 servos. This shield needs external power supply to power the motors properly.
DIY Mini Plotter Made From DVD Drive stepper motors
The servo i am using is a 9g micro servo. It is a bit slow for this application. I wanted to keep the design clean and simple so i have used this servo otherwise I could have created the z-axis from another stepper motor which would have resulted in a quicker movement.
DIY Mini Plotter Made From DVD Drive stepper motors
I have modified the sketch which i have downloaded from GitHub. Original sketch can be downloaded from MSGCodeInterpreter.


I have extended this sketch to include arc (G02 and G03) commands and also done some changes in configuration as per the stepper and the servo specifications. The two stepper motors that i am using have different lead screw pitch size so i had to do lot of experiment with the settings to tune them. I have uploaded the modified code on OneDrive (Download Code).
To convert an image into G-Code i am using Inkscape which is a  free to software. You have to convert the raster image into a vector image first using Inkscape. After this we can use Inkscape G-Code generator extension to generate the G-Code. The G-Code settings have to be configured as per the printer specifications. This G-Code file will be used by the Hydra-MMM application to send the commands to the Arduino.
DIY Mini Plotter Made From DVD Drive stepper motors.
Initial test with DVD Drive stepper motors using Arduino and Adafruit motor shield library.

Share on Google Plus

About apoorv chaudhary

    Blogger Comment

7 comments :

  1. Can I get a G-Code for download at Arduino?

    ReplyDelete
    Replies
    1. sorry i do not have any G-Code files now as this is a old project. You can generate G-Code yourself using Inkscape watch below video for details
      https://www.youtube.com/watch?v=4jYKMAjzK3A

      Delete
  2. Hi there, can you provide specs of the external power source? I've tried 12v but L293D gets hot immediately. Is arduino's power enough?? Thanks!

    ReplyDelete
  3. Hey DoTheDiy, Love the plotter. Could you tel me more about the 3MM rods? Are they cold rolled, how did you polish them? Thank you for the information.

    ReplyDelete
    Replies
    1. Hi
      This is normal 3mm wire. I have used automotive paint buffing compound for polishing them.

      Delete