Simple question on hall effect sensor

hall-effect

enter image description here

I am using the a hall effect sensor – model 480-5198-ND. I have tested this simple circuit using a LED and it is working. However, it is "ON" by default. Only when the magnet is near the hall effect sensor , it will be "OFF".

How do I make it such that it is OFF by default and ON only when the magnet is near the hall effect sensor?

Best Answer

The simple answer is to add an inverter circuit to the output of the Hall sensor.

Some Hall sensors may be sensitive to the N versus S poles of the magnet and will change their output when you flip the magnet. This would be more the case with a linear type of Hall sensor.