I need to hook up 8 electromagnets and make them turn on and off to a pre designed pattern. I have no idea how to get something to turn on and off in a programmed sequence. I'm sure there are probably ready made programmable switches that come with software but I don't know. In any case I need the quickest, simplest way to get 8 things to turn on and off in a pattern of my choosing. Please let me know what to research, what specific things to learn, or items to look at for purchase to complete my project thank you.