I've been working in a project for a low cost CNC using simple DC Motors.
At the moment i managed to do motion control part of the project using arduino's PID library, I can say that theres no overshoot in position although i'm not using motors full power(power is limited).
I'm now working/researching in 2 axis interpolated movement, found the bersengh...whatever algorithm but im not sure if thats the best approach.
There's a lot to be done and help would be welcome.
Java interface - I managed to communicate between arduino and a java application but the com's protocol can/must be improved
- G-code interpreter is to be done (only g00 and g 01 for now). it would be taken in the java app and then sent to arduino in a simpler way
- trajectory lines on java interface. (already started to mess with some java drawing api and doesnt seem too hard)
on the arduino side :
- mainly the interpolated movement of the axis
Here some videos of what i've been doing (not edited and some of them are boring)https://www.youtube.com/playlist?list=PLwkgzMV13oXDokUAldZ8cOY2kiaDdBBa-&feature=view_all
Colabs or suggestions are welcome and appreciated.
Please just don't ask me why wont i use stepper motors instead of DC.
Paulo J. Martins