Hey everyone, I have my project mostly complete but I am having a couple of issues. What I made is a laser safety switch. I do super detailed laser engravings but they take about 5-10 hours to run. The code is streamed (there are up to 5 million lines of code) if there are any hiccups, the laser stops and continues to burn at whatever power it was at when it locked. It has only happened a couple of times but that is too many. Even with a camera can’t watch it constantly. So I have designed this laser safety system.
The way this works is
I will start the engraving.
I will flip the power on to the Arduino safety system.
It looks for constant movement with a pir motion (laser inside of a 2’x3’ box with windows)
IF no movement for 6 secondsè Alarm Triggered
It will set off a buzzer
Turn on an alarm led
And will flash a pair of relays which will turn off the power to the entire laser system. Relays doing the equivalent of pressing the power button.
I have a reset pushbutton to start the monitoring again without having to power it down and back up.
Here are the issues I am having.
1st- Timer 2 once I hit the reset button it sits at 0.0 and won’t start counting again. Timer 2 resets the flip-in-times so the relays are able to be triggered again. Even on loop
2nd- When I turn the power on the relays fire. I know this is probably a wiring issue (saw something about adding a pull up or down resistor, I just don’t know which). I am using the Arduino dual relay shield.