Connect magnetic sensor to Arduino

Here is the schematic link

As you can see, there is a pull up resistor.