Magnetic sensors are used for detecting magnetic objects and are available in both reed type and Hall effect type. A Hall effect sensor measures the magnitude of a magnetic field, generating an output voltage directly proportional to the field strength. These sensors are commonly used for proximity sensing, positioning, speed detection, and current sensing applications.