Replies: 1 comment 9 replies
-
There is a lot to go through here and it is too bad that you couldn't get the Setup Wizard running. It could help to resolve some issues. You could try the latest version of UGS 2.0.20 from here and see if that makes a difference: https://github.com/winder/Universal-G-Code-Sender#downloads The alarm when you are starting the machine is basically GRBL telling you it doesn't know its position and require you to home the machine. You don't need to set up homing just yet, so you could just unlock the machine (see Unlock). Now issuing commands or jogging should be possible. If you are getting tired to unlocking your machine everytime you connect you can disable homing I find that the default values for If your machine starts moving after unlocking you are ready for the next configuration steps:
After all of these you can go on and figure out limit switches, homing, soft limits, probing and so on. |
Beta Was this translation helpful? Give feedback.
-
Hello everybody,
I am starting with my new DIY CNC router, and I am facing a weird problem. My setup is as follows:
Arduino UNO clone
CNC Shield 3
3 x A4988 stepper drivers
3 x 42SHDB 4036Z-24B stepper motors
Power supply: 12v DC, 10A, running both the Arduino and the shield.
My sw setup is Arduno IDE on a Win 11 laptop.
I'd like to run the toy with UGS , it looks like the best choice to me.
The issue: running UGS, motors get locked after connecting, no setup wizard is possible.
Warning: after connection, a red ALARM is shown on the bottom of UGS, but with no further hint
After trimming the three VRef on all of the drivers (0.4V) , I first managed to run the motors, following the valuable guide:
Demos that exercise the CNC Shield v3.xx directly (no GRBL layer or such) (https://github.com/MartyMacGyver/CNC_Shield_Demos, thank you Marty). I succeeded to run the test, but only changing the minimum pulse duration from 350 us to 400 us or above
So I loaded GRBL (1.1f) on Arduino IDE, compiled and uploaded. Everything smooth.
Turn Arduino IDE off (to release the serial USB channel), run UGS Platform (2.0.14), verify channel port (COM3), speed (115200), firmware (GRBL). After connecting, red Alarm turns on (undecipherable), and the steppers get a faint movement. After that , nothing.
I noticed from instructions :
Grbl v1.1 Configuration (https://github.com/gnea/grbl/wiki/Grbl-v1.1-Configuration#quick-guide-to-setting-up-your-machine-for-the-first-time), that the parameter $0 (minimum pulse width, us) is defaulted to 10 us, which is well below the value of 400 us I empirically found in the GRBL-less setup. But if I try to raise that value, I find that it's trimmed to 256, and you can't go beyond that.
I guess that GRBL casts that value to 1 byte.
In the A4988 datasheet, I read that the minimum pulse width is Th=1 is, Tl=1us , so the $0 setting appears to be right. So, why the hell my A4988 appear to need so a long pulse time?
And, how do I know what the UGS Alarm signal is trying to tell me? (really don't know if the two things are tied).
Thank you for helping, it's been teasing me for days...
Riccardo
Beta Was this translation helpful? Give feedback.
All reactions