Laser module PWM

nc generally means not connected. 105Hz PWM, on = high.

1 Like

That’s what I figured, and it doesn’t look connected, but I wanted to make sure I wasn’t crazy…

Is it really only 105Hz seems slow, might be why I’m having issues I have been using 5000Hz xD

1 Like

At least by my count, 50MHz/1862/255=105.3Hz

GPIO_InitStruct.GPIO_Speed = GPIO_Speed_50MHz;
TIM_TimeBaseInitStruct.TIM_Prescaler = 1862;//959;//1862;//1344;
TIM_TimeBaseInitStruct.TIM_Period = 255;
1 Like

Any idea what the signaling voltage is? Is it 3V3? 5V? 24V?

The led driver is capable of 3.3 or 5v

1 Like

I’m getting an output now, need to put 5v to both en and dir pins

1 Like

Oh yea, because without DIR set the laser would shoot out the top :roll_eyes:

1 Like

Yup, also it’s not responding to the pwm, no matter what I set my pwm too I get an output of 1.35A

Maybe it doesn’t use step pin at all. I will test that next

Ok I’m beginning to think I cooked somthing… I just disconnected the en, step &dir pins and am still getting 1.5A out… only thing that’s plugged in now is 24vdc power.

:frowning:

Is 1.5A your PSU limit?

Yes 1.5 is my psu limit.

I don’t know how efficient drivers are, but even that doesn’t seem likely :frowning: RIP

1 Like

Well 1.5A wouldn’t be outrageous for a 1.6W output, but that would usually be at about 5v.

25v would be really high for a laser diode… but they don’t seem to have the voltage clamped. Because with nothing connected the output reads 24v. If I connect a load it drops… but I agree I think it’s time for this one to go into the scrap bin… shouldn’t be outputting as soon as it’s powered on.

Well, since you’re powering the driver directly, yes, it would.

Nope I’m applying 24v to the 24v cord pin. That shouldn’t turn the laser on (and it wasn’t before) it should require the enable pin to be powered (otherwise you could turn the sm2 on without the laser turning on because that 24v powers the mcu and the camera) also if I remove the pwm signal it should effectivly turn off laser.

Oh right right, you said that above. yea, rip. Memory like a :fish:

1 Like

All good. I will admit I considered powering the chip directly…

It would be nice if someone from the company could answer your question without all the experimentation but where would be the fun in that.