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.
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.
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.
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.
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.
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.