I'm just getting started, and want to verify that I've got the control hardware working before I start a build. I've got all the hardware up and running on my bench, and I'm starting to look into control SW now. I've got GRBL 1.1f loaded and running on a Mega 2560, and can move all stepper motors. I loaded Easel, and was able to verify that I can control the motors by sending Gcode commands. After looking around a bit more I found OpenBuilds, and thought it would be a good place to start my build. I tried to use OpenBuilds Control SW to run my bench setup, but it fails to recognize my GRBL controller. What are the requirements of the Control SW? Does it only work when connected with your BlackBox (not sure if this is a product or the name of a generic GRBL box)?
My arduino UNO crashes when I send a G0 Yxx command. X is fine. I thought it might be an issue with my UNO, and in the GitHub gnea/grbl readme I found this… NOTE: Arduino Mega2560 support has been moved to an active, official Grbl-Mega project. All new developments here and there will be synced when it makes sense to. I had a mega so I loaded it up to verify my hardware, and it’s working fine. I’ve got an UNO on order to see if there’s an issue my UNO. in the meantime, can you tell me what response you’re looking for from the grbl controller? I can modify the MEGA build to respond correctly.
Standard grbl spits out a string on reset/ctrl+x: "Grbl 1.1g ['$' for help]" which we parse for the word "Grbl" at the start of the string, and the version number at the same position in the string (ie the next 4 characters from character 5 onwards)
This is my UNO startup string... Grbl 1.1h ['$' for help] And this is from the MEGA... Grbl 1.1g ['$' for help] I can't send the ctrl+x from the Arduino terminal, which is the only driver I have right now. I'll look into the code to see how the MEGA responds to ctrl+x. BTW... I'm a retired EE with a machine shop at my disposal. I'm very interested in building a gantry CNC router/plasma cutter.
Checkout the BlackBox - plug and play: https://docs.openbuilds.com/blackbox with full support. Unfortunately we can't provide code-level technical support for 3rd party controllers. Sorry!
FYI... a shot in the dark, I cleared the suspected bad UNO EEPROM with a sketch that wrote 0's to every location. When I flashed grbl, my crash disappeared, and your conttol app was able to recognize it.