Five-cent Tilt Sensor





Introduction: Five-cent Tilt Sensor

This is a basic tilt sensor inspired by ball-and-cage style sensors, but 2d instead of 3d. A captured nickle connects pairs of wires depending on the sensor orientation. These are quick to build, and pretty cheap; I came up with them for a project where I wanted to know which face of a cube was pointing up (a task for which you only need two -- I'll leave that as an exercise to the reader).

The nickle does sometimes catch a bit on the perfboard; gluing something a bit slipperier onto the board, or lightly sanding it, might help.

Step 1: Break the Perfboard

Figure out how many holes apart you will need each pin in the cage to be -- you'd like it to be the case that the nickle only touches two at once, but too much play will waste board. I left six holes between pins, axis-aligned. This was a bit looser than I would have liked. Having the cage slightly diagonally oriented might allow a better fit.

After doing the layout, score and break the board. I score a few times on each side with a box knife and break over the corner of a table. In these pictures I'm making two sensors, so I've made four plates -- a top and a bottom for each. The little bit of extra board was useful elsewhere in the project.

Step 2: Build the Cage

To build the cage, cut and strip some solid-core wire (I happened to have copper around), and solder into one of the boards to create corner posts. Shore up the cage by gluing shims at each corner beside the posts. These are cut from popsicle stick, because popsicle stick plus hot-melt glue was just think enough that the nickle could slide freely.

Step 3: Top It Off.

Finally, glue the top down. With hot-melt, I could only manage to get two corners glued (any more and the glue would cool before I could thread the pins through the top board). I squished some extra in from the sides on the other corners.

Step 4: The Finished Product

You now have a cheap tilt sensor -- well, at least in as much as you already have perfboard, wire, solder, and hot glue. Show below, I've wired the sensor up to some leads, ready for installation into my orientation sensing cube.



  • Epilog Challenge 9

    Epilog Challenge 9
  • Sew Warm Contest 2018

    Sew Warm Contest 2018
  • Paper Contest 2018

    Paper Contest 2018

We have a be nice policy.
Please be positive and constructive.




I wonder, could you thread the pins, then squirt in the glue? That way you could just drop the board on top, no hurry!

my thought exactly :-)

Nice Instructable, no offence but i built a better tilt sensor .

show us. don't feel like I am calling you out or something but if you think it is better prove it and show us the product or how to do it. I'm getting some components in hand for a project but i want the best/ cheapest. so far this is a good option but if yours is better, show me.

Okay, kind of hard to explain in the comments. I'll make an instructable. I'll pm you when its finished

I'd be interested in this...except that I see the promised instructable is now two years, nine months old without result. Here's hoping to see it soon?

I forgot about this comment at the time, so I never got around to creating this. So I'm not sure if it'll be done or if it's even relevant anymore?

Let us all know :-)

This is meant to be a quick and cheap sensor. So yeah, we all can build better tilt sensors and we all can spend lots of money and get really nice ones. Please don't try to put down this instructable. What makes this site great is all the different ways to do things. We don't just want one instructable for each idea, we want as many creative ways we can get! So please don't try to make yourself better by putting down others.