Hi everyone,
I’m trying to use a hall sensor(s) to determine the angular position of a rotating gear (about 4cm in diameter). I’m not entirely sure the best way to do this, but am considering creating a ring of magnets near the circumference of the gear and just counting the pulses using a hall sensor as the gear rotates.
I found this Allegro A1377 hall sensor, and the data sheet says I can program its voltage output range and sensitivity. The default voltage (no magnetic field) output is 2.5 volts when plugged into the Arduino Nano, and it increases the output by 6mV per Gauss by default.
To program it to do something different (e.g 14mV/Gauss), page 15 of the data sheet says I need to program it using a serial connection and Manchester encoding.
Data sheet: https://www.allegromicro.com/~/media/Files/Datasheets/A1377-Datasheet.ashx
So my main question is: is there a readily available guide or program that would allow me to use the arduino to re-program the hall sensor?
But more broadly, I’m just looking to measure the gear position, so if you have an alternative suggestion I am open!
Thank you!