Do you mean magnetic sensor or inductive?
Yes it is possible to do with several different methods. One would be a "reluctance" sensor where you put a coil around a permanent magnet. Then when a magnetic object (like your steel screw) passes across the end, a pulse is generated in the coil. This pulse can be easily detected by Arduino.You might want to put two steel screws opposite each other to maintain balance.
Please enter a valid email to subscribe
We need to confirm your email address.
To complete the subscription, please click the link in the
email we just sent you.
Thank you for subscribing!
via Egeo 16