Beginner with hardware I need some help with a Hall Effect switch. I am planning to use it to control the speed of two motors of a very simple robot design (turns out one of the motors is faster than the other but that's another story)
I got some Allegro MicroSystems 3144 switches
Dunno which one I got, it says 3144 OH 09 on mine
So the vendor said I can directly plug it in and the datasheet says it can be used with suitable pull-up resistor
With suitable output pull-up, they can be used with bipolar or CMOS logic circuits
I don't know how to plug it in, I tried directly and the input I read is 0 when I get a magnet really close but when no magnet is nearby, it just varies a lot between 0 and 1 (or 0 and n on a analog input)
What am I doing wrong (apart from plugging in things without knowing better :-[)?