element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Arduino
  • Products
  • More
Arduino
Arduino Forum Powering 2 12V Electromagnets
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Arduino to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Not Answered
  • Replies 13 replies
  • Subscribers 394 subscribers
  • Views 4116 views
  • Users 0 members are here
  • ohms_law
  • volts
  • power
Related

Powering 2 12V Electromagnets

gub11
gub11 over 9 years ago

I am still trying to understand ohms law, which looked simple at first, and it probably is simple, but when i look at charts that have the laws for resistance voltage wattage and current, I get confused, because often times you are given 2 variables, how do you get all four?  My main question is what voltage would I need to power 2 12v electromagnet, would i need a 12v psu or 24v, or something in between?

Thanks

  • Sign in to reply
  • Cancel

Top Replies

  • michaelkellett
    michaelkellett over 9 years ago in reply to gub11 +2
    You should never have an automatic lock on your bedroom door (especially if under 90 years old) for the following reasons: 1) It puts off visitors 2) In case of fire you will not be rescued 3) Everyone…
  • gadget.iom
    gadget.iom over 9 years ago in reply to jack.chaney56 +1
    Jack Chaney wrote: 12v supply for your power, and link the magnets in parallel. I would agree
  • jack.chaney56
    jack.chaney56 over 9 years ago in reply to michaelkellett +1
    Gabriel's question and the solutions that I have seen are typical of a great discussion, because the search for the solution is uncovering more requirements. This is not just good engineering, but great…
  • supper_slash
    0 supper_slash over 9 years ago

    Give us an idea of the electromagnets you are powering.

     

    It realy depends on the magnets, but it could be either way.

     

    as for OHM's law It's not bad, If you have any 2 given points, you can find the other 1.

    Watts is a combination of Amps*voltage. And so If you have resistance, and voltage, you can find out how many amps you use.

    That will tell you the size of PSU you will need, or if you will need 2.

     

    250px-Ley_de_ohm_-_Organigrama.jpg

    In the blue(amps*resistance=volts)

    In green    (volts\amps=resistance)

    In yellow  (volts\resistance=amps)

    watts= amps*volts.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • jack.chaney56
    0 jack.chaney56 over 9 years ago

    Hi, perhaps this can help just a little.  First the ohms law stuff is P = I * E so you have power in watts is equal to current (I) in amps multiplied by voltage (E - electromotive force) in volts. Then the other part of the pie chart is E = I * R or voltage in volts is equal to current in amps times resistance in ohms.  The rest of the stuff are the factors of ten for milli, mega, nano, etc. Those pie charts usually have the equations for the different groupings added in as well, like  P = I2 * R

     

    Two 12v electromagnets are probably best connected in parallel, so the required voltage is delivered to both equally.  The factor that changes in this case is the required current is doubled because it needs to travel down two paths. This means you need a higher power output for your supply (remember P = I * E).  Remember have some resistance in the lines as well, or you could damage your power supply, a coil (which is the usual form for an electromagnet) acts as a resister only for a brief time in a DC circuit, then it becomes "saturated" and acts as just a plain wire after that, and will create an infinite current situation E = I * R or I = E / R when R == 0. Most often this is observed as thermal runaway (gets smokin' hot).

     

    So to address the question, 12v supply for your power, and link the magnets in parallel.

     

    Hope this helps,

    Jack

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • gadget.iom
    0 gadget.iom over 9 years ago in reply to jack.chaney56

    Jack Chaney wrote:

     

    12v supply for your power, and link the magnets in parallel.

     

    I would agree

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • gub11
    0 gub11 over 9 years ago in reply to jack.chaney56

    ok, That makes sense, but before I explain a bit more, What is the difference in wiring something in parralel as opposed to wiring it in a series.  My idea is sort of a small electromagnetic lock, where I will have a small butt that will send a signal from an rf transmitter to an rf receiver to turn on one of the electromagnets sliding the iron bar to the right, unlocking the door, and then when i press the button again it sends a signal to the other magnet, moving the iron bar to the left, locking the door.  So the magnets will not be active at the same time, and they will not be active for very long.  I wan't to keep the project small, and if possible, keep it hidden, so what would be the best way of powering this, possibly something that will fit in the wall.  I have seen small power supplies surrounded by metal that look like this http://www.mouser.com/images/meanwell/lrg/rd50.jpg , that take mains and convert it to dc, but i don't know how efficient those are.  My guess is, that if i want to keep it contained within the wall, I will need to use some sort of AC to DC psu.  Ideas?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 9 years ago in reply to gub11

    Just in response to your last entry Gabriel: What you're speaking of is a solenoid.  Energize a magnet, it pulls a rod up into the magnetic field, and holds it there until power is removed.  Rather than using two magnets on an electronic lock, a solenoid with a return spring is used.  Energized - The latch is pulled back into the body of the solenoid (open).  Remove power - The spring load on the latch pushes it back into place, and holds it.

     

    If you rely solely on temporarily energizing magnets to pull the latch both ways it will never be secure.  Once the latch is engaged and the "locking magnet" is powered down the latch-rod is just resting in place.  I've seen a couple of projects like this: the first was defeated by using an external Neodymium magnet to move the rod out of the locked position.  The second just required banging with a hammer, until the vibration moved the latch-rod enough.

     

    For your power you would normally use an AC-DC converter (yes, most electromagnets run off DC).  Pretty much all shapes and sizes; dependent upon what type of converter (full-wave, switching, etc.), what the max current output is, and power-factor correction.  For the solenoid system I mentioned above most are powered off the 120VAC doorbell circuit, in the U.S.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • jack.chaney56
    0 jack.chaney56 over 9 years ago in reply to gub11

    Amusing... Here is a clear case of getting the requirements established before deciding on a solution.  I think I am understanding the application you are attempting now.  My thinking, when you made your first statement, was that you needed both electromagnets operating at the same time, in which case they are connected in parallel. Instead, the application you described, the electromagnets operate independently.

     

    Working toward the requirements, how big is this "iron bar", how far does it need to move, and how quickly does it need to get there.  This will establish how much power needs to be exerted by the electromagnet. When you determine how much power is required, then you can select a power source that matches the load. For a standard door type of deadbolt, mounted in a simple slide, you could probably get away with a basic wall plug type of supply.  The second part of the puzzle is the switching, to open and close the bolt. You could use a variety of switching components, like relays or transistors to rout the power to the correct electromagnet.

     

    The other solution with a solenoid is also a good answer.

     

    Jack

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • gub11
    0 gub11 over 9 years ago in reply to Former Member

    Then for my project, a solenoid seems like the way to go, I am seeing lots of variations in the design, would something like this work http://www.onlinecomponents.com/johnson-electric-195205230.html?p=43844222&utm_source=google&utm_medium=cpc&utm_campaign… ?  I could figure out how to power it, I am just not 100% sure what type of solenoid i am looking for

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • supper_slash
    0 supper_slash over 9 years ago

    Ok, first, here is an idea if you just wish for something ready-made for this.

    http://goo.gl/BUOHls

     

     

    Here is an Arduino option also. Unlock Your Front Door Without Keys Using This DIY Keyfob Entry System « Hacks, Mods & Circuitry

    To answer your question for the  solenoid, it is a push solenoid, that is when you energized it is designed to extend out.

    Then when you power it down, it will retract. I myself would not like it to be set up so you would need it to have its primary position as "out".

    In other words, I would not have it powered 90% of the time than powered down for a minute, then powered up.

    Personally, I would have it set up mechanically so it would be off most of the time, then when I need to access "the door" it will power on, let me in, then back off again.

     

    On a larger scale, what are you using to drive this set up as far as a Microcontroller, or, and Arduino board, or do you have something already in place in mind?

     

    In my thinking, If I wanted to automate a front door, with a latch, and build everything myself. This is what I would do.

     

     

    Here is whatI would do.

     

    https://sway.com/EM98djLYBMpg0167

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • gub11
    0 gub11 over 9 years ago in reply to supper_slash

    the lock is for my bedroom door, it is mostly for when people knock, instead of getting up and opening it, i can just unlock it from my desk,  I will use some sort of microcontroller, probably the arduino pro mini, then send a signal via an rf transmitter and receiver to a mosfet to let power go through, though I am very new to mosfets, transistors, etc. so i am not sure what the best way to switch on and of the power would be

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • michaelkellett
    0 michaelkellett over 9 years ago in reply to gub11

    You should never have an automatic lock on your bedroom door (especially if under 90 years old) for the following reasons:

     

    1) It puts off visitors

    2) In case of fire you will not be rescued

    3) Everyone will think you are up to something they should snoop on

     

    MK

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
>
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube