Skip to content

Laser turns on during homing and axis movement – GRBL 1.1h + CNC Shield v3 #1281

@milad106

Description

@milad106

Hi everyone, I’m using GRBL 1.1h on an Arduino Uno with a CNC Shield v3. My setup includes:

3 motors:

    X-axis connected to X driver

    Y-axis split across two motors: one connected to Y, the other to A

Laser connected to PWM pin D11

The issue I’m facing is that the laser turns on during homing and when jogging the axes manually. It only turns off when the machine reaches the home position or stops moving. I’ve already enabled laser mode using: $32=1. But even before running any G-code, the laser activates during homing or jogging. Even when I disconnect the PWM wire from the laser module, the laser still turns on during axis movement.

Has anyone experienced this? Is there a way to prevent the laser from firing during non-engraving moves?

Thanks in advance!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions