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.
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.
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.
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.
Initial test with DVD Drive stepper motors using Arduino and Adafruit motor shield library.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.
Nice....!
ReplyDeleteCan I get a G-Code for download at Arduino?
ReplyDeletesorry 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
Deletehttps://www.youtube.com/watch?v=4jYKMAjzK3A
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!
ReplyDeleteuse 5v external power supply
DeleteHey 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.
ReplyDeleteHi
DeleteThis is normal 3mm wire. I have used automotive paint buffing compound for polishing them.