The electromagnet will make a fidget spinner rotate. The fidget spinner will have magnets at its three "wings". I place the spinner on a box. Inside the box is the electromagnet switching poles. N - off - S - off - N - off etc.
This thread is only about powering the electromagnet. Any thoughts about the whole project can be brought up in the other thread: Motor demo with a fidget spinner - Education and Teaching - Arduino Forum