I’m hoping for some help from someone. I’m trying to figure out which pin supplies the pwm signal to the laser module. I know it is the same pin used for the step on the 3d print module but without a working machine that doesn’t help much.
I don’t follow - the laser PWM is sent from the main controller, not controlled by the laser toolhead’s on board mcu. Are you asking which pin on the cable connector is it?
I don’t have a controller anymore, but I have a laser head (camera was defective) that I want to put on another machine. SM chose to integrate the mcu and laser driver onto one board. Luckily they still feed it with a pwm. My hope is that if I apply voltage and a pwm signal the laser head will still fire :). But I need to know what pin on the laser head is the signal pin (reads the pwm to controll laser diode currant).
Nope, no silkscreen on them at all just a “p1” to denote that it is the main plug… luckily I just found this post. Witch does answer my question perfectly.
Thanks for the help and I will post if I get this thing working XD
Interestingly enough there are only 2 laser definitions and neither are pin pe14. I will admit that I don’t think this makes a difference for me. But it is interesting.
Hey, sorry, this is going to look weird but I nuked all my posts that had wrong info in them. I don’t think it’s that pin anymore, I think it might be PB14. I can’t quite figure out which port group it’s on because I can’t quite figure out exactly what timer is being used, and also what channel is getting used.
Yes that is specificly for the timer. I was looking to see what pins they mapped m3-m5 to. I will trust their flow chart(at least for the moment) that they are remaping the step pin for pwm (because it makes sense to me that they would do so). Mostly I wanted to see if they where actually utilizing the plug pins above labeled “en” and “dir”. (I assume they use an enable signal)
Or am I wrong in thinking the best way to approach this would be to start with the g code? After all we know they use m3&5 to control the laser so if we want to see what pins are used for what look at what pins are mapped to those functions. Once we know the pins we can find what outputs are linked to what pins then I know what wires the signals are sent on. Or do I have a critical failure in my logic?
I agree, but I tried applying pwm on the step pin while giving an enable to both the en pin and the direc pin with no results. I can’t find any other info on what other possible pin combinations it could require. And without a schematic or a working device to test outputs from all I can do is just guess randomly at all possible combinations. (Though I guess there are only 4 unused pins so it wouldn’t be horrible.)
Might be possible. But I’m not having a lot of luck, it seems like they are not using the led driver in a standard configuration. The current sense pin seems to be hooked up to a diode&transistor circuit rather than a standard voltage divider, with the pwm input. That’s what led me to belive it is getting a signal from the mcu… the code does clearly allow for an e-stop (might double as the enclosure door safety?) And we know that when the enclosure door is open the laser operates at extremely low power. Maybe there is an interlock there to override the normal pwm signal?