Lid/Cover Switch Mount for K40 Laser

by erpel09 Apr 11, 2017
Download All Files

Thing Apps Enabled

Please Login to Comment

Good job. Nice way to do it without drilling holes!

How did you wire it up? Is there a howto somewhere?

Depends on your system power supply. For most configurations, it's done like pictured here:

Connect it in series with the "interlock loop" connections using the normally closed contacts of the switch, where the schematic says "add lid switch".

Mine doesn't look like that, but it does have a "P+" pin. I have to trace it to be sure, but I think the wire connected to it goes to the laser toggle switch, in which case, it's the one I want. More evidence: it's next to a push-button on the PSU marked "TEXT", which I think should say "TEST" :)

I think you are correct. I did a quick Google search for "K40 laser power supply pinouts" and found this which seems to match your picture:

You should be able to do what I'm doing with mine and series the push-button for a "manual enable", the case lid safety switch, and a water flow and temperature switch (relay) in the water chiller. Just daisychain them all together from one to the next. All should be normally-closed to operate. That way if anything fails or a connection comes loose, it will shut it down.

From what I've seen online, your supply is one of the less common power supplies, but there's also lots of variations even in the ones that otherwise appear identical. If you've ever seen any of the pictures online of the early early versions of the K40 laser, they've come a long way. The early ones looked more like a kid's school science project. If you want a good laugh, do some Google searches for some of the old pictures of them.

Mine matches the one in the first link I sent, and it too has such a "test" button, but seems they've corrected the spelling by that iteration. Mine is about a year old -- still just now getting around to rebuilding it with a RAMPS board and such...

I did the exact same search and didn't find that picture... Good to have some external confirmation, though; thanks!

I was thinking of a RAMPS (or other board) upgrade, but I think I'll stick with K40 Whisperer (http://www.scorchworks.com/K40whisperer/k40whisperer.html) until I really need greyscale engraving or somesuch.

You know. When I first started working on this laser, I don't think that K40 Whisperer existed. It seems like a decent choice and certainly a lot less work to get things going. The M2Nano board that was on my K40 was actually physically not a bad board. It's one of the few boards I've seen that not only had reference designators in the silkscreen, but even had all of the component values too, and was soldered very nicely (compared to so many boards you find these days). So they did a decent job with it. And they even have decent documentation for it too (though entirely in Chinese, so breakout Google Translate).

What I've gone with instead is to use a Raspberry Pi 3 to run all of the main software and such on. On top of it, I have a Protoneer MegaPi HAT board, which is basically an ATmega2560 coprocessor for the RPi -- simplifies the serial connections for communications to eliminate the extra USB layer. And a RAMPS 1.4 board on top of it with DRV8825 stepper drivers. And a RepRap Full-Graphic LCD for controlling it. I added a dedicated high current capacity 5V power supply for it, because the best I can tell from the power supply specs on the laser's supply is that it wouldn't be able to run the RPi 3 stack at full capacity.

I just finished the surgery on my RPi 3 to put an external WiFi antenna on it so that WiFi will work well inside the large metal case of the laser. That is working great -- not only will it pick up my router, but I can see at least eleven routers of my neighbors! Though warning -- if you want to put an external WiFi antenna on the RPi 3, it requires some very very delicate soldering work to rotate the 0201 sized jumper!

I'm in the process of adding a motor controlled Z-axis so that it can dynamically shift things for focusing -- just trying to decide exactly what I want to do there. I bought one of the LightObject Z-axis/beds. While it's nice, I don't know that I'm going to be completely happy with that solution. I've modified the exhaust port and some things on the gantry itself and can use a larger bed than that -- on the order of 50-75mm larger in the Y-axis. And I also can't use the honeycomb mesh I got with that bed either. I am now thinking of designing a custom Z-axis. So I don't know yet.

What is interesting is that all of us using these lasers are each doing the same exact types of modifications, but with nearly as many variations of those modifications as there are people making them. And then throw machine-to-machine variation into the mix too, and it makes for an interesting environment. Several times I've found a part here on Thingiverse I wanted to use for it, and in some cases went so far as to even 3D print it, only to find that my particular laser is slightly different and so it wouldn't work as-is. Same thing just happened this week in trying to set up some line-lasers to use as positioning guides. The one I had printed needed a different main bracket than what my K40 laser has. The second solution I found, which will fit the K40 laser, will not fit the red line-lasers I have. So I spent the weekend using OpenSCAD modifying things, combining the two designs to work with mine...

Good luck with yours!