gnea / grbl

An open source, embedded, high performance g-code-parser and CNC milling controller written in optimized C that will run on a straight Arduino
https://github.com/gnea/grbl/wiki
Other
4.03k stars 1.6k forks source link

Laser Module to connect the UNO board and CNC shield Ver 3.0 #717

Open Nalinpc3 opened 5 years ago

Nalinpc3 commented 5 years ago

I have following items Arduno UNO board 3.5W Laser module CNC shield Ver 3.0 2 stepper motor drivers 2 limit switches 400W power supply And the laser module have only 3 wire output, one 12V+, GND and PWM can anyone help me to connect them together. Please give me the wiring diagram as I want to make a Laser Engraver with GRBL laser app

beckmx commented 4 years ago

well, most of the docs are already published in this very same repo but assuming you are a total newbie, what you are asking is here: https://github.com/gnea/grbl/wiki/Connecting-Grbl, specifically the "Variable spindle PWM" is the PWM of your laser, so, if you connect your laser to 12v and GND chances are it will light up, but if you connect GND of your laser to GND of the arduino PLUS PWM, chances are it is not going to light up UNTIL you start a job, now if you dont have a job, just send commands:

M3
M2
S1000

To turn it off M5