knockoff nano and a hall sensor

I think what Pylon is trying to say is we need more details.
We need to know specifically which Hall effect sensor you are using, and we need to know exactly how it is connected to the nano. Schematics would be great, and a link to the sensor would be best.