Hi! I am new here and I really need help. Not sure which sub forum to use, partly because I don’t know what part of my setup is failing. But let me explain the situation.
I have built a simple laser etch based on an Arduino Nano with a cheap china laser with a TTL board. It is running GRBL 1.1 and I am able to control the steppers via LaserWeb. However, I am not able to control the laser in any way. It feels like I have tried everything (I am sure I haven’t) but am not getting closer to a solution. These are the things I have tried:
- Made a simple “blink” sketch on the Arduino which successfully managed to control the laser with PWM using analogWrite() on the same pin as GRBL is supposed to use (D11).
- Tried all various PWM prescaling settings in cpu_map.h
- Tried tons of settings for $30, $31, $32, including setting $30 and $31 to 0, which according to the documentation is supposed to disable the PWM and enable 100% output instead.
- Tried to connect the laser driver to the spindle enable pin instead, which worked but in the opposite way (turns of when it is supposed to turn on and vice versa).
Do anyone have suggestions on what else to try? I am running out of ideas here. I am not even sure if I should look into GRBL setup or in LaserWeb. Am I missing some important settings in the Gcode section of the settings? I am using the default settings here except the PWM max is 255 (same as $30). All kind of help is deeply appreciated. Thank you!