Hall Effect Magnetic Field Sensor KY-003
It is a sensor that gives digital output when it detects a magnetic field when it is approached to an object that creates a magnetic field. It is very easy to use with Arduino or other microcontrollers. It has + - supply pins and a digital signal pin.