Introduction: Electromagnet Superhero Glove
For a class assignment, I needed to make something fabric-based which took an Arduino, some programming, and at least two inputs and outputs. After sketching a few different ideas, I hit on this one: an electromagnetic glove for MagnetoGirl. It sprang to life for me, because magnetism is an invisible force which can seem magical. Also, a superhero can be given life, character, and (the best part) a cool costume.
I decided to make an opera glove with some embedded circuitry. The electromagnet is in the index finger of the right hand; the electromagnet (and also the on-Arduino LED for pin13) are on while the red button is held down; there are sensors made of conductive thread on the palm and pad of the ring finger which, when touched together, disable the electromagnet while the button is still held down (but the LED stays on).
MagnetoGirl's powers are a bit weak right now, though- her glove still has to be plugged in to the laptop for power! Improvements welcome.
Step 1: Materials
Glove:
-fabric
-thread
-needle/sewing machine
-alternately, a pre-made glove, and then you can skip the next step
Circuit:
-Lilypad Arduino & USB cable
-button switch
-soldering iron/solder
-conductive thread & needle
-wire
power transistor
-2 high-resistance resistors (for tie-downs)
-electromagnet
-something conductive
-electromagnet wire
Step 2: Make the Glove
I made my own glove on my sewing machine.
Start with some kind of stretchy, thin fabric. I used dark blue lining that feels like it might be rayon?
Double the fabric over and lay your arm and hand down on it. It should be turned so that the stretch is across your hand- such that the fabric will stretch around your fingers once you sew it. If that didn't make sense, try this: your fingers won't get longer while you're wearing the glove, but they will get fatter when you bend them, so orient the stretch accordingly.
Trace your hand. Don't do the stupid, lazy thing I did and stick your hand in the sewing machine.
Sew a straight stitch just barely out from the line you traced all the way around your hand and up your arm.
Test the fit- don't even bother turning it inside out, just stick your hand in it and see how it feels. Good? Good.
Now cut off extra fabric, close but not too close to the seam. If you cut it too big, it won't fit right. If you cut it too close, you'll have to mend it.
Turn it inside out and voila! You have made an opera glove.
Step 3: Sew on Conductive Thread Sensors.
(Ignore the electromagnet in first picture)
Conductive thread is thicker than normal thread, which makes it a fine embroidery floss. I cut out a paper template in the shape of MagnetoGirl's double magnet logo, pinned it to the palm of the glove, and stitched around it. Be careful not to sew the glove together!
The logo is also a sensor, so any extra touches, like the coils on this logo, have to be worked in contiguously.
Once the logo is stitched, turn the glove inside out and continue stitching on the inside of the glove (see second picture). If you just pick up a couple of threads with each stitch, you should be able to sew the conductive thread along so that it's invisible when the glove is turned right side out again. Stitch it all the way around to the back of the hand so you can bring the thread up through into the Lilypad later.
Do the pad on the ring finger similarly.
Step 4: Sew on Lilypad.
Sew the Lilypad onto the back of the glove (place it while your hand is in the glove). For now, you should probably sew only through pins that you aren't planning to use, to make it easier to attach the conductive thread later. You can affix it more firmly later.
Before sewing down too much of it, add some conductive thread (see note on next step) to the negative and positive pins and run them through the inside of the glove (separately, of course, and using the invisible-sewing technique from the previous step) all the way over to the other side of the Lilypad. You will need loose ends here as well, to attach to the button.
Leave open pins 5, 8, 10, and 13.
Step 5: Make Electromagnet.
Find a nice, conductive piece of metal. It should be small enough to attach to a fingertip (and allow the finger to bend) but big enough that plenty of wire can be wound around it.
Get a lot of electromagnet wire. You want a length that has at least an ohm of resistance.
Wrap it up! Listen to some Elton John/George Michael while you're about it.
Hook it up to a power source and make sure you can pick something up with five volts. If you can't, you can add more coils, get a more conductive core, or find thicker wire.
Step 6: Sew Electromagnet Onto Finger.
Place it while your hand is in the glove on the pad of your index finger. With normal thread on your needle, attach the electromagnet as securely as possible. If you can manage, loop around the coils crossways to keep them together. Leave the leads loose.
Step 7: Attach Circuit Components.
Sew circuit components through the glove onto the Lilypad. When you attach to a circuit component or a pin, wrap the thread around once to ensure a good connection. Tie a strong knot to make sure your conductive thread doesn't slip out.
On the button and the transistor, you may have to solder on wire loops to attach the thread.
1. The tail of the conductive thread from the ring finger goes to pin 8.
2. The tail of the thread from the palm goes to pin 5.
3. One side of the button goes to a big resistor and to pin 13. The other side of the button goes to +5V (which you should already have stitched across to this side of the Lilypad).
4. The other side of the resistor from the button goes to ground. This is a tie-down for the button (it keeps the button LOW when it is not expressly HIGH).
5. Solder or twist on a resistor of similar magnitude between pins 5 and - . This ties down the palm sensor.
6. Solder a normal insulated wire onto the + pin and attach to one lead of the electromagnet.
7. Sew the transistor onto the back of the index finger between the knuckle and the joint. Attach the gate pin to pin 10 on the Lilypad, the source pin to -, and the drain pin to the other lead of the electromagnet.
Step 8: Hook Up Electromagnet to Arduino.
Step 9: Test Circuit.
Check it over to make sure everything is connected properly. You really don't want to blow anything up, because re-stitching is a real pain.
Step 10: Program Arduino.
Select the right COM port. My board is a Lilypad ATmega 328.
Here is the code:
const int finger = 8;
const int palm = 5;
const int button = 13;
const int empin = 10;
int buttonstate = 0;
int sensorstate = 0;
void setup() {
pinMode(button, INPUT);
pinMode(finger, OUTPUT);
pinMode(palm, INPUT);
pinMode(empin, OUTPUT);
}
void loop() {
digitalWrite(palm, HIGH);
buttonstate = digitalRead(button);
sensorstate = digitalRead(finger);
if (buttonstate == HIGH){
if (sensorstate == LOW){
digitalWrite(empin, HIGH);
}
}
else{
digitalWrite(empin, LOW);
}
}
Step 11: Add a Cover.
If you want to. I used the same template to make the back of the hand logo. This thread is just metallic, not conductive, and I used free-motion stitching on the machine. Buttonhole for the button to poke through.
Cover goes over just the one finger and the circuitry and is minimally visible from the palm side. It has to be hand stitched.
Step 12: Enjoy and Improve!
Faster than a speeding snail! Stronger that half a paperclip! It's fun to play around with, but I'd love suggestions for improvement.
Also, this particular model worked for one night and never again, and I'm not sure why...
This whole thing could have been hardwired instead of put on the Arduino, but the Arduino allows for a lot of potential add-ons.
I've never before used conductive thread, electromagnets, Lilypad, or transistors, and neither have I made a glove before- so any tips would be great!
Thanks.

