Miscellaneous > Technical Support
Controlling electormagnets with my computer?
(1/1)
yahurd:
Can anyone tell me how to individually control 10 electromagnets with a PC?
I need to be able to adjust each one individually, control the strength, shut them on, and off etc.
Can anyone tell me how to do this?
davidnix71:
The GadgetMaster
http://www.pcgadgets.com/
10 stepper motors, each connected to the trim pot of each electromagnet's control board.
yahurd:
They need to oscillate, I think either between rates or on and off, at several thousand cycles per second. can gadgetmaster do that? and if not does anyone know how I could?
Lead Head:
You will probably need to use some kind of PIC micro-controller with an amplifier board. AFAIK, there is no built in interface on a PC that can handle 10 simultaneous outputs. If it was just 1 or 2 magnets you wanted to control, the parallel port would suffice.
Aloone_Jonez:
I agree, use a PIC.
How much current do the magnets draw and what voltage do they require?
If you don't need any more than 5V@500mA in total then you could power the whole thing from the USB port, otherwise you'll need a separate power supply (assuming you're not mounting this inside the PC's case). You can buy wall plugs or small switched mode power supplies quite cheaply.
You'll need a driver to power the magnets; this could just be a transistor.
This doesn't sound like a hard project but unless you have at least a basic knowledge of electronics, assembly programming and can solder you're going to struggle.
Here are some PIC tutorial sites.
http://www.gooligum.com.au/tut_baseline.html
http://www.winpicprog.co.uk/pic_tutorial.htm
http://www.mstracey.btinternet.co.uk/index.htm
Navigation
[0] Message Index
Go to full version