thanks mega_mozg,

I am using hall effect sensor, do I need to use it?