Participated in the
3rd Epilog Challenge
16 Comments
12 years ago on Introduction
What if you crushed a ferrite rod into powder and made a pouch. Then, you lined the tips of each finger with this pouch. And then, you wrapped the magnet wire around the tip of each finger (and hid that also). That might create a less noticeable electromagnet.
Reply 12 years ago on Introduction
Even better idea would be to ditch the "round magnet" idea and go with a flat oval shaped magnet instead, and make it the size of the finger. After all the magnetic force is dictated by the number of turns, the amount of current flowing through, the area and the permeability of the material.
Reply 2 years ago
How do I increase the magnetic range? Understand how to increase the power but I can’t get it to reach further then a few inches
Reply 12 years ago on Introduction
You can also ditch the Arduino altogether and have some sort of mechanical or analog solution. For what you are using the Arduino for right now, it is not altogether that necessary. And then, you could power the electromagnet with a 9V battery which would make it much stronger (so long as it doesn't heat up the coil too much).
You might be able to use a reed switch and a magnet (electromagnet perhaps?) to turn off your glove as opposed to the Arduino.
Reply 12 years ago on Introduction
A little heat from the coil could add value to the glove during the winter months ;) People who live in certain parts of the country might be looking for anything to help keep them warm right about now - getting to be a superhero would be a side bonus.
5 years ago
I have been planning something similar! I was going to have a large electromaget on the palm of the glove and have index finger have a capacitive touch sensor that could be pressed by the user's thumb which upon reflection wouldnt work
lol
rip
ok then just a normal button
6 years ago
Video?
7 years ago
How and where do I connect the thread to? I can't cut thread in between right?
Reply 7 years ago
Correct, don't cut the thread, or make sure the threads connect!
11 years ago on Introduction
we are planning to make a way better one in a few days with a whole glove magnet
Reply 8 years ago on Introduction
can u send me the doc file or pdf related to this glove or the one u might have made upto now. if possible give me the info related to this gloves on my email id.
Reply 10 years ago on Introduction
did you guys ever go through with that? sounds interesting
8 years ago on Introduction
Can i use an arduino uno??
10 years ago on Introduction
I think this is great but exactly how far can it pick up, and how heavy of objects can it pick up?
10 years ago on Introduction
what is the whole point of this glove? i dont know what MagnetoGirl is so its a little weard. However, is a cool design with room for improvment im looking forward to seeing improvment posted.
11 years ago on Introduction
i would like to know how you can make it without an arduino .