A reed switch is an electronic device that closes a circuit when a magnet passes close to it. You have probably used devices that contained reed switches in your day to day life. Alarm systems use reed switches to tell if a door or window has been opened. A bicycle computer uses a reed switch to count the frequency of passes of a spoke mounted magnet to determine speed and distance. Once you start using them, you'll find hundreds of uses for reed switches.

In this instructable I will show you one way to make quick and dirty reed switches.

***Warning: The reed switches you make at home are vastly inferior to store bought. If you have a serious project that needs a reed switch i highly recommend you buy one rather than cobbling one together in your garage. I made this Instructable to demonstrate a concept but I will be the first to admit that the finished product is lacking in quality and reliability. With that said; lets make some switches!

We'll start with a parts list:

a 3" piece of copper pipe
a spool of steel craft wire (or) a small steel spring
some mini zip ties
a rare earth magnet
a sheet of 'Plastic Canvas'*

  • Plastic canvas is a plastic mesh used for some type of latch-hooking. It costs about $1 a sheet and is available at craft stores in the needle-art section. I've never done needle art but this is very handy stuff to have around. Plastic Canvas @ A.C.Moore

EDIT: I added an animation to show how a reed switch works. I just purchased some reed switches from Mouser so stay tuned for some upcoming reed switch based instructables.

Step 1: Make It!

1. Once you gathered your materials you should start by drilling a small hole near the end of the copper pipe. This hole will allow you to solder a wire to this side of the switch.

2. Next, cut a small piece of plastic canvas to insulate the spring from the pipe.

3. If you are not using an existing spring, wrap a tight coil of steel wire around a pencil or similar item to make a tightly wound steel spring.

4. Zip tie the spring to the plastic canvas.

5. Insert into the pipe.

6. Attach a wire to the spring and one in the hole drilled in the copper pipe.

When the magnet comes close to the top of the pipe the spring gets pulled over and makes contact with the copper pipe

When the magnet is removed, the spring goes back to the rest position cradled in the plastic canvas insulation.

Congratulations, you just made a quick and dirty Reed Switch!

Please leave (constructive) comments if you have ideas to make this better.
Not about the instructable but i like u use ms paint. Do u by chance follow ms paint adventures? I myself like homestuck. Srry this is in no way related to the project
Your project inspired me to incorporate a simple reed switch into my project
good project this is my reed switch it is more simple <br>https://www.instructables.com/id/how-to-make-a-magnetic-sensor/
Ahh. I just bought a box of mixed springs (just for the compression springs), and I didn't have anything to do with the extension springs, but now It looks like I will.<br /> <br /> You could also, in theory, use this same device as a sort of crude vibration sensor..<br />
Absolutely. I hadn't thought of a vibration sensor but it would certainly work for that. I'd love to see pictures of anything you put together. <br />
Aaaah!!! I see! Thanks! I undesrstand already!&nbsp;:D
Umm... excuse me, I just wanted to ask about the instructions in the last part. You said to solder the wire into the hole drilled in the pipe. Just want to ask. I don't really understand this part. You will insert the wire into the drilled hole or to the side of the hole? And where exactly do you solder the wire?
Insert the wire into the hole and solder to hold it in place. I hope this helps.<br />
&nbsp;can i use something instead of a 'rare earth magnet'?<br /> <br />
You could use a standard magnet but they don't have as much &quot;pull&quot; so you might need a larger magnet or to hold it closer.<br />
If you wanted to make it normally closed you could just pack some paper or something under the spring right after the zip ties, to bend it just enough to make it touch the copper tube. Then when the magnet hits the opposite side the spring will be pulled away from the tube and it will be open.
could you make it so that the device would be turned on instead of off? please help me!!
I'm not sure I understand what you mean turner22? You want the switch to be normally closed and open only in the presence of a magnetic field? Reed switches are divided into 3 basic types- Normally Open (as built in this 'ible) Normally Closed (the opposite of this 'ible) -and- Single Pole Double Throw (which can be wired either way) I hope this helps.
yeah i think we re all wondering how to make a normally closed one because most of the ones on sale are expensive, big, and are designed for security system use, not pcb mount (but they can still be used that way)
you can buy a window alarm at the dollar store which includes a magnet and a reed switch, and its a lot smaller than this one. Only problem is im not sure what kind of power u could run through it, this one built here lokts a little beefier and could handle more amps.
yep i got 1 of those for $2 :D but the magnet mine came with was crap, only sets the swtich off from 5 - 10 mm.
I can't see your comment, it only shows up as a line of 'missing character' boxes.
that was what i typed actually
It looks like somebody got their magnets from a hard drive! It may be a good idea to mark which side the magnet needs to come in from so you can more easily orient the switch. Also, for a cleaner look, you could put a wire through a bottle cap secured to either end of the copper pipe (attaching the proper wire to either the inside of the pipe or the spring); of course, that makes it both less quick and less dirty >_< Cool instructable, and on a side note, nice Handsome Rob throwback, just need a nonchalant avatar pic with shades to complete :-P
Yes indeed. I was thinking the same thing (about the magnets coming from a hard drive - I have a few myself ;)
excelent tips.<br/><br/>Also, i'm seriously impressed that you recognised my s/n as a ripoff of a character from <em>The Italian Job</em>.<br/>
Haha but of course, I'm an ubergeek like that; Handsome after all was the star of that movie :-D Tho I never understood why he went with the Vanquish at the end of the movie rather than the DB9... :-\ ah well
Heres my reed switch which i made in about 5 minutes...slightly different in build from yours but i got the general idea from this instructable... thanks! P.S. the little blue square is the magnetic sweetspot to always get a connection without having t fiddle around the copper pipe.
Well done. Yeah the instructable itself wasn't that great but the idea is superb. I understood it well enough to try and build my own using a similiar design and that is what I plan to do. If you've got any handy tips or suggestions for me about building one be sure to leave them.
this ible is a godsend...i've been lookin for a way to make a simple one of these for a while and i have some copper tubing laying around my room. it was intended for a pneumatic rifle but it got bent somehow but there is enough straight bits of it to be salvaged for this.
I will do this with the &Acirc;&laquo;versatile and low cost digital counter&Acirc;&raquo;!!!<br/><a href="https://www.instructables.com/id/Versatile-and-Low-Cost-Digital-Counter">https://www.instructables.com/id/Versatile-and-Low-Cost-Digital-Counter</a><br/>
Very cool!
You would make MacGuiver proud. : )
Thanks! I watched that show all the time as a kid.

About This Instructable




More by Handsome-Ryan:$25 Rack stores five bicycles! Automatic Bicycle Handlebar End Lights Quick and Dirty Homemade Reed Switch 
Add instructable to: