most of the do it yourself kits have a parelle plug not usb?do you know of a kit that is not so expensive?i just want to learn so i can make me a cnc router.thanks jay
@jaytank31 Short answer, no. Not even close. There are a lot of different groups working on this but AFAIK no one has really succeeded yet, as in, making something remotely competitive to Mach or EMC.
@kerfmas5 I fixed the problems with this about a month ago. The main problem turned out to be that the serial output buffer could overflow, and when it did, it would corrupt the input buffer. I solved the problem by creating a rate limiter on the output. If the user acted too fast (i.e. spinning the encoder >60RPM) it would simply ignore the inputs. This made it rock-solid.
That's a pretty cool project. I plan to start working on a CNC project soon and have started to dabble in Arduino coding as well. Do you think your 10 updates/second is limited by the baud rate that the Arduino is using? Nice project!
@davi200 No, I don't think so. Each message is 6 characters or 48 bits, which would mean 200 per second at 9600 baud, and the Arduino can go to 115.2kbps. That said, there's no need for anywhere near that many for this application, since all you're doing is giving the user feedback. I've found it feels good even down to 2x/second update rate so anything over 10x is just overkill.
most of the do it yourself kits have a parelle plug not usb?do you know of a kit that is not so expensive?i just want to learn so i can make me a cnc router.thanks jay
jaytank31 1 month ago
would the arduino be easier to make a cnc machine?
jaytank31 1 month ago
@jaytank31 Short answer, no. Not even close. There are a lot of different groups working on this but AFAIK no one has really succeeded yet, as in, making something remotely competitive to Mach or EMC.
sansbury95 1 month ago
I think its limited by the lcd processing
kerfmas5 11 months ago
@kerfmas5 I fixed the problems with this about a month ago. The main problem turned out to be that the serial output buffer could overflow, and when it did, it would corrupt the input buffer. I solved the problem by creating a rate limiter on the output. If the user acted too fast (i.e. spinning the encoder >60RPM) it would simply ignore the inputs. This made it rock-solid.
sansbury95 11 months ago
That's a pretty cool project. I plan to start working on a CNC project soon and have started to dabble in Arduino coding as well. Do you think your 10 updates/second is limited by the baud rate that the Arduino is using? Nice project!
davi200 1 year ago
@davi200 No, I don't think so. Each message is 6 characters or 48 bits, which would mean 200 per second at 9600 baud, and the Arduino can go to 115.2kbps. That said, there's no need for anywhere near that many for this application, since all you're doing is giving the user feedback. I've found it feels good even down to 2x/second update rate so anything over 10x is just overkill.
sansbury95 1 year ago