USING WATER AS A TILT SWITCH

And notice, that as soon as you use iron needles in sodium chloride solution, and add a bit of electricity.... your positive needle is going to dissolve surprisingly fast.

You can make the problem smaller by supplying the electricity from an output pin, and only write it HIGH when you want to perform the reading of your tilt sensor.

What do you want to use it for?