How to use the "Laser Control" from the menu

Setup: MPCNC with Large display + Rambo 1.4 with 513D 2.0.9.02 firmware
There is a J Tech Photonics Laser connected to Fan 0 and control with M106 P0 Sxxx work fine.

In the menu on my display the is an option called “Laser Control” that does not seem to work. I have found some topics talking about pin 45 and M03 control but am lost in conflicting info.
Is the display menu now controling this pin 45? Can I change my setup and hook my laser up to pin 45 which now is 5V butI need 12V? This pin 45 would allow Inline methode together with M03? Or should I modify the firmware so it can control Fan 0 from the display menu?

There are quality improvements in laser engraving when using inline commands or M03 vs. M106 fan g-code commands. I looked at the J Tech Photonics website, and their laser driver spec has this line:

Minimum Control Signal ”Turn On” Voltage: 2.8 Volts

Assuming this is the driver board you received with your laser, a 5V pin should work just fine. So you should be able to switch your control to pin 45 and start using inline commands without any changes to the firmware or electronics.

If for some reason you need a 12V signal, you can reassign the laser pin to a fan pin (and assign the fan to some unused pin) in the pins_RAMBO.h file, then reflash the control board. Note that the fan pins on the Rambo board use ground-side switching for their PWM signal, which is a problem for some laser boards under some situations, but I believe can be solved by adding a pull-down resistor.

As for the Marlin’s laser submenu, the wording is strange (I’m running version 510D). Turing the laser “off” put it in manual mode (and the laser will immediately come on), and then you can adjust the strength in the submenu. Turning it “on” means that it is driven by g-code.

Location of pin 45:

Thank you Robert, I will give it a try on pin 45.

I have a monster stupid question for you both :slight_smile:

Pin 45 should be plugged on my Input A TTL signal and ground to a ground pin? Is it right?

Yes. I use this control board, and I connect to pin 45 and to ground on my Rambo board using Input A on the laser control board. In theory, if you were powering your laser from the same power supply as your MPCNC, you might get away without the ground wire connection, but this board and your MPCNC control board must share ground in some way, and it doesn’t hurt to ground the board “twice.”

TKS So much Robert!
If it’s not too much to ask can you take a picture of your wiring?
I am still using the power input from my laser DC12v power supply Is it bad?

I already fry an Archi1 board and lost all trust in my judgement :slight_smile:

Tks so much!!!

You can use your external power supply that comes with the laser. Use the 2 pins connector for ttl and gnd if so.
It is how i set up my neje, bit on a skr pro

So you plug your pin 45 in TTL?
Is there a ground Pin on the Rambo 1.4 where I could connect the ground from my laser control board?

Again I am sorry if this is really beginner question :frowning:

Gnd is the minus - on @robertbu’s picture

1 Like

In the picture I posted, the whole column of pins with the red ‘-’ at the bottom are ground pins. Here is a different picture:

2 Likes

You are so kind TKS every one!

1 Like

Everything works perfectly !!! So happy again TKS for all the help!!!

2 Likes