Go Down

Topic: electromagnet and PSU (Read 877 times) previous topic - next topic

treebykooba

Hello,
I'm trying to use some elctromagnets with an arduino...building them exactly as shown here:
http://education.jlab.org/workbench/magnetstand/coil.html

that project calls for a PSU at 3.3 amps, 12V...I have a 12v psu at 5 amps.

When I put the electromagnet in my circuit...just using it with some 12V, 5amp relays...if I have the polarity of the electromagnet one way...it kills the PSU and I get no power...when I reverse the polarity of the wires...everything works fine in the circuit. I'm just curious why this would be...I haven't messed around much with making electromagnets before. They're very curious!

thanks for any info!

Grumpy_Mike

Quote
if I have the polarity of the electromagnet one way...it kills the PSU and I get no power...when I reverse the polarity of the wires...everything works fine in the circuit.

No I am sure you are wrong. That doesn't make any sense at all. That is not how coils work, reverse the power and you just reverse the field. You must be doing something else.

treebykooba

Yeah...that's what I figured. But basically...I have the relays hooked up all fine. they are working. they are 12V, controlled through TIP120 transistors with a 1k resistor to the arduino...I'm using diodes and everything. I've used these for other projects with no problems. When I put the two wires coming out of the electromagnet one way into the relay coil...everything works fine...when I put them the other way...the PSU stops giving me power and the little green light on the PSU box dims and starts flickering....

I'll try to type out the schematic:

     DPDT relay (I know I don't need this big of a relay but It's all I have lying around at the moment and I'm just using it as a SPST)
    1              2 (pin 1 to TIP120, to GND, pin 2 to 12V)

     3             4 (pin 3 in 12V, pin 4 to GND)
    5---coil----6 (electromagnet plugs in here....this is where when I reverse it everything gets weird)
    7             8 (nothing in these pins)

winner10920

Does your electromagnet has a diode across it as a flyback? so when you reverse it you essentially short out the psu

Grumpy_Mike

Quote
I'm using diodes and everything

@winner
Yes spot on.  :)

The diode needs to be in the same direction only the coil needs to be swapped over.

Go Up