Checking Arduino capabillity for possible CNC lathe project

Hope does not work well, most people tend to use a switch to detect the home position.