what's the best way to detect the magnet? Use anther magnet. But it's not sensitive enough. You have to feel it by youself.Right. This magnetic sensor knows whether there is a magnetic object nearby or not. And it correctly tells you through ditigal output.See below picture for a quick demo!