Dual CO2 and LED Laser on 1390 Ruida Laser

Hi.
I want to thank other users on this forum for their invaluable help and advice to enable me to create this.
I hope others can use this to get the best of their laser cutting world.

For a while now I have had a a 130w 1390 CO2 Laser. I have been very happy with its cutting ability, however for fine laser engraving it does not work so well. Call it “Walnut with a Sledge Hammer” syndrome.

Looking at the mounting for the focus lens I noticed that there was a place I could mount the LED laser.


As there was plenty of clearance it seems the best place to mount it.

So I purchased a Lasertree LT-80W-AA Pro.. which has 2 x 5w blue lasers, and a adjustable slide to mount the laser on. Then using 4mm acrylic I bade a mount for the laser.



Ok.. That was the hardware mostly done. But I needed to control the Lasers. The Ruida does handle 2 lasers however it is fifficult to split the type of lasers between them.
Leaving the Ruida as Active_LOW and Analogue voltage seems the best way to do it. With measuring I found the Ruida would put out from almost millivolts to the full 5V.. with my CO2 Laser firing for the full range.

But the Laser Diode requires PWM. and has no safety override.
I did find some 555 based Voltage to PWM.. (Pictured Here)


But I found it would not produce PWM till at least 1.5v.. And I needed a higher range than that.

But I could use a microcontroller to do this for me.

Using a DF-Beetle (Arduino Leonardo) controller I could program it to handle the safety AND the V to PWM convertor.

Here is the Code I wrote.

//Author David Boccabella
//Translating the Ruida Analogue Output
#include <TimerOne.h>
unsigned long _Freq = 5000; // default 1000 μs (1000 Hz)
unsigned long _DutyCycl = 500; // default duty cycle 50%
unsigned long _FocusVal = 5; // default Focus Value

// Pin Designations
const int _LaserVol = 0; // Analogue Voltage In
const int _PWMOut = 9; // PWM Out to Laser
const int _FocusMode = 10; // Laser on at FocusVal
const int _LaserON = 11; // Failsafe from Rudia

void setup() {

// Set up the Pins and default Level states.
pinMode(_PWMOut, OUTPUT); //PWM Output 0-1023
pinMode(_LaserON, INPUT_PULLUP); // Fire Laser on LOW
pinMode(_FocusMode, INPUT_PULLUP); // Low power Focus Mode

// Initialise the Timers..
Timer1.initialize(_Freq);
Timer1.pwm(_PWMOut, _DutyCycl);
}

void loop() {

_DutyCycl=0;

if (digitalRead(_FocusMode) == LOW) // FOCUS
{_DutyCycl=_FocusVal;}
else
{
if (digitalRead(_LaserON) == HIGH)
{ _DutyCycl=0;} // Set PWM to 0
else
{
_DutyCycl = analogRead(_LaserVol); // Get voltage from Ruida
}
}

Timer1.pwm(_PWMOut, _DutyCycl); // set the change

}

Using the TimerOne.h library it gave me a full 1023 PWM control, rather than the 255 interger one.
It even give me a way to have the laser on very low for focussing by pulling Pin10 LOW.
Pin 11 and A0 accepts the Ruida output, and pin 9 goes to the laser as the PWM out.

Here are some tests showing the Voltage in.. and the PWM.
2.5V


4.9V


Thats all for now. I will cover the installation and setting up in a few days
Enjoy.
Dave

7 Likes

Can you point out why you can’t just use the pwm the Ruida produces? It produces the pwm and analog voltage that are supposed to be directly related.

Maybe what I’m missing is how it’s wired up and how you tell it to use the visible light over the IR?

Looks good. I cut two pieces of acrylic to make the mount stronger or it had a tendency to oscillate like a pendulum.

:smiley_cat:

Hi. Using Lightburn these seems to be no way to tell the Ruida to use 2 different types of laser.
It is either Glass, RF, or another.
Its late here but I know I went through lots of variations to try and getvit to work with no luck.
So simplest way for me was to just do a,V to PWM.
There is also the safety to stop the lasers firing on the Ruida.

I will be showing how I will wire it in a dat or so. Not sure what you mean by IR to visible..

The focus for the CO2 tube is via a little pointer led.
The focus for the Blue laser is to turn it on slightly.

1 Like

The part of which is confusing to me.

The little pointer led, is not the co2, which is ir and not visible. I was just differentiating them from each other.

Go snooze… happy dreams :yawning_face:

:smiley_cat:

1 Like

V to PWM. Voltage to PWM convertor. As the voltage chages the Pulse Width Modulation changes accordingly.

The little pointer led is RED. Not IR. Its one of those cheap red laser you can buy for cents.
Its on the CO2 side in a little holder that indicates where the IR CO2 beam will hit.

1 Like

I know what you’re doing, I’m just wondering why.

There are two outputs from the Ruida, one is analog, the other pwm. You have pwm generated by the Ruida, so what are you doing to make this work?

:smiley_cat:

1 Like

Ok. I only used a multimeter… not a scope for checking the output as other articles showed the laser power supply onlyvaccepting an analogue input. I.e. connecting a potentiometer between GND, 5V, and the laser in.

But my design caters for the L_Low Safety signal, and the capability to drive the LED Laser at a very low level for positioning the work before cutting.

Epic, love it.

Ok.. Minor update. I have moved some of the connectors around on the V to PWM board.

Top from Left
Pin 1. PWM to Diode Laser
Pin 2. GND
Pin 3. 24V for Led Laser.

Bottom from left.
Pin 1. 5v
Pin 2. Gnd
Pin 3. Vin
Pin 4. L_Low
Pin 5. Focus On
Pin 6. 24v for LED Laser.

I can still alter the code using the USB on the DF Beetle.

Enjoy.

1 Like

I guess I’m the dummy, I can’t seem to follow what you are doing.

All inputs to the laser power supply, can be digital. The IN is converted to an analog value based on the pwm input, if you don’t use an analog input.

If you are using the pwm to control the laser via it’s L (or H) input, then you are not really controlling the tube with software, it’s being driven as a digital device.

So, I’m pretty lost..

:smiley_cat:

1 Like

Nice project! I agree to the others, the PWM signal should be there already.
But apart from this, I wanted to mention that those laser gantries are usually not built to handle the weight of a diode laser head. You need to be careful when it is mounted, I guess you can damage it very fast when using high speeds etc.

1 Like

Estaría bien ya que el esfuerzo lo merece que tomase la consideración de poder extraer el cabezal del laser de diodo cuando no utilice dicho laser, a si no se vería afectado el espejo y cabezal del laser de co2, no se en que medida afectaría por el peso extra, también se a de asegurar la calibración de dicho laser a la mesa, yo también tengo esos mismos láseres el de diodo en su plataforma de 60 x 60 fue el primero que compre se quedo corto y compre un ruida 1490 de 130w cada uno tiene su pro y su contra yo aprendiendo de la comunidad y del prueba y error, animo y me gustaria ver el proyecto al completo terminado y funcionando jejeje un saludo a la comunidad

Minor setback.. my acrylic mount shattered :frowning: so I am remaking it in alumium. Plus with thin steel over one side so I can attach the diode laser with magnets.

I forgot the cable exit at the back of the X axis and that caused the issue.
New positio in on the front right of the fown lens and I have checked for clearences.

More soon..

You shattered the acrylic, do you think magnets will hold it? Personally I doubt it.


You’ll have to go out of your way to design something that will take a big machines acceleration and not have some kind of pendulum effect. I’m sure this acerbated the the issue.

You might have to just slow it down when you use the led laser.

Let us know about the new part and mount.

Good luck

:smiley_cat:

Actually More ‘Popped the Superglue Joins’. I should have used proper Acrylic cement.

I have some pictures of the new mount..


1 Like

How does it work?


When I did mine for a very small and cheap gantry laser, I doubled the 3mm acrylic and made t’s to align the two pieces.

I used an acrylic glue.

:smiley_cat:

1 Like

Hi Folks. Well the project is completed and I am VERY happy with the outcome. So here are the details.
After fixing the steel backed mount to the laser head I modified the Diode Laser and inserted 4 10mm x 3mm Magnets.


This was was easily done as the main laser assemble was fixed by the 3 small hex screws and it slipped out with the electronics.

When assembled it looks very neat.


Lightburn was easy to set up with the Device screens


Note the Enable Laser 2 Offset as this tell Lightburn how to line the 2 lasers up.

I did a simple test for this by drawing 2 squares and adjusting until each square was aligned.
This was the Lightburn file

And this is the Laser

And finally.. A full job of making a Label.

I am extremely pleased by the precision and the detail that I am getting
I hope folks can enjoy this.. And Please ask any questions.

2 Likes

Ok. With all my measurements I can see an Analogue voltage on the output of the Ruida. So I am just treating the signal as that 0-5V. Whether the CO2 Laser Power supply can handle PWM I do not care. It is simpler to just work with what I am reading.

Have a look at this from Cloud Ray for testing a laser..

Hopefully it makes it a little more clearer.

I ran it up to 500m/s and the diode stayed attached very well.

This would work OK but I still needed to attach and detach the diode laser easily.. So Magnets seem to work for me..

1 Like