I am not that much into magnetism, but I am facing the problem of defining the pole of the closest outer magnet it faces the circuit with. The magnet is completely out of control and might as well disappear and reappear again, facing the circuit with another pole.
I do not really need the intensity of the field, just its polarity.
So far, I did a research on the Internet and found no ways to do that. Is there a way to implement such a scheme, with/without affecting the outer magnet?
UPD: Reed relay is exactly what I need for polarity.