12V 1.6W, 300gram holding force electromagnet, 20x10x10mm dimensions.
Right now I just want to do some simple experiments to check its properties at 60-200Hz On/Off switching rate. What off the shelf can I use for this test which will be the least hassle to get and use with an Arduino?
I find a lot of solutions for driving an electromagnet online, but they are a bit low level than what I need right now, and it may be reinventing the wheel. Usually that's also good as you learn something new, but here I'm so early into the project I'm not even sure the idea I have will even be worth pursuing further, hence why I'm looking for something simple and off-the-shelf for controlling the magnet and modulating its power.
You must alter your search and begin with a study of permeability of various materials. Switching polarity or magnets strength at the frequencies you mention have been studied for decades. Look at various ferrite compounds that are produced for magnets being controlled at your frequency ranges.
Sorry but what does this have to do with the question? I'm not asking about the magnetic properties of the magnet and I'm not asking how to build an electromagnet. I have a generic electromagnet and I'm asking what's the easiest way to drive it with an Arduino.
My preference is for a motor driver module over a FET simply because it's one less thing to solder
I don't know of a cheap FET module that leaves it in a safe state with the Arduino powered off
One of the A4988 H-bridge drivers will do. You can control on/off by pulsing the PWM input: it's what it's designed for.
Thanks. I literally didn't know it was that simple. I know it's simple to real engineers here, but Arduino lets us dummies experiment with stuff as well, so yeah.
Voice coils are simply moveable coils of copper wire, used in audio speakers and some other types of drivers. They work against a fixed magnetic field to produce force.
Voice coils, voice coil actuators and voice coil motors operate on the same principle, and are very fast.
Iron core electromagnets cannot be switched (core magnetized or demagnetized) rapidly. If you try, the result will be a slowly varying average level of magnetism.
I tried with the cheap aliexpress electromagnets and a signal generator today. Worked fine well beyond 120Hz. I don't know what cores those use, maybe Ferrite?
EDIT: I asked the supplier and they said it's just iron core. So I don't know the physics behind it but it works.