Ignoramus24489 said:
Picture a switch with a small ball protruding maybe 1/4 of its
diameter. When an object slides over that switch, it pushes a ball
inside the switch, causing it to close momentarily, until the object
slides off.
It is almost a regular pushbutton switch.
Got it - thanks. As another poster said, you can use
a microswitch with a roller on the end. Or you can do this:
Ball bearing/other suitable ball
v
===============O=========
-----------^-
| |
| MicroSwitch |
| |
-------------
If necessary, use a tube to hold the ball in place,
weld/epoxy/affix somehow a plunger to the ball and
position the u switch so that it is actuated when the
lever moves.
Or just bend the microswitch actuating lever into a
U shape at the end of the lever, with the U part sticking
through the surface. When I faced a similar situation,
I used a rollerarm micro and shaped the lever,like this:
*===============*
\ /
|0|=========O ======== <curved radius between
_| |______||_ / and = at both ends
| |
| MicroSwitch |
| |