Electromagnet Switch Timer
Im trying to design a clamp on a hinge that will clamp shut with two (or one) electromagnets attracting for a set interval of time. I would like the option to raise and lower the time interval with a dial (2 to 10 seconds). When the interval of time has passed I want an opposite current to flow over the electromagnets to make them repel from each other for 1 to 2 seconds and a mechanical device will hold the lever in place away from the base.
I read that a MOSFET can be used to direct the current, any suggestions?