Useful for counting wheel rotations with magnets, detecting doors, and building simple RPM feedback systems.