Controlling 3 electromagnets

hey everyone, im a complete noob when it comes to Arduinos, im trying to turn on three electromagnets that ive made. i want to turn one on then turn it of and the next one on and so on in a loop.i have no idea what code to use or anything. sorry if these are very basic questions.

ps: i want to keep it cheap, im poor

I moved your topic to an appropriate forum category @dreskellee.

In the future, please take some time to pick the forum category that best suits the subject of your topic. There is an "About the _____ category" topic at the top of each category that explains its purpose.

This is an important part of responsible forum usage, as explained in the "How to get the best out of this forum" guide. The guide contains a lot of other useful information. Please read it.

Thanks in advance for your cooperation.

Can you afford a DMM?

i already have one, but ive only ever used it for testing resistance.

  • What is the resistance of each of the 3 magnets ?

  • What is the wire gauge used in these magnets ?

  • How long are these magnets intended to be energized ?

  • What Arduino do you have ?

  • Do you have any Relays, Transistors, MOSFETs ?

Can you show a picture?

so sorry but i meant to type that i haven't yet made the magnets. im gonna buy the wire hopefully soon

Then show a diagram and your plans (how many turns of wire, what gauge wire, what the 3 electromagnets will do, is there a coil core, etc. etc.)...

Meaty MOSFETS, flyback diodes and power supply suitably filtered from the logic supply.

i dont have a diagram nor do i know how many turns but there will be 1 meter of wire around a carboard core. the wire will be between 0.1 and 0.8mm and will enameled. and they will need to pull a tiny bit of metal around them.

do i need a power supply or can i just use batteries (2 AA)

I know. I was asking you to make one. Pen and paper.

they will need to pull a tiny bit of metal around them

What does that mean?

At this point, you will get much better guidance if you explain the whole project. You are continuing to ask questions, without answering the ones that are asked of you.

can i just use batteries (2 AA)

Yes, for about 10 seconds before they die.

i already have one, but ive only ever used it for testing resistance.

What resistance did you measure?

That will very likely start a fire when the wire creates heat instead of magnetism. Take some time to study electrmagnets. They are called that because they have a steel or iron core that produces the magnetic field that will attract magnetic material, not just any metal.

It would be immensely helpful if you would tell us what you are using the magnets for, especially considering your request that it be cheap.

Post a picture.

What is the task of the electromagnets in real life?

Rail gun?

sorry, i thought it just increased the strength. ill work on finding something iron thats suitable.

Realistically you need quite a lot of turns of fine wire to make a magnet you can run from a battery

36AWG is 0.125mm, can take 0.2A and has a resistance of 0.4 ohm per foot.
You need a resistance of 1.5/0.2 = 7.5 ohm to get 0.2A from a 1.5V cell.
7.5/0.4 = 20 feet.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.