Simple nail and wire Electromagnet problem !
So I built a simple electromagnet out of a nail and wire, I hooked it up top power and a switch. What I need to do is to lift a small metal ball the size of a common marble with my electromagnet, when I press the switch ( momentary, when you press it, it shut off power and when you release it power get back) the ball should fall of it, but problem is, the ball stay magnetized to the nail !!
The only solution I found up to now is to make the electromagnet just enough powerfull to hardly lift the ball, but I hate it because its a pain to get the ball to stick on and it often fall off randomly.
Is there a way the ball could fall off every time I press the switch without reducing the strength of my electromagnet?
Thank you !!