Count steps with Tilt Switch Pedometer?

Hi,

Is it possible to use a tilt switch to count steps like a pedometer?

I am using a tilt switch at the moment but it is always HIGH so it always adds to a counter no matter where it is positioned.

Thanks Joe

It should work just fine, provided it is wired correctly and a proper sketch is run.

To firure out why it isn't working we need to see schematics, sketch, and possibly a picture of how it is arranged.

I am using a tilt switch at the moment but it is always HIGH

living on a hillside ? ;)

so it always adds to a counter no matter where it is positioned.

Apart from the point that you have probably wired it up incorrectly, you should be look for edges not levels. In other words you should only increment on a change not on a level.