 
	
	
	
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
 
	
	 
	 
 
	
 
	

Krazy Glue.Things said:Any suggestions on how to mount that angle aluminium to the flat stuff underneath it?


 
	
 
	





 
	 
	







 
	


 .
.

Misellus, have you got any pics/website of your machine?
I've had a look through your g-code code, I'll need to figure out how to modify it to control the laser power in place of the Z axis.[\quote]
I'll take some this afternoon.
2 ideas for laser control...
First, set up a safety switch. Set arduino pin to monitor a switch as an input. Use a normally closed pushbutton switch inline with a toggle switch on the control console that sends a signal to the arduino, an arduino output pin controls a transistor and relay across the power wire to the laser PSU (if the PSU has TTL, no relay needed), the arduino activates the transistor/relay and the laser gets power and fires. Toggle acts as main power, push button acts as emergency/momentary off. Laser cannot fire unless there is power to the arduino and the toggle switch is on.
In the do_step function set up the arduino code so that <=0 for zaxis sets the output pin to HIGH and the laser is on and >0 sets pin to LOW and the laser is off. Then you can just include gcode lines to turn laser on and off when needed by setting z to 1 or 0. In the software you are using to create gcode from your drawings, tell it your travel height is 1 and it should add them automatically. Also, the control software I've seen usually has a manual jog, so you could turn it on/off from the computer screen by pressing the jog up or down buttons.
TL;DR gcode sets z to 0, arduino powers transistor/relay and laser turns on until gcode line sets z back to 1.
Then if you want, add a normally open push button to the console which also tells the laser to fire as long as the button is pressed.
I hope this is understandable, I know what I'm thinking but suck at writing.
Misellus

 ), then i suggest you to have a safety switch also that control a 2 contacts relais, and this relais that open both the power wires for the CO2 PSU ..... so, also if the MCU fails, there's no way for turn on the beam with the cover opened (and the hands in the path
), then i suggest you to have a safety switch also that control a 2 contacts relais, and this relais that open both the power wires for the CO2 PSU ..... so, also if the MCU fails, there's no way for turn on the beam with the cover opened (and the hands in the path  ) ..... being very paranoid, the same power line can also be used for the motors power PSU, for avoid accidents, but i think that the beam is the priority .....
) ..... being very paranoid, the same power line can also be used for the motors power PSU, for avoid accidents, but i think that the beam is the priority .....
able to switch off the beam also if the controller fry and put all the outputs to 1 (and you know, this can always happens) .....
 
	