The configuration is hall sensor --- steel rod(3mm radius) --- magnet. Im trying to make a non mechanical endswitch for a sliding lid and want to determine on what magnets to get and how far apart the hall sensor and the magnet should be for it to work in the proper range. The hall chip has 0,4 -4,4 mT release and operation point. How to determine on how much the rod would suck up the magnetic field and how much would pass through etc. Can anyone direct me to proper sources on how to calculate such stuff?