I am looking to make a sensor to tell when this box is going to be open or closed. We are going to have the magnets to lock it in place.
Basically I want this circuit. Does it exist?
I have heard a lot about hall effect sensors but I don't really know what I am doing to get them to work and I feel like there might be a more simple circuit.
Basically I want this circuit. Does it exist?

I have heard a lot about hall effect sensors but I don't really know what I am doing to get them to work and I feel like there might be a more simple circuit.