If you are looking for a mercury-free tilt switch that you can make yourself on the cheap and quick as I was, then follow along and I will show you how to make some from little tiny bottles of crafting beads.
Step 1: Stuff You Need
- a small bottle and cork (mine came with my metalic beads...score!)
- some tiny metalic beads (Some are conductive, some are not. anything silvery usually is, they need to be tiny to flow well and make good overall contact. A decent substitute would be teeny balls of tin foil.)
- paper clips or a similar stiff bit of wire
- a thicker gauge of copper wire, I used house wiring
- some hook-up wire
- some glue or some acrylic paint
- small needle nose pliers
- a soldering iron
- a pin (safety pin, sewing needle)
- a small container
- a turn of the century mood
Step 2: Empty Two Bottles
Pour off two bottles of beads into separate containers. The ones we are interested in are the silver ones, and we will be dividing them up into the two sides of the tilt switch.
Now make a little paper funnel and pour a small quantity of beads into each of the two empty bottles, a quarter of the volume should be fine.
Step 3: Make the Contacts
Start by straightening your paper clip and cutting two pieces about 1 1/2 inches for each bottle (That makes four). Put those aside.
Take your sewing needle and 'pre-drill' two holes in each cork by carefully pushing the needle through the cork, work slowly, the corks are fragile and brittle.
Once your holes are pre-drilled, you can push your contacts through.
Use the paint to seal things up and lend some support to the cork. I did this later, now would have been a better time, learn from my mistakes, and do this step now. (you will see that in the next step, mine are not yet painted).
Once the paint is dry, go ahead and solder some leads to one of the contacts for each switch.
Step 4: Connect It All Together
Okay, if you followed my last instruction, yours should look slightly different than mine. (I.e. the corks are painted and there are leads attached to one side of each.) Yours will be that much the better for it.
At this point you have two tilt switches, you could stop here and use them just as you would use a mercury switch. I wanted it to be bi-directional so I attached them together.
Luckily there is a nice groove in the bottle shape to facilitate this.
Use your copper wire (the thicker gauge) and wrap around one of the bottle necks with a turn and a half. The groove accepts the wire perfectly and getting it snug was easy.
Line the other bottles neck up, but invert the bottle, and wrap a turn and a half around this one as well. Your two bottles should be securely attached together.
Finally you can bend your contacts. Bend them so they come in contact with the copper wire.
Solder them to the copper, solder a lead to the copper, and your sensor is complete!
Test it out with your multi-meter. Set your meter for a continuity test. Attach one lead from your meter to the copper wire, and another to either of the other leads and give it a tilt.
Tilt it one way and the beads in one bottle should bury the contacts inside the bottle, thereby closing the circuit for that side. Tilt it the other way, and the beads fall away from the contacts breaking the connection. The opposite effect will be happening in the other bottle.
Add two more (or even more than that) and you have an effective multi-directional tilt sensor for dirt...erm...bead cheap.
Share and enjoy.
Finalist in the
Hack It! Challenge