How to use just an Arduino Uno to run two motor controllers and a 20 watt diode laser

I have used CNC Shield but have toasted A4988's 3 times and burned up two different power supplies. I have the Motor Controllers (TB6600's) working but using pinouts from CNC Shield It turns the laser on automatically with no control.
How do I get the laser to be switched. I am using GRBL and Lightburn. I had previously used the shield for about 6 months before it started having issues with erratic movements and destroyed a good amount of projects.

Currently I have X-Pul going to pin 2 and Y-Pul going to pin 3, X-Dir going to pin 5 and Y-Dir going to 6. With the laser pwr connected to pin 12 and gnd to Arduino Ground. If PWM is put on pin 4 or 7 (Not PWM pins) no laser, any other PWM pin available it lights up as soon as the power is enough to turn it on. Incidentally, the power doesn't have to be plugged into the board. It is a reduced laser power though.
Any assistance would be greatly appreciated. This is a homemade laser using a Laser Tree LT-4LDS-V2 laser, Nema 23's(2 each) and the Arduino Uno.

See the pinned post re 'How to get the most from the forum'

Your problem is not unexpected. Your wiring will alone cause the problem. Since hardware is involved it would be best if you posted an accurate annotated schematic of your circuit as you have it wired. Frizzy pictures are not considered schematics they are wiring diagrams and almost useless.

Also post links to "Technical Information" for the hardware devices, links to places like azon generally give sales information, not technical information. Be sure to show all connections, power, ground, and power sources.

Please understand we have no way of knowing what you have, you have to tell us, so we can help you.

You can spend weeks spinning your wheels or you may get lucky and get your problem solved. We cannot see what you have in detail so we ask for an annotated schematic as you have it wired showing all connections including power, ground, supplies etc.

I will normally spend a moment on a question if it is missing information I need I ask, if somebody has asked for it, great but if it is missing that I wonder if the OP is serious and probably will just go to another question.

We also know there are many modules etc that look alike and may be called the same thing but they are different, that is why we ask for links to "Technical Information". We also know a lot stuff is purchased from the azon marketplace by sellers that do not know what they are selling and they do not bother to add all the technical information.

I have figured it out. Thank you for your response.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.