1) Objective:

Use Arduino to drive Hall Magnet speed sensor.

2)Parts and devices:

1 x Arduino UNO R3 or Arduino mega 2560

1 x USB cable

some jumper wires

1 x hall switch sensor

1 x magnet iron

3)Circuit graph

hall_bb

4)Download sample code from following link

hall_sensor download here

Unzip hall_sensor.rar file downloaded from above link, load it into Arduino IDE

5)Result:

When magnet is moving close to hall sensor,the red LED will turn on,arduino IDE serial monitor window(upper right corner of Arduino IDE) will show voltage value inspired by magnet

hall