I am using an Arduino ATMega as a controller and I have a few methods in mind to operate the emergency button (hardware and software). The device is a rehabilitative robot and emergency scenarios vary from being uncomfortable to being hurt physically.
Below are the strategy I was thinking:
- utilizing the interrupt button
- while loop, with a pull down button as the emergency button
Are these strategy safe to implement?
Update: I placed a manual emergency button directly to the power supply, and also added a smaller emergency button which is connected to the controller.