A magnet as a button
Physics Toolbox MagnetometerPhysics Toolbox: a recording of sharp magnetic-field changes
- A field peak can supply a threshold-action input
Bringing a magnet near changes the field. A scenario can map a threshold crossing to a press and its removal to a release.
Design tips
- Use different activation and release thresholds to reduce chatter.
