How do I add an emergency stop button to stop my stepper motor?
1.There is a very easy and very reliable way - connected the button in parallel with the power supply for the whole circuit (using the normally-open connections).
When you press it, it short circuits the power supply, and cuts everything off.
Add a fuse to the power supply so it blows instead of the power supply.
This works for almost all circuits, and is about as simple as it gets. There is nothing that can possibly fail here except for the button itself, and that's unavoidable if you want to use the button.
Don't rely on the Arduino. There are way too many things that can go wrong. You can build complicated latching circuits, etc, but that adds more things that can possibly go wrong. With emergency switches you want something that is as reliable and fool-proof as possible.
2.What stepper motor driver are you using? Assuming that you're using a dedicated driver IC, there's likely to be an enable input. Alternatively, a normally closed e-stop could be wired in series with the step input, so that when the button is pressed, no more step pulses are transmitted to the driver.
If you're generating the motor phase drive the hard way (in the Arduino) then a genuinely independent e-stop is either trickier or more absolute. In the former case, code has to be essentially bulletproof to ensure that the e-stop is always detected and correctly responded to. In the latter, a rather drastic option is to trigger the processor reset. Since e-stop switches latch until released, the reset will continue to be held.
Fast Response,Better Acceleration Performance
Thanks to a robust design they can be selected for the harshest environments. Precise, open-loop, speed and position control can be achieved with the application of full step, half step, or microstepping electronics.
Stepping angle is adjustable( rang in 18°±5%）， 0.9 °stepper motor's stepping angle is smaller, fineness is higher and positioning is more accurate.Avoiding vibration,runs more smoothly and gets lower noise.
Sample Block Quote
Praesent vestibulum congue tellus at fringilla. Curabitur vitae semper sem, eu convallis est. Cras felis nunc commodo loremous convallis vitae interdum non nisl. Maecenas ac est sit amet augue pharetra convallis nec danos.
Sample Paragraph Text
Praesent vestibulum congue tellus at fringilla. Curabitur vitae semper sem, eu convallis est. Cras felis nunc commodo eu convallis vitae interdum non nisl. Maecenas ac est sit amet augue pharetra convallis nec danos dui.
Cras suscipit quam et turpis eleifend vitae malesuada magna congue. Damus id ullamcorper neque. Sed vitae mi a mi pretium aliquet ac sed elitos. Pellentesque nulla eros accumsan quis justo at tincidunt lobortis denimes loremous. Suspendisse vestibulum lectus in lectus volutpat, ut dapibus purus pulvinar. Vestibulum sit amet auctor ipsum.