Material: arduino uno + cnc shield V3 with A4988 stepper drivers, nema17 stepper motors and a 9g servo. It is a drawing robot that moves using a continous belt powered by the steppers.
I am using arduino and processing to move a drawing cnc robot with the mouse. When I move the mouse in the black processing window the plotter follows and when I click the left mouse button, the servo drops and the pen hits the paper only to go up again when I release the left mouse button. When I hold down the mouse button, the pen stays down.
Goal: Make the plotter remember its positions + move diagonally. (In order to be able to draw circles).
If I click on x50 y50 and release, then click on x100 y100 and release the plotter should remember to go there and draw dots consecutively. If I then go to x200 y200 and draw a line from there to x100 y100, it should do that.
I do Not want to use Grbl firmware as that is far too slow and this project doesn’t need that level of precision. I just want to be able to draw with the cnc using the mouse.
Kindly reply to this post or send me a pm and I will send you the code.