Hi everyone,
I have to use a hall effect sensor for one of my school projects, so I was playing around with it and I need your help. The sensor that I am using is US5881, what I am trying to do is just turning on and off an LED connect to the output as a magnet approaches and goes away. My wiring currently looks like...
sensor's VDD - 5V
sensor's OUT - 1kOhms resistor - LED - 5V (I did this because it is open drain output)
sensor's GND - GND
I am using arduino connected to my computer as a power supply that gives me 5V and GND.
Although the LED is supposed to turn off when I put a magnet, my LED is turning off, but it gets a tiny bit dimmer. What am I doing wrong here?