Tilt switches come in various forms and sizes. Well known are the mercury switches, that are obsolete in most countries now due to the hazardous metal in it. These days most mechanical tilt switches contain a metal ball that makes or breaks the contact.
These tilt switches are relatively cheap to buy, but in the true spirit of this building community , we'll make our own.
Step 1: What Do We Need.
- A metal ball: Look in old ball bearings, or buy a new one.
- A 90degr male header
- A piece of veroboard
- A tube: Mine is an acrylic tube with an inner diameter of 7mm and that is perfect for the 6mm ball
- Glue, solder and soldering iron
Step 2: Making It
Now that we have gathered all our materials, we can build the switch:
- Cut everything to the desired size: Cut the veroboard to the size you want and the header into two pairs. Then cut the tube so that it fit between the two headerpairs when they are inserted in theire position.
- Add the ball
- Solder and glue: Solder the headerpins to the board and glue the tube into its position.
- Bend the pins: I bend the pins a bit outwards as you can see in the 3th picture. Do that to insure a good contact with your ball. the wider you can get them, the more of the ball that will have contact with the pins.
Congrats!!!! You have made it!