Quote Originally Posted by Neale View Post
Almost, but not quite. It just needs a solenoid-operated lever to give the user a slap on the wrist when the limit switch is triggered.
Like me you are forgetting Gotama's advice to Siddhartha... "Beware of too much cleverness".