Hi everyone.
i want to make a differential robot that will draw any shape on the ground. I have 2 stepper motors and esp32.
Now i want that this robot should work on gcode, just like 2d plotters. I feed gcode and robot draws the shape.
How can i do that?
I went through the marlin firmware, marlin arm firmware and grbl. But these firmware are so complex, and i think they will be very hard to edit as well. Furthermore, i could not see any option of differential drive configuration in them.
Should i write my own gcode interpreter and then add the diff drive functionality in it?
Please give some examples of G-code that you will be using. Yes, you will likely need to write an interpreter. What will send your G-code to the robot processor?
Hello robofuntastic
Welcome to the worldbest Arduino forum ever.
I think you are not alone with your project idea.
Take a search engine of your choice and ask the WWW for 'robot +plotter' to collect some data to be sorted out to get the needed information.
Have a nice day and enjoy coding in C++.
this is the example gcode i found https://github.com/Makeblock-official/XY-Plotter-2.0/blob/master/demo/Makeblock-pencil%20G-code%20examples.cnc
and my robot will have to utilise this kind of gcode for movements
Ok, look at the G-code and see what the distance increment is being used for X and for Y movements. That is the goal for your mechanical design. Can you, or have you done that?
i have not done that yet. I wanted to get some idea before starting work on it.
Should i write my own gcode interpreter code?
Probably will need that to begin testing your design!
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.
