Laser Control

Home Forums gShield grblShield Support Laser Control

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #3643
    flipper
    Member

    I would like to control a laser using the Arduino/GRBL Shield, but not sure how to go about this.  I do not need the Z axis so I was hoping to control the Laser using M3 and M5 g-code commands to turn the laser on and off but I do not know who to wire the laser so that those commands will work… Basically which two pins can I use?

    The Laser driver I have can have 5v or 12v power supplied, so I could wire straight into the Arduino using PWM or possibly into the GRBL shield where the Z-axis motor connects, but either way I am not sure which pins to use.  Has anyone had any experience with this?

    #3644
    flipper
    Member

    So I had part of the answer all along on one of my tabs:

    “I think the easiest thing would be to connect a relay to your laser and control the relay from the spindle pin. Then you could use the normal G codes M3 (enable spindle) and M5 (turn spindle off) to control it.”

    Looking at the pinouts, the “Spindle Enable” is pin 12, which helps a lot, but which pin on the GRBL shield would it be?

    #3667
    Riley
    Keymaster
Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.