The assignment requires me to build a circuit that uses a 3-pin Hall effect sensor which detects THE POLARITY OF A MAGNET.
As in, if it's south pole, LED A will light up. If it's north pole, LED B will light up. If no magnet's nearby, neither would light up.
I have tested the sensor I got from my lecturer; it lights up only when a side of the magnet gets close, and goes off as I remove the magnet.
I had searched through youtube and online examples and had only seen two LEDs being used with a 4-pin hall effect sensor. Moreover, in the case of using a 4-pin Hall effect sensor, one LED would always light up whether a magnet is present or not.
Please help, I really need some pointers on this one.
Thank you for your attention
As in, if it's south pole, LED A will light up. If it's north pole, LED B will light up. If no magnet's nearby, neither would light up.
I have tested the sensor I got from my lecturer; it lights up only when a side of the magnet gets close, and goes off as I remove the magnet.
I had searched through youtube and online examples and had only seen two LEDs being used with a 4-pin hall effect sensor. Moreover, in the case of using a 4-pin Hall effect sensor, one LED would always light up whether a magnet is present or not.
Please help, I really need some pointers on this one.
Thank you for your attention