My CO2 Laser Power Supply have these connections:
H: Laser output control (high level effective)
L: Laser output control (low level effective)
P: Water protectio switch (valid if grouded)
G: Ground signal
IN: Laser energy control signal (0-5V)
5V: Output 5V/50mA
I don’t understand the laser guide very well.
The PWM pin 11 goes to “IN” pin of the power supply?
And Spindle Direction pin 13 goes to “H” pin of the power supply?
Also, I have to connect the GND and 5V of the Arduino to the GND and 5V of the power supply?
My power supply is a MYJG-100W.
Image of connections of the power supply: https://images.ua.prom.st/824079939w800h640_connect.jpg
评论 (30)
#2 – brakthehun 于 2017-08-22
I’ve used a laser power supply (LPS) on this and it works great.
Not all laser power supplies are the same.
LPS 5v – don’t connect
LPS gnd – don’t connect
LPS PWM(IN) – don’t connect
LPS TH – Pin 11 Arduino
LPS TL – GND Arduino
LPS P – lid switch or ground.
Be very careful. I’ve seen the laser fire while the arduino is booting. Make sure to connect a 10K resistor from Arduino ground to LPS TH. The arduino boots with all pins as inputs and pin 11 can float up enough to activate the laser.
#3 – 00alkskodi00 于 2018-06-13
Hi
i am novice
can that working?
#4 – Takton 于 2018-12-05
I use arduino uno and CNC SHIELD.
GRBL 1.1 and the program Laserweb4.
I’m trying to connect the power supply, but I can not.
Help solve this problem please
#5 – wili18 于 2019-02-09
Hallo everyone, please explain me. From arduino is only 1 signal output (pwm from Z +) used to control co2 power supply. This is used to control power at IN input. Next is need to activate the laser fire to the L input by connecting it to the GND. How do I do it? From the arduin there is no further signal (I try spindle enabl.,spindl dir. …) for it. If I connect it like Takton(up) it fire with full power.
Is there any next output what is connected (or log1) when laser is fire? Or some add switch board?
Thank you
#6 – AdamMulica 于 2019-03-26
> I use arduino uno and CNC SHIELD.
> GRBL 1.1 and the program Laserweb4.
> I’m trying to connect the power supply, but I can not.
> Help solve this problem please
>
Hello
Here is the solution. Look photo.
I am using the LaserGrbl program. Command M03 S1000 – 5V full laser power. M03 S0 – 0V laser off.
Regards
#7 – Zulfikar-stark 于 2019-06-19
hi. please help me
Power supply recomended for laser tube Co2 40w. and wiring diagram for arduino without cnc shield but with TB6600 driver stepper motor. Thank’s
#8 – AdamMulica 于 2019-06-19
Zulfikar-stark search on the google “arduino connect with TB6600”
I buyed in aliexpress: 40W CO2 Laser Power Supply MYJG-40T 110V 220V for CO2 Laser Engraving Cutting Machine 35-50W
Arduino PIN 11 and GND – control with program LaserGRBL- power supply – connect LOOK my photo
power strip P2 and pin IN to pin 11 on arduino and pin G to GND on arduino :] or connect Analog Signal Control P2 – L G IN
Remember , make a bridge power supply P2 – G and P together and G and L together, or make switches
on/off. If you do not do it, you will not run the laser from the program, eg LaserGRBL
#9 – Zulfikar-stark 于 2019-06-20
thank’s AdamMulica.
what about using mach3 as control ?
what pin is used in mach3 for control laser ?
for driver motor stepper not problem, i have tried with arduino and tb6600.
#10 – AdamMulica 于 2019-06-21
I dont know i dont use mach3
20.06.2019 12:07 “Zulfikar-stark”
> thank’s AdamMulica.
> what about using mach3 as control ?
> what pin is used in mach3 for control laser ?
>
> for driver motor stepper not problem, i have tried with arduino and tb6600.
>
> —
> You are receiving this because you commented.
> Reply to this email directly, view it on GitHub
> <https://github.com/grbl/grbl/issues/1263?emailsource=notifications&emailtoken=AG3UHZCVCVSCLFCDRPPBAWLP3NJFRA5CNFSM4DTSTVK2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODYE6RJY#issuecomment-503965863>,
> or mute the thread
> <https://github.com/notifications/unsubscribe-auth/AG3UHZBIOXM5FBWUMKQINWDP3NJFRANCNFSM4DTSTVKQ>
> .
>
#11 – enrique812 于 2019-06-21
> > I use arduino uno and CNC SHIELD.
> > GRBL 1.1 and the program Laserweb4.
> > I’m trying to connect the power supply, but I can not.
> > Help solve this problem please
>
> Hello
> Here is the solution. Look photo.
> I am using the LaserGrbl program. Command M03 S1000 – 5V full laser power. M03 S0 – 0V laser off.
> Regards
>
> !laserco2powersupplyarduino
Good morning friend AdamMulica, although I did not have my question, I thank you for this answer and you have helped me a lot, but I have a few more questions.
I want to control a 45w CO2 laser with Arduino Uno and CNC SHIELD, for which I want to use a MYJG-50 source (on the link where it is understood and in the photo at the end) indicated
1. Can I make the same connection for the font I bought?
2. What are those bridges you make between TH pins with TL and TH pins with WP?
3. In the connection of the image will the CNC shield control the power and on and off of the laser tube?
thank you very much for your help
https://es.aliexpress.com/item/32791184674.html?spm=a2g0s.9042311.0.0.274263c0rIusH6
#12 – AdamMulica 于 2019-06-21
Hello,
You must connect, in power supply G and P – bridge! and G and L – if L = low power LASER ON – bridge
Connect with arduino:
Power supply IN – to arduino shield Z+, and G to Z- look my photo
USE program LaserGRBL – is super :]
#13 – enrique812 于 2019-06-22
muchas gracias por tu respuesta amigo AdamMulica, de verdad te estoy muy agradecido, pero seria mucha molestia si te pido que por favor me indiques para que sirven los pines:
INPUT CONTROL SIGNAL (IN) , SIGNAL GROUND (G), WATER PROTECTION (P), L y H?, he buscado en internet y solo dice su nombre y una leve referencia de lo que son, pero no especifica cual es su función o para que sirven; se que el pin 5v se usa solo si harás uso de un potenciometro, por eso no pregunto por el.
En tu respuesta me estas diciendo que:
1. Haga un puente entre G (signal ground) y P (water protection)?
2. Ademas que haga otro puente entre G (signal ground) y L para que el láser tenga baja potencia?
3. Ademas que conecte el pin IN(input control signal) de la fuente al pin Z+ de la cnc shield?
4. ademas que conecte el pin G (signal ground) al pin Z- de la cnc shield?
disculpe mi insistencia, es que mi duda esta en que en la imagen que le envió al amigo Takton he visto que hace un puente que une los pines H y L y otro puente que una los pines H y P, y esas son conexiones distintas a las que me esta diciendo que haga ahora.
Un ultimo favor amigo, me puedes indicar las conexiones en la imagen que te estoy enviando?
Disculpa mi ignorancia amigo es que me he aventurado a hacer esto sin tener mucho conocimiento del tema.
De antemano muchísimas gracias por tu ayuda, espero me tengas paciencia.
#14 – AdamMulica 于 2019-06-22
!59956576-c08bda80-9456-11e9-8925-98c8fdd2480b
I think so
I’m not sure because I have a different power supply
1 method
but if L and G = 0V then the laser will be ON or
2 method
If H and 5V = 5V then the laser will be ON
or you must have these two methods turned on together
Do it by trial and error
INPUT CONTROL SIGNAL (IN) – laser power 0% to 100% control from program!
G (GND) and L – if it’s not on, the laser will not work (it’s not laser power) – protection
or
5V and H – if it’s not on, the laser will not work (it’s not laser power) – protection
G (GND) and P – if it’s not on, the laser will not work – security
YOU MUST TURN ON two security
Z+ AND Z- = you control voltage from 0V to 5V from the LaserGRBL program
#15 – enrique812 于 2019-06-23
amigo AdamMulica discúlpame por ser un poco distraído; ahora veo que la fuente que tienes es distinta a la fuente que yo tengo.
Me he dado cuenta que tu pones un puente entre los pines G y P ,ademas pones otro puente entre los pines G y L, ademas conectas G con Z- y IN con Z+.
Discúlpame la molestia pero tengo una pregunta.
1. ¿el GRBL láser también controla el encendido y el apagado del tubo láser?
de antemano te agradezco tu ayuda amigo AdamMulica
#16 – AdamMulica 于 2019-06-23
This is my power supply and how it is connected
If I do not have a bridge between G and P, the laser tube does not work
The point is that it’s to give a button there ON/OFF
1 button – connect to G and P
2 button – connect to the water pump
Then you turn on the 2 buttons and you are sure that you have the water pump turned on and the protection in the power supply
or
buy
W1209 Red LED Digital Thermostat Temperature Control Thermometer Thermo Controller Switch Module DC 12V Waterproof with Case Box on aliexpress and control pin P (water protection)
If you exceed the water temperature in the 30-degree tank, the relay in the device will take a break and the laser will not work
It depends on you, how want to protect your equipment!
I use laser from time to time, so i do not overheat water in the laser tube, but also check the temperature in the tank. If I use it all the time, I will mount the device
W1209 Red temperature control of the LED thermostat
#17 – enrique812 于 2019-06-23
muchas gracias por tu ayuda amigo AdamMulica, sin tus consejos no hubiera podido entender como se conecta la fuente y el láser, estoy pensando en instalar en serie un termostato relé programable y un sensor de agua entre los pines G y P, para que si no hay flujo de agua no funcione, pero también si la temperatura del agua sobrepasa los 30 grados se apague, todo esto como doble medida de seguridad.
El interruptor de apagado y encendido lo colocare entre los pines G y L.
Y para finalizar dos preguntas mas:
1. ¿Se podrá adaptar una pantalla táctil compatible con arduino uno para controlar la potencia máxima del láser desde esa pantalla sin necesidad de ir hasta una computadora?, algo paresido a las cnc láser chinas.
2. ¿te ha pasado que si enciendes la fuente antes de conectarte con el programa, el láser se enciende?, si esto te ha pasado ¿como lo solucionaste?
#18 – AdamMulica 于 2019-06-24
The problem I noticed is:
If I do not have a USB cable connected between the computer and arduino, the laser sends a tiny beam all the time. This is probably a GND issue but I have not solved this problem. You probably need to fumble at SHIELD V3.
As for the touch panel, I do not know, I do not use.
It’s best to test yourself what to do and how to fix the problem.
Good luck in device development ![]()
#19 – enrique812 于 2019-06-25
otra ves gracias por tu respuesta amigo Adam Mulica.
A propósito de GRBL láser, he encontrado esto: https://github.com/gnea/grbl/blob/332acada8854538443d625c84b5346a34cabbf6a/doc/markdown/laser_mode.md
El GRBL láser que me has dicho que use es el mismo que hablan en esta publicación?
#20 – AdamMulica 于 2019-06-25
Hello,
First install driver ARDUINO
https://www.arduino.cc/en/Main/Software – Download the Arduino IDE
connect usb to arduino and:
You must installing a file named grbl_v1.1f.20170801.hex
to arduino
https://github.com/gnea/grbl/releases – download file .hex
https://github.com/gnea/grbl/wiki/Flashing-Grbl-to-an-Arduino – installing .hex to arduino
The LaserGRBL program
http://lasergrbl.com/en/download/
is for firing and engraving and it connects with arduino
#21 – enrique812 于 2019-06-26
muchas gracias amigo AdamMulica ya instale el grbl laser y estoy empezando con lo del grbl del arduino, pero mientras pensaba como comenzar, me vino una duda con respecto a los drivers que tengo que usar, mi duda esta en que tengo motores Nema 17 1.2A 7.2V los cuales no se que drivers ponerle.
Tengo drivers TB6600 4.5A 8-50V y drivers DRV8825 1.5A 8.2-45V, pero como te abras dado cuenta, ninguno de estos dos drivers esta en el rango de voltaje de los motores que tengo.
¿Tu crees que pueda usar alguno de esos 2 tipos de drivers? ¿o mejor seria que compre otros drivers que sean del voltaje de los motores que tengo (7.2v)?
#22 – AdamMulica 于 2019-06-27
Hello,
I used DRV8825 and i have Nema 17 1.7A (17HS8401) and everything it works good ![]()
pay attention to A and not to V
you can use TB6600 and DRV8825 :] what do you want
#23 – enrique812 于 2019-06-28
que bueno amigo AdamMulica gracias a ti me ahorre la molestia de comprar drivers nuevos.
Dime ¿hay alguna tarjeta alternativa a arduino uno y cnc shield que se pueda usar con grbl láser y los drivers DRV8825 a la cual se le pueda colocar una pantalla táctil?
#24 – AdamMulica 于 2019-07-01
As for the touch screen, I have no idea you need to look for answers on your own
#25 – Zulfikar-stark 于 2019-09-11
I have a problem with the accuracy of cutting acrylic using a co2 laser tube. how to set up a gcode file and sender what is compatible ?
help me please. thank’s
#26 – AdamMulica 于 2019-09-11
I do not know what you have a problem with?
If you use the LaserGRBL program you must enter the arduino configuration and parameters:
$100, $101 $102 – set the appropriate values - if you send the command take 50 steps then it should move to 5cm. Length the ruler and set the appropriate parameter
#27 – distebia 于 2019-10-10
Salve, ho letto la discussione ma non trovo un aiuto per il mio caso. mi spiego meglio: attualmente utilizzo arduino uno per pilotare un laser a diodo da 10w tramite pin 11 e gnd (PWM) e tutto funziona a meraviglia tramite Lasergrbl e GRBL 1.1f. Vorrei installare un laser co2 e non riesco a capire come da arduino uno uno vado a gestire l’alimentatore del laser. Qualcuno mi potrebbe aiutare anche con uno schema come posso fare? Grazie a tutti
#28 – AdamMulica 于 2019-10-12
> Salve, ho letto la discussione ma non trovo un aiuto per il mio caso. mi spiego meglio: attualmente utilizzo arduino uno per pilotare un laser a diodo da 10w tramite pin 11 e gnd (PWM) e tutto funziona a meraviglia tramite Lasergrbl e GRBL 1.1f. Vorrei installare un laser co2 e non riesco a capire come da arduino uno uno vado a gestire l’alimentatore del laser. Qualcuno mi potrebbe aiutare anche con uno schema come posso fare? Grazie a tutti
Hello,
Read my posts and you’ll find the answer.
#29 – distebia 于 2019-10-12
Ho letto ma si parla di SHIELD V3 e DRV8825 soltanto
#30 – AdamMulica 于 2019-10-12
Arduino uno:
PWM 0-5V – pin 11 = Z+
GND = Z-
![]()
You need to buy a power supply for the laser tube co2 and connect in the same way as this diode laser – read the posts that are earlier carefully
Everything is described in the posts above
#1 – allstar87 于 2017-08-01
I have a similar project, and here’s what I’ve found thusfar. Note I don’t have it working 100% yet, but this what I think I know:
The +5V pin on the power supply is a regulated 5V output. It’s there mostly if you’re going to use a potentiometer to control laser power rather than the controller’s PWM. It can be left disconnected.
Spindle speed (PWM) needs to be hooked to IN.
Spindle Direction can be attached to either TH or TL. I’m hooking mine to TH. Gcode commands M3 and M4 toggle this pin LOW and HIGH respectively, in addition to changing between static and dynamic laser mode. I want to run in dynamic mode (so that if it stutters due to buffering or whatever, it’ll turn the laser off and not put a burn mark on a raster image). The Spindle Direction pin is HIGH when in dynamic mode, so we’ll use TH on the power supply.
I’m using LaserWeb, so I put an M4 in the tool on G-code, and M3 in the tool off G-code. That way it puts an M4 at the beginning of a block of G1 operations and an M3 after. It’ll pull the spindle direction line LOW for G0 moves.
The cabinet I have has two interlock switches; I’m going to use one to interrupt the TH line when the door is open to force the laser tube to turn OFF, and the other to hook to the HOLD and RESUME lines to pause the gantry when the lid is opened, and resume the gantry when the lid is closed again–a little like my dryer.