Arduino noob, using A3144 Hall sensor to make tachometer with Arduino Uno. I am also interested in making a Gauss meter but am aware that not all Hall sensors are linear. However, this tutorial uses a KY-003 Hall sensor which is literally just the A3144 with a 680Ω resistor and an LED. When i copy his exact setup and use his code, I get no change in reading when a magnetic field is present, which really doesn’t make any sense regardless of it being a switch or not.
I can absolutely send in pictures, but I do have my wiring does exactly as he shows on the site.
The code is also the code on the site.
I have noticed that in the code, it says sensorRead = analogRead(sensorPin);
my intuitive guess is that this is supposed to read the output of the sensor in an “analog” way, regardless of it being connected to digital 10. If i am wrong, totally explain why. Any help is much needed and appreciated. thanks