This basic tilt switch can easily be used to detect orientation. Inside the can are a pair of balls that make contact with the pins when the case is upright. Tilt the case over and the balls don't touch, thus not making a connection.
There are numerous uses for these basic sensors, but keep in mind you might need to use some debouncing code, as the sensor isn't immune to small vibrations and such.
Documents:
Discounts
|
Quantity |
Discount |
Unitprice |
from 3 |
9% |
CHF 2.18 |
from 5 |
13% |
CHF 2.09 |
from 10 |
18% |
CHF 1.96 |
from 25 |
32% |
CHF 1.62 |
from 50 |
39% |
CHF 1.45 |
